PageSourceSearch

https://www.philips.co.za/_next/static/chunks/1sjzw_t332ip5.js

js philips.co.za collected 2026-10-02 11:29:38 UTC 37,384 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,537950,e=>{"use strict";let t,n;var r,i,o,s=Object.create,a=Object.defineProperty,l=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyNames,u=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,f=(e,t,n)=>(n=null==e?{}:s(u(e)),((e,t,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var r,i=c(t),o=0,s=i.length;o<s;o++)r=i[o],d.call(e,r)||void 0===r||a(e,r,{get:(e=>t[e]).bind(null,r),enumerable:!(n=l(t,r))||n.enumerable});return e})(!t&&e&&e.__esModule?n:a(n,"default",{value:e,enumerable:!0}),e)),p=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),h={0:8203,1:8204,2:8205,3:8290,4:8291,5:8288,6:65279,7:8289,8:119155,9:119156,a:119157,b:119158,c:119159,d:119160,e:119161,f:119162},g={0:8203,1:8204,2:8205,3:65279},v={0:String.fromCodePoint(g[0]),1:String.fromCodePoint(g[1]),2:String.fromCodePoint(g[2]),3:String.fromCodePoint(g[3])},m=[,,,,].fill(String.fromCodePoint(g[0])).join(""),b=Object.fromEntries(Object.entries(v).map(e=>[e[1],+e[0]])),y=Object.fromEntries(Object.entries(h).map(e=>e.reverse())),E=`${Object.values(h).map(e=>`\\u{${e.toString(16)}}`).join("")}`,_=RegExp(`[${E}]{4,}`,"gu"),O=p((e,t)=>{var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString;t.exports=function(e,t,i){if("[object Function]"!==r.call(t))throw TypeError("iterator must be a function");var o=e.length;if(o===+o)for(var s=0;s<o;s++)t.call(i,e[s],s,e);else for(var a in e)n.call(e,a)&&t.call(i,e[a],a,e)}}),C=["nt_experiences","nt_name","nt_description","nt_audience_id","nt_rules","nt_metadata","nt_experience_id","nt_type","nt_config","nt_audience","nt_variants"],T=C.map(e=>e.replace(/_([a-z])/g,(e,t)=>t.toUpperCase()));[...C,...T];var S="4.10.19",w=!1,I=e=>(...t)=>{w&&console[e](...t)},D={error:I("error"),warn:I("warn"),log:I("log")},M=new Set(["AREA","BASE","BR","COL","EMBED","HR","IMG","INPUT","LINK","META","PARAM","SOURCE","TRACK","WBR"]);function A(e,t,n){let r={...t,method:e,source:"live-preview-sdk",location:window.location.href,version:S};D.log("Send message",r),n.forEach(e=>{window.top?.postMessage(r,e)})}function j(e,t=100){let n;return(...r)=>{clearTimeout(n),n=setTimeout(()=>{e.apply(this,r)},t)}}var L=(t=(t,n)=>{var r,i,o,s="__lodash_hash_undefined__",a="[object Arguments]",l="[object Array]",c="[object Boolean]",u="[object Date]",d="[object Error]",f="[object Function]",p="[object Map]",h="[object Number]",g="[object Object]",v="[object Promise]",m="[object RegExp]",b="[object Set]",y="[object String]",E="[object WeakMap]",_="[object ArrayBuffer]",O="[object DataView]",C=/^\[object .+?Constructor\]$/,T=/^(?:0|[1-9]\d*)$/,S={};S["[object Float32Array]"]=S["[object Float64Array]"]=S["[object Int8Array]"]=S["[object Int16Array]"]=S["[object Int32Array]"]=S["[object Uint8Array]"]=S["[object Uint8ClampedArray]"]=S["[object Uint16Array]"]=S["[object Uint32Array]"]=!0,S[a]=S[l]=S[_]=S[c]=S[O]=S[u]=S[d]=S[f]=S[p]=S[h]=S[g]=S[m]=S[b]=S[y]=S[E]=!1;var w=e.g&&e.g.Object===Object&&e.g,I="object"==typeof self&&self&&self.Object===Object&&self,D=w||I||Function("return this")(),M="object"==typeof t&&t&&!t.nodeType&&t,A=M&&"object"==typeof n&&n&&!n.nodeType&&n,j=A&&A.exports===M,L=j&&w.process,R=function(){try{return L&&L.binding&&L.binding("util")}catch{}}(),P=R&&R.isTypedArray;function N(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function x(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var U=Array.prototype,B=Function.prototype,z=Object.prototype,k=D["__core-js_shared__"],F=B.toString,G=z.hasOwnProperty,$=(r=/[^.]+$/.exec(k&&k.keys&&k.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",V=z.toString,Y=RegExp("^"+F.call(G).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),H=j?D.Buffer:void 0,K=D.Symbol,q=D.Uint8Array,Z=z.propertyIsEnumerable,J=U.splice,W=K?K.toStringTag:void 0,X=Object.getOwnPropertySymbols,Q=H?H.isBuffer:void 0,ee=(i=Object.keys,o=Object,function(e){return i(o(e))}),et=eS(D,"DataView"),en=eS(D,"Map"),er=eS(D,"Promise"),ei=eS(D,"Set"),eo=eS(D,"WeakMap"),es=eS(Object,"create"),ea=eD(et),el=eD(en),ec=eD(er),eu=eD(ei),ed=eD(eo),ef=K?K.prototype:void 0,ep=ef?ef.valueOf:void 0;function eh(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function eg(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ev(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function em(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new ev;++t<n;)this.add(e[t])}function eb(e){var t=this.__data__=new eg(e);this.size=t.size}function ey(e,t){for(var n=e.length;n--;)if(eM(e[n][0],t))return n;return -1}
1function eE(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":W&&W in Object(e)?function(e){var t=G.call(e,W),n=e[W];try{e[W]=void 0;var r=!0}catch{}var i=V.call(e);return r&&(t?e[W]=n:delete e[W]),i}(e):V.call(e)}function e_(e){return ex(e)&&eE(e)==a}function eO(e,t,n,r,i,o){var s=1&n,a=e.length,l=t.length;if(a!=l&&!(s&&l>a))return!1;var c=o.get(e);if(c&&o.get(t))return c==t;var u=-1,d=!0,f=2&n?new em:void 0;for(o.set(e,t),o.set(t,e);++u<a;){var p=e[u],h=t[u];if(r)var g=s?r(h,p,u,t,e,o):r(p,h,u,e,t,o);if(void 0!==g){if(g)continue;d=!1;break}if(f){if(!function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}(t,function(e,t){if(!f.has(t)&&(p===e||i(p,e,n,r,o)))return f.push(t)})){d=!1;break}}else if(!(p===h||i(p,h,n,r,o))){d=!1;break}}return o.delete(e),o.delete(t),d}function eC(e){var t;return t=eB(e),ej(e)?t:function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}(t,ew(e))}function eT(e,t){var n,r=e.__data__;return("string"==(n=typeof t)||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t)?r["string"==typeof t?"string":"hash"]:r.map}function eS(e,t){var n=e?.[t];return!(!eN(n)||$&&$ in n)&&(eR(n)?Y:C).test(eD(n))?n:void 0}eh.prototype.clear=function(){this.__data__=es?es(null):{},this.size=0},eh.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=!!t,t},eh.prototype.get=function(e){var t=this.__data__;if(es){var n=t[e];return n===s?void 0:n}return G.call(t,e)?t[e]:void 0},eh.prototype.has=function(e){var t=this.__data__;return es?void 0!==t[e]:G.call(t,e)},eh.prototype.set=function(e,t){var n=this.__data__;return this.size+=+!this.has(e),n[e]=es&&void 0===t?s:t,this},eg.prototype.clear=function(){this.__data__=[],this.size=0},eg.prototype.delete=function(e){var t=this.__data__,n=ey(t,e);return!(n<0)&&(n==t.length-1?t.pop():J.call(t,n,1),--this.size,!0)},eg.prototype.get=function(e){var t=this.__data__,n=ey(t,e);return n<0?void 0:t[n][1]},eg.prototype.has=function(e){return ey(this.__data__,e)>-1},eg.prototype.set=function(e,t){var n=this.__data__,r=ey(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},ev.prototype.clear=function(){this.size=0,this.__data__={hash:new eh,map:new(en||eg),string:new eh}},ev.prototype.delete=function(e){var t=eT(this,e).delete(e);return this.size-=!!t,t},ev.prototype.get=function(e){return eT(this,e).get(e)},ev.prototype.has=function(e){return eT(this,e).has(e)},ev.prototype.set=function(e,t){var n=eT(this,e),r=n.size;return n.set(e,t),this.size+=+(n.size!=r),this},em.prototype.add=em.prototype.push=function(e){return this.__data__.set(e,s),this},em.prototype.has=function(e){return this.__data__.has(e)},eb.prototype.clear=function(){this.__data__=new eg,this.size=0},eb.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},eb.prototype.get=function(e){return this.__data__.get(e)},eb.prototype.has=function(e){return this.__data__.has(e)},eb.prototype.set=function(e,t){var n=this.__data__;if(n instanceof eg){var r=n.__data__;if(!en||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new ev(r)}return n.set(e,t),this.size=n.size,this};var ew=X?function(e){return null==e?[]:function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var s=e[n];t(s,n,e)&&(o[i++]=s)}return o}(X(e=Object(e)),function(t){return Z.call(e,t)})}:function(){return[]},eI=eE;function eD(e){if(null!=e){try{return F.call(e)}catch{}try{return e+""}catch{}}return""}function eM(e,t){return e===t||e!=e&&t!=t}(et&&eI(new et(new ArrayBuffer(1)))!=O||en&&eI(new en)!=p||er&&eI(er.resolve())!=v||ei&&eI(new ei)!=b||eo&&eI(new eo)!=E)&&(eI=function(e){var t=eE(e),n=t==g?e.constructor:void 0,r=n?eD(n):"";if(r)switch(r){case ea:return O;case el:return p;case ec:return v;case eu:return b;case ed:return E}return t});var eA=e_(function(){return arguments}())?e_:function(e){return ex(e)&&G.call(e,"callee")&&!Z.call(e,"callee")},ej=Array.isArray,eL=Q||function(){return!1};function eR(e){if(!eN(e))return!1;var t=eE(e);return t==f||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function eP(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=0x1fffffffffffff}function eN(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ex(e){return"object"==typeof e&&!!e}var eU=P?function(e){return P(e)}:function(e){return ex(e)&&eP(e.length)&&!!S[eE(e)]};function eB(e){return null!=e&&eP(e.length)&&!eR(e)?function(e){var t,n=ej(e),r=!n&&eA(e),i=!n&&!r&&eL(e),o=!n&&!r&&!i&&eU(e),s=n||r||i||o,a=s?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],l=a.length;for(var c in e)G.call(e,c)&&!(s&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||(t=l,(t??=0x1fffffffffffff)&&("number"==typeof c||T.test(c))&&c>-1&&c%1==0&&c<t)))&&a.push(c);return a}(e):function(e){if(t=e&&e.constructor,e!==("function"==typeof t&&t.prototype||z))return ee(e);var t,n=[];for(var r in Object(e))G.call(e,r)&&"constructor"!=r&&n.push(r);return n}(e)}n.exports=function(e,t){return function e(t,n,r,i,o){return t===n||(null!=t&&null!=n&&(ex(t)||ex(n))?function(e,t,n,r,i,o){var s=ej(e),f=ej(t),v=s?l:eI(e),E=f?l:eI(t);v=v==a?g:v,E=E==a?g:E;var C=v==g,T=E==g,S=v==E;
1if(S&&eL(e)){if(!eL(t))return!1;s=!0,C=!1}if(S&&!C)return o||=new eb,s||eU(e)?eO(e,t,n,r,i,o):function(e,t,n,r,i,o,s){switch(n){case O:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case _:return!(e.byteLength!=t.byteLength||!o(new q(e),new q(t)));case c:case u:case h:return eM(+e,+t);case d:return e.name==t.name&&e.message==t.message;case m:case y:return e==t+"";case p:var a=N;case b:var l=1&r;if(a||=x,e.size!=t.size&&!l)break;var f=s.get(e);if(f)return f==t;r|=2,s.set(e,t);var g=eO(a(e),a(t),r,i,o,s);return s.delete(e),g;case"[object Symbol]":if(ep)return ep.call(e)==ep.call(t)}return!1}(e,t,v,n,r,i,o);if(!(1&n)){var w=C&&G.call(e,"__wrapped__"),I=T&&G.call(t,"__wrapped__");if(w||I)return i(w?e.value():e,I?t.value():t,n,r,o||=new eb)}return!!S&&function(e,t,n,r,i,o){var s=1&n,a=eC(e),l=a.length;if(l!=eC(t).length&&!s)return!1;for(var c=l;c--;){var u=a[c];if(!(s?u in t:G.call(t,u)))return!1}var d=o.get(e);if(d&&o.get(t))return d==t;var f=!0;o.set(e,t),o.set(t,e);for(var p=s;++c<l;){var h=e[u=a[c]],g=t[u];if(r)var v=s?r(g,h,u,t,e,o):r(h,g,u,e,t,o);if(!(void 0===v?h===g||i(h,g,n,r,o):v)){f=!1;break}p||="constructor"==u}if(f&&!p){var m=e.constructor,b=t.constructor;m!=b&&"constructor"in e&&"constructor"in t&&!("function"==typeof m&&m instanceof m&&"function"==typeof b&&b instanceof b)&&(f=!1)}return o.delete(e),o.delete(t),f}(e,t,n,r,i,o||=new eb)}(t,n,r,i,e,o):t!=t&&n!=n)}(e,t)}},()=>(n||(t((n={exports:{}}).exports,n),t=null),n.exports)),R=f(L(),1),P=((r={}).FIELD_ID="data-contentful-field-id",r.ENTRY_ID="data-contentful-entry-id",r.ASSET_ID="data-contentful-asset-id",r.LOCALE="data-contentful-locale",r.SPACE="data-contentful-space",r.ENVIRONMENT="data-contentful-environment",r),N=((i={}).MOUSE_MOVE="MOUSE_MOVE",i.SCROLL_START="SCROLL_START",i.SCROLL_END="SCROLL_END",i.RESIZE_START="RESIZE_START",i.RESIZE_END="RESIZE_END",i.TAGGED_ELEMENTS="TAGGED_ELEMENTS",i.INSPECTOR_MODE_CHANGED="INSPECTOR_MODE_CHANGED",i),x={0:8203,1:8204,2:8205,3:8290,4:8291,5:8288,6:65279,7:8289,8:119155,9:119156,a:119157,b:119158,c:119159,d:119160,e:119161,f:119162},U={0:8203,1:8204,2:8205,3:65279},B={0:String.fromCodePoint(U[0]),1:String.fromCodePoint(U[1]),2:String.fromCodePoint(U[2]),3:String.fromCodePoint(U[3])};[,,,,].fill(String.fromCodePoint(U[0])).join(""),Object.fromEntries(Object.entries(B).map(e=>[e[1],+e[0]])),Object.fromEntries(Object.entries(x).map(e=>e.reverse()));var z=`${Object.values(x).map(e=>`\\u{${e.toString(16)}}`).join("")}`,k=RegExp(`[${z}]{4,}`,"gu");function F(e,t){return e.href===t.href}function G({root:e=window.document,options:t}){var n,r;let i,o=[...t.ignoreManuallyTaggedElements?[]:e.querySelectorAll(`[${P.ASSET_ID}][${P.FIELD_ID}], [${P.ENTRY_ID}][${P.FIELD_ID}]`)].map(e=>({element:e,attributes:function(e,t){if(!(e&&e.nodeType===Node.ELEMENT_NODE&&!(!e.hasAttribute(P.FIELD_ID)||!e.hasAttribute(P.ENTRY_ID)&&!e.hasAttribute(P.ASSET_ID))))return null;let n={fieldId:e.getAttribute(P.FIELD_ID),locale:e.getAttribute(P.LOCALE)??t.locale,environment:e.getAttribute(P.ENVIRONMENT)??t.environment,space:e.getAttribute(P.SPACE)??t.space,manuallyTagged:!0};if(!n.fieldId)return D.warn("Element is missing field ID attribute and cannot be tagged",{id:e.getAttribute(P.ENTRY_ID)??e.getAttribute(P.ASSET_ID),sharedProps:n}),null;let r=e.getAttribute(P.ENTRY_ID);if(r)return{...n,entryId:r};let i=e.getAttribute(P.ASSET_ID);return i?{...n,assetId:i}:null}(e,t)})).filter(({attributes:e})=>null!==e),s=[];for(let{node:t,text:r}of(n="body"in e?e.body:e,i=[],"function"==typeof n.matches&&n.matches("*")&&(i=[n]),[...i,...Array.from(n.querySelectorAll("*:not(script,style,meta,title)"))].map(e=>{var t;return{node:e,text:(t=e).matches("input[type=submit], input[type=button], input[type=reset]")?t.value:t.matches("img, video")?t.alt:Array.from(t.childNodes).filter(e=>e.nodeType===Node.TEXT_NODE&&!!e.textContent).map(e=>e.textContent).join("")}}).filter(({text:e})=>!!(e&&e.match(k))))){let e=function(e){let t=e.match(_);return t?function(e,t=!1){let n=Array.from(e),r=1/0,i=-1;for(let e=0;e<n.length;++e)n[e]===m[0]&&n[e+1]===m[1]&&n[e+2]===m[2]&&n[e+3]===m[3]&&(r=Math.min(r,e),i=Math.max(i,e));if(-1===i)return function(e,t){let n=[];for(let t=.5*e.length;t--;){let r=`${y[e[2*t].codePointAt(0)]}${y[e[2*t+1].codePointAt(0)]}`;n.unshift(String.fromCharCode(parseInt(r,16)))}let r=[],i=[n.join("")],o=10;for(;i.length;){let e=i.shift();try{if(r.push(JSON.parse(e)),t)break}catch(n){if(!o--)throw n;let t=+n.message.match(/\sposition\s(\d+)$/)?.[1];if(!t)throw n;i.unshift(e.substring(0,t),e.substring(t))}}return r}(n,t);for(let e=r;e<=i;++e)if(!((n.length-e)%4))try{let r=n.slice(e+4),i=new Uint8Array(r.length/4);for(let e=0;e<i.length;e++)i[e]=b[r[4*e]]<<6|b[r[4*e+1]]<<4|b[r[4*e+2]]<<2|b[r[4*e+3]];let o=new TextDecoder().decode(i);if(t){let e=o.indexOf("\0");return -1===e&&(e=o.length),[JSON.parse(o.slice(0,e))]}
1return o.split("\0").filter(Boolean).map(e=>JSON.parse(e))}catch{}return[]}(t[0],!0)[0]:void 0}(r);if(!e||!e.origin.includes("contentful.com")){D.warn("Element has missing or invalid ContentSourceMap, please check if you have correctly enabled ContentSourceMaps and that the element's data originates from Contentful",{node:t,sourceMap:e});continue}if(!(function(e,t){for(let n of t)if(n.element===e||n.element.contains(e))return!0;return!1}(t,o)||s.some(n=>n.element.contains(t)&&F(n.sourceMap,e)))){if(t.matches("img")){let n=t.closest("figure")||t.closest("picture")||t;s.push({element:n,sourceMap:e});continue}s.push({element:t,sourceMap:e})}}let a=s.filter((e,t)=>s.findIndex(t=>!(!F(e.sourceMap,t.sourceMap)||e.element!==t.element))===t);for(let{element:e,sourceMap:t}of a){let n=null;if(t.href){let r=function(e){try{let t=new URL(e),n=t.searchParams.get("focusedField"),r=t.searchParams.get("focusedLocale"),i=t.pathname.split("/").filter(Boolean),o=i.indexOf("spaces"),s=i.indexOf("environments"),a=-1===o?void 0:i[o+1],l=-1===s?void 0:i[s+1],c,u,d=i.indexOf("entries"),f=i.indexOf("assets");return -1===d?-1!==f&&(c="Asset",u=i[f+1]):(c="Entry",u=i[d+1]),c&&u?n?r?a&&l?{entityId:u,entityType:c,fieldId:n,locale:r,space:a,environment:l}:(console.warn("Missing space or environment in href path",{href:e}),null):(console.warn("Missing focusedLocale query parameter in href",{href:e}),null):(console.warn("Missing focusedField query parameter in href",{href:e}),null):(console.warn("Unable to determine entityType or entityId from href",{href:e}),null)}catch(t){return console.warn("Invalid href URL",{href:e,error:t}),null}}(t.href);if(!r)continue;if("Asset"===r.entityType)n={fieldId:r.fieldId,locale:r.locale,space:r.space,environment:r.environment,assetId:r.entityId};else if("Entry"===r.entityType)n={fieldId:r.fieldId,locale:r.locale,space:r.space,environment:r.environment,entryId:r.entityId};else{D.warn("Unknown entityType",{element:e,sourceMap:t});continue}}else{if(t.contentful&&(r=t.contentful)&&"string"==typeof r.entity&&"string"==typeof r.field&&"string"==typeof r.locale&&"string"==typeof r.space&&"string"==typeof r.environment&&("Asset"===r.entityType||"Entry"===r.entityType)){let r=t.contentful;if(!r.entity||!r.field||!r.locale||!r.space||!r.environment){D.warn("Element has missing information in their ContentSourceMap, please check if you have restricted the platform for the encoding. (Missing parameters in `contentful`)",{element:e,sourceMap:t});continue}let i={fieldId:r.field,locale:r.locale,space:r.space,environment:r.environment};if("Asset"===r.entityType)i.assetId=r.entity,n=i;else if("Entry"===r.entityType)i.entryId=r.entity,n=i;else{D.warn("Unknown entityType in contentful data",{element:e,sourceMap:t});continue}}else{D.warn("Element has neither href nor contentful data in their ContentSourceMap, unable to extract attributes.",{element:e,sourceMap:t});continue}}o.push({element:e,attributes:n})}let l=o.filter(({attributes:e})=>e?.manuallyTagged===!1||!e?.manuallyTagged).length;return{taggedElements:o,manuallyTaggedCount:o.length-l,automaticallyTaggedCount:l,autoTaggedElements:a}}function $({options:e}){return[...new Set(G({options:e}).taggedElements.map(e=>e.attributes&&"entryId"in e.attributes?e.attributes.entryId:null).filter(Boolean))]}var V=class{options;delay=300;isScrolling=!1;scrollTimeout;isResizing=!1;resizeTimeout;hoveredElement;taggedElements=[];manuallyTaggedCount=0;automaticallyTaggedCount=0;releaseId;intersectionObserver;observersCB=[];cleanupCB=[];constructor(e){this.options=e,this.intersectionObserver=new IntersectionObserver(e=>{let t=this.taggedElements;for(let n of e)if(n.isIntersecting)for(let e of t)e.element===n.target&&(e.coordinates=n.intersectionRect,e.isVisible=n.target.checkVisibility({checkOpacity:!0,checkVisibilityCSS:!0}));this.taggedElements=t,this.sendTaggedElements()},{threshold:.15})}init=()=>{this.cleanupCB=[this.addScrollListener(),this.addMutationListener(document.body),this.addResizeListener(),this.addHoverListener()],this.updateElements()};cleanup=()=>{this.observersCB.forEach(e=>
1e()),this.cleanupCB.forEach(e=>e())};receiveMessage=e=>{if(e.method===N.INSPECTOR_MODE_CHANGED){let{isInspectorActive:t,releaseId:n}=e;this.releaseId=n,t?this.init():this.cleanup()}};observe=e=>{this.intersectionObserver.observe(e);let t=this.addMutationListener(e);this.observersCB.push(t,()=>this.intersectionObserver.unobserve(e))};addScrollListener=()=>{let{targetOrigin:e}=this.options,t=()=>{this.isScrolling||(this.isScrolling=!0,A(N.SCROLL_START,{},e)),this.scrollTimeout&&clearTimeout(this.scrollTimeout),this.scrollTimeout=setTimeout(()=>{this.isScrolling=!1,A(N.SCROLL_END,{},e),this.updateElements()},this.delay)},n={capture:!0,passive:!0};return window.addEventListener("scroll",t,n),()=>window.removeEventListener("scroll",t,n)};addMutationListener=e=>{let t=new MutationObserver(()=>{this.updateElements()});return t.observe(e,{characterData:!0,attributes:!0,attributeFilter:[P.ENTRY_ID,P.FIELD_ID,P.LOCALE,P.SPACE,P.ENVIRONMENT,"class","style"],childList:!0,subtree:!0}),()=>t.disconnect()};addResizeListener=()=>{let{targetOrigin:e}=this.options,t=new ResizeObserver(()=>{this.isResizing||(this.isResizing=!0,A(N.RESIZE_START,{},e)),this.resizeTimeout&&clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(()=>{this.isResizing=!1,A(N.RESIZE_END,{},e),this.updateElements()},this.delay)});return t.observe(document.body),()=>t.disconnect()};addHoverListener=()=>{let e=j(e=>{let t;for(let n of e){let e=n;if("BODY"===e.nodeName)break;let r=this.taggedElements.find(t=>t.element===e);if(r){t=r;break}}this.hoveredElement=t?.element,this.updateElements()},this.delay),t=t=>{e(t.composedPath())};return window.addEventListener("mouseover",t,{passive:!0}),()=>window.removeEventListener("mouseover",t)};sendTaggedElements=()=>{A(N.TAGGED_ELEMENTS,{elements:this.taggedElements.map(e=>({coordinates:e.coordinates,isVisible:!!e.isVisible,attributes:e.attributes,isHovered:this.hoveredElement===e.element,isCoveredByOtherElement:!!e.isCoveredByOtherElement,snapshot:M.has(e.element.tagName.toUpperCase())?{[e.element.tagName.toLowerCase()]:Array.from(e.element.attributes).map(e=>`${e.name}="${e.value}"`).join(" ")}:{[e.element.tagName.toLowerCase()]:e.element.innerHTML}})),automaticallyTaggedCount:this.automaticallyTaggedCount,manuallyTaggedCount:this.manuallyTaggedCount,...void 0!==this.releaseId&&{releaseId:this.releaseId}},this.options.targetOrigin)};updateElements=()=>{let{taggedElements:e,manuallyTaggedCount:t,automaticallyTaggedCount:n}=G({options:this.options}),r=((e,t=window.document)=>((e,t=window.document)=>e.map(e=>({...e,isVisible:e.element.checkVisibility({checkOpacity:!0,checkVisibilityCSS:!0}),isCoveredByOtherElement:((e,t,n=window.document)=>{let{top:r,right:i,bottom:o,left:s}=t,a=n.elementFromPoint(s+1,r+1),l=n.elementFromPoint(i-1,r+1),c=n.elementFromPoint(s+1,o-1),u=n.elementFromPoint(i-1,o-1),d=t=>!!t&&(e===t||e.contains(t));return[d(a),d(l),d(c),d(u)].filter(Boolean).length<2})(e.element,e.coordinates,t)})))(e.map(({element:e,attributes:t})=>({element:e,coordinates:e.getBoundingClientRect(),attributes:t})),t))(e);(0,R.default)(r,this.taggedElements)||(this.observersCB.forEach(e=>e()),this.observersCB=[],this.taggedElements=r,e.forEach(({element:e})=>this.observe(e)),this.manuallyTaggedCount=t,this.automaticallyTaggedCount=n)}},{parse:Y,stringify:H}=JSON,{keys:K}=Object,q=String,Z=(e,t)=>t,J=(e,t,n)=>{let r=q(t.push(n)-1);return e.set(n,r),r},W=((o=W||{}).CONNECTED="CONNECTED",o.DISCONNECTED="DISCONNECTED",o.ERROR="ERROR",o.TAGGED_FIELD_CLICKED="TAGGED_FIELD_CLICKED",o.URL_CHANGED="URL_CHANGED",o.SUBSCRIBED="SUBSCRIBED",o.UNSUBSCRIBED="UNSUBSCRIBED",o.ENTRY_UPDATED="ENTRY_UPDATED",o.ENTRY_SAVED="ENTRY_SAVED",o.DEBUG_MODE_ENABLED="DEBUG_MODE_ENABLED",o),X=class{subscriptions=new Map;defaultLocale;sendMessage;constructor({locale:e,targetOrigin:t}){this.defaultLocale=e,this.sendMessage=(e,n)=>A(e,n,t)}async receiveMessage(e){if(e.method===W.ENTRY_UPDATED){let{data:t,subscriptionId:n}=e,r=this.subscriptions.get(n);r?(r.callback(t),r.data=t,this.subscriptions.set(n,r)):D.error("Received an update for an unknown subscription",{subscriptionId:n,data:t,subscriptions:this.subscriptions})}}subscribe(e){let t=`${performance.now()}-${Math.random().toString(36).slice(2)}`,n=e.locale??this.defaultLocale;this.subscriptions.set(t,{...e});let r={locale:n,event:"edit",id:t,config:(e=>{let t=new Map,n=[],r=[],i=+J(t,n,Z.call({"":e},"",e)),o=!i;for(;i<n.length;)o=!0,r[i]=H(n[i++],s,void 0);return"["+r.join(",")+"]";function s(e,r){if(o)return o=!o,r;let i=Z.call(this,e,r);switch(typeof i){case"object":if(null===i)break;case"string":return t.get(i)||J(t,n,i)}return i}})(e)};return this.sendMessage(W.SUBSCRIBED,r),()=>{this.sendMessage(W.UNSUBSCRIBED,r),this.subscriptions.delete(t)}}},Q=class{locale;options;inspectorModeEnabled;subscription;constructor({locale:e,options:t,inspectorModeEnabled:n}){this.locale=e,this.options=t,this.inspectorModeEnabled=n}subscribe(e){return this.subscription&&D.log("There is already a subscription for the save event, the existing one will be replaced."),this.subscription=e,()=>{this.subscription=void 0}}receiveMessage(e){if(e.method===W.ENTRY_SAVED&&this.subscription){let{entity:t}=e;this.inspectorModeEnabled?$({options:this.options}).includes(t.sys.id)&&this.subscription(t):this.subscription(t)}}},ee=["https://app.contentful.com","https://app.eu.contentful.com","http://localhost:3001"],et=class e{static initialized=!1;static inspectorMode=null;static liveUpdates=null;static saveEvent=null;static inspectorModeEnabled=!0;static liveUpdatesEnabled=!0;static locale;static space;static environment;static sendMessage;static targetOrigin;static init(t){if("object"!=typeof t||!t?.locale)throw Error("Init function has to be called with a locale configuration (for example: `ContentfulLivePreview.init({ locale: 'en-US'})`)");let{debugMode:n,enableInspectorMode:r,enableLiveUpdates:i,locale:o,environment:s,space:a,targetOrigin:l}=t;if("u">typeof window){if(!function(){try{return window.top?.location.href!==window.location.href}catch{return!0}}())return this.liveUpdatesEnabled=!1,Promise.resolve(null);if(n&&(w=n),"boolean"==typeof r&&(this.inspectorModeEnabled=r),"boolean"==typeof i&&(this.liveUpdatesEnabled=i),this.locale=o,this.space=a,this.environment=s,this.initTargetOrigin(l),this.initialized)return D.log("You have already initialized the Live Preview SDK."),Promise.resolve(e.inspectorMode);this.inspectorModeEnabled&&(this.inspectorMode=new V({locale:o,space:a,environment:s,targetOrigin:this.targetOrigin,ignoreManuallyTaggedElements:t.experimental?.ignoreManuallyTaggedElements})),this.liveUpdatesEnabled&&(this.liveUpdates=new X({locale:o,targetOrigin:this.targetOrigin}
1),this.saveEvent=new Q({locale:o,options:{locale:this.locale,space:this.space,environment:this.environment,targetOrigin:this.targetOrigin},inspectorModeEnabled:this.inspectorModeEnabled})),window.addEventListener("message",e=>{if("object"==typeof e.data&&e.data&&"source"in e.data&&"live-preview-editor"===e.data.source){if(D.log("Received message",e.data),e.data.method===W.DEBUG_MODE_ENABLED)return void(w=!0);this.inspectorModeEnabled&&this.inspectorMode?.receiveMessage(e.data),this.liveUpdatesEnabled&&(this.liveUpdates?.receiveMessage(e.data),this.saveEvent?.receiveMessage(e.data))}}),function(e,t=500){let n=window.location.href,r=setInterval(()=>{let t=window.location.href;t!==n&&(n=t,e(t))},t)}(()=>{A(W.URL_CHANGED,{action:W.URL_CHANGED,taggedElementCount:document.querySelectorAll(`[${P.ENTRY_ID}]`).length},this.targetOrigin)});let{taggedElements:c,manuallyTaggedCount:u,automaticallyTaggedCount:d}=this.inspectorModeEnabled?G({options:{locale:this.locale,space:this.space,environment:this.environment}}):{taggedElements:[],manuallyTaggedCount:0,automaticallyTaggedCount:0},f=c.length;return A(W.CONNECTED,{action:W.CONNECTED,connected:!0,tags:f,taggedElementCount:f,locale:this.locale,isInspectorEnabled:this.inspectorModeEnabled,isLiveUpdatesEnabled:this.liveUpdatesEnabled,manuallyTaggedElementCount:u,automaticallyTaggedElementCount:d,hideCoveredElementOutlines:t.experimental?.hideCoveredElementOutlines,version:S},this.targetOrigin),this.initialized=!0,Promise.resolve(e.inspectorMode)}}static initTargetOrigin(e){if(e)this.targetOrigin=Array.isArray(e)?e:[e];else{let e=window.location.ancestorOrigins,t=e?ee.find(t=>e.contains(t)):ee.find(e=>document.referrer.includes(e));if(!t)throw Error("The current origin is not supported. Please provide a targetOrigin in the live preview configuration.");this.targetOrigin=[t]}}static subscribe(e,t){if(!this.liveUpdatesEnabled)return()=>{};let n="string"==typeof e?e:"edit",r="object"==typeof e?e:t;if("save"===n){if(!this.saveEvent)throw Error("Save event is not initialized, please call `ContentfulLivePreview.init()` first.");return this.saveEvent.subscribe(r.callback)}if(!this.liveUpdates)throw Error("Live updates are not initialized, please call `ContentfulLivePreview.init()` first.");return this.liveUpdates.subscribe(r)}static getProps(e){let{fieldId:t,locale:n,environment:r,space:i}=e;if(!this.inspectorModeEnabled)return null;if(t){let o={...n?{[P.LOCALE]:n}:{},...r?{[P.ENVIRONMENT]:r}:{},...i?{[P.SPACE]:i}:{},[P.FIELD_ID]:t};if(n&&(o[P.LOCALE]=n),void 0!==e.assetId)return{...o,[P.ASSET_ID]:e.assetId};if(void 0!==e.entryId)return{...o,[P.ENTRY_ID]:e.entryId}}return D.warn("Missing property for inspector mode",{...e}),null}static toggleInspectorMode(){return this.inspectorModeEnabled=!this.inspectorModeEnabled,this.inspectorModeEnabled}static toggleLiveUpdatesMode(){return this.liveUpdatesEnabled=!this.liveUpdatesEnabled,this.liveUpdatesEnabled}static openEntryInEditor(e){let t={locale:this.locale,environment:this.environment,space:this.space};if(void 0!==e.assetId&&e.fieldId||void 0!==e.entryId&&e.fieldId){var n,r;return void(n={...t,...e},r=this.targetOrigin,A("TAGGED_FIELD_CLICKED",{action:"TAGGED_FIELD_CLICKED",...n},r))}D.error("Please provide field id and entry/asset id to openEntryInEditor.",{...e})}static getEntryList(){return $({options:{locale:this.locale,space:this.space,environment:this.environment}})}},en=e.i(271645),er=e.i(843476),ei=f(L(),1),eo=(0,en.createContext)(null);e.s(["ContentfulLivePreviewProvider",0,function({children:e,locale:t,space:n,environment:r,debugMode:i=!1,enableInspectorMode:o=!0,enableLiveUpdates:s=!0,targetOrigin:a,experimental:l}){if(!t)throw Error('ContentfulLivePreviewProvider has to be called with a locale property (for example: `<ContentfulLivePreviewProvider locale="en-US">{children}</ContentfulLivePreviewProvider>`');et.init({locale:t,space:n,environment:r,debugMode:i,enableInspectorMode:o,enableLiveUpdates:s,targetOrigin:a,experimental:l});let c=(0,en.useMemo)(()=>({locale:t,space:n,environment:r,debugMode:i,enableInspectorMode:o,enableLiveUpdates:s,targetOrigin:a}),[t,n,r,i,o,s,a]);return(0,er.jsx)(eo.Provider,{value:c,children:e})},"useContentfulInspectorMode",0,function(e){let t=(0,en.useContext)(eo);return(0,en.useCallback)(n=>t?.enableInspectorMode?et.getProps({...e,...n}):null,[t?.enableInspectorMode,e])},"useContentfulLiveUpdates",0,function(e,t,n=!1){var r,i;let o,s,[a,l]=(0,en.useState)({data:e,version:1}),c=(0,en.useRef)(e),u=(0,en.useRef)(j(l)),d=(0,en.useContext)(eo),f="object"==typeof t?t:{locale:t,skip:n},p=(0,en.useMemo)(()=>(!d||!!d.enableLiveUpdates)&&!f.skip&&!!(Array.isArray(e)&&e.length||e&&"object"==typeof e&&Object.keys(e).length),[d,f.skip,e]);return r=()=>{if(c.current!==e&&(l({data:e,version:1}),c.current=e),p)return et.subscribe("edit",{data:e,locale:f.locale,query:f.query,callback:e=>{u.current(t=>({data:e,version:t.version+1}))}})},i=[e,p,f.locale,f.query],(0,en.useEffect)(r,(o=(0,en.useRef)(i),s=(0,en.useRef)(0),(0,ei.default)(i,o.current)||(o.current=i,s.current+=1),(0,en.useMemo)(()=>o.current,[s.current]))),a.data}],537950)},566510,e=>{"use strict";var t=e.i(843476),n={default:"pnr56n2",transparent:"pnr56n3"},r=e.i(613250),i=e.i(285839),o=e.i(830664),s=e.i(207670),a=e.i(769299),l=e.i(174080),c=e.i(271645);function u(e,t,n){(0,a.useLayoutEffect)(()=>
1{if(t&&e.current){if(!("getAnimations"in e.current))return void n();let t=e.current.getAnimations();if(0===t.length)return void n();let r=!1;return Promise.allSettled(t.map(e=>e.finished)).then(()=>{r||(0,l.flushSync)(()=>{n()})}),()=>{r=!0}}},[e,t,n])}let d=({isOpen:e,variant:r="default",style:l,className:d,children:f,shouldContainFocus:p,...h},g)=>{let v=(0,i.useForwardedRef)(g),m=function(e,t=!0){let[n,r]=(0,c.useState)(!0),i=n&&t;return(0,a.useLayoutEffect)(()=>{if(i&&e.current&&"getAnimations"in e.current)for(let t of e.current.getAnimations())t instanceof CSSTransition&&t.cancel()},[e,i]),u(e,i,(0,c.useCallback)(()=>r(!1),[])),i}(v),b=function(e,t){let[n,r]=(0,c.useState)(t?"open":"closed");switch(n){case"open":t||r("exiting");break;case"closed":case"exiting":t&&r("open")}let i="exiting"===n;return u(e,i,(0,c.useCallback)(()=>{r(e=>"exiting"===e?"closed":e)},[])),i}(v,e);return e||b?(0,t.jsx)(o.PortalOverlay,{isExiting:b,shouldContainFocus:p,children:(0,t.jsx)("div",{...h,ref:v,className:(0,s.clsx)("pnr56n1 _1ma4b9yb",n[r],d,{pnr56n4:m,pnr56n5:b}),style:l,children:f})}):null};d.displayName="Backdrop";let f=(0,r.forwardGenericRef)(d);e.s(["Backdrop",0,f],566510)},717374,7076,778947,348385,257579,e=>{"use strict";var t=e.i(843476),n=e.i(613250),r=e.i(271645),i=e.i(155635);let o=(0,r.createContext)({variant:"modal",isDismissable:!1,overlayTriggerState:{isOpen:!1},close(){}});function s(){return(0,r.useContext)(o)}e.s(["DialogContainerContext",0,o,"useDialogContainer",0,s],7076);var a=e.i(566510),l="_166g6ii6 _1pzwd3r1 _1pzwd3r0 _1ma4b9yb",c="_166g6ii5",u="_166g6iia",d={caution:"_166g6ii7",warning:"_166g6ii8",danger:"_166g6ii9"},f={modal:"_166g6ii0",fullscreen:"_166g6ii1",modeless:"_166g6ii2"},p="k4gxsa0";e.s(["actions",0,"_16zzoef0","closeButton",0,"dsmclc0 z3y2h00","content",0,p,"dialog",0,l,"isTranslucent",0,c,"resizable",0,u,"signal",0,d,"title",0,"_16kifra0","titleHeading",0,"_16kifra1","variant",0,f,"vertical",0,"_16zzoef1"],778947);var h=e.i(75975),g=e.i(213808),v=e.i(44658),m=e.i(368755),b=e.i(803739);let y=({children:e,...n})=>{let i=(0,r.useRef)(null),{overlayTriggerState:o,isDismissable:l,isKeyboardDismissDisabled:c,variant:u}=s(),{modalProps:d,underlayProps:p}=function(e,t,n){let{overlayProps:i,underlayProps:o}=(0,v.useOverlay)({...e,isOpen:t.isOpen,onClose:t.close},n);return(0,b.usePreventScroll)({isDisabled:!t.isOpen}),(0,m.useOverlayFocusContain)(),(0,r.useEffect)(()=>{if(t.isOpen&&n.current)return(0,g.ariaHideOutside)([n.current],{shouldUseInert:!0})},[t.isOpen,n]),{modalProps:(0,h.mergeProps)(i),underlayProps:o}}({isDismissable:l,isKeyboardDismissDisabled:c},o,i);return(0,t.jsx)(a.Backdrop,{...(0,h.mergeProps)(n,p,{isOpen:o.isOpen,className:f[u],shouldContainFocus:!0}),children:(0,t.jsx)("div",{ref:i,...d,children:e})})},E=({children:e,...n})=>{let i=(0,r.useRef)(null),{overlayTriggerState:o,isDismissable:l,isKeyboardDismissDisabled:c,variant:u}=s(),{overlayProps:d,underlayProps:p}=(0,v.useOverlay)({isDismissable:l,isKeyboardDismissDisabled:c,isOpen:o.isOpen,onClose:o.close},i);return(0,t.jsx)(a.Backdrop,{...(0,h.mergeProps)(n,p,{isOpen:o.isOpen,variant:"transparent",className:f[u]}),children:(0,t.jsx)("div",{ref:i,...d,children:e})})},_=({onDismiss:e,children:n,isDismissable:s=!1,isKeyboardDismissDisabled:a=!1,variant:l="modal",isOpen:c,...u})=>{let d=(0,i.useOverlayTriggerState)({isOpen:c,onOpenChange:t=>{t||e?.()}}),f=(0,r.useMemo)(()=>({variant:l,close:d.close,isDismissable:s,isKeyboardDismissDisabled:a,overlayTriggerState:d}),[s,a,d,l]);return(0,t.jsx)(o.Provider,{value:f,children:"modeless"===l?(0,t.jsx)(E,{role:"presentation",...u,children:n}):(0,t.jsx)(y,{role:"presentation",...u,children:n})})};var O=e.i(160128),C=e.i(264024),T=e.i(285839),S=e.i(207670),w=e.i(871356),I=e.i(478607),D=e.i(232940),M=e.i(977926);let A=(0,r.createContext)({aria:{dialogProps:{},titleProps:{},contentProps:{}},dialog:{}});function j(){return(0,r.useContext)(A)}e.s(["DialogContext",0,A,"useDialog",0,j],348385);let L=({children:e,isResizable:n,showCloseButton:i,signal:o,isTranslucent:s,role:a,forwardedRef:f,...p})=>{let{styleProps:g}=(0,O.useStyleProps)(p),v=(0,C.filterSafeProps)(p),b=(0,T.useForwardedRef)(f),y=a??(o?"alertdialog":void 0),E=function(e,t){let{role:n="dialog"}=e,i=(0,M.useSlotId)();i=e["aria-label"]?void 0:i;let o=(0,M.useSlotId)();o="alertdialog"!==n||e["aria-describedby"]?void 0:o;let s=(0,r.useRef)(!1);(0,r.useEffect)(()=>
1{if(t.current&&!(0,D.isFocusWithin)(t.current)){(0,I.focusSafely)(t.current);let e=setTimeout(()=>{((0,D.getActiveElement)()===t.current||(0,D.getActiveElement)()===document.body)&&(s.current=!0,t.current&&(t.current.blur(),(0,I.focusSafely)(t.current)),s.current=!1)},500);return()=>{clearTimeout(e)}}},[t]),(0,m.useOverlayFocusContain)(),(0,r.useRef)(!1),(0,r.useEffect)(()=>{});let a=e["aria-describedby"]??o;return{dialogProps:{...(0,w.filterDOMProps)(e,{labelable:!0}),role:n,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]??i,"aria-describedby":a,onBlur:e=>{s.current&&e.stopPropagation()}},titleProps:{id:i},contentProps:{id:o}}}({...p,role:y},b),[_,j]=(0,r.useState)(void 0),L=(0,r.useMemo)(()=>({aria:E,dialog:{isResizable:n,showCloseButton:i,signal:o,isTranslucent:s},setDescriptionId:j}),[E,n,i,o,s]);return(0,t.jsx)(A.Provider,{value:L,children:(0,t.jsx)("dialog",{open:!0,...(0,h.mergeProps)(g,v,E.dialogProps,{ref:b,"aria-describedby":_,className:(0,S.clsx)(l,o&&d[o],{[u]:n,[c]:s})}),children:e})})},R=(e,n)=>{let{variant:r="modal",onDismiss:i,isOpen:o,isDismissable:s=!1,isKeyboardDismissDisabled:a=!1,...l}=e;return(0,t.jsx)(_,{isDismissable:s,isKeyboardDismissDisabled:a,onDismiss:i,variant:r,isOpen:o,children:(0,t.jsx)(L,{...l,forwardedRef:n})})};R.displayName="Dialog";let P=(0,n.forwardGenericRef)(R);e.s(["Dialog",0,P],717374);let N=({children:e,id:n,...i},o)=>{let s=(0,T.useForwardedRef)(o),{setDescriptionId:a}=j(),{styleProps:l}=(0,O.useStyleProps)(i),c=(0,C.filterSafeProps)(i),u=(0,M.useId)(),d=n??u;return(0,r.useLayoutEffect)(()=>(a?.(d),()=>a?.(void 0)),[a,d]),(0,t.jsx)("div",{...(0,h.mergeProps)(l,c,{id:d,ref:s,className:p}),children:e})};N.displayName="DialogContent";let x=(0,n.forwardGenericRef)(N);e.s(["DialogContent",0,x],257579)}]);

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.