PageSourceSearch

https://assets-cdn.nationalgeographic.com/natgeo/bfcb66aa1ac5-rele…/client/natgeo/6884-171888d9.js

js nationalgeographic.com collected 2026-10-01 08:03:12 UTC 8,489 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunknatgeo=self.webpackChunknatgeo||[]).push([[6884],{16884:(e,r,o)=>{o.r(r),o.d(r,{toodles_ignore_cypher_variable_error:()=>a});var t=o(30670),s=o(68130),n=o(27371);const a=class{constructor(e){(0,t.r)(this,e),this.setIgnoreCypherVariableError=s.n,this.shouldIgnoreCypherVariableError=void 0}toggleClickHandler(){n.d.addAction("ignore-cypher-variable-error",{shouldIgnoreCypherVariableError:!this.shouldIgnoreCypherVariableError,action:"click"}),this.setIgnoreCypherVariableError(!this.shouldIgnoreCypherVariableError)}render(){return(0,t.h)(t.H,null,(0,t.h)("toodles-item",null,(0,t.h)("label",{slot:"name",id:"ignore-cypher-variable-error",htmlFor:"ignore-cypher-variable-error-toggle"},"Toggle Ignore Cypher Variable Error:"),(0,t.h)("toodles-toggle",{isActive:this.shouldIgnoreCypherVariableError,slot:"item",id:"ignore-cypher-variable-error-toggle","aria-labelledby":"ignore-cypher-variable-error-toggle",itemName:"Ignore Cypher Variable Errors"}),(0,t.h)("toodles-tooltip",{slot:"tooltip",tooltipId:"toodle-ignore-cypher-variable-error-toggle"},'Toggle if you want to ignore cypher variable errors. Note, you\'ll need to enable this toggle on the page prior to where the error occurred (Refreshing on the page where the error occurs will reset the toggle to "off").')))}};a.style=":host{display:block}"},68130:(e,r,o)=>{o.d(r,{A:()=>_,B:()=>l,C:()=>u,D:()=>i,E:()=>S,F:()=>U,G:()=>D,P:()=>h,T:()=>C,a:()=>x,b:()=>R,c:()=>q,d:()=>B,e:()=>N,f:()=>n,g:()=>k,h:()=>s,i:()=>V,j:()=>t,k:()=>z,l:()=>c,m:()=>M,n:()=>T,o:()=>j,p:()=>d,q:()=>p,r:()=>A,s:()=>P,t:()=>I,u:()=>F,v:()=>g,w:()=>$,x:()=>b,y:()=>m,z:()=>O});var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==o.g?o.g:"undefined"!=typeof self?self:{};function s(e,r,o){return e(o={path:r,exports:{},require:function(e,r){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}()}}
1,o.exports),o.exports}var n=s((function(e,r){var o=t&&t.__assign||function(){return o=Object.assign||function(e){for(var r,o=1,t=arguments.length;o<t;o++)for(var s in r=arguments[o])Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s]);return e},o.apply(this,arguments)};function s(e,r){if(!r)return"";var o="; "+e;return!0===r?o:o+"="+r}function n(e,r,o){return encodeURIComponent(e).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/\(/g,"%28").replace(/\)/g,"%29")+"="+encodeURIComponent(r).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent)+function(e){if("number"==typeof e.expires){var r=new Date;r.setMilliseconds(r.getMilliseconds()+864e5*e.expires),e.expires=r}return s("Expires",e.expires?e.expires.toUTCString():"")+s("Domain",e.domain)+s("Path",e.path)+s("Secure",e.secure)+s("SameSite",e.sameSite)}(o)}function a(e){for(var r={},o=e?e.split("; "):[],t=/(%[\dA-F]{2})+/gi,s=0;s<o.length;s++){var n=o[s].split("="),a=n.slice(1).join("=");'"'===a.charAt(0)&&(a=a.slice(1,-1));try{r[n[0].replace(t,decodeURIComponent)]=a.replace(t,decodeURIComponent)}catch(e){}}return r}function i(){return a(document.cookie)}function c(e,r,t){document.cookie=n(e,r,o({path:"/"},t))}r.__esModule=!0,r.encode=n,r.parse=a,r.getAll=i,r.get=function(e){return i()[e]},r.set=c,r.remove=function(e,r){c(e,"",o(o({},r),{expires:-1}))}}));const a={"disneyplus-preorder-app":["stage-web-preorder.disneyplus.com"],"dominguez-app":["stage-web.disneyplus.com","stage-cache-web.disneyplus.com","stage-web-test.disneyplus.com","stage-test.luthen-rael.fed.bamtech.prod.us-east-1.bamgrid.com","stage-test.luthen-rael.fed.bamtech.prod.us-west-2.bamgrid.com","stage-test.luthen-rael.fed.bamtech.prod.eu-west-1.bamgrid.com","stage-web-dmgz-use1.bamgrid.com","stage-web-dmgz-usw2.bamgrid.com","stage-web-dmgz-euw1.bamgrid.com","stage-web-test-dmgz-use1.bamgrid.com","stage-web-test-dmgz-usw2.bamgrid.com","stage-web-test-dmgz-euw1.bamgrid.com","alpha.disneyplus-traffic-director.fed.bamtech.prod.us-east-1.bamgrid.com","alpha.disneyplus-traffic-director.fed.bamtech.prod.us-west-2.bamgrid.com","alpha.disneyplus-traffic-director.fed.bamtech.prod.eu-west-1.bamgrid.com"],"dominguez-splash":["stage-preview.disneyplus.com","stage-web-disneyplus-splash-use1.bamgrid.com","stage.disneyplus-splash-traffic-director.fed.bamtech.prod.us-east-1.bamgrid.com"],"starplus-app":["stage-web.starplus.com","stage-web-starplus-euw1.bamgrid.com","stage-web-starplus-use1.bamgrid.com","stage-web-starplus-usw2.bamgrid.com","alpha.starplus-traffic-director.fed.bamtech.prod.us-east-1.bamgrid.com"],"starplus-splash":["stage-preview.starplus.com","stage-web-preview.starplus.com","stage-web-starplus-splash-use1.bamgrid.com","stage-splash.starplus.com","stage-web-splash.starplus.com"],"project-vision":["stage-vision.us-east-1.bamgrid.net"],"hulu-marketing":["stage-web.hulu.com","stage-web.huluqa.com","alpha.hulu-traffic-director.fed.bamtech.prod.us-east-1.bamgrid.com"],"mcduck-commerce":["stage.web.plus.espn.com"],"fedx-rd-dominguez-app":["stage-web-fedx-rd.disneyplus.com"],"wcs-ludwig":["ludwig.sb.cpc.dmed.technology","ludwig.qa.cpc.dmed.technology"]},i="dss_branch",c="dss_backend_services",l="dss_sdk_config_hostname",d="dss_sdk_config_env",u="dss_sdk_debug_mode",p="dss_sdk_visionware_override_id",g="dss_logout_url",m="wpnx-disneyplus-up-next-lite",h="enableQaMode",b="enableTouchstone",f="OptanonConsent",w="OptanonAlertBoxClosed",y="OTAdditionalConsentString",v="eupubconsent-v2",C={ERROR_GENERIC:"We've encountered an error. Please try again",COPY_TO_CLIPBOARD:" has been copied to Clipboard!"};var E=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(t=Object.getOwnPropertySymbols(e);s<t.length;s++)r.indexOf(t[s])<0&&Object.prototype.propertyIsEnumerable.call(e,t[s])&&(o[t[s]]=e[t[s]])}return o};function O(e=[]){const r=new URLSearchParams(window.location.search);return e.forEach((e=>{r.delete(e)})),r.toString()}function _(e,r){return`${e}${r?`?${r}`:""}`}function x(){return V()?"local":n.get(i)||"N/A"}function j(e){return Object.entries(e).reduce(((e,[r,o])=>(void 0!==o&&(e[r]=o),e)),{})}function k(){return n.get(c)||(V()?"qa":"prod")}function I(){n.remove(d),n.remove(l),n.remove(p),n.remove(u),sessionStorage.removeItem(u)}function T(){}function S(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/\s+/g,"-").toLowerCase()}async function P({autoHideDuration:e,status:r,message:o,role:t}){await customElements.whenDefined("toodles-toast");const s=document.querySelector("toodles-widget");if(s){const n=s.shadowRoot.querySelector("toodles-toast");await n.showToast({autoHideDuration:e,message:o,status:r,role:t})}}function R(e){return"string"==typeof e?e:e&&"object"==typeof e&&"message"in e&&"string"==typeof e.message?e.message:(console.error("Unable to get error message for error",e),"Unknown Error")}function A(){[y,w,f,v].forEach((e=>{var r;r=e,document.cookie=r+"=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;",n.remove(e,{path:"/",domain:".disneyplus.com"})}))}const z=e=>{const r=n.getAll(),o=[c,i];Object.keys(r).forEach((r=>{!e&&o.includes(r)||(n.remove(r),n.remove(r,{domain:".espn.com"}),n.remove(r,{domain:".stage.web.plus.espn.com"}),n.remove(r,{domain:"stage-web.disneyplus.com"}),n.remove(r,{domain:".disneyplus.com"}))}))},D=(e,r)=>e instanceof Element&&e.tagName.toLowerCase()===r;
1class U extends Error{constructor(...e){super(...e),this.name="ToodlesError"}}function V(){return"localhost"===location.hostname||location.hostname.startsWith("local")}function q(e){navigator.clipboard.writeText(e)}const B=(e="")=>{const r=Object.keys(a),o=Object.values(a);if(![...o].flat(1).find((r=>e.includes(r))))return"";for(let t=0;t<o.length;t++)for(let s=0;s<o[t].length;s++)if(e.includes(o[t][s]))return r[t];return""};function N(e){localStorage.removeItem(e)}function F(e){localStorage.removeItem(e),window.location.reload()}async function M(e,r={}){var{body:o}=r,t=E(r,["body"]);const s=t.method||o?"POST":"GET",n=["POST","PUT"].includes(s)?{"Content-Type":"application/json"}:null,a=Object.assign(Object.assign({method:s},t),{headers:Object.assign(Object.assign({},n),t.headers)});return o&&(a.body=JSON.stringify(o)),fetch(e,a).then((async e=>{if(!e.ok){const r=await e.text();return Promise.reject(new Error(r))}{const r=e.clone();try{return await e.json()}catch(e){return await r.text()}}}))}const $=e=>new Promise((r=>setTimeout(r,e)))}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.