1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{3454:function(e,t,n){"use strict";var r,i;e.exports=(null==(r=n.g.process)?void 0:r.env)&&"object"==typeof(null==(i=n.g.process)?void 0:i.env)?n.g.process:n(7663)},6840:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(8634)}])},3859:function(e,t){"use strict";t.Z={src:"/_next/static/media/logo.a10805c4.png",height:38,width:200,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAACCAMAAABSSm3fAAAAD1BMVEUzNDQ2MzMyNDQ6MzJFKiqomU8BAAAABXRSTlNfh1d1XFHAeHAAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAXSURBVHicY2BhZmRkZmZiAAEmJiZGRgABHwAaxdCrDwAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:2}},6691:function(e,t){"use strict";var n,r,i,o;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ACTION_FAST_REFRESH:function(){return d},ACTION_NAVIGATE:function(){return s},ACTION_PREFETCH:function(){return c},ACTION_REFRESH:function(){return a},ACTION_RESTORE:function(){return l},ACTION_SERVER_ACTION:function(){return f},ACTION_SERVER_PATCH:function(){return u},PrefetchCacheEntryStatus:function(){return r},PrefetchKind:function(){return n},isThenable:function(){return p}});let a="refresh",s="navigate",l="restore",u="server-patch",c="prefetch",d="fast-refresh",f="server-action";function p(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}(i=n||(n={})).AUTO="auto",i.FULL="full",i.TEMPORARY="temporary",(o=r||(r={})).fresh="fresh",o.reusable="reusable",o.expired="expired",o.stale="stale",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4318:function(e,t,n){"use strict";function r(e,t,n,r){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return r}}),n(8364),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6541:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return b}});let r=n(8754),i=n(1757),o=n(5893),a=i._(n(7294)),s=r._(n(3935)),l=r._(n(7828)),u=n(7367),c=n(7903),d=n(4938);n(1997);let f=n(9953),p=r._(n(6663)),h={deviceSizes:[450,640,750,828,1080],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0};function g(e,t,n,r,i,o,a){let s=null==e?void 0:e.src;e&&e["data-loaded-src"]!==s&&(e["data-loaded-src"]=s,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),null==n?void 0:n.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let r=!1,i=!1;n.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>r,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{r=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}(null==r?void 0:r.current)&&r.current(e)}}))}function m(e){return a.use?{fetchPriority:e}:{fetchpriority:e}}let v=(0,a.forwardRef)((e,t)=>{let{src:n,srcSet:r,sizes:i,height:s,width:l,decoding:u,className:c,style:d,fetchPriority:f,placeholder:p,loading:h,unoptimized:v,fill:y,onLoadRef:b,onLoadingCompleteRef:w,setBlurComplete:E,setShowAltText:O,sizesInput:S,onLoad:T,onError:k,...I}=e;return(0,o.jsx)("img",{...I,...m(f),loading:h,width:l,height:s,decoding:u,"data-nimg":y?"fill":"1",className:c,style:d,sizes:i,srcSet:r,src:n,ref:(0,a.useCallback)(e=>{t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e&&(k&&(e.src=e.src),e.complete&&g(e,p,b,w,E,v,S))},[n,p,b,w,E,k,v,S,t]),onLoad:e=>{g(e.currentTarget,p,b,w,E,v,S)},onError:e=>{O(!0),"empty"!==p&&E(!0),k&&k(e)}})});function y(e){let{isAppRouter:t,imgAttributes:n}=e,r={as:"image",imageSrcSet:n.srcSet,imageSizes:n.sizes,crossOrigin:n.crossOrigin,referrerPolicy:n.referrerPolicy,...m
1(n.fetchPriority)};return t&&s.default.preload?(s.default.preload(n.src,r),null):(0,o.jsx)(l.default,{children:(0,o.jsx)("link",{rel:"preload",href:n.srcSet?void 0:n.src,...r},"__nimg-"+n.src+n.srcSet+n.sizes)})}let b=(0,a.forwardRef)((e,t)=>{let n=(0,a.useContext)(f.RouterContext),r=(0,a.useContext)(d.ImageConfigContext),i=(0,a.useMemo)(()=>{let e=h||r||c.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),n=e.deviceSizes.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:n}},[r]),{onLoad:s,onLoadingComplete:l}=e,g=(0,a.useRef)(s);(0,a.useEffect)(()=>{g.current=s},[s]);let m=(0,a.useRef)(l);(0,a.useEffect)(()=>{m.current=l},[l]);let[b,w]=(0,a.useState)(!1),[E,O]=(0,a.useState)(!1),{props:S,meta:T}=(0,u.getImgProps)(e,{defaultLoader:p.default,imgConf:i,blurComplete:b,showAltText:E});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(v,{...S,unoptimized:T.unoptimized,placeholder:T.placeholder,fill:T.fill,onLoadRef:g,onLoadingCompleteRef:m,setBlurComplete:w,setShowAltText:O,sizesInput:e.sizes,ref:t}),T.priority?(0,o.jsx)(y,{isAppRouter:!n,imgAttributes:S}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9577:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return w}});let r=n(8754),i=n(5893),o=r._(n(7294)),a=n(1401),s=n(2045),l=n(7420),u=n(7201),c=n(1443),d=n(9953),f=n(5320),p=n(2905),h=n(4318),g=n(953),m=n(6691),v=new Set;function y(e,t,n,r,i,o){if(o||(0,s.isLocalURL)(t)){if(!r.bypassPrefetchedCheck){let i=t+"%"+n+"%"+(void 0!==r.locale?r.locale:"locale"in e?e.locale:void 0);if(v.has(i))return;v.add(i)}(async()=>o?e.prefetch(t,i):e.prefetch(t,n,r))().catch(e=>{})}}function b(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}let w=o.default.forwardRef(function(e,t){let n,r;let{href:l,as:v,children:w,prefetch:E=null,passHref:O,replace:S,shallow:T,scroll:k,locale:I,onClick:A,onMouseEnter:_,onTouchStart:C,legacyBehavior:D=!1,...x}=e;n=w,D&&("string"==typeof n||"number"==typeof n)&&(n=(0,i.jsx)("a",{children:n}));let j=o.default.useContext(d.RouterContext),R=o.default.useContext(f.AppRouterContext),P=null!=j?j:R,N=!j,q=!1!==E,B=null===E?m.PrefetchKind.AUTO:m.PrefetchKind.FULL,{href:U,as:M}=o.default.useMemo(()=>{if(!j){let e=b(l);return{href:e,as:v?b(v):e}}let[e,t]=(0,a.resolveHref)(j,l,!0);return{href:e,as:v?(0,a.resolveHref)(j,v):t||e}},[j,l,v]),F=o.default.useRef(U),W=o.default.useRef(M);D&&(r=o.default.Children.only(n));let L=D?r&&"object"==typeof r&&r.ref:t,[z,V,G]=(0,p.useIntersection)({rootMargin:"200px"}),Q=o.default.useCallback(e=>{(W.current!==M||F.current!==U)&&(G(),W.current=M,F.current=U),z(e),L&&("function"==typeof L?L(e):"object"==typeof L&&(L.current=e))},[M,L,U,G,z]);o.default.useEffect(()=>{P&&V&&q&&y(P,U,M,{locale:I},{kind:B},N)},[M,U,V,I,q,null==j?void 0:j.locale,P,N,B]);let H={ref:Q,onClick(e){D||"function"!=typeof A||A(e),D&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),P&&!e.defaultPrevented&&function(e,t,n,r,i,a,l,u,c){let{nodeName:d}=e.currentTarget;if("A"===d.toUpperCase()&&(function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!c&&!(0,s.isLocalURL)(n)))return;e.preventDefault();let f=()=>{let e=null==l||l;"beforePopState"in t?t[i?"replace":"push"](n,r,{shallow:a,locale:u,scroll:e}):t[i?"replace":"push"](r||n,{scroll:e})};c?o.default.startTransition(f):f()}(e,P,U,M,S,T,k,I,N)},onMouseEnter(e){D||"function"!=typeof _||_(e),D&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),P&&(q||!N)&&y(P,U,M,{locale:I,priority:!0,bypassPrefetchedCheck:!0},{kind:B},N)},onTouchStart:function(e){D||"function"!=typeof C||C(e),D&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),P&&(q||!N)&&y(P,U,M,{locale:I,priority:!0,bypassPrefetchedCheck:!0},{kind:B},N)}};if((0,u.isAbsoluteUrl)(M))H.href=M;else if(!D||O||"a"===r.type&&!("href"in r.props)){let e=void 0!==I?I:null==j?void 0:j.locale,t=(null==j?void 0:j.isLocaleDomain)&&(0,h.getDomainLocale)(M,e,null==j?void 0:j.locales,null==j?void 0:j.domainLocales);H.href=t||(0,g.addBasePath)((0,c.addLocale)(M,e,null==j?void 0:j.defaultLocale))}return D?o.default.cloneElement(r,H):(0,i.jsx)("a",{...x,...H,children:n})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2905:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return l}});let r=n(7294),i=n(3815),o="function"==typeof IntersectionObserver,a=new Map,s=[];function l(e){let{rootRef:t,rootMargin:n,disabled:l}=e,u=l||!o,[c,d]=(0,r.useState)(!1),f=(0,r.useRef)(null),p=(0,r.useCallback)(e=>{f.current=e},[]);return(0,r.useEffect)(()=>{if(o){if(u||c)return;let e=f.current;if(e&&e.tagName)return function(e,t,n){let{id:r,observer:i,elements:o}=function(e){let t;let n={root:e.root||null,margin:e.rootMargin||""},r=s.find(e=>e.root===n.root&&e.margin===n.margin);if(r&&(t=a.get(r)))return t;let i=new Map;return t={id:n,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=i.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e),elements:i},s.push(n),a.set(n,t),t}(n);return o.set(e,t),i.observe(e),function(){if(o.delete(e),i.unobserve(e),0===o.size){i.disconnect(),a.delete(r);let e=s.findIndex(e=>e.root===r.root&&e.margin===r.margin);e>-1&&s.splice(e,1)}}}(e,e=>e&&d(e),{root:null==t?void 0:t.current,rootMargin:n})}else if(!c){let e=(0,i.requestIdleCallback)(()=>d(!0));return()=>(0,i.cancelIdleCallback)(e)}},[u,n,t,c,f.current]),[p,c,(0,r.useCallback)(()=>{d(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8864:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return s},noSSR:function(){return a}});let r=n(8754);n(5893),n(7294);let i=r._(n(6016));function o(e){return{default:(null==e?void 0:e.default)||e}}function a(e,t){return delete t.webpack,delete t.modules,e(t)}function s(e,t){let n=i.default,r={loading:e=>{let{error:t,isLoading:n,pastDelay:r}=e;return null}};e instanceof Promise?r.loader=()=>e:"function"==typeof e?r.loader=e:"object"==typeof e&&(r={...r,...e});let s=(r={...r,...t}).loader;return(r.loadableGenerated&&(r={...r,...r.loadableGenerated},delete r.loadableGenerated),"boolean"!=typeof r.ssr||r.ssr)?n({...r,loader:()=>null!=s?s().then(o):Promise.resolve(o(()=>null))}):(delete r.webpack,delete r.modules,a(n,r))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7367:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return s}}),n(1997);let r=n(9919),i=n(7903);function o(e){return void 0!==e.default}function a(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function s(e,t){var n;let s,l,u,{src:c,sizes:d,unoptimized:f=!1,priority:p=!1,loading:h,className:g,quality:m,width:v,height:y,fill:b=!1,style:w,overrideSrc:E,onLoad:O,onLoadingComplete:S,placeholder:T="empty",blurDataURL:k,fetchPriority:I,layout:A,objectFit:_,objectPosition:C,lazyBoundary:D,lazyRoot:x,...j}=e,{imgConf:R,showAltText:P,blurComplete:N,defaultLoader:q}=t,B=R||i.imageConfigDefault;if("allSizes"in B)s=B;else{let e=[...B.deviceSizes,...B.imageSizes].sort((e,t)=>e-t),t=B.deviceSizes.sort((e,t)=>e-t);s={...B,allSizes:e,deviceSizes:t}}if(void 0===q)throw Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config");let U=j.loader||q;delete j.loader,delete j.srcSet;let M="__next_img_default"in U;if(M){if("custom"===s.loader)throw Error('Image with src "'+c+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let e=U;U=t=>{let{config:n,...r}=t;return e(r)}}if(A){"fill"===A&&(b=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[A];e&&(w={...w,...e});let t={responsive:"100vw",fill:"100vw"}[A];t&&!d&&(d=t)}let F="",W=a(v),L=a(y);if("object"==typeof(n=c)&&(o(n)||void 0!==n.src)){let e=o(c)?c.default:c;if(!e.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e));if(!e.height||!e.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e));if(l=e.blurWidth,u=e.blurHeight,k=k||e.blurDataURL,F=e.src,!b){if(W||L){if(W&&!L){let t=W/e.width;L=Math.round(e.height*t)}else if(!W&&L){let t=L/e.height;W=Math.round(e.width*t)}}
1else W=e.width,L=e.height}}let z=!p&&("lazy"===h||void 0===h);(!(c="string"==typeof c?c:F)||c.startsWith("data:")||c.startsWith("blob:"))&&(f=!0,z=!1),s.unoptimized&&(f=!0),M&&c.endsWith(".svg")&&!s.dangerouslyAllowSVG&&(f=!0),p&&(I="high");let V=a(m),G=Object.assign(b?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:_,objectPosition:C}:{},P?{}:{color:"transparent"},w),Q=N||"empty"===T?null:"blur"===T?'url("data:image/svg+xml;charset=utf-8,'+(0,r.getImageBlurSvg)({widthInt:W,heightInt:L,blurWidth:l,blurHeight:u,blurDataURL:k||"",objectFit:G.objectFit})+'")':'url("'+T+'")',H=Q?{backgroundSize:G.objectFit||"cover",backgroundPosition:G.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:Q}:{},J=function(e){let{config:t,src:n,unoptimized:r,width:i,quality:o,sizes:a,loader:s}=e;if(r)return{src:n,srcSet:void 0,sizes:void 0};let{widths:l,kind:u}=function(e,t,n){let{deviceSizes:r,allSizes:i}=e;if(n){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let r;r=e.exec(n);r)t.push(parseInt(r[2]));if(t.length){let e=.01*Math.min(...t);return{widths:i.filter(t=>t>=r[0]*e),kind:"w"}}return{widths:i,kind:"w"}}return"number"!=typeof t?{widths:r,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>i.find(t=>t>=e)||i[i.length-1]))],kind:"x"}}(t,i,a),c=l.length-1;return{sizes:a||"w"!==u?a:"100vw",srcSet:l.map((e,r)=>s({config:t,src:n,quality:o,width:e})+" "+("w"===u?e:r+1)+u).join(", "),src:s({config:t,src:n,quality:o,width:l[c]})}}({config:s,src:c,unoptimized:f,width:W,quality:V,sizes:d,loader:U});return{props:{...j,loading:z?"lazy":h,fetchPriority:I,width:W,height:L,decoding:"async",className:g,style:{...G,...H},sizes:J.sizes,srcSet:J.srcSet,src:E||J.src},meta:{unoptimized:f,priority:p,placeholder:T,fill:b}}}},9919:function(e,t){"use strict";function n(e){let{widthInt:t,heightInt:n,blurWidth:r,blurHeight:i,blurDataURL:o,objectFit:a}=e,s=r?40*r:t,l=i?40*i:n,u=s&&l?"viewBox='0 0 "+s+" "+l+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+u+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(u?"none":"contain"===a?"xMidYMid":"cover"===a?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+o+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},5666:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return l},getImageProps:function(){return s}});let r=n(8754),i=n(7367),o=n(6541),a=r._(n(6663));function s(e){let{props:t}=(0,i.getImgProps)(e,{defaultLoader:a.default,imgConf:{deviceSizes:[450,640,750,828,1080],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let l=o.Image},6663:function(e,t){"use strict";function n(e){let{config:t,src:n,width:r,quality:i}=e;return t.path+"?url="+encodeURIComponent(n)+"&w="+r+"&q="+(i||75)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}}),n.__next_img_default=!0;let r=n},572:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return r}});let r=n(8754)._(n(7294)).default.createContext(null)},6016:function(e,t,n){"use strict";/** 2@copyright (c) 2017-present James Kyle <[email protected]> 3 MIT License 4 Permission is hereby granted, free of charge, to any person obtaining 5a copy of this software and associated documentation files (the 6"Software"), to deal in the Software without restriction, including 7without limitation the rights to use, copy, modify, merge, publish, 8distribute, sublicense, and/or sell copies of the Software, and to 9permit persons to whom the Software is furnished to do so, subject to 10the following conditions: 11 The above copyright notice and this permission notice shall be 12included in all copies or substantial portions of the Software. 13 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 14EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 15MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 16NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 17LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 18OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 19WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE
20*/Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});let r=n(8754)._(n(7294)),i=n(572),o=[],a=[],s=!1;function l(e){let t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then(e=>(n.loading=!1,n.loaded=e,e)).catch(e=>{throw n.loading=!1,n.error=e,e}),n}class u{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function c(e){return function(e,t){let n=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),o=null;function l(){if(!o){let t=new u(e,n);o={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return o.promise()}if(!s){let e=n.webpack?n.webpack():n.modules;e&&a.push(t=>{for(let n of e)if(t.includes(n))return l()})}function c(e,t){!function(){l();let e=r.default.useContext(i.LoadableContext);e&&Array.isArray(n.modules)&&n.modules.forEach(t=>{e(t)})}();let a=r.default.useSyncExternalStore(o.subscribe,o.getCurrentValue,o.getCurrentValue);return r.default.useImperativeHandle(t,()=>({retry:o.retry}),[]),r.default.useMemo(()=>{var t;return a.loading||a.error?r.default.createElement(n.loading,{isLoading:a.loading,pastDelay:a.pastDelay,timedOut:a.timedOut,error:a.error,retry:o.retry}):a.loaded?r.default.createElement((t=a.loaded)&&t.default?t.default:t,e):null},[e,a])}return c.preload=()=>l(),c.displayName="LoadableComponent",r.default.forwardRef(c)}(l,e)}function d(e,t){let n=[];for(;e.length;){let r=e.pop();n.push(r(t))}return Promise.all(n).then(()=>{if(e.length)return d(e,t)})}c.preloadAll=()=>new Promise((e,t)=>{d(o).then(e,t)}),c.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let n=()=>(s=!0,t());d(a,e).then(n,n)})),window.__NEXT_PRELOADREADY=c.preloadReady;let f=c},9601:function(e,t,n){"use strict";let r;n.d(t,{n:function(){return ra}});var i,o,a,s,l=n(7582),u=n(8287);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t,n){return t&&d(e.prototype,t),n&&d(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var p=function(){return"function"==typeof Symbol},h=function(e){return p()&&!!Symbol[e]},g=function(e){return h(e)?Symbol[e]:"@@"+e};p()&&!h("observable")&&(Symbol.observable=Symbol("observable"));var m=g("iterator"),v=g("observable"),y=g("species");function b(e,t){var n=e[t];if(null!=n){if("function"!=typeof n)throw TypeError(n+" is not a function");return n}}function w(e){var t=e.constructor;return void 0!==t&&null===(t=t[y])&&(t=void 0),void 0!==t?t:C}function E(e){E.log?E.log(e):setTimeout(function(){throw e})}function O(e){Promise.resolve().then(function(){try{e()}catch(e){E(e)}})}function S(e){var t=e._cleanup;if(void 0!==t){if(e._cleanup=void 0,!t)return;try{if("function"==typeof t)t();else{var n=b(t,"unsubscribe");n&&n.call(t)}}catch(e){E(e)}}}function T(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function k(e,t,n){e._state="running";var r=e._observer;try{var i=b(r,t);switch(t){case"next":i&&i.call(r,n);break;case"error":if(T(e),i)i.call(r,n);else throw n;break;case"complete":T(e),i&&i.call(r)}}catch(e){E(e)}"closed"===e._state?S(e):"running"===e._state&&(e._state="ready")}function I(e,t,n){if("closed"!==e._state){if("buffering"===e._state){e._queue.push({type:t,value:n});return}if("ready"!==e._state){e._state="buffering",e._queue=[{type:t,value:n}],O(function(){return function(e){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var n=0;n<t.length&&(k(e,t[n].type,t[n].value),"closed"!==e._state);++n);}}(e)});return}k(e,t,n)}}var A=function(){function e(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var n=new _(this);try{this._cleanup=t.call(void 0,n)}catch(e){n.error(e)}"initializing"===this._state&&(this._state="ready")}return e.prototype.unsubscribe=function(){"closed"!==this._state&&(T(this),S(this))},f(e,[{key:"closed",get:function(){return"closed"===this._state}}]),e}(),_=function(){function e(e){this._subscription=e}var t=e.prototype;return t.next=function(e){I(this._subscription,"next",e)},t.error=function(e){I(this._subscription,"error",e)},t.complete=function(){I(this._subscription,"complete")},f(e,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),C=function(){function e(t){if(!(this instanceof e))throw TypeError("Observable cannot be called as a function");if("function"!=typeof t)throw TypeError("Observable initializer must be a function");this._subscriber=t}var t=e.prototype;return t.subscribe=function(e){return("object"!=typeof e||null===e)&&(e={next:e,error:arguments[1],complete:arguments[2]}),new A(e,this._subscriber)},t.forEach=function(e){var t=this;return new Promise(function(n,r){if("function"!=typeof e){r(TypeError(e+" is not a function"));return}function i(){o.unsubscribe(),n()}var o=t.subscribe({next:function(t){try{e(t,i)}catch(e){r(e),o.unsubscribe()}},error:r,complete:n})})},t.map=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");return new(w(this))(function(n){return t.subscribe({next:function(t){try{t=e(t)}catch(e){return n.error(e)}n.next(t)},error:function(e){n.error(e)},complete:function(){n.complete()}})})},t.filter=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");return new(w(this))(function(n){return t.subscribe({next:function(t){try{if(!e(t))return}catch(e){return n.error(e)}n.next(t)},error:function(e){n.error(e)},complete:function(){n.complete()}})})},t.reduce=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");var n=w(this),r=arguments.length>1,i=!1,o=arguments[1],a=o;return new n(function(n){return t.subscribe({next:function(t){var o=!i;if(i=!0,!o||r)try{a=e(a,t)}catch(e){return n.error(e)}else a=t},error:function(e){n.error(e)},complete:function(){if(!i&&!r)return n.error(TypeError("Cannot reduce an empty sequence"));n.next(a),n.complete()}})})},t.concat=function(){for(var e=this,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=w(this);return new i(function(t){var r,o=0;return function e(a){r=a.subscribe({next:function(e){t.next(e)},error:function(e){t.error(e)},complete:function(){o===n.length?(r=void 0,t.complete()):e(i.from(n[o++]))}})}(e),function(){r&&(r.unsubscribe(),r=void 0)}})},t.flatMap=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");var n=w(this);return new n(function(r){var i=[],o=t.subscribe({next:function(t){if(e)try{t=e(t)}catch(e){return r.error(e)}var o=n.from(t).subscribe({next:function(e){r.next(e)},error:function(e){r.error(e)},complete:function(){var e=i.indexOf(o);e>=0&&i.splice(e,1),a()}});i.push(o)},error:function(e){r.error(e)},complete:function(){a()}});function a(){o.closed&&0===i.length&&r.complete()}
20return function(){i.forEach(function(e){return e.unsubscribe()}),o.unsubscribe()}})},t[v]=function(){return this},e.from=function(t){var n="function"==typeof this?this:e;if(null==t)throw TypeError(t+" is not an object");var r=b(t,v);if(r){var i=r.call(t);if(Object(i)!==i)throw TypeError(i+" is not an object");return i instanceof C&&i.constructor===n?i:new n(function(e){return i.subscribe(e)})}if(h("iterator")&&(r=b(t,m)))return new n(function(e){O(function(){if(!e.closed){for(var n,i=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return c(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,void 0)}}(e))){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(r.call(t));!(n=i()).done;){var o=n.value;if(e.next(o),e.closed)return}e.complete()}})});if(Array.isArray(t))return new n(function(e){O(function(){if(!e.closed){for(var n=0;n<t.length;++n)if(e.next(t[n]),e.closed)return;e.complete()}})});throw TypeError(t+" is not observable")},e.of=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return new("function"==typeof this?this:e)(function(e){O(function(){if(!e.closed){for(var t=0;t<n.length;++t)if(e.next(n[t]),e.closed)return;e.complete()}})})},f(e,null,[{key:y,get:function(){return this}}]),e}();p()&&Object.defineProperty(C,Symbol("extensions"),{value:{symbol:v,hostReportError:E},configurable:!0});var D=n(3154);function x(e,t){var n=t,r=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw(0,u._K)(74,e.operation,e.name?" named '".concat(e.name.value,"'"):"");"FragmentDefinition"===e.kind&&r.push(e)}),void 0===n&&((0,u.kG)(1===r.length,75,r.length),n=r[0].name.value),(0,l.pi)((0,l.pi)({},e),{definitions:(0,l.ev)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}],e.definitions,!0)})}function j(e){void 0===e&&(e=[]);var t={};return e.forEach(function(e){t[e.name.value]=e}),t}function R(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var n=e.name.value;if("function"==typeof t)return t(n);var r=t&&t[n];return(0,u.kG)(r,76,n),r||null;default:return null}}var P=n(8991),N=n(6331),q=n(8244),B=Object.assign(function(e){return JSON.stringify(e,U)},{reset:function(){a=new P.L(N.Q.canonicalStringify||1e3)}});function U(e,t){if(t&&"object"==typeof t){var n=Object.getPrototypeOf(t);if(n===Object.prototype||null===n){var r=Object.keys(t);if(r.every(M))return t;var i=JSON.stringify(r),o=a.get(i);if(!o){r.sort();var s=JSON.stringify(r);o=a.get(s)||r,a.set(i,o),a.set(s,o)}var l=Object.create(n);return o.forEach(function(e){l[e]=t[e]}),l}}return t}function M(e,t,n){return 0===t||n[t-1]<=e}function F(e){return{__ref:String(e)}}function W(e){return!!(e&&"object"==typeof e&&"string"==typeof e.__ref)}function L(e,t,n,r){if("IntValue"===n.kind||"FloatValue"===n.kind)e[t.value]=Number(n.value);else if("BooleanValue"===n.kind||"StringValue"===n.kind)e[t.value]=n.value;else if("ObjectValue"===n.kind){var i={};n.fields.map(function(e){return L(i,e.name,e.value,r)}),e[t.value]=i}else if("Variable"===n.kind){var o=(r||{})[n.name.value];e[t.value]=o}else if("ListValue"===n.kind)e[t.value]=n.values.map(function(e){var n={};return L(n,t,e,r),n[t.value]});else if("EnumValue"===n.kind)e[t.value]=n.value;else if("NullValue"===n.kind)e[t.value]=null;else throw(0,u._K)(85,t.value,n.kind)}!1!==globalThis.__DEV__&&(0,q.zP)("canonicalStringify",function(){return a.size}),B.reset();var z=["connection","include","skip","client","rest","export","nonreactive"],V=B,G=Object.assign(function(e,t,n){if(t&&n&&n.connection&&n.c
20onnection.key){if(!n.connection.filter||!(n.connection.filter.length>0))return n.connection.key;var r=n.connection.filter?n.connection.filter:[];r.sort();var i={};return r.forEach(function(e){i[e]=t[e]}),"".concat(n.connection.key,"(").concat(V(i),")")}var o=e;if(t){var a=V(t);o+="(".concat(a,")")}return n&&Object.keys(n).forEach(function(e){-1===z.indexOf(e)&&(n[e]&&Object.keys(n[e]).length?o+="@".concat(e,"(").concat(V(n[e]),")"):o+="@".concat(e))}),o},{setStringify:function(e){var t=V;return V=e,t}});function Q(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach(function(e){return L(n,e.name,e.value,t)}),n}return null}function H(e){return e.alias?e.alias.value:e.name.value}function J(e,t,n){for(var r,i=0,o=t.selections;i<o.length;i++){var a=o[i];if($(a)){if("__typename"===a.name.value)return e[H(a)]}else r?r.push(a):r=[a]}if("string"==typeof e.__typename)return e.__typename;if(r)for(var s=0,l=r;s<l.length;s++){var a=l[s],u=J(e,R(a,n).selectionSet,n);if("string"==typeof u)return u}}function $(e){return"Field"===e.kind}function K(e){(0,u.kG)(e&&"Document"===e.kind,77);var t=e.definitions.filter(function(e){return"FragmentDefinition"!==e.kind}).map(function(e){if("OperationDefinition"!==e.kind)throw(0,u._K)(78,e.kind);return e});return(0,u.kG)(t.length<=1,79,t.length),e}function Y(e){return K(e),e.definitions.filter(function(e){return"OperationDefinition"===e.kind})[0]}function X(e){return e.definitions.filter(function(e){return"OperationDefinition"===e.kind&&!!e.name}).map(function(e){return e.name.value})[0]||null}function Z(e){return e.definitions.filter(function(e){return"FragmentDefinition"===e.kind})}function ee(e){var t=Y(e);return(0,u.kG)(t&&"query"===t.operation,80),t}function et(e){K(e);for(var t,n=0,r=e.definitions;n<r.length;n++){var i=r[n];if("OperationDefinition"===i.kind){var o=i.operation;if("query"===o||"mutation"===o||"subscription"===o)return i}"FragmentDefinition"!==i.kind||t||(t=i)}if(t)return t;throw(0,u._K)(84)}function en(e){var t=Object.create(null),n=e&&e.variableDefinitions;return n&&n.length&&n.forEach(function(e){e.defaultValue&&L(t,e.variable.name,e.defaultValue)}),t}function er(e,t){return t?t(e):C.of()}function ei(e){return"function"==typeof e?new ea(e):e}function eo(e){return e.request.length<=1}var ea=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e(function(){return C.of()})},e.from=function(t){return 0===t.length?e.empty():t.map(ei).reduce(function(e,t){return e.concat(t)})},e.split=function(t,n,r){var i=ei(n),o=ei(r||new e(er));return Object.assign(new e(eo(i)&&eo(o)?function(e){return t(e)?i.request(e)||C.of():o.request(e)||C.of()}:function(e,n){return t(e)?i.request(e,n)||C.of():o.request(e,n)||C.of()}),{left:i,right:o})},e.execute=function(e,t){var n,r,i,o;return e.request((i=t.context,(r={variables:(n=function(e){for(var t=["query","operationName","variables","extensions","context"],n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];if(0>t.indexOf(i))throw(0,u._K)(44,i)}return e}(t)).variables||{},extensions:n.extensions||{},operationName:n.operationName,query:n.query}).operationName||(r.operationName="string"!=typeof r.query?X(r.query)||void 0:""),o=(0,l.pi)({},i),Object.defineProperty(r,"setContext",{enumerable:!1,value:function(e){o="function"==typeof e?(0,l.pi)((0,l.pi)({},o),e(o)):(0,l.pi)((0,l.pi)({},o),e)}}),Object.defineProperty(r,"getContext",{enumerable:!1,value:function(){return(0,l.pi)({},o)}}),r))||C.of()},e.concat=function(t,n){var r=ei(t);if(eo(r))return!1!==globalThis.__DEV__&&u.kG.warn(36,r),r;var i=ei(n);return Object.assign(new e(eo(i)?function(e){return r.request(e,function(e){return i.request(e)||C.of()})||C.of()}:function(e,t){return r.request(e,function(e){return i.request(e,t)||C.of()})||C.of()}),{left:r,right:i})},e.prototype.split=function(t,n,r){return this.concat(e.split(t,n,r||new e(er)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw(0,u._K)(37)},e.prototype.onError=function(e,t){if(t&&t.error)return t.error(e),!1;throw e},e.prototype.setOnError=function(e){return this.onError=e,this},e}(),es=n(7826),el=n(5821),eu=n(2380),ec=n(7359);let ed=Object.freeze({});function ef(e,t,n=eu.h8){let r,i,o;let a=new Map;for(let e of Object.values(ec.h))a.set(e,function(e,t){let n=e[t];return"object"==typeof n?n:"function"==typeof n?{enter:n,leave:void 0}:{enter:e.enter,leave:e.leave}}(t,e));let s=Array.isArray(e),l=[e],u=-1,c=[],d=e,f=[],p=[];do{var h,g,m;let e;let v=++u===l.length,y=v&&0!==c.length;if(v){if(i=0===p.length?void 0:f[f.length-1],d=o,o=p.pop(),y){if(s){d=d.slice();let e=0;for(let[t,n]of c){let r=t-e;null===n?(d.splice(r,1),e++):d[r]=n}}else for(let[e,t]of(d=Object.defineProperties({},Object.getOwnPropertyDescriptors(d)),c))d[e]=t}u=r.index,l=r.keys,c=r.edits,s=r.inArray,r=r.prev}else if(o){if(null==(d=o[i=s?u:l[u]]))continue;f.push(i)}if(!Array.isArray(d)){(0,eu.UG)(d)||(0,es.a)(!1,`Invalid AST Node: ${(0,el.X)(d)}.`);let n=v?null===(h=a.get(d.kind))||void 0===h?void 0:h.leave:null===(g=a.get(d.kind))||void 0===g?void 0:g.enter;if((e=null==n?void 0:n.call(t,d,i,o,f,p))===ed)break;if(!1===e){if(!v){f.pop();continue}}else if(void 0!==e&&(c.push([i,e]),!v)){if((0,eu.UG)(e))d=e;else{f.pop();continue}}}void 0===e&&y&&c.push([i,d]),v?f.pop():(r={inArray:s,index:u,keys:l,edits:c,prev:r},l=(s=Array.isArray(d))?d:null!==(m=n[d.kind])&&void 0!==m?m:[],u=-1,c=[],o&&p.push(o),o=d)}while(void 0!==r);return 0!==c.length?c[c.length-1][1]:e}function ep(e,t){var n,r=e.directives;return!r||!r.length||(n=[],r&&r.length&&r.forEach(function(e){var t;if(!("skip"!==(t=e.name.value)&&"include"!==t)){var r=e.arguments,i=e.name.value;(0,u.kG)(r&&1===r.length,71,i);var o=r[0];(0,u.kG)(o.name&&"if"===o.name.value,72,i);var a=o.value;(0,u.kG)(a&&("Variable"===a.kind||"BooleanValue"===a.kind),73,i),n.push({directive:e,ifArgument:o})}}),n).every(function(e){var n=e.directive,r=e.ifArgument,i=!1;return"Variable"===r.value.kind?(i=t&&t[r.value.name.value],(0,u.kG)(void 0!==i,70,n.name.value)):i=r.value.value,"skip"===n.name.value?!i:i})}function eh(e,t,n){var r=new Set(e),i=r.size;return ef(t,{Directive:function(e){if(r.delete(e.name.value)&&(!n||!r.size))return ed}}),n?!r.size:r.size<i}var eg=function(e,t){var n;try{n=JSON.stringify(e)}catch(e){var r=(0,u._K)(40,t,e.message);throw r.parseError=e,r}return n},em=n(320);function ev(e){var t={next:function(){return e.read()}};return em.DN&&(t[Symbol.asyncIterator]=function(){return this}),t}var ey=function(e,t,n){var r=Error(n);throw r.name="ServerError",r.response=e,r.statusCode=e.status,r.result=t,r},eb=n(990),ew=n(1436),eE=Object.prototype.hasOwnProperty;function eO(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return eS(e)}function eS(e){var t=e[0]||{},n=e.length;if(n>1)for(var r=new ek,i=1;i<n;++i)t=r.merge(t,e[i]);return t}
20var eT=function(e,t,n){return this.merge(e[n],t[n])},ek=function(){function e(e){void 0===e&&(e=eT),this.reconciler=e,this.isObject=D.s,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var n=this,r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];return(0,D.s)(t)&&(0,D.s)(e)?(Object.keys(t).forEach(function(i){if(eE.call(e,i)){var o=e[i];if(t[i]!==o){var a=n.reconciler.apply(n,(0,l.ev)([e,t,i],r,!1));a!==o&&((e=n.shallowCopyForMerge(e))[i]=a)}}else(e=n.shallowCopyForMerge(e))[i]=t[i]}),e):t},e.prototype.shallowCopyForMerge=function(e){return(0,D.s)(e)&&!this.pastCopies.has(e)&&(e=Array.isArray(e)?e.slice(0):(0,l.pi)({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e)),e},e}();function eI(e){return"incremental"in e}function eA(e,t){var n=e,r=new ek;return eI(t)&&(0,ew.O)(t.incremental)&&t.incremental.forEach(function(e){for(var t=e.data,i=e.path,o=i.length-1;o>=0;--o){var a=i[o],s=isNaN(+a)?{}:[];s[a]=t,t=s}n=r.merge(n,t)}),n}var e_=Object.prototype.hasOwnProperty;function eC(e,t){e.status>=300&&ey(e,function(){try{return JSON.parse(t)}catch(e){return t}}(),"Response not successful: Received status code ".concat(e.status));try{return JSON.parse(t)}catch(n){throw n.name="ServerParseError",n.response=e,n.statusCode=e.status,n.bodyText=t,n}}var eD=function(e){if(!e&&"undefined"==typeof fetch)throw(0,u._K)(38)},ex=n(7392);let ej=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function eR(e){return eP[e.charCodeAt(0)]}let eP=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"],eN={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>eq(e.definitions,"\n\n")},OperationDefinition:{leave(e){let t=eU("(",eq(e.variableDefinitions,", "),")"),n=eq([e.operation,eq([e.name,t]),eq(e.directives," ")]," ");return("query"===n?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:r})=>e+": "+t+eU(" = ",n)+eU(" ",eq(r," "))},SelectionSet:{leave:({selections:e})=>eB(e)},Field:{leave({alias:e,name:t,arguments:n,directives:r,selectionSet:i}){let o=eU("",e,": ")+t,a=o+eU("(",eq(n,", "),")");return a.length>80&&(a=o+eU("(\n",eM(eq(n,"\n")),"\n)")),eq([a,eq(r," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+eU(" ",eq(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>eq(["...",eU("on ",e),eq(t," "),n]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:r,selectionSet:i})=>`fragment ${e}${eU("(",eq(n,", "),")")} on ${t} ${eU("",eq(r," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?(0,ex.LZ)(e):`"${e.replace(ej,eR)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+eq(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+eq(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+eU("(",eq(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:n})=>eU("",e,"\n")+eq(["schema",eq(t," "),eB(n)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>eU("",e,"\n")+eq(["scalar",t,eq(n," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>eU("",e,"\n")+eq(["type",t,eU("implements ",eq(n," & ")),eq(r," "),eB(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:r,directives:i})=>
vendor: 1,972 bytes, line 20
20eU("",e,"\n")+t+(eF(n)?eU("(\n",eM(eq(n,"\n")),"\n)"):eU("(",eq(n,", "),")"))+": "+r+eU(" ",eq(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:r,directives:i})=>eU("",e,"\n")+eq([t+": "+n,eU("= ",r),eq(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>eU("",e,"\n")+eq(["interface",t,eU("implements ",eq(n," & ")),eq(r," "),eB(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:r})=>eU("",e,"\n")+eq(["union",t,eq(n," "),eU("= ",eq(r," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:r})=>eU("",e,"\n")+eq(["enum",t,eq(n," "),eB(r)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>eU("",e,"\n")+eq([t,eq(n," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:r})=>eU("",e,"\n")+eq(["input",t,eq(n," "),eB(r)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,repeatable:r,locations:i})=>eU("",e,"\n")+"directive @"+t+(eF(n)?eU("(\n",eM(eq(n,"\n")),"\n)"):eU("(",eq(n,", "),")"))+(r?" repeatable":"")+" on "+eq(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>eq(["extend schema",eq(e," "),eB(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>eq(["extend scalar",e,eq(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>eq(["extend type",e,eU("implements ",eq(t," & ")),eq(n," "),eB(r)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>eq(["extend interface",e,eU("implements ",eq(t," & ")),eq(n," "),eB(r)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>eq(["extend union",e,eq(t," "),eU("= ",eq(n," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>eq(["extend enum",e,eq(t," "),eB(n)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>eq(["extend input",e,eq(t," "),eB(n)]," ")}};
20function eq(e,t=""){var n;return null!==(n=null==e?void 0:e.filter(e=>e).join(t))&&void 0!==n?n:""}function eB(e){return eU("{\n",eM(eq(e,"\n")),"\n}")}function eU(e,t,n=""){return null!=t&&""!==t?e+t+n:""}function eM(e){return eU(" ",e.replace(/\n/g,"\n "))}function eF(e){var t;return null!==(t=null==e?void 0:e.some(e=>e.includes("\n")))&&void 0!==t&&t}var eW=Object.assign(function(e){var t=s.get(e);return t||(t=ef(e,eN),s.set(e,t)),t},{reset:function(){s=new P.s(N.Q.print||2e3)}});eW.reset(),!1!==globalThis.__DEV__&&(0,q.zP)("print",function(){return s?s.size:0});var eL={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},ez=function(e,t){return t(e)};function eV(e){return new C(function(t){t.error(e)})}var eG={kind:ec.h.FIELD,name:{kind:ec.h.NAME,value:"__typename"}};function eQ(e){var t=new Map;return function(n){void 0===n&&(n=e);var r=t.get(n);return r||t.set(n,r={variables:new Set,fragmentSpreads:new Set}),r}}function eH(e,t){K(t);for(var n,r,i,o,a=eQ(""),s=eQ(""),c=function(e){for(var t=0,n=void 0;t<e.length&&(n=e[t]);++t)if(!(0,ew.k)(n)){if(n.kind===ec.h.OPERATION_DEFINITION)return a(n.name&&n.name.value);if(n.kind===ec.h.FRAGMENT_DEFINITION)return s(n.name.value)}return!1!==globalThis.__DEV__&&u.kG.error(86),null},d=0,f=t.definitions.length-1;f>=0;--f)t.definitions[f].kind===ec.h.OPERATION_DEFINITION&&++d;var p=(n=new Map,r=new Map,e.forEach(function(e){e&&(e.name?n.set(e.name,e):e.test&&r.set(e.test,e))}),function(e){var t=n.get(e.name.value);return!t&&r.size&&r.forEach(function(n,r){r(e)&&(t=n)}),t}),h=function(e){return(0,ew.O)(e)&&e.map(p).some(function(e){return e&&e.remove})},g=new Map,m=!1,v={enter:function(e){if(h(e.directives))return m=!0,null}},y=ef(t,{Field:v,InlineFragment:v,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,n,r,i){var o=c(i);o&&o.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,n,r,i){if(h(e.directives))return m=!0,null;var o=c(i);o&&o.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,n,r){g.set(JSON.stringify(r),e)},leave:function(e,t,n,r){return e===g.get(JSON.stringify(r))?e:d>0&&e.selectionSet.selections.every(function(e){return e.kind===ec.h.FIELD&&"__typename"===e.name.value})?(s(e.name.value).removed=!0,m=!0,null):void 0}},Directive:{leave:function(e){if(p(e))return m=!0,null}}});if(!m)return t;var b=function(e){return e.transitiveVars||(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach(function(t){b(s(t)).transitiveVars.forEach(function(t){e.transitiveVars.add(t)})})),e},w=new Set;y.definitions.forEach(function(e){e.kind===ec.h.OPERATION_DEFINITION?b(a(e.name&&e.name.value)).fragmentSpreads.forEach(function(e){w.add(e)}):e.kind!==ec.h.FRAGMENT_DEFINITION||0!==d||s(e.name.value).removed||w.add(e.name.value)}),w.forEach(function(e){b(s(e)).fragmentSpreads.forEach(function(e){w.add(e)})});var E={enter:function(e){var t;if(t=e.name.value,!w.has(t)||s(t).removed)return null}};return!function e(t,n){return!t||t.selectionSet.selections.every(function(t){return t.kind===ec.h.FRAGMENT_SPREAD&&e(n[t.name.value],n)})}(Y(i=ef(y,{FragmentSpread:E,FragmentDefinition:E,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=b(a(e.name&&e.name.value)).transitiveVars;if(t.size<e.variableDefinitions.length)return(0,l.pi)((0,l.pi)({},e),{variableDefinitions:e.variableDefinitions.filter(function(e){return t.has(e.variable.name.value)})})}}}}))||((0,u.kG)("Document"===i.kind,81),(0,u.kG)(i.definitions.length<=1,82),o=i.definitions[0],(0,u.kG)("FragmentDefinition"===o.kind,83),o),j(Z(i)))?i:null}var eJ=Object.assign(function(e){return ef(e,{SelectionSet:{enter:function(e,t,n){if(!n||n.kind!==ec.h.OPERATION_DEFINITION){var r=e.selections;if(!(!r||r.some(function(e){return $(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))&&!($(n)&&n.directives&&n.directives.some(function(e){return"export"===e.name.value})))return(0,l.pi)((0,l.pi)({},e),{selections:(0,l.ev)((0,l.ev)([],r,!0),[eG],!1)})}}}})},{added:function(e){return e===eG}});function e$(e){return K(e),eH([{test:function(e){return"client"===e.name.value},remove:!0}],e)}var eK=(0,u.wY)(function(){return fetch}),eY=function(e){void 0===e&&(e={});var t=e.uri,n=void 0===t?"/graphql":t,r=e.fetch,i=e.print,o=void 0===i?ez:i,a=e.includeExtensions,s=e.preserveHeaderCase,c=e.useGETForQueries,d=e.includeUnusedVariables,f=void 0!==d&&d,p=(0,l._T)(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);!1!==globalThis.__DEV__&&eD(r||eK);var h={http:{includeExtensions:a,preserveHeaderCase:s},options:p.fetchOptions,credentials:p.credentials,headers:p.headers};return new ea(function(e){var t,i,a,s,d,p,g,m,v=(t=e,i=n,t.getContext().uri||("function"==typeof i?i(t):i||"/graphql")),y=e.getContext(),b={};if(y.clientAwareness){var w=y.clientAwareness,E=w.name,O=w.version;E&&(b["apollographql-client-name"]=E),O&&(b["apollographql-client-version"]=O)}var S=(0,l.pi)((0,l.pi)({},b),y.headers),T={http:y.http,options:y.fetchOptions,credentials:y.credentials,headers:S};if(eh(["client"],e.query)){var k=e$(e.query);if(!k)return eV(Error("HttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or set the `transformOptions.removeClientFields` option to `true`."));e.query=k}var I=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i={},o={};
20n.forEach(function(e){i=(0,l.pi)((0,l.pi)((0,l.pi)({},i),e.options),{headers:(0,l.pi)((0,l.pi)({},i.headers),e.headers)}),e.credentials&&(i.credentials=e.credentials),o=(0,l.pi)((0,l.pi)({},o),e.http)}),i.headers&&(i.headers=function(e,t){if(!t){var n=Object.create(null);return Object.keys(Object(e)).forEach(function(t){n[t.toLowerCase()]=e[t]}),n}var r=Object.create(null);Object.keys(Object(e)).forEach(function(t){r[t.toLowerCase()]={originalName:t,value:e[t]}});var i=Object.create(null);return Object.keys(r).forEach(function(e){i[r[e].originalName]=r[e].value}),i}(i.headers,o.preserveHeaderCase));var a=e.operationName,s=e.extensions,u=e.variables,c=e.query,d={operationName:a,variables:u};return o.includeExtensions&&(d.extensions=s),o.includeQuery&&(d.query=t(c,eW)),{options:i,body:d}}(e,o,eL,h,T),A=I.options,_=I.body;_.variables&&!f&&(_.variables=(a=_.variables,s=e.query,d=(0,l.pi)({},a),p=new Set(Object.keys(a)),ef(s,{Variable:function(e,t,n){n&&"VariableDefinition"!==n.kind&&p.delete(e.name.value)}}),p.forEach(function(e){delete d[e]}),d)),A.signal||"undefined"==typeof AbortController||(m=new AbortController,A.signal=m.signal);var x="OperationDefinition"===(g=et(e.query)).kind&&"subscription"===g.operation,j=eh(["defer"],e.query);if(c&&!e.query.definitions.some(function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation})&&(A.method="GET"),j||x){A.headers=A.headers||{};var R="multipart/mixed;";x&&j&&!1!==globalThis.__DEV__&&u.kG.warn(39),x?R+="boundary=graphql;subscriptionSpec=1.0,application/json":j&&(R+="deferSpec=20220824,application/json"),A.headers.accept=R}if("GET"===A.method){var P=function(e,t){var n=[],r=function(e,t){n.push("".concat(e,"=").concat(encodeURIComponent(t)))};if("query"in t&&r("query",t.query),t.operationName&&r("operationName",t.operationName),t.variables){var i=void 0;try{i=eg(t.variables,"Variables map")}catch(e){return{parseError:e}}r("variables",i)}if(t.extensions){var o=void 0;try{o=eg(t.extensions,"Extensions map")}catch(e){return{parseError:e}}r("extensions",o)}var a="",s=e,l=e.indexOf("#");-1!==l&&(a=e.substr(l),s=e.substr(0,l));var u=-1===s.indexOf("?")?"?":"&";return{newURI:s+u+n.join("&")+a}}(v,_),N=P.newURI,q=P.parseError;if(q)return eV(q);v=N}else try{A.body=eg(_,"Payload")}catch(e){return eV(e)}return new C(function(t){var n=r||(0,u.wY)(function(){return fetch})||eK,i=t.next.bind(t);return n(v,A).then(function(t){e.setContext({response:t});var n,r=null===(n=t.headers)||void 0===n?void 0:n.get("content-type");return null!==r&&/^multipart\/mixed/i.test(r)?function(e,t){return(0,l.mG)(this,void 0,void 0,function(){var n,r,i,o,a,s,u,c,d,f,p,h,g,m,v,y,b,w,E,O,S,T,k;return(0,l.Jh)(this,function(I){switch(I.label){case 0:if(void 0===TextDecoder)throw Error("TextDecoder must be defined in the environment: please import a polyfill.");n=new TextDecoder("utf-8"),r=null===(k=e.headers)||void 0===k?void 0:k.get("content-type"),i="boundary=",o=(null==r?void 0:r.includes(i))?null==r?void 0:r.substring((null==r?void 0:r.indexOf(i))+i.length).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",a="\r\n--".concat(o),s="",u=function(e){var t,n,r,i,o,a,s=e;if(e.body&&(s=e.body),t=s,em.DN&&t[Symbol.asyncIterator])return r=s[Symbol.asyncIterator](),(n={next:function(){return r.next()}})[Symbol.asyncIterator]=function(){return this},n;if(s.getReader)return ev(s.getReader());if(s.stream)return ev(s.stream().getReader());if(s.arrayBuffer)return i=s.arrayBuffer(),o=!1,a={next:function(){return o?Promise.resolve({value:void 0,done:!0}):(o=!0,new Promise(function(e,t){i.then(function(t){e({value:t,done:!1})}).catch(t)}))}},em.DN&&(a[Symbol.asyncIterator]=function(){return this}),a;if(s.pipe)return function(e){var t=null,n=null,r=!1,i=[],o=[];function a(e){if(!n){if(o.length){var t=o.shift();if(Array.isArray(t)&&t[0])return t[0]({value:e,done:!1})}i.push(e)}}function s(e){n=e,o.slice().forEach(function(t){t[1](e)}),t&&t()}function l(){r=!0,o.slice().forEach(function(e){e[0]({value:void 0,done:!0})}),t&&t()}t=function(){t=null,e.removeListener("data",a),e.removeListener("error",s),e.removeListener("end",l),e.removeListener("finish",l),e.removeListener("close",l)},e.on("data",a),e.on("error",s),e.on("end",l),e.on("finish",l),e.on("close",l);var u={next:function(){return new Promise(function(e,t){return n?t(n):i.length?e({value:i.shift(),done:!1}):r?e({value:void 0,done:!0}):void o.push([e,t])})}};return em.DN&&(u[Symbol.asyncIterator]=function(){return this}),u}(s);throw Error("Unknown body type for responseIterator. Please pass a streamable response.")}(e),c=!0,I.label=1;case 1:if(!c)return[3,3];return[4,u.next()];case 2:for(f=(d=I.sent()).value,p=d.done,h="string"==typeof f?f:n.decode(f),g=s.length-a.length+1,c=!p,s+=h,m=s.indexOf(a,g);m>-1;){if(v=void 0,v=(S=[s.slice(0,m),s.slice(m+a.length)])[0],s=S[1],y=v.indexOf("\r\n\r\n"),(b=function(e){var t={};return e.split("\n").forEach(function(e){var n=e.indexOf(":");if(n>-1){var r=e.slice(0,n).trim().toLowerCase(),i=e.slice(n+1).trim();t[r]=i}}),t}(v.slice(0,y))["content-type"])&&-1===b.toLowerCase().indexOf("application/json"))throw Error("Unsupported patch content type: application/json is required.");
20if(w=v.slice(y)){if(Object.keys(E=eC(e,w)).length>1||"data"in E||"incremental"in E||"errors"in E||"payload"in E){if((0,D.s)(E)&&"payload"in E){if(O={},"payload"in E){if(1===Object.keys(E).length&&null===E.payload)return[2];O=(0,l.pi)({},E.payload)}"errors"in E&&(O=(0,l.pi)((0,l.pi)({},O),{extensions:(0,l.pi)((0,l.pi)({},"extensions"in O?O.extensions:null),((T={})[eb.YG]=E.errors,T))})),t(O)}else t(E)}else if(1===Object.keys(E).length&&"hasNext"in E&&!E.hasNext)return[2]}m=s.indexOf(a)}return[3,1];case 3:return[2]}})})}(t,i):t.text().then(function(e){return eC(t,e)}).then(function(n){return Array.isArray(n)||e_.call(n,"data")||e_.call(n,"errors")||ey(t,n,"Server response was missing for query '".concat(Array.isArray(e)?e.map(function(e){return e.operationName}):e.operationName,"'.")),n}).then(i)}).then(function(){m=void 0,t.complete()}).catch(function(e){m=void 0,e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}),function(){m&&m.abort()}})})},eX=ea.from;let eZ=()=>Object.create(null),{forEach:e0,slice:e1}=Array.prototype,{hasOwnProperty:e2}=Object.prototype;class e3{constructor(e=!0,t=eZ){this.weakness=e,this.makeData=t}lookup(...e){return this.lookupArray(e)}lookupArray(e){let t=this;return e0.call(e,e=>t=t.getChildTrie(e)),e2.call(t,"data")?t.data:t.data=this.makeData(e1.call(e))}peek(...e){return this.peekArray(e)}peekArray(e){let t=this;for(let n=0,r=e.length;t&&n<r;++n){let r=this.weakness&&e6(e[n])?t.weak:t.strong;t=r&&r.get(e[n])}return t&&t.data}getChildTrie(e){let t=this.weakness&&e6(e)?this.weak||(this.weak=new WeakMap):this.strong||(this.strong=new Map),n=t.get(e);return n||t.set(e,n=new e3(this.weakness,this.makeData)),n}}function e6(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}var e4=n(2379);let e5=null,e9={},e8=1;function e7(e){try{return e()}catch(e){}}let te="@wry/context:Slot",tt=e7(()=>globalThis)||e7(()=>global)||Object.create(null),tn=tt[te]||Array[te]||function(e){try{Object.defineProperty(tt,te,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(class{constructor(){this.id=["slot",e8++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let e=e5;e;e=e.parent)if(this.id in e.slots){let t=e.slots[this.id];if(t===e9)break;return e!==e5&&(e5.slots[this.id]=t),!0}return e5&&(e5.slots[this.id]=e9),!1}getValue(){if(this.hasValue())return e5.slots[this.id]}withValue(e,t,n,r){let i={__proto__:null,[this.id]:e},o=e5;e5={parent:o,slots:i};try{return t.apply(r,n)}finally{e5=o}}static bind(e){let t=e5;return function(){let n=e5;try{return e5=t,e.apply(this,arguments)}finally{e5=n}}}static noContext(e,t,n){if(!e5)return e.apply(n,t);{let r=e5;try{return e5=null,e.apply(n,t)}finally{e5=r}}}}),{bind:tr,noContext:ti}=tn,to=new tn,{hasOwnProperty:ta}=Object.prototype,ts=Array.from||function(e){let t=[];return e.forEach(e=>t.push(e)),t};function tl(e){let{unsubscribe:t}=e;"function"==typeof t&&(e.unsubscribe=void 0,t())}let tu=[];function tc(e,t){if(!e)throw Error(t||"assertion failure")}function td(e,t){let n=e.length;return n>0&&n===t.length&&e[n-1]===t[n-1]}function tf(e){switch(e.length){case 0:throw Error("unknown value");case 1:return e[0];case 2:throw e[1]}}class tp{constructor(e){this.fn=e,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++tp.count}peek(){if(1===this.value.length&&!tm(this))return th(this),this.value[0]}recompute(e){var t;return tc(!this.recomputing,"already recomputing"),th(this),tm(this)&&(tE(this),to.withValue(this,tg,[this,e]),function(e,t){if("function"==typeof e.subscribe)try{tl(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(t){return e.setDirty(),!1}return!0}(this,e)&&(this.dirty=!1,tm(this)||(t=this,tv(t,tb)))),tf(this.value)}setDirty(){this.dirty||(this.dirty=!0,tv(this,ty),tl(this))}dispose(){this.setDirty(),tE(this),tv(this,(e,t)=>{e.setDirty(),tO(e,this)})}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=tu.pop()||new Set),this.deps.add(e)}
20forgetDeps(){this.deps&&(ts(this.deps).forEach(e=>e.delete(this)),this.deps.clear(),tu.push(this.deps),this.deps=null)}}function th(e){let t=to.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),tm(e)?ty(t,e):tb(t,e),t}function tg(e,t){let n;e.recomputing=!0;let{normalizeResult:r}=e;r&&1===e.value.length&&(n=e.value.slice(0)),e.value.length=0;try{if(e.value[0]=e.fn.apply(null,t),r&&n&&!td(n,e.value))try{e.value[0]=r(e.value[0],n[0])}catch(e){}}catch(t){e.value[1]=t}e.recomputing=!1}function tm(e){return e.dirty||!!(e.dirtyChildren&&e.dirtyChildren.size)}function tv(e,t){let n=e.parents.size;if(n){let r=ts(e.parents);for(let i=0;i<n;++i)t(r[i],e)}}function ty(e,t){tc(e.childValues.has(t)),tc(tm(t));let n=!tm(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=tu.pop()||new Set;e.dirtyChildren.add(t),n&&tv(e,ty)}function tb(e,t){tc(e.childValues.has(t)),tc(!tm(t));let n=e.childValues.get(t);0===n.length?e.childValues.set(t,t.value.slice(0)):td(n,t.value)||e.setDirty(),tw(e,t),tm(e)||tv(e,tb)}function tw(e,t){let n=e.dirtyChildren;n&&(n.delete(t),0===n.size&&(tu.length<100&&tu.push(n),e.dirtyChildren=null))}function tE(e){e.childValues.size>0&&e.childValues.forEach((t,n)=>{tO(e,n)}),e.forgetDeps(),tc(null===e.dirtyChildren)}function tO(e,t){t.parents.delete(e),e.childValues.delete(t),tw(e,t)}tp.count=0;let tS={setDirty:!0,dispose:!0,forget:!0};function tT(e){let t=new Map,n=e&&e.subscribe;function r(e){let r=to.getValue();if(r){let i=t.get(e);i||t.set(e,i=new Set),r.dependOn(i),"function"==typeof n&&(tl(i),i.unsubscribe=n(e))}}return r.dirty=function(e,n){let r=t.get(e);if(r){let i=n&&ta.call(tS,n)?n:"setDirty";ts(r).forEach(e=>e[i]()),t.delete(e),tl(r)}},r}function tk(...e){return(r||(r=new e3("function"==typeof WeakMap))).lookupArray(e)}let tI=new Set;function tA(e,{max:t=65536,keyArgs:n,makeCacheKey:r=tk,normalizeResult:i,subscribe:o,cache:a=e4.e}=Object.create(null)){let s="function"==typeof a?new a(t,e=>e.dispose()):a,l=function(){let t=r.apply(null,n?n.apply(null,arguments):arguments);if(void 0===t)return e.apply(null,arguments);let a=s.get(t);a||(s.set(t,a=new tp(e)),a.normalizeResult=i,a.subscribe=o,a.forget=()=>s.delete(t));let l=a.recompute(Array.prototype.slice.call(arguments));return s.set(t,a),tI.add(s),to.hasValue()||(tI.forEach(e=>e.clean()),tI.clear()),l};function u(e){let t=e&&s.get(e);t&&t.setDirty()}function c(e){let t=e&&s.get(e);if(t)return t.peek()}function d(e){return!!e&&s.delete(e)}return Object.defineProperty(l,"size",{get:()=>s.size,configurable:!1,enumerable:!1}),Object.freeze(l.options={max:t,keyArgs:n,makeCacheKey:r,normalizeResult:i,subscribe:o,cache:s}),l.dirtyKey=u,l.dirty=function(){u(r.apply(null,arguments))},l.peekKey=c,l.peek=function(){return c(r.apply(null,arguments))},l.forgetKey=d,l.forget=function(){return d(r.apply(null,arguments))},l.makeCacheKey=r,l.getKey=n?function(){return r.apply(null,n.apply(null,arguments))}:r,Object.freeze(l)}var t_=n(20),tC=n(9869);function tD(e,t,n,r){var i=t.data,o=(0,l._T)(t,["data"]),a=n.data,s=(0,l._T)(n,["data"]);return(0,t_.Z)(o,s)&&function e(t,n,r,i){if(n===r)return!0;var o=new Set;return t.selections.every(function(t){if(o.has(t)||(o.add(t),!ep(t,i.variables)||tx(t)))return!0;if($(t)){var a=H(t),s=n&&n[a],l=r&&r[a],u=t.selectionSet;if(!u)return(0,t_.Z)(s,l);var c=Array.isArray(s),d=Array.isArray(l);if(c!==d)return!1;if(c&&d){var f=s.length;if(l.length!==f)return!1;for(var p=0;p<f;++p)if(!e(u,s[p],l[p],i))return!1;return!0}return e(u,s,l,i)}var h=R(t,i.fragmentMap);if(h)return!!tx(h)||e(h.selectionSet,n,r,i)})}(et(e).selectionSet,i,a,{fragmentMap:j(Z(e)),variables:r})}function tx(e){return!!e.directives&&e.directives.some(tj)}function tj(e){return"nonreactive"===e.name.value}var tR=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=tA(x,{max:N.Q["cache.fragmentQueryDocuments"]||1e3,cache:tC.k})}return e.prototype.batch=function(e){var t,n=this,r="string"==typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction(function(){return t=e.update(n)},r),t},e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,l.pi)((0,l.pi)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.watchFragment=function(e){var t,n=this,r=e.fragment,i=e.fragmentName,o=e.from,a=e.optimistic,s=(0,l._T)(e,["fragment","fragmentName","from","optimistic"]),u=this.getFragmentDoc(r,i),c=(0,l.pi)((0,l.pi)({},s),{returnPartialData:!0,id:"string"==typeof o?o:this.identify(o),query:u,optimistic:void 0===a||a});return new C(function(e){return n.watch((0,l.pi)((0,l.pi)({},c),{immediate:!0,callback:function(n){if(!(t&&tD(u,{data:null==t?void 0:t.result},{data:n.result}))){var r={data:n.result,complete:!!n.complete};n.missing&&(r.missing=eS(n.missing.map(function(e){return e.missing}))),t=n,e.next(r)}}}))})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,l.pi)((0,l.pi)({},e),{query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))},e.prototype.writeQuery=function(e){var t=e.id,n=e.data,r=(0,l._T)(e,["id","data"]);return this.write(Object.assign(r,{dataId:t||"ROOT_QUERY",result:n}))},e.prototype.writeFragment=function(e){var t=e.id,n=e.data,r=e.fragment,i=e.fragmentName,o=(0,l._T)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(o,{query:this.getFragmentDoc(r,i),dataId:t,result:n}))},e.prototype.updateQuery=function(e,t){return this.batch({update:function(n){var r=n.readQuery(e),i=t(r);return null==i?r:(n.writeQuery((0,l.pi)((0,l.pi)({},e),{data:i})),i)}})},e.prototype.updateFragment=function(e,t){return this.batch({update:function(n){var r=n.readFragment(e),i=t(r);return null==i?r:(n.writeFragment((0,l.pi)((0,l.pi)({},e),{data:i})),i)}})},e}();!1!==globalThis.__DEV__&&(tR.prototype.getMemoryInternals=q.Kb);var tP=function(e){function t(n,r,i,o){var a,s=e.call(this,n)||this;if(s.message=n,s.path=r,s.query=i,s.variables=o,Array.isArray(s.path)){s.missing=s.message;for(var l=s.path.length-1;l>=0;--l)s.missing=((a={})[s.path[l]]=s.missing,a)}else s.missing=s.path;return s.__proto__=t.prototype,s}return(0,l.ZT)(t,e),t}(Error);let tN=()=>Object.create(null),{forEach:tq,slice:tB}=Array.prototype,{hasOwnProperty:tU}=Object.prototype;class tM{constructor(e=!0,t=tN){this.weakness=e,this.makeData=t}lookup(){return this.lookupArray(arguments)}lookupArray(e){let t=this;return tq.call(e,e=>t=t.getChildTrie(e)),tU.call(t,"data")?t.data:t.data=this.makeData(tB.call(e))}peek(){return this.peekArray(arguments)}peekArray(e){let t=this;for(let n=0,r=e.length;t&&n<r;++n){let r=t.mapFor(e[n],!1);t=r&&r.get(e[n])}return t&&t.data}remove(){return this.removeArray(arguments)}removeArray(e){let t;if(e.length){let n=e[0],r=this.mapFor(n,!1),i=r&&r.get(n);!i||(t=i.removeArray(tB.call(e,1)),i.data||i.weak||i.strong&&i.strong.size||r.delete(n))}else t=this.data,delete this.data;return t}getChildTrie(e){let t=this.mapFor(e,!0),n=t.get(e);return n||t.set(e,n=new tM(this.weakness,this.makeData)),n}mapFor(e,t){return this.weakness&&function(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}(e)?this.weak||(t?this.weak=new WeakMap:void 0):this.strong||(t?this.strong=new Map:void 0)}}function tF(e){return e}var tW=function(){function e(e,t){void 0===t&&(t=Object.create(null)),this.resultCache=em.sy?new WeakSet:new Set,this.transform=e,t.getCacheKey&&(this.getCacheKey=t.getCacheKey),this.cached=!1!==t.cache,this.resetCache()}return e.prototype.getCacheKey=function(e){return[e]},e.identity=function(){return new e(tF,{cache:!1})},e.split=function(t,n,r){return void 0===r&&(r=e.identity()),Object.assign(new e(function(e){return(t(e)?n:r).transformDocument(e)},{cache:!1}),{left:n,right:r})},e.prototype.resetCache=function(){var t=this;if(this.cached){var n=new tM(em.mr);this.performWork=tA(e.prototype.performWork.bind(this),{makeCacheKey:function(e){var r=t.getCacheKey(e);if(r)return(0,u.kG)(Array.isArray(r),69),n.lookupArray(r)},max:N.Q["documentTransform.cache"],cache:tC.k})}},e.prototype.performWork=function(e){return K(e),this.transform(e)},e.prototype.transformDocument=function(e){if(this.resultCache.has(e))return e;var t=this.performWork(e);return this.resultCache.add(t),t},e.prototype.concat=function(t){var n=this;return Object.assign(new e(function(e){return t.transformDocument(n.transformDocument(e))},{cache:!1}),{left:this,right:t})},e}(),tL=n(3712),tz=n(8702),tV=Object.prototype.hasOwnProperty;function tG(e){return null==e}function tQ(e,t){var n=e.__typename,r=e.id,i=e._id;if("string"==typeof n&&(t&&(t.keyObject=tG(r)?tG(i)?void 0:{_id:i}:{id:r}),tG(r)&&!tG(i)&&(r=i),!tG(r)))return"".concat(n,":").concat("number"==typeof r||"string"==typeof r?r:JSON.stringify(r))}var tH={dataIdFromObject:tQ,addTypename:!0,resultCaching:!0,canonizeResults:!1};function tJ(e){var t=e.canonizeResults;return void 0===t?tH.canonizeResults:t}var t$=/^[_a-z][_0-9a-z]*/i;function tK(e){var t=e.match(t$);return t?t[0]:e}function tY(e){return(0,D.s)(e)&&!W(e)&&!(0,ew.k)(e)}function tX(e,t){var n=j(Z(e));return{fragmentMap:n,lookupFragment:function(e){var r=n[e];return!r&&t&&(r=t.lookup(e)),r||null}}}var tZ=Object.create(null),t0=function(){return tZ},t1=Object.create(null),t2=function(){function e(e,t){var n=this;this.policies=e,this.group=t,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(e,t){return(0,tz.J)(W(e)?n.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return W(e)?n.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return F(e);if(W(e))return e;var r=n.policies.identify(e)[0];if(r){var i=F(r);return t&&n.merge(r,e),i}}}return e.prototype.toObject=function(){return(0,l.pi)({},this.data)},e.prototype.has=function(e){return void 0!==this.lookup(e,!0)},e.prototype.get=function(e,t){if(this.group.depend(e,t),tV.call(this.data,e)){var n=this.data[e];if(n&&tV.call(n,t))return n[t]}return"__typename"===t&&tV.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof t4?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return(t&&this.group.depend(e,"__exists"),tV.call(this.data,e))?this.data[e]:this instanceof t4?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var n,r=this;W(e)&&(e=e.__ref),W(t)&&(t=t.__ref);
20var i="string"==typeof e?this.lookup(n=e):e,o="string"==typeof t?this.lookup(n=t):t;if(o){(0,u.kG)("string"==typeof n,1);var a=new ek(t9).merge(i,o);if(this.data[n]=a,a!==i&&(delete this.refs[n],this.group.caching)){var s=Object.create(null);i||(s.__exists=1),Object.keys(o).forEach(function(e){if(!i||i[e]!==a[e]){s[e]=1;var t=tK(e);t===e||r.policies.hasKeyArgs(a.__typename,t)||(s[t]=1),void 0!==a[e]||r instanceof t4||delete a[e]}}),s.__typename&&!(i&&i.__typename)&&this.policies.rootTypenamesById[n]===a.__typename&&delete s.__typename,Object.keys(s).forEach(function(e){return r.group.dirty(n,e)})}}},e.prototype.modify=function(e,t){var n=this,r=this.lookup(e);if(r){var i=Object.create(null),o=!1,a=!0,s={DELETE:tZ,INVALIDATE:t1,isReference:W,toReference:this.toReference,canRead:this.canRead,readField:function(t,r){return n.policies.readField("string"==typeof t?{fieldName:t,from:r||F(e)}:t,{store:n})}};if(Object.keys(r).forEach(function(c){var d=tK(c),f=r[c];if(void 0!==f){var p="function"==typeof t?t:t[c]||t[d];if(p){var h=p===t0?tZ:p((0,tz.J)(f),(0,l.pi)((0,l.pi)({},s),{fieldName:d,storeFieldName:c,storage:n.getStorage(e,c)}));if(h===t1)n.group.dirty(e,c);else if(h===tZ&&(h=void 0),h!==f&&(i[c]=h,o=!0,f=h,!1!==globalThis.__DEV__)){var g=function(e){if(void 0===n.lookup(e.__ref))return!1!==globalThis.__DEV__&&u.kG.warn(2,e),!0};if(W(h))g(h);else if(Array.isArray(h))for(var m=!1,v=void 0,y=0,b=h;y<b.length;y++){var w=b[y];if(W(w)){if(m=!0,g(w))break}else"object"==typeof w&&w&&n.policies.identify(w)[0]&&(v=w);if(m&&void 0!==v){!1!==globalThis.__DEV__&&u.kG.warn(3,v);break}}}}void 0!==f&&(a=!1)}}),o)return this.merge(e,i),a&&(this instanceof t4?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},e.prototype.delete=function(e,t,n){var r,i=this.lookup(e);if(i){var o=this.getFieldValue(i,"__typename"),a=t&&n?this.policies.getStoreFieldName({typename:o,fieldName:t,args:n}):t;return this.modify(e,a?((r={})[a]=t0,r):t0)}return!1},e.prototype.evict=function(e,t){var n=!1;return e.id&&(tV.call(this.data,e.id)&&(n=this.delete(e.id,e.fieldName,e.args)),this instanceof t4&&this!==t&&(n=this.parent.evict(e,t)||n),(e.fieldName||n)&&this.group.dirty(e.id,e.fieldName||"__exists")),n},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var e=this,t=this.toObject(),n=[];return this.getRootIdSet().forEach(function(t){tV.call(e.policies.rootTypenamesById,t)||n.push(t)}),n.length&&(t.__META={extraRootIds:n.sort()}),t},e.prototype.replace=function(e){var t=this;if(Object.keys(this.data).forEach(function(n){e&&tV.call(e,n)||t.delete(n)}),e){var n=e.__META,r=(0,l._T)(e,["__META"]);Object.keys(r).forEach(function(e){t.merge(e,r[e])}),n&&n.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},e.prototype.release=function(e){if(this.rootIds[e]>0){var t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof t4?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},e.prototype.gc=function(){var e=this,t=this.getRootIdSet(),n=this.toObject();t.forEach(function(r){tV.call(n,r)&&(Object.keys(e.findChildRefIds(r)).forEach(t.add,t),delete n[r])});var r=Object.keys(n);if(r.length){for(var i=this;i instanceof t4;)i=i.parent;r.forEach(function(e){return i.delete(e)})}return r},e.prototype.findChildRefIds=function(e){if(!tV.call(this.refs,e)){var t=this.refs[e]=Object.create(null),n=this.data[e];if(!n)return t;var r=new Set([n]);r.forEach(function(e){W(e)&&(t[e.__ref]=!0),(0,D.s)(e)&&Object.keys(e).forEach(function(t){var n=e[t];(0,D.s)(n)&&r.add(n)})})}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),t3=function(){function e(e,t){void 0===t&&(t=null),this.caching=e,this.parent=t,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?tT():null,this.keyMaker=new tM(em.mr)}
20,e.prototype.depend=function(e,t){if(this.d){this.d(t+"#"+e);var n=tK(t);n!==t&&this.d(n+"#"+e),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(t+"#"+e,"__exists"===t?"forget":"setDirty")},e}();function t6(e,t){t8(e)&&e.group.depend(t,"__exists")}o=function(e){function t(t){var n=t.policies,r=t.resultCaching,i=t.seed,o=e.call(this,n,new t3(void 0===r||r))||this;return o.stump=new t5(o),o.storageTrie=new tM(em.mr),i&&o.replace(i),o}return(0,l.ZT)(t,e),t.prototype.addLayer=function(e,t){return this.stump.addLayer(e,t)},t.prototype.removeLayer=function(){return this},t.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},t}(i=t2||(t2={})),i.Root=o;var t4=function(e){function t(t,n,r,i){var o=e.call(this,n.policies,i)||this;return o.id=t,o.parent=n,o.replay=r,o.group=i,r(o),o}return(0,l.ZT)(t,e),t.prototype.addLayer=function(e,n){return new t(e,this,n,this.group)},t.prototype.removeLayer=function(e){var t=this,n=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(e){var r=t.data[e],i=n.lookup(e);i?r?r!==i&&Object.keys(r).forEach(function(n){(0,t_.D)(r[n],i[n])||t.group.dirty(e,n)}
20):(t.group.dirty(e,"__exists"),Object.keys(i).forEach(function(n){t.group.dirty(e,n)})):t.delete(e)}),n):n===this.parent?this:n.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return(0,l.pi)((0,l.pi)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var n=this.parent.findChildRefIds(t);return tV.call(this.data,t)?(0,l.pi)((0,l.pi)({},n),e.prototype.findChildRefIds.call(this,t)):n},t.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},t}(t2),t5=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,function(){},new t3(t.group.caching,t.group))||this}return(0,l.ZT)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(e,t){return this.parent.merge(e,t)},t}(t4);function t9(e,t,n){var r=e[n],i=t[n];return(0,t_.D)(r,i)?r:i}function t8(e){return!!(e instanceof t2&&e.group.caching)}var t7=function(){function e(){this.known=new(em.sy?WeakSet:Set),this.pool=new tM(em.mr),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,D.s)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,D.s)(e)){var t=(0,D.s)(e)?(0,ew.k)(e)?e.slice(0):(0,l.pi)({__proto__:Object.getPrototypeOf(e)},e):e;return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if((0,D.s)(e)){var n=this.passes.get(e);if(n)return n;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))break;var r=e.map(this.admit,this),i=this.pool.lookupArray(r);return i.array||(this.known.add(i.array=r),!1!==globalThis.__DEV__&&Object.freeze(r)),i.array;case null:case Object.prototype:if(this.known.has(e))break;var o=Object.getPrototypeOf(e),a=[o],s=this.sortedKeys(e);a.push(s.json);var l=a.length;s.sorted.forEach(function(n){a.push(t.admit(e[n]))});var i=this.pool.lookupArray(a);if(!i.object){var u=i.object=Object.create(o);this.known.add(u),s.sorted.forEach(function(e,t){u[e]=a[l+t]}),!1!==globalThis.__DEV__&&Object.freeze(u)}return i.object}}return e},e.prototype.sortedKeys=function(e){var t=Object.keys(e),n=this.pool.lookupArray(t);if(!n.keys){t.sort();var r=JSON.stringify(t);(n.keys=this.keysByJSON.get(r))||this.keysByJSON.set(r,n.keys={sorted:t,json:r})}return n.keys},e}();function ne(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var nt=function(){function e(e){var t=this;this.knownResults=new(em.mr?WeakMap:Map),this.config=(0,tL.o)(e,{addTypename:!1!==e.addTypename,canonizeResults:tJ(e)}),this.canon=e.canon||new t7,this.executeSelectionSet=tA(function(e){var n,r=e.context.canonizeResults,i=ne(e);i[3]=!r;var o=(n=t.executeSelectionSet).peek.apply(n,i);return o?r?(0,l.pi)((0,l.pi)({},o),{result:t.canon.admit(o.result)}):o:(t6(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))},{max:this.config.resultCacheMaxSize||N.Q["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:ne,makeCacheKey:function(e,t,n,r){if(t8(n.store))return n.store.makeCacheKey(e,W(t)?t.__ref:t,n.varString,r)}}),this.executeSubSelectedArray=tA(function(e){return t6(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)},{max:this.config.resultCacheMaxSize||N.Q["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(e){var t=e.field,n=e.array,r=e.context;if(t8(r.store))return r.store.makeCacheKey(t,n,r.varString)}})}return e.prototype.resetCanon=function(){this.canon=new t7},e.prototype.diffQueryAgainstStore=function(e){var t,n=e.store,r=e.query,i=e.rootId,o=e.variables,a=e.returnPartialData,s=e.canonizeResults,u=void 0===s?this.config.canonizeResults:s,c=this.config.cache.policies;o=(0,l.pi)((0,l.pi)({},en(ee(r))),o);var d=F(void 0===i?"ROOT_QUERY":i),f=this.executeSelectionSet({selectionSet:et(r).selectionSet,objectOrReference:d,enclosingRef:d,context:(0,l.pi)({store:n,query:r,policies:c,variables:o,varString:B(o),canonizeResults:u},tX(r,this.config.fragments))});if(f.missing&&(t=[new tP(function(e){try{JSON.stringify(e,function(e,t){if("string"==typeof t)throw t;return t})}catch(e){return e}}(f.missing),f.missing,r,o)],!(void 0===a||a)))throw t[0];return{result:f.result,complete:!t,missing:t}},e.prototype.isFresh=function(e,t,n,r){if(t8(r.store)&&this.knownResults.get(e)===n){var i=this.executeSelectionSet.peek(n,t,r,this.canon.isKnown(e));if(i&&e===i.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t,n=this,r=e.selectionSet,i=e.objectOrReference,o=e.enclosingRef,a=e.context;if(W(i)&&!a.policies.rootTypenamesById[i.__ref]&&!a.store.has(i.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(i.__ref," object")};var s=a.variables,l=a.policies,c=a.store.getFieldValue(i,"__typename"),d=[],f=new ek;function p(e,n){var r;return e.missing&&(t=f.merge(t,((r={})[n]=e.missing,r))),e.result}this.config.addTypename&&"string"==typeof c&&!l.rootIdsByTypename[c]&&d.push({__typename:c}
20);var h=new Set(r.selections);h.forEach(function(e){var r,g;if(ep(e,s)){if($(e)){var m=l.readField({fieldName:e.name.value,field:e,variables:a.variables,from:i},a),v=H(e);void 0===m?eJ.added(e)||(t=f.merge(t,((r={})[v]="Can't find field '".concat(e.name.value,"' on ").concat(W(i)?i.__ref+" object":"object "+JSON.stringify(i,null,2)),r))):(0,ew.k)(m)?m.length>0&&(m=p(n.executeSubSelectedArray({field:e,array:m,enclosingRef:o,context:a}),v)):e.selectionSet?null!=m&&(m=p(n.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:m,enclosingRef:W(m)?m:o,context:a}),v)):a.canonizeResults&&(m=n.canon.pass(m)),void 0!==m&&d.push(((g={})[v]=m,g))}else{var y=R(e,a.lookupFragment);if(!y&&e.kind===ec.h.FRAGMENT_SPREAD)throw(0,u._K)(9,e.name.value);y&&l.fragmentMatches(y,c)&&y.selectionSet.selections.forEach(h.add,h)}}});var g={result:eS(d),missing:t},m=a.canonizeResults?this.canon.admit(g):(0,tz.J)(g);return m.result&&this.knownResults.set(m.result,r),m},e.prototype.execSubSelectedArrayImpl=function(e){var t,n=this,r=e.field,i=e.array,o=e.enclosingRef,a=e.context,s=new ek;function l(e,n){var r;return e.missing&&(t=s.merge(t,((r={})[n]=e.missing,r))),e.result}return r.selectionSet&&(i=i.filter(a.store.canRead)),i=i.map(function(e,t){return null===e?null:(0,ew.k)(e)?l(n.executeSubSelectedArray({field:r,array:e,enclosingRef:o,context:a}),t):r.selectionSet?l(n.executeSelectionSet({selectionSet:r.selectionSet,objectOrReference:e,enclosingRef:W(e)?e:o,context:a}),t):(!1!==globalThis.__DEV__&&function(e,t,n){if(!t.selectionSet){var r=new Set([n]);r.forEach(function(n){(0,D.s)(n)&&((0,u.kG)(!W(n),10,W(n)?e.get(n.__ref,"__typename"):n&&n.__typename,t.name.value),Object.values(n).forEach(r.add,r))})}}(a.store,r,e),e)}),{result:a.canonizeResults?this.canon.admit(i):i,missing:t}},e}(),nn=Object.prototype.toString;function nr(e,t){switch(nn.call(e)){case"[object Array]":if((t=t||new Map).has(e))return t.get(e);var n=e.slice(0);return t.set(e,n),n.forEach(function(e,r){n[r]=nr(e,t)}),n;case"[object Object]":if((t=t||new Map).has(e))return t.get(e);var r=Object.create(Object.getPrototypeOf(e));return t.set(e,r),Object.keys(e).forEach(function(n){r[n]=nr(e[n],t)}),r;default:return e}}var ni=n(3887),no=new tn,na=new WeakMap;function ns(e){var t=na.get(e);return t||na.set(e,t={vars:new Set,dep:tT()}),t}function nl(e){ns(e).vars.forEach(function(t){return t.forgetCache(e)})}function nu(e){var t=new Set,n=new Set,r=function(o){if(arguments.length>0){if(e!==o){e=o,t.forEach(function(e){ns(e).dep.dirty(r),e.broadcastWatches&&e.broadcastWatches()});var a=Array.from(n);n.clear(),a.forEach(function(t){return t(e)})}}else{var s=no.getValue();s&&(i(s),ns(s).dep(r))}return e};r.onNextChange=function(e){return n.add(e),function(){n.delete(e)}};var i=r.attachCache=function(e){return t.add(e),ns(e).vars.add(r),r};return r.forgetCache=function(e){return t.delete(e)},r}var nc=Object.create(null);function nd(e){var t=JSON.stringify(e);return nc[t]||(nc[t]=Object.create(null))}function nf(e){var t=nd(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,n){var r=function(e,t){return n.readField(t,e)},i=n.keyObject=nh(e,function(e){var i=nm(n.storeObject,e,r);return void 0===i&&t!==n.storeObject&&tV.call(t,e[0])&&(i=nm(t,e,ng)),(0,u.kG)(void 0!==i,4,e.join("."),t),i});return"".concat(n.typename,":").concat(JSON.stringify(i))})}function np(e){var t=nd(e);return t.keyArgsFn||(t.keyArgsFn=function(t,n){var r=n.field,i=n.variables,o=n.fieldName,a=JSON.stringify(nh(e,function(e){var n=e[0],o=n.charAt(0);if("@"===o){if(r&&(0,ew.O)(r.directives)){var a=n.slice(1),s=r.directives.find(function(e){return e.name.value===a}),l=s&&Q(s,i);return l&&nm(l,e.slice(1))}return}if("$"===o){var u=n.slice(1);if(i&&tV.call(i,u)){var c=e.slice(0);return c[0]=u,nm(i,c)}return}if(t)return nm(t,e)}));return(t||"{}"!==a)&&(o+=":"+a),o})}function nh(e,t){var n=new ek;return(function e(t){var n=nd(t);if(!n.paths){var r=n.paths=[],i=[];t.forEach(function(n,o){(0,ew.k)(n)?(e(n).forEach(function(e){return r.push(i.concat(e))}),i.length=0):(i.push(n),(0,ew.k)(t[o+1])||(r.push(i.slice(0)),i.length=0))})}return n.paths})(e).reduce(function(e,r){var i,o=t(r);if(void 0!==o){for(var a=r.length-1;a>=0;--a)(i={})[r[a]]=o,o=i;e=n.merge(e,o)}return e},Object.create(null))}function ng(e,t){return e[t]}function nm(e,t,n){return n=n||ng,function e(t){return(0,D.s)(t)?(0,ew.k)(t)?t.map(e):nh(Object.keys(t).sort(),function(e){return nm(t,e)}):t}(t.reduce(function e(t,r){return(0,ew.k)(t)?t.map(function(t){return e(t,r)}):t&&n(t,r)},e))}
20function nv(e){return void 0!==e.args?e.args:e.field?Q(e.field,e.variables):null}var ny=function(){},nb=function(e,t){return t.fieldName},nw=function(e,t,n){return(0,n.mergeObjects)(e,t)},nE=function(e,t){return t},nO=function(){function e(e){this.config=e,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=(0,l.pi)({dataIdFromObject:tQ},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,t){var n,r,i=this,o=t&&(t.typename||(null===(n=t.storeObject)||void 0===n?void 0:n.__typename))||e.__typename;if(o===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var a=t&&t.storeObject||e,s=(0,l.pi)((0,l.pi)({},t),{typename:o,storeObject:a,readField:t&&t.readField||function(){var e=nT(arguments,a);return i.readField(e,{store:i.cache.data,variables:e.variables})}}),u=o&&this.getTypePolicy(o),c=u&&u.keyFn||this.config.dataIdFromObject;c;){var d=c((0,l.pi)((0,l.pi)({},e),a),s);if((0,ew.k)(d))c=nf(d);else{r=d;break}}return r=r?String(r):void 0,s.keyObject?[r,s.keyObject]:[r]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach(function(n){var r=e[n],i=r.queryType,o=r.mutationType,a=r.subscriptionType,s=(0,l._T)(r,["queryType","mutationType","subscriptionType"]);i&&t.setRootTypename("Query",n),o&&t.setRootTypename("Mutation",n),a&&t.setRootTypename("Subscription",n),tV.call(t.toBeAdded,n)?t.toBeAdded[n].push(s):t.toBeAdded[n]=[s]})},e.prototype.updateTypePolicy=function(e,t){var n=this,r=this.getTypePolicy(e),i=t.keyFields,o=t.fields;function a(e,t){e.merge="function"==typeof t?t:!0===t?nw:!1===t?nE:e.merge}a(r,t.merge),r.keyFn=!1===i?ny:(0,ew.k)(i)?nf(i):"function"==typeof i?i:r.keyFn,o&&Object.keys(o).forEach(function(t){var r=n.getFieldPolicy(e,t,!0),i=o[t];if("function"==typeof i)r.read=i;else{var s=i.keyArgs,l=i.read,u=i.merge;r.keyFn=!1===s?nb:(0,ew.k)(s)?np(s):"function"==typeof s?s:r.keyFn,"function"==typeof l&&(r.read=l),a(r,u)}r.read&&r.merge&&(r.keyFn=r.keyFn||nb)})},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var n="ROOT_"+e.toUpperCase(),r=this.rootTypenamesById[n];t!==r&&((0,u.kG)(!r||r===e,5,e),r&&delete this.rootIdsByTypename[r],this.rootIdsByTypename[t]=n,this.rootTypenamesById[n]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach(function(n){t.getSupertypeSet(n,!0),e[n].forEach(function(e){t.getSupertypeSet(e,!0).add(n);var r=e.match(t$);r&&r[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))})})},e.prototype.getTypePolicy=function(e){var t=this;if(!tV.call(this.typePolicies,e)){var n=this.typePolicies[e]=Object.create(null);n.fields=Object.create(null);var r=this.supertypeMap.get(e);!r&&this.fuzzySubtypes.size&&(r=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach(function(n,i){if(n.test(e)){var o=t.supertypeMap.get(i);o&&o.forEach(function(e){return r.add(e)})}})),r&&r.size&&r.forEach(function(e){var r=t.getTypePolicy(e),i=r.fields;Object.assign(n,(0,l._T)(r,["fields"])),Object.assign(n.fields,i)})}var i=this.toBeAdded[e];return i&&i.length&&i.splice(0).forEach(function(n){t.updateTypePolicy(e,n)}),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t,n){if(e){var r=this.getTypePolicy(e).fields;return r[t]||n&&(r[t]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,t){var n=this.supertypeMap.get(e);return!n&&t&&this.supertypeMap.set(e,n=new Set),n},e.prototype.fragmentMatches=function(e,t,n,r){var i=this;if(!e.typeCondition)return!0;if(!t)return!1;var o=e.typeCondition.name.value;if(t===o)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(o))for(var a=this.getSupertypeSet(t,!0),s=[a],l=function(e){var t=i.getSupertypeSet(e,!1);t&&t.size&&0>s.indexOf(t)&&s.push(t)},c=!!(n&&this.fuzzySubtypes.size),d=!1,f=0;f<s.length;++f){var p=s[f];
20if(p.has(o))return a.has(o)||(d&&!1!==globalThis.__DEV__&&u.kG.warn(6,t,o),a.add(o)),!0;p.forEach(l),c&&f===s.length-1&&function e(t,n,r){return!!(0,D.s)(n)&&((0,ew.k)(n)?n.every(function(n){return e(t,n,r)}):t.selections.every(function(t){if($(t)&&ep(t,r)){var i=H(t);return tV.call(n,i)&&(!t.selectionSet||e(t.selectionSet,n[i],r))}return!0}))}(e.selectionSet,n,r)&&(c=!1,d=!0,this.fuzzySubtypes.forEach(function(e,n){var r=t.match(e);r&&r[0]===t&&l(n)}))}return!1},e.prototype.hasKeyArgs=function(e,t){var n=this.getFieldPolicy(e,t,!1);return!!(n&&n.keyFn)},e.prototype.getStoreFieldName=function(e){var t,n,r,i,o,a=e.typename,s=e.fieldName,l=this.getFieldPolicy(a,s,!1),u=l&&l.keyFn;if(u&&a)for(var c={typename:a,fieldName:s,field:e.field||null,variables:e.variables},d=nv(e);u;){var f=u(d,c);if((0,ew.k)(f))u=np(f);else{o=f||s;break}}return void 0===o&&(o=e.field?(t=e.field,n=e.variables,r=null,t.directives&&(r={},t.directives.forEach(function(e){r[e.name.value]={},e.arguments&&e.arguments.forEach(function(t){var i=t.name,o=t.value;return L(r[e.name.value],i,o,n)})})),i=null,t.arguments&&t.arguments.length&&(i={},t.arguments.forEach(function(e){var t=e.name,r=e.value;return L(i,t,r,n)})),G(t.name.value,i,r)):G(s,nv(e))),!1===o?s:s===tK(o)?o:s+":"+o},e.prototype.readField=function(e,t){var n=e.from;if(n&&(e.field||e.fieldName)){if(void 0===e.typename){var r=t.store.getFieldValue(n,"__typename");r&&(e.typename=r)}var i=this.getStoreFieldName(e),o=tK(i),a=t.store.getFieldValue(n,i),s=this.getFieldPolicy(e.typename,o,!1),l=s&&s.read;if(l){var u=nS(this,n,e,t,t.store.getStorage(W(n)?n.__ref:n,i));return no.withValue(this.cache,l,[a,u])}return a}},e.prototype.getReadFunction=function(e,t){var n=this.getFieldPolicy(e,t,!1);return n&&n.read},e.prototype.getMergeFunction=function(e,t,n){var r=this.getFieldPolicy(e,t,!1),i=r&&r.merge;return!i&&n&&(i=(r=this.getTypePolicy(n))&&r.merge),i},e.prototype.runMergeFunction=function(e,t,n,r,i){var o=n.field,a=n.typename,s=n.merge;return s===nw?nk(r.store)(e,t):s===nE?t:(r.overwrite&&(e=void 0),s(e,t,nS(this,void 0,{typename:a,fieldName:o.name.value,field:o,variables:r.variables},r,i||Object.create(null))))},e}();function nS(e,t,n,r,i){var o=e.getStoreFieldName(n),a=tK(o),s=n.variables||r.variables,l=r.store,u=l.toReference,c=l.canRead;return{args:nv(n),field:n.field||null,fieldName:a,storeFieldName:o,variables:s,isReference:W,toReference:u,storage:i,cache:e.cache,canRead:c,readField:function(){return e.readField(nT(arguments,t,s),r)},mergeObjects:nk(r.store)}}function nT(e,t,n){var r,i=e[0],o=e[1],a=e.length;return"string"==typeof i?r={fieldName:i,from:a>1?o:t}:(r=(0,l.pi)({},i),tV.call(r,"from")||(r.from=t)),!1!==globalThis.__DEV__&&void 0===r.from&&!1!==globalThis.__DEV__&&u.kG.warn(7,(0,ni.v)(Array.from(e))),void 0===r.variables&&(r.variables=n),r}function nk(e){return function(t,n){if((0,ew.k)(t)||(0,ew.k)(n))throw(0,u._K)(8);if((0,D.s)(t)&&(0,D.s)(n)){var r=e.getFieldValue(t,"__typename"),i=e.getFieldValue(n,"__typename");if(r&&i&&r!==i)return n;if(W(t)&&tY(n))return e.merge(t.__ref,n),t;if(tY(t)&&W(n))return e.merge(t,n.__ref),n;if(tY(t)&&tY(n))return(0,l.pi)((0,l.pi)({},t),n)}return n}}function nI(e,t,n){var r="".concat(t).concat(n),i=e.flavors.get(r);return i||e.flavors.set(r,i=e.clientOnly===t&&e.deferred===n?e:(0,l.pi)((0,l.pi)({},e),{clientOnly:t,deferred:n})),i}var nA=function(){function e(e,t,n){this.cache=e,this.reader=t,this.fragments=n}return e.prototype.writeToStore=function(e,t){var n=this,r=t.query,i=t.result,o=t.dataId,a=t.variables,s=t.overwrite,c=Y(r),d=new ek;a=(0,l.pi)((0,l.pi)({},en(c)),a);var f=(0,l.pi)((0,l.pi)({store:e,written:Object.create(null),merge:function(e,t){return d.merge(e,t)},variables:a,varString:B(a)},tX(r,this.fragments)),{overwrite:!!s,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),p=this.processSelectionSet({result:i||Object.create(null),dataId:o,selectionSet:c.selectionSet,mergeTree:{map:new Map},context:f});if(!W(p))throw(0,u._K)(11,i);return f.incomingById.forEach(function(t,r){var i=t.storeObject,o=t.mergeTree,a=t.fieldNodeSet,s=F(r);if(o&&o.map.size){var c=n.applyMerges(o,s,i,f);if(W(c))return;i=c}if(!1!==globalThis.__DEV__&&!f.overwrite){var d=Object.create(null);a.forEach(function(e){e.selectionSet&&(d[e.name.value]=!0)});var p=function(e){var t=o&&o.map.get(e);return!!(t&&t.info&&t.info.merge)};
20Object.keys(i).forEach(function(e){!0!==d[tK(e)]||p(e)||function(e,t,n,r){var i=function(e){var t=r.getFieldValue(e,n);return"object"==typeof t&&t},o=i(e);if(o){var a=i(t);if(!(!a||W(o)||(0,t_.D)(o,a)||Object.keys(o).every(function(e){return void 0!==r.getFieldValue(a,e)}))){var s=r.getFieldValue(e,"__typename")||r.getFieldValue(t,"__typename"),c=tK(n),d="".concat(s,".").concat(c);if(!nj.has(d)){nj.add(d);var f=[];(0,ew.k)(o)||(0,ew.k)(a)||[o,a].forEach(function(e){var t=r.getFieldValue(e,"__typename");"string"!=typeof t||f.includes(t)||f.push(t)}),!1!==globalThis.__DEV__&&u.kG.warn(14,c,s,f.length?"either ensure all objects of type "+f.join(" and ")+" have an ID or a custom merge function, or ":"",d,(0,l.pi)({},o),(0,l.pi)({},a))}}}}(s,i,e,f.store)})}e.merge(r,i)}),e.retain(p.__ref),p},e.prototype.processSelectionSet=function(e){var t=this,n=e.dataId,r=e.result,i=e.selectionSet,o=e.context,a=e.mergeTree,s=this.cache.policies,c=Object.create(null),d=n&&s.rootTypenamesById[n]||J(r,i,o.fragmentMap)||n&&o.store.get(n,"__typename");"string"==typeof d&&(c.__typename=d);var f=function(){var e=nT(arguments,c,o.variables);if(W(e.from)){var t=o.incomingById.get(e.from.__ref);if(t){var n=s.readField((0,l.pi)((0,l.pi)({},e),{from:t.storeObject}),o);if(void 0!==n)return n}}return s.readField(e,o)},p=new Set;this.flattenFields(i,r,o,d).forEach(function(e,n){var i,o=r[H(n)];if(p.add(n),void 0!==o){var l=s.getStoreFieldName({typename:d,fieldName:n.name.value,field:n,variables:e.variables}),h=nC(a,l),g=t.processFieldValue(o,n,n.selectionSet?nI(e,!1,!1):e,h),m=void 0;n.selectionSet&&(W(g)||tY(g))&&(m=f("__typename",g));var v=s.getMergeFunction(d,n.name.value,m);v?h.info={field:n,typename:d,merge:v}:nx(a,l),c=e.merge(c,((i={})[l]=g,i))}else!1===globalThis.__DEV__||e.clientOnly||e.deferred||eJ.added(n)||s.getReadFunction(d,n.name.value)||!1===globalThis.__DEV__||u.kG.error(12,H(n),r)});try{var h=s.identify(r,{typename:d,selectionSet:i,fragmentMap:o.fragmentMap,storeObject:c,readField:f}),g=h[0],m=h[1];n=n||g,m&&(c=o.merge(c,m))}catch(e){if(!n)throw e}if("string"==typeof n){var v=F(n),y=o.written[n]||(o.written[n]=[]);if(y.indexOf(i)>=0||(y.push(i),this.reader&&this.reader.isFresh(r,v,i,o)))return v;var b=o.incomingById.get(n);return b?(b.storeObject=o.merge(b.storeObject,c),b.mergeTree=function e(t,n){if(t===n||!n||nD(n))return t;if(!t||nD(t))return n;var r=t.info&&n.info?(0,l.pi)((0,l.pi)({},t.info),n.info):t.info||n.info,i=t.map.size&&n.map.size,o={info:r,map:i?new Map:t.map.size?t.map:n.map};if(i){var a=new Set(n.map.keys());t.map.forEach(function(t,r){o.map.set(r,e(t,n.map.get(r))),a.delete(r)}),a.forEach(function(r){o.map.set(r,e(n.map.get(r),t.map.get(r)))})}return o}(b.mergeTree,a),p.forEach(function(e){return b.fieldNodeSet.add(e)})):o.incomingById.set(n,{storeObject:c,mergeTree:nD(a)?void 0:a,fieldNodeSet:p}),v}return c},e.prototype.processFieldValue=function(e,t,n,r){var i=this;return t.selectionSet&&null!==e?(0,ew.k)(e)?e.map(function(e,o){var a=i.processFieldValue(e,t,n,nC(r,o));return nx(r,o),a}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:n,mergeTree:r}):!1!==globalThis.__DEV__?nr(e):e},e.prototype.flattenFields=function(e,t,n,r){void 0===r&&(r=J(t,e,n.fragmentMap));var i=new Map,o=this.cache.policies,a=new tM(!1);return function e(s,l){var c=a.lookup(s,l.clientOnly,l.deferred);c.visited||(c.visited=!0,s.selections.forEach(function(a){if(ep(a,n.variables)){var s=l.clientOnly,c=l.deferred;if(!(s&&c)&&(0,ew.O)(a.directives)&&a.directives.forEach(function(e){var t=e.name.value;if("client"===t&&(s=!0),"defer"===t){var r=Q(e,n.variables);r&&!1===r.if||(c=!0)}}),$(a)){var d=i.get(a);d&&(s=s&&d.clientOnly,c=c&&d.deferred),i.set(a,nI(n,s,c))}else{var f=R(a,n.lookupFragment);if(!f&&a.kind===ec.h.FRAGMENT_SPREAD)throw(0,u._K)(13,a.name.value);f&&o.fragmentMatches(f,r,t,n.variables)&&e(f.selectionSet,nI(n,s,c))}}}))}(e,n),i},e.prototype.applyMerges=function(e,t,n,r,i){var o=this;if(e.map.size&&!W(n)){var a,s,c=!(0,ew.k)(n)&&(W(t)||tY(t))?t:void 0,d=n;c&&!i&&(i=[W(c)?c.__ref:c]);var f=function(e,t){return(0,ew.k)(e)?"number"==typeof t?e[t]:void 0:r.store.getFieldValue(e,String(t))};
20e.map.forEach(function(e,t){var n=f(c,t),a=f(d,t);if(void 0!==a){i&&i.push(t);var l=o.applyMerges(e,n,a,r,i);l!==a&&(s=s||new Map).set(t,l),i&&(0,u.kG)(i.pop()===t)}}),s&&(n=(0,ew.k)(d)?d.slice(0):(0,l.pi)({},d),s.forEach(function(e,t){n[t]=e}))}return e.info?this.cache.policies.runMergeFunction(t,n,e.info,r,i&&(a=r.store).getStorage.apply(a,i)):n},e}(),n_=[];function nC(e,t){var n=e.map;return n.has(t)||n.set(t,n_.pop()||{map:new Map}),n.get(t)}function nD(e){return!e||!(e.info||e.map.size)}function nx(e,t){var n=e.map,r=n.get(t);r&&nD(r)&&(n_.push(r),n.delete(t))}var nj=new Set,nR=function(e){function t(t){void 0===t&&(t={});var n,r=e.call(this)||this;return r.watches=new Set,r.addTypenameTransform=new tW(eJ),r.assumeImmutableResults=!0,r.makeVar=nu,r.txCount=0,r.config=(n=t,(0,tL.o)(tH,n)),r.addTypename=!!r.config.addTypename,r.policies=new nO({cache:r,dataIdFromObject:r.config.dataIdFromObject,possibleTypes:r.config.possibleTypes,typePolicies:r.config.typePolicies}),r.init(),r}return(0,l.ZT)(t,e),t.prototype.init=function(){var e=this.data=new t2.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},t.prototype.resetResultCache=function(e){var t=this,n=this.storeReader,r=this.config.fragments;this.storeWriter=new nA(this,this.storeReader=new nt({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:tJ(this.config),canon:e?void 0:n&&n.canon,fragments:r}),r),this.maybeBroadcastWatch=tA(function(e,n){return t.broadcastWatch(e,n)},{max:this.config.resultCacheMaxSize||N.Q["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(e){var n=e.optimistic?t.optimisticData:t.data;if(t8(n)){var r=e.optimistic,i=e.id,o=e.variables;return n.makeCacheKey(e.query,e.callback,B({optimistic:r,id:i,variables:o}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(e){return e.resetCaching()})},t.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){var t=e.returnPartialData;try{return this.storeReader.diffQueryAgainstStore((0,l.pi)((0,l.pi)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:void 0!==t&&t})).result||null}catch(e){if(e instanceof tP)return null;throw e}},t.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.modify=function(e){if(tV.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore((0,l.pi)((0,l.pi)({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t=this;return this.watches.size||function(e){ns(e).vars.forEach(function(t){return t.attachCache(e)})}(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&nl(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){B.reset(),eW.reset(),this.addTypenameTransform.resetCache(),null===(t=this.config.fragments)||void 0===t||t.resetCaches();var t,n=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),n},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){if(W(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(e){!1!==globalThis.__DEV__&&u.kG.warn(e)}},t.prototype.evict=function(e){if(!e.id){if(tV.call(e,"id"))return!1;e=(0,l.pi)((0,l.pi)({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.reset=function(e){var t=this;return this.init(),B.reset(),e&&e.discardWatches?(this.watches.forEac
20h(function(e){return t.maybeBroadcastWatch.forget(e)}),this.watches.clear(),nl(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},t.prototype.batch=function(e){var t,n=this,r=e.update,i=e.optimistic,o=void 0===i||i,a=e.removeOptimistic,s=e.onWatchUpdated,u=function(e){var i=n.data,o=n.optimisticData;++n.txCount,e&&(n.data=n.optimisticData=e);try{return t=r(n)}finally{--n.txCount,n.data=i,n.optimisticData=o}},c=new Set;return s&&!this.txCount&&this.broadcastWatches((0,l.pi)((0,l.pi)({},e),{onWatchUpdated:function(e){return c.add(e),!1}})),"string"==typeof o?this.optimisticData=this.optimisticData.addLayer(o,u):!1===o?u(this.data):u(),"string"==typeof a&&(this.optimisticData=this.optimisticData.removeLayer(a)),s&&c.size?(this.broadcastWatches((0,l.pi)((0,l.pi)({},e),{onWatchUpdated:function(e,t){var n=s.call(this,e,t);return!1!==n&&c.delete(e),n}})),c.size&&c.forEach(function(e){return n.maybeBroadcastWatch.dirty(e)})):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){return this.addTypenameToDocument(this.addFragmentsToDocument(e))},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach(function(n){return t.maybeBroadcastWatch(n,e)})},t.prototype.addFragmentsToDocument=function(e){var t=this.config.fragments;return t?t.transform(e):e},t.prototype.addTypenameToDocument=function(e){return this.addTypename?this.addTypenameTransform.transformDocument(e):e},t.prototype.broadcastWatch=function(e,t){var n=e.lastDiff,r=this.diff(e);(!t||(e.optimistic&&"string"==typeof t.optimistic&&(r.fromOptimisticTransaction=!0),!t.onWatchUpdated||!1!==t.onWatchUpdated.call(this,e,r,n)))&&(n&&(0,t_.D)(n.result,r.result)||e.callback(e.lastDiff=r,n))},t}(tR);!1!==globalThis.__DEV__&&(nR.prototype.getMemoryInternals=q.q4);var nP=ea.execute,nN=n(9379),nq=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,eY(t).request)||this;return n.options=t,n}return(0,l.ZT)(t,e),t}(ea);function nB(e,t,n){return new C(function(r){var i={then:function(e){return new Promise(function(t){return t(e())})}};function o(e,t){return function(n){if(e){var o=function(){return r.closed?0:e(n)};i=i.then(o,o).then(function(e){return r.next(e)},function(e){return r.error(e)})}else r[t](n)}}var a={next:o(t,"next"),error:o(n,"error"),complete:function(){i.then(function(){return r.complete()})}},s=e.subscribe(a);return function(){return s.unsubscribe()}})}function nU(e){var t=nM(e);return(0,ew.O)(t)}function nM(e){var t=(0,ew.O)(e.errors)?e.errors.slice(0):[];return eI(e)&&(0,ew.O)(e.incremental)&&e.incremental.forEach(function(e){e.errors&&t.push.apply(t,e.errors)}),t}var nF=n(897);function nW(e,t,n){var r=[];e.forEach(function(e){return e[t]&&r.push(e)}),r.forEach(function(e){return e[t](n)})}function nL(e){function t(t){Object.defineProperty(e,t,{value:C})}return em.aS&&Symbol.species&&t(Symbol.species),t("@@species"),e}function nz(e){return e&&"function"==typeof e.then}var nV=function(e){function t(t){var n=e.call(this,function(e){return n.addObserver(e),function(){return n.removeObserver(e)}})||this;return n.observers=new Set,n.promise=new Promise(function(e,t){n.resolve=e,n.reject=t}),n.handlers={next:function(e){null!==n.sub&&(n.latest=["next",e],n.notify("next",e),nW(n.observers,"next",e))},error:function(e){var t=n.sub;null!==t&&(t&&setTimeout(function(){return t.unsubscribe()}),n.sub=null,n.latest=["error",e],n.reject(e),n.notify("error",e),nW(n.observers,"error",e))},complete:function(){var e=n.sub,t=n.sources;if(null!==e){var r=(void 0===t?[]:t).shift();r?nz(r)?r.then(function(e){return n.sub=e.subscribe(n.handlers)},n.handlers.error):n.sub=r.subscribe(n.handlers):(e&&setTimeout(function(){return e.unsubscribe()}),n.sub=null,n.latest&&"next"===n.latest[0]?n.resolve(n.latest[1]):n.resolve(),n.notify("complete"),nW(n.observers,"complete"))}}},n.nextResultListeners=new Set,n.cancel=function(e){n.reject(e),n.sources=[],n.handlers.error(e)},n.promise.catch(function(e){}),"function"==typeof t&&(t=[new C(t)]),nz(t)?t.then(function(e){return n.start(e)},n.handlers.error):n.start(t),n}return(0,l.ZT)(t,e),t.prototype.start=function(e){void 0===this.sub&&(this.sources=Array.from(e),this.handlers.complete())},t.prototype.deliverLastMessage=function(e){if(this.latest){var t=this.latest[0],n=e[t];n&&n.call(e,this.latest[1]),null===this.sub&&"next"===t&&e.complete&&e.complete()}},t.prototype.addObserver=function(e){this.observers.has(e)||(this.deliverLastMessage(e),this.observers.add(e))},t.prototype.removeObserver=function(e){this.observers.delete(e)&&this.observers.size<1&&this.handlers.complete()},t.prototype.notify=function(e,t){var n=this.nextResultListeners;
20n.size&&(this.nextResultListeners=new Set,n.forEach(function(n){return n(e,t)}))},t.prototype.beforeNext=function(e){var t=!1;this.nextResultListeners.add(function(n,r){t||(t=!0,e(n,r))})},t}(C);nL(nV);var nG=n(1644),nQ=Object.assign,nH=Object.hasOwnProperty,nJ=function(e){function t(t){var n=t.queryManager,r=t.queryInfo,i=t.options,o=e.call(this,function(e){try{var t=e._subscription._observer;t&&!t.error&&(t.error=nK)}catch(e){}var n=!o.observers.size;o.observers.add(e);var r=o.last;return r&&r.error?e.error&&e.error(r.error):r&&r.result&&e.next&&e.next(r.result),n&&o.reobserve().catch(function(){}),function(){o.observers.delete(e)&&!o.observers.size&&o.tearDownQuery()}})||this;o.observers=new Set,o.subscriptions=new Set,o.queryInfo=r,o.queryManager=n,o.waitForOwnResult=nX(i.fetchPolicy),o.isTornDown=!1,o.subscribeToMore=o.subscribeToMore.bind(o);var a=n.defaultOptions.watchQuery,s=(void 0===a?{}:a).fetchPolicy,u=void 0===s?"cache-first":s,c=i.fetchPolicy,d=void 0===c?u:c,f=i.initialFetchPolicy,p=void 0===f?"standby"===d?u:d:f;o.options=(0,l.pi)((0,l.pi)({},i),{initialFetchPolicy:p,fetchPolicy:d}),o.queryId=r.queryId||n.generateQueryId();var h=Y(o.query);return o.queryName=h&&h.name&&h.name.value,o}return(0,l.ZT)(t,e),Object.defineProperty(t.prototype,"query",{get:function(){return this.lastQuery||this.options.query},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),t.prototype.result=function(){var e=this;return new Promise(function(t,n){var r={next:function(n){t(n),e.observers.delete(r),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout(function(){i.unsubscribe()},0)},error:n},i=e.subscribe(r)})},t.prototype.resetDiff=function(){this.queryInfo.resetDiff()},t.prototype.getCurrentResult=function(e){void 0===e&&(e=!0);var t=this.getLastResult(!0),n=this.queryInfo.networkStatus||t&&t.networkStatus||nG.Ie.ready,r=(0,l.pi)((0,l.pi)({},t),{loading:(0,nG.Oj)(n),networkStatus:n}),i=this.options.fetchPolicy,o=void 0===i?"cache-first":i;if(nX(o)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers);else if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var a=this.queryInfo.getDiff();(a.complete||this.options.returnPartialData)&&(r.data=a.result),(0,t_.D)(r.data,{})&&(r.data=void 0),a.complete?(delete r.partial,a.complete&&r.networkStatus===nG.Ie.loading&&("cache-first"===o||"cac
20he-only"===o)&&(r.networkStatus=nG.Ie.ready,r.loading=!1)):r.partial=!0,!1===globalThis.__DEV__||a.complete||this.options.partialRefetch||r.loading||r.data||r.error||nY(a.missing)}return e&&this.updateLastResult(r),r},t.prototype.isDifferentFromLastResult=function(e,t){return!this.last||(this.queryManager.getDocumentInfo(this.query).hasNonreactiveDirective?!tD(this.query,this.last.result,e,this.variables):!(0,t_.D)(this.last.result,e))||t&&!(0,t_.D)(this.last.variables,t)},t.prototype.getLast=function(e,t){var n=this.last;if(n&&n[e]&&(!t||(0,t_.D)(n.variables,this.variables)))return n[e]},t.prototype.getLastResult=function(e){return this.getLast("result",e)},t.prototype.getLastError=function(e){return this.getLast("error",e)},t.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(e){var t,n={pollInterval:0},r=this.options.fetchPolicy;if("cache-and-network"===r?n.fetchPolicy=r:"no-cache"===r?n.fetchPolicy="no-cache":n.fetchPolicy="network-only",!1!==globalThis.__DEV__&&e&&nH.call(e,"variables")){var i=ee(this.query),o=i.variableDefinitions;o&&o.some(function(e){return"variables"===e.variable.name.value})||!1===globalThis.__DEV__||u.kG.warn(20,e,(null===(t=i.name)||void 0===t?void 0:t.value)||i)}return e&&!(0,t_.D)(this.options.variables,e)&&(n.variables=this.options.variables=(0,l.pi)((0,l.pi)({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(n,nG.Ie.refetch)},t.prototype.fetchMore=function(e){var t=this,n=(0,l.pi)((0,l.pi)({},e.query?e:(0,l.pi)((0,l.pi)((0,l.pi)((0,l.pi)({},this.options),{query:this.options.query}),e),{variables:(0,l.pi)((0,l.pi)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"});n.query=this.transformDocument(n.query);var r=this.queryManager.generateQueryId();this.lastQuery=e.query?this.transformDocument(this.options.query):n.query;var i=this.queryInfo,o=i.networkStatus;i.networkStatus=nG.Ie.fetchMore,n.notifyOnNetworkStatusChange&&this.observe();var a=new Set,s=null==e?void 0:e.updateQuery,c="no-cache"!==this.options.fetchPolicy;return c||(0,u.kG)(s,21),this.queryManager.fetchQuery(r,n,nG.Ie.fetchMore).then(function(u){if(t.queryManager.removeQuery(r),i.networkStatus===nG.Ie.fetchMore&&(i.networkStatus=o),c)t.queryManager.cache.batch({update:function(r){var i=e.updateQuery;i?r.updateQuery({query:t.query,variables:t.variables,returnPartialData:!0,optimistic:!1},function(e){return i(e,{fetchMoreResult:u.data,variables:n.variables})}):r.writeQuery({query:n.query,variables:n.variables,data:u.data})},onWatchUpdated:function(e){a.add(e.query)}});else{var d=t.getLast("result"),f=s(d.data,{fetchMoreResult:u.data,variables:n.variables});t.reportResult((0,l.pi)((0,l.pi)({},d),{data:f}),t.variables)}return u}).finally(function(){c&&!a.has(t.query)&&n$(t)})},t.prototype.subscribeToMore=function(e){var t=this,n=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(n){var r=e.updateQuery;r&&t.updateQuery(function(e,t){return r(e,{subscriptionData:n,variables:t.variables})})},error:function(t){if(e.onError){e.onError(t);return}!1!==globalThis.__DEV__&&u.kG.error(22,t)}});return this.subscriptions.add(n),function(){t.subscriptions.delete(n)&&n.unsubscribe()}},t.prototype.setOptions=function(e){return this.reobserve(e)},t.prototype.silentSetOptions=function(e){var t=(0,tL.o)(this.options,e||{});nQ(this.options,t)},t.prototype.setVariables=function(e){return(0,t_.D)(this.variables,e)?this.observers.size?this.result():Promise.resolve():(this.options.variables=e,this.observers.size)?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},nG.Ie.setVariables):Promise.resolve()},t.prototype.updateQuery=function(e){var t=this.queryManager,n=e(t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});n&&(t.cache.writeQuery({query:this.options.query,data:n,variables:this.variables}),t.broadcastQueries())},t.prototype.startPolling=function(e){this.options.pollInterval=e,this.updatePolling()},t.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},t.prototype.applyNextFetchPolicy=function(e,t){if(t.nextFetchPolicy){var n=t.fetchPolicy,r=void 0===n?"cache-first":n,i=t.initialFetchPolicy,o=void 0===i?r:i;"standby"===r||("function"==typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy(r,{reason:e,options:t,observable:this,initialFetchPolicy:o}):"variables-changed"===e?t.fetchPolicy=o:t.fetchPolicy=t.nextFetchPolicy)}return t.fetchPolicy},t.prototype.fetch=function(e,t,n){return this.queryManager.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(this.queryId,e,t,n)},t.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this.pollingInfo,n=this.options.pollInterval;if(!n||!this.hasObservers()){t&&(clearTimeout(t.timeout),delete this.pollingInfo);return}if(!t||t.interval!==n){(0,u.kG)(n,23),(t||(this.pollingInfo={})).interval=n;var r=function(){var t,n;e.pollingInfo&&((0,nG.Oj)(e.queryInfo.networkStatus)||(null===(n=(t=e.options).skipPollAttempt)||void 0===n?void 0:n.call(t))?i():e.reobserve({fetchPolicy:"no-cache"===e.options.initialFetchPolicy?"no-cache":"network-only"},nG.Ie.poll).then(i,i))},i=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(r,t.interval))};i()}}},t.prototype.updateLastResult=function(e,t){void 0===t&&(t=this.variables);var n=this.getLastError();return n&&this.last&&!(0,t_.D)(t,this.last.variables)&&(n=void 0),this.last=(0,l.pi)({result:this.queryManager.assumeImmutableResults?e:nr(e),variables:t},n?{error:n}:null)},t.prototype.reobserveAsConcast=function(e,t){var n=this;this.isTornDown=!1;
20var r=t===nG.Ie.refetch||t===nG.Ie.fetchMore||t===nG.Ie.poll,i=this.options.variables,o=this.options.fetchPolicy,a=(0,tL.o)(this.options,e||{}),s=r?a:nQ(this.options,a),u=this.transformDocument(s.query);this.lastQuery=u,!r&&(this.updatePolling(),e&&e.variables&&!(0,t_.D)(e.variables,i)&&"standby"!==s.fetchPolicy&&(s.fetchPolicy===o||"function"==typeof s.nextFetchPolicy)&&(this.applyNextFetchPolicy("variables-changed",s),void 0===t&&(t=nG.Ie.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=nX(s.fetchPolicy));var c=function(){n.concast===p&&(n.waitForOwnResult=!1)},d=s.variables&&(0,l.pi)({},s.variables),f=this.fetch(s,t,u),p=f.concast,h=f.fromLink,g={next:function(e){(0,t_.D)(n.variables,d)&&(c(),n.reportResult(e,d))},error:function(e){(0,t_.D)(n.variables,d)&&((0,eb.MS)(e)||(e=new eb.cA({networkError:e})),c(),n.reportError(e,d))}};return r||!h&&this.concast||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=p,this.observer=g),p.addObserver(g),p},t.prototype.reobserve=function(e,t){return this.reobserveAsConcast(e,t).promise},t.prototype.resubscribeAfterError=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=this.last;this.resetLastResults();var r=this.subscribe.apply(this,e);return this.last=n,r},t.prototype.observe=function(){this.reportResult(this.getCurrentResult(!1),this.variables)},t.prototype.reportResult=function(e,t){var n=this.getLastError(),r=this.isDifferentFromLastResult(e,t);(n||!e.partial||this.options.returnPartialData)&&this.updateLastResult(e,t),(n||r)&&nW(this.observers,"next",e)},t.prototype.reportError=function(e,t){var n=(0,l.pi)((0,l.pi)({},this.getLastResult()),{error:e,errors:e.graphQLErrors,networkStatus:nG.Ie.error,loading:!1});this.updateLastResult(n,t),nW(this.observers,"error",this.last.error=e)},t.prototype.hasObservers=function(){return this.observers.size>0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach(function(e){return e.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t.prototype.transformDocument=function(e){return this.queryManager.transform(e)},t}(C);function n$(e){var t=e.options,n=t.fetchPolicy,r=t.nextFetchPolicy;return"cache-and-network"===n||"network-only"===n?e.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(e,t){return(this.nextFetchPolicy=r,"function"==typeof this.nextFetchPolicy)?this.nextFetchPolicy(e,t):n}}):e.reobserve()}function nK(e){!1!==globalThis.__DEV__&&u.kG.error(24,e.message,e.stack)}function nY(e){!1!==globalThis.__DEV__&&e&&!1!==globalThis.__DEV__&&u.kG.debug(25,e)}function nX(e){return"network-only"===e||"no-cache"===e||"standby"===e}nL(nJ);var nZ=new(em.mr?WeakMap:Map);function n0(e,t){var n=e[t];"function"==typeof n&&(e[t]=function(){return nZ.set(e,(nZ.get(e)+1)%1e15),n.apply(this,arguments)})}function n1(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var n2=function(){function e(e,t){void 0===t&&(t=e.generateQueryId()),this.queryId=t,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var n=this.cache=e.cache;nZ.has(n)||(nZ.set(n,0),n0(n,"evict"),n0(n,"modify"),n0(n,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||nG.Ie.loading;return this.variables&&this.networkStatus!==nG.Ie.loading&&!(0,t_.D)(this.variables,e.variables)&&(t=nG.Ie.setVariables),(0,t_.D)(e.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:e.document,variables:e.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:t}),e.observableQuery&&this.setObservableQuery(e.observableQuery),e.lastRequestId&&(this.lastRequestId=e.lastRequestId),this},e.prototype.reset=function(){n1(this),this.dirty=!1},e.prototype.resetDiff=function(){this.lastDiff=void 0},e.prototype.getDiff=function(){var e=this.getDiffOptions();if(this.lastDiff&&(0,t_.D)(e,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var t=this.observableQuery;if(t&&"no-cache"===t.options.fetchPolicy)return{complete:!1};var n=this.cache.diff(e);return this.updateLastDiff(n,e),n},e.prototype.updateLastDiff=function(e,t){this.lastDiff=e?{diff:e,options:t||this.getDiffOptions()}:void 0},e.prototype.getDiffOptions=function(e){var t;return void 0===e&&(e=this.variables),{query:this.document,variables:e,returnPartialData:!0,optimistic:!0,canonizeResults:null===(t=this.observableQuery)||void 0===t?void 0:t.options.canonizeResults}},e.prototype.setDiff=function(e){var t,n=this,r=this.lastDiff&&this.lastDiff.diff;!(e&&!e.complete&&(null===(t=this.observableQuery)||void 0===t?void 0:t.getLastError()))&&(this.updateLastDiff(e),this.dirty||(0,t_.D)(r&&r.result,e&&e.result)||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return n.notify()},0))))},e.prototype.setObservableQuery=function(e){var t=this;e!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=e,e?(e.queryInfo=this,this.listeners.add(this.oqListener=function(){t.getDiff().fromOptimisticTransaction?e.observe():n$(e)})):delete this.oqListener)},e.prototype.notify=function(){var e=this;
20n1(this),this.shouldNotify()&&this.listeners.forEach(function(t){return t(e)}),this.dirty=!1},e.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if((0,nG.Oj)(this.networkStatus)&&this.observableQuery){var e=this.observableQuery.options.fetchPolicy;if("cache-only"!==e&&"cache-and-network"!==e)return!1}return!0},e.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=e.prototype.cancel;var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var n=this.observableQuery;if(!n||"no-cache"!==n.options.fetchPolicy){var r=(0,l.pi)((0,l.pi)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});this.lastWatch&&(0,t_.D)(r,this.lastWatch)||(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=r))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,t){var n=this.lastWrite;return!(n&&n.dmCount===nZ.get(this.cache)&&(0,t_.D)(t,n.variables)&&(0,t_.D)(e.data,n.result.data))},e.prototype.markResult=function(e,t,n,r){var i=this,o=new ek,a=(0,ew.O)(e.errors)?e.errors.slice(0):[];if(this.reset(),"incremental"in e&&(0,ew.O)(e.incremental)){var s=eA(this.getDiff().result,e);e.data=s}else if("hasNext"in e&&e.hasNext){var l=this.getDiff();e.data=o.merge(l.result,e.data)}this.graphQLErrors=a,"no-cache"===n.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(n.variables)):0!==r&&(n3(e,n.errorPolicy)?this.cache.performTransaction(function(o){if(i.shouldWrite(e,n.variables))o.writeQuery({query:t,data:e.data,variables:n.variables,overwrite:1===r}),i.lastWrite={result:e,variables:n.variables,dmCount:nZ.get(i.cache)};else if(i.lastDiff&&i.lastDiff.diff.complete){e.data=i.lastDiff.diff.result;return}var a=i.getDiffOptions(n.variables),s=o.diff(a);!i.stopped&&(0,t_.D)(i.variables,n.variables)&&i.updateWatch(n.variables),i.updateLastDiff(s,a),s.complete&&(e.data=s.result)}):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=nG.Ie.ready},e.prototype.markError=function(e){return this.networkStatus=nG.Ie.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function n3(e,t){void 0===t&&(t="none");var n="ignore"===t||"all"===t,r=!nU(e);return!r&&n&&e.data&&(r=!0),r}var n6=Object.prototype.hasOwnProperty,n4=Object.create(null),n5=function(){function e(e){var t=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new P.s(N.Q["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new tM(!1);var n=new tW(function(e){return t.cache.transformDocument(e)},{cache:!1});this.cache=e.cache,this.link=e.link,this.defaultOptions=e.defaultOptions,this.queryDeduplication=e.queryDeduplication,this.clientAwareness=e.clientAwareness,this.localState=e.localState,this.ssrMode=e.ssrMode,this.assumeImmutableResults=e.assumeImmutableResults;var r=e.documentTransform;this.documentTransform=r?n.concat(r).concat(n):n,this.defaultContext=e.defaultContext||Object.create(null),(this.onBroadcast=e.onBroadcast)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;this.queries.forEach(function(t,n){e.stopQueryNoBroadcast(n)}),this.cancelPendingFetches((0,u._K)(26))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach(function(t){return t(e)}),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){return(0,l.mG)(this,arguments,void 0,function(e){var t,n,r,i,o,a,s,c=e.mutation,d=e.variables,f=e.optimisticResponse,p=e.updateQueries,h=e.refetchQueries,g=void 0===h?[]:h,m=e.awaitRefetchQueries,v=void 0!==m&&m,y=e.update,b=e.onQueryUpdated,w=e.fetchPolicy,E=void 0===w?(null===(a=this.defaultOptions.mutate)||void 0===a?void 0:a.fetchPolicy)||"network-only":w,O=e.errorPolicy,S=void 0===O?(null===(s=this.defaultOptions.mutate)||void 0===s?void 0:s.errorPolicy)||"none":O,T=e.keepRootFields,k=e.context;return(0,l.Jh)(this,function(e){switch(e.label){case 0:if((0,u.kG)(c,27),(0,u.kG)("network-only"===E||"no-cache"===E,28),t=this.generateMutationId(),c=this.cache.transformForLink(this.transform(c)),n=this.getDocumentInfo(c).hasClientExports,d=this.getVariables(c,d),!n)return[3,2];return[4,this.localState.addExportedVariables(c,d,k)];case 1:d=e.sent(),e.label=2;case 2:return r=this.mutationStore&&(this.mutationStore[t]={mutation:c,variables:d,loading:!0,error:null}),i=f&&this.markMutationOptimistic(f,{mutationId:t,document:c,variables:d,fetchPolicy:E,errorPolicy:S,context:k,updateQueries:p,update:y,keepRootFields:T}),this.broadcastQueries(),o=this,[2,new Promise(function(e,n){return nB(o.getObservableFromLink(c,(0,l.pi)((0,l.pi)({},k),{optimisticResponse:i?f:void 0}),d,{},!1),function(e){if(nU(e)&&"none"===S)throw new eb.cA({graphQLErrors:nM(e)});r&&(r.loading=!1,r.error=null);var n=(0,l.pi)({},e);return"function"==typeof g&&(g=g(n)),"ignore"===S&&nU(n)&&delete n.errors,o.markMutationResult({mutationId:t,result:n,document:c,variables:d,fetchPolicy:E,errorPolicy:S,context:k,update:y,updateQueries:p,awaitRefetchQueries:v,refetchQueries:g,removeOptimistic:i?t:void 0,onQueryUpdated:b,keepRootFields:T})}).subscribe({next:function(t){o.broadcastQueries(),"hasNext"in t&&!1!==t.hasNext||e(t)},error:function(e){r&&(r.loading=!1,r.error=e),i&&o.cache.removeOptimistic(t),o.broadcastQueries(),n(e instanceof eb.cA?e:new eb.cA({networkError:e}))}})})]}})})},e.prototype.markMutationResult=function(e,t){var n=this;void 0===t&&(t=this.cache);var r=e.result,i=[],o="no-cache"===e.fetchPolicy;if(!o&&n3(r,e.errorPolicy)){if(eI(r)||i.push({result:r.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),eI(r)&&(0,ew.O)(r.incremental)){var a=t.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}
20),s=void 0;a.result&&(s=eA(a.result,r)),void 0!==s&&(r.data=s,i.push({result:s,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var u=e.updateQueries;u&&this.queries.forEach(function(e,o){var a=e.observableQuery,s=a&&a.queryName;if(s&&n6.call(u,s)){var l=u[s],c=n.queries.get(o),d=c.document,f=c.variables,p=t.diff({query:d,variables:f,returnPartialData:!0,optimistic:!1}),h=p.result;if(p.complete&&h){var g=l(h,{mutationResult:r,queryName:d&&X(d)||void 0,queryVariables:f});g&&i.push({result:g,dataId:"ROOT_QUERY",query:d,variables:f})}}})}if(i.length>0||(e.refetchQueries||"").length>0||e.update||e.onQueryUpdated||e.removeOptimistic){var c=[];if(this.refetchQueries({updateCache:function(t){o||i.forEach(function(e){return t.write(e)});var a,s=e.update,u=!(eI(a=r)||"hasNext"in a&&"data"in a)||eI(r)&&!r.hasNext;if(s){if(!o){var c=t.diff({id:"ROOT_MUTATION",query:n.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});c.complete&&("incremental"in(r=(0,l.pi)((0,l.pi)({},r),{data:c.result}))&&delete r.incremental,"hasNext"in r&&delete r.hasNext)}u&&s(t,r,{context:e.context,variables:e.variables})}o||e.keepRootFields||!u||t.modify({id:"ROOT_MUTATION",fields:function(e,t){var n=t.fieldName,r=t.DELETE;return"__typename"===n?e:r}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}).forEach(function(e){return c.push(e)}),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(c).then(function(){return r})}return Promise.resolve(r)},e.prototype.markMutationOptimistic=function(e,t){var n=this,r="function"==typeof e?e(t.variables,{IGNORE:n4}):e;return r!==n4&&(this.cache.recordOptimisticTransaction(function(e){try{n.markMutationResult((0,l.pi)((0,l.pi)({},t),{result:{data:r}}),e)}catch(e){!1!==globalThis.__DEV__&&u.kG.error(e)}},t.mutationId),!0)},e.prototype.fetchQuery=function(e,t,n){return this.fetchConcastWithInfo(e,t,n).concast.promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach(function(t,n){e[n]={variables:t.variables,networkStatus:t.networkStatus,networkError:t.networkError,graphQLErrors:t.graphQLErrors}}),e},e.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},e.prototype.transform=function(e){return this.documentTransform.transformDocument(e)},e.prototype.getDocumentInfo=function(e){var t=this.transformCache;if(!t.has(e)){var n={hasClientExports:e&&eh(["client","export"],e,!0),hasForcedResolvers:this.localState.shouldForceResolvers(e),hasNonreactiveDirective:eh(["nonreactive"],e),clientQuery:this.localState.clientQuery(e),serverQuery:eH([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"}],e),defaultVars:en(Y(e)),asQuery:(0,l.pi)((0,l.pi)({},e),{definitions:e.definitions.map(function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?(0,l.pi)((0,l.pi)({},e),{operation:"query"}):e})})};t.set(e,n)}return t.get(e)},e.prototype.getVariables=function(e,t){return(0,l.pi)((0,l.pi)({},this.getDocumentInfo(e).defaultVars),t)},e.prototype.watchQuery=function(e){var t=this.transform(e.query);void 0===(e=(0,l.pi)((0,l.pi)({},e),{variables:this.getVariables(t,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var n=new n2(this),r=new nJ({queryManager:this,queryInfo:n,options:e});return r.lastQuery=t,this.queries.set(r.queryId,n),n.init({document:t,observableQuery:r,variables:r.variables}),r},e.prototype.query=function(e,t){var n=this;return void 0===t&&(t=this.generateQueryId()),(0,u.kG)(e.query,29),(0,u.kG)("Document"===e.query.kind,30),(0,u.kG)(!e.returnPartialData,31),(0,u.kG)(!e.pollInterval,32),this.fetchQuery(t,(0,l.pi)((0,l.pi)({},e),{query:this.transform(e.query)})).finally(function(){return n.stopQuery(t)})},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){var t=this.queries.get(e);t&&t.stop()},e.prototype.clearStore=function(e){return void 0===e&&(e={discardWatches:!0}
20),this.cancelPendingFetches((0,u._K)(33)),this.queries.forEach(function(e){e.observableQuery?e.networkStatus=nG.Ie.loading:e.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(e)},e.prototype.getObservableQueries=function(e){var t=this;void 0===e&&(e="active");var n=new Map,r=new Map,i=new Set;return Array.isArray(e)&&e.forEach(function(e){"string"==typeof e?r.set(e,!1):(0,D.s)(e)&&"Document"===e.kind&&Array.isArray(e.definitions)?r.set(t.transform(e),!1):(0,D.s)(e)&&e.query&&i.add(e)}),this.queries.forEach(function(t,i){var o=t.observableQuery,a=t.document;if(o){if("all"===e){n.set(i,o);return}var s=o.queryName;if("standby"===o.options.fetchPolicy||"active"===e&&!o.hasObservers())return;("active"===e||s&&r.has(s)||a&&r.has(a))&&(n.set(i,o),s&&r.set(s,!0),a&&r.set(a,!0))}}),i.size&&i.forEach(function(e){var r=(0,nF.X)("legacyOneTimeQuery"),i=t.getQuery(r).init({document:e.query,variables:e.variables}),o=new nJ({queryManager:t,queryInfo:i,options:(0,l.pi)((0,l.pi)({},e),{fetchPolicy:"network-only"})});(0,u.kG)(o.queryId===r),i.setObservableQuery(o),n.set(r,o)}),!1!==globalThis.__DEV__&&r.size&&r.forEach(function(e,t){e||!1===globalThis.__DEV__||u.kG.warn("string"==typeof t?34:35,t)}),n},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var n=[];return this.getObservableQueries(e?"all":"active").forEach(function(r,i){var o=r.options.fetchPolicy;r.resetLastResults(),(e||"standby"!==o&&"cache-only"!==o)&&n.push(r.refetch()),t.getQuery(i).setDiff(null)}),this.broadcastQueries(),Promise.all(n)},e.prototype.setObservableQuery=function(e){this.getQuery(e.queryId).setObservableQuery(e)},e.prototype.startGraphQLSubscription=function(e){var t=this,n=e.query,r=e.fetchPolicy,i=e.errorPolicy,o=void 0===i?"none":i,a=e.variables,s=e.context,l=void 0===s?{}:s,u=e.extensions,c=void 0===u?{}:u;n=this.transform(n),a=this.getVariables(n,a);var d=function(e){return t.getObservableFromLink(n,l,e,c).map(function(i){"no-cache"!==r&&(n3(i,o)&&t.cache.write({query:n,result:i.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var a=nU(i),s=(0,eb.ls)(i);if(a||s){var l={};if(a&&(l.graphQLErrors=i.errors),s&&(l.protocolErrors=i.extensions[eb.YG]),"none"===o||s)throw new eb.cA(l)}return"ignore"===o&&delete i.errors,i})};if(this.getDocumentInfo(n).hasClientExports){var f=this.localState.addExportedVariables(n,a,l).then(d);return new C(function(e){var t=null;return f.then(function(n){return t=n.subscribe(e)},e.error),function(){return t&&t.unsubscribe()}})}return d(a)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){this.fetchCancelFns.delete(e),this.queries.has(e)&&(this.getQuery(e).stop(),this.queries.delete(e))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(e){return e.notify()})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,n,r,i){var o,a,s=this;void 0===i&&(i=null!==(o=null==t?void 0:t.queryDeduplication)&&void 0!==o?o:this.queryDeduplication);var u=this.getDocumentInfo(e),c=u.serverQuery,d=u.clientQuery;if(c){var f=this.inFlightLinkObservables,p=this.link,h={query:c,variables:n,operationName:X(c)||void 0,context:this.prepareContext((0,l.pi)((0,l.pi)({},t),{forceFetch:!i})),extensions:r};if(t=h.context,i){var g=eW(c),m=B(n),v=f.lookup(g,m);if(!(a=v.observable)){var y=new nV([nP(p,h)]);a=v.observable=y,y.beforeNext(function(){f.remove(g,m)})}}else a=new nV([nP(p,h)])}else a=new nV([C.of({data:{}})]),t=this.prepareContext(t);return d&&(a=nB(a,function(e){return s.localState.runResolvers({document:d,remoteResult:e,context:t,variables:n})})),a},e.prototype.getResultsFromLink=function(e,t,n){var r=e.lastRequestId=this.generateRequestId(),i=this.cache.transformForLink(n.query);return nB(this.getObservableFromLink(i,n.context,n.variables),function(o){var a=nM(o),s=a.length>0,l=n.errorPolicy;if(r>
20=e.lastRequestId){if(s&&"none"===l)throw e.markError(new eb.cA({graphQLErrors:a}));e.markResult(o,i,n,t),e.markReady()}var u={data:o.data,loading:!1,networkStatus:nG.Ie.ready};return s&&"none"===l&&(u.data=void 0),s&&"ignore"!==l&&(u.errors=a,u.networkStatus=nG.Ie.error),u},function(t){var n=(0,eb.MS)(t)?t:new eb.cA({networkError:t});throw r>=e.lastRequestId&&e.markError(n),n})},e.prototype.fetchConcastWithInfo=function(e,t,n,r){var i,o,a=this;void 0===n&&(n=nG.Ie.loading),void 0===r&&(r=t.query);var s=this.getVariables(r,t.variables),l=this.getQuery(e),u=this.defaultOptions.watchQuery,c=t.fetchPolicy,d=void 0===c?u&&u.fetchPolicy||"cache-first":c,f=t.errorPolicy,p=void 0===f?u&&u.errorPolicy||"none":f,h=t.returnPartialData,g=t.notifyOnNetworkStatusChange,m=t.context,v=Object.assign({},t,{query:r,variables:s,fetchPolicy:d,errorPolicy:p,returnPartialData:void 0!==h&&h,notifyOnNetworkStatusChange:void 0!==g&&g,context:void 0===m?{}:m}),y=function(e){v.variables=e;var r=a.fetchQueryByPolicy(l,v,n);return"standby"!==v.fetchPolicy&&r.sources.length>0&&l.observableQuery&&l.observableQuery.applyNextFetchPolicy("after-fetch",t),r},b=function(){return a.fetchCancelFns.delete(e)};if(this.fetchCancelFns.set(e,function(e){b(),setTimeout(function(){return i.cancel(e)})}),this.getDocumentInfo(v.query).hasClientExports)i=new nV(this.localState.addExportedVariables(v.query,v.variables,v.context).then(y).then(function(e){return e.sources})),o=!0;else{var w=y(v.variables);o=w.fromLink,i=new nV(w.sources)}return i.promise.then(b,b),{concast:i,fromLink:o}},e.prototype.refetchQueries=function(e){var t=this,n=e.updateCache,r=e.include,i=e.optimistic,o=void 0!==i&&i,a=e.removeOptimistic,s=void 0===a?o?(0,nF.X)("refetchQueries"):void 0:a,l=e.onQueryUpdated,u=new Map;r&&this.getObservableQueries(r).forEach(function(e,n){u.set(n,{oq:e,lastDiff:t.getQuery(n).getDiff()})});var c=new Map;return n&&this.cache.batch({update:n,optimistic:o&&s||!1,removeOptimistic:s,onWatchUpdated:function(e,t,n){var r=e.watcher instanceof n2&&e.watcher.observableQuery;if(r){if(l){u.delete(r.queryId);var i=l(r,t,n);return!0===i&&(i=r.refetch()),!1!==i&&c.set(r,i),i}null!==l&&u.set(r.queryId,{oq:r,lastDiff:n,diff:t})}}}),u.size&&u.forEach(function(e,n){var r,i=e.oq,o=e.lastDiff,a=e.diff;if(l){if(!a){var s=i.queryInfo;s.reset(),a=s.getDiff()}r=l(i,a,o)}l&&!0!==r||(r=i.refetch()),!1!==r&&c.set(i,r),n.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(n)}),s&&this.cache.removeOptimistic(s),c},e.prototype.fetchQueryByPolicy=function(e,t,n){var r=this,i=t.query,o=t.variables,a=t.fetchPolicy,s=t.refetchWritePolicy,u=t.errorPolicy,c=t.returnPartialData,d=t.context,f=t.notifyOnNetworkStatusChange,p=e.networkStatus;e.init({document:i,variables:o,networkStatus:n});var h=function(){return e.getDiff()},g=function(t,n){void 0===n&&(n=e.networkStatus||nG.Ie.loading);var a=t.result;!1===globalThis.__DEV__||c||(0,t_.D)(a,{})||nY(t.missing);var s=function(e){return C.of((0,l.pi)({data:e,loading:(0,nG.Oj)(n),networkStatus:n},t.complete?null:{partial:!0}))};return a&&r.getDocumentInfo(i).hasForcedResolvers?r.localState.runResolvers({document:i,remoteResult:{data:a},context:d,variables:o,onlyRunForcedResolvers:!0}).then(function(e){return s(e.data||void 0)}):"none"===u&&n===nG.Ie.refetch&&Array.isArray(t.missing)?s(void 0):s(a)},m="no-cache"===a?0:n===nG.Ie.refetch&&"merge"!==s?1:2,v=function(){return r.getResultsFromLink(e,m,{query:i,variables:o,context:d,fetchPolicy:a,errorPolicy:u})},y=f&&"number"==typeof p&&p!==n&&(0,nG.Oj)(n);switch(a){default:case"cache-first":var b=h();if(b.complete)return{fromLink:!1,sources:[g(b,e.markReady())]};if(c||y)return{fromLink:!0,sources:[g(b),v()]};return{fromLink:!0,sources:[v()]};case"cache-and-network":var b=h();if(b.complete||c||y)return{fromLink:!0,sources:[g(b),v()]};return{fromLink:!0,sources:[v()]};case"cache-only":return{fromLink:!1,sources:[g(h(),e.markReady())]};case"network-only":if(y)return{fromLink:!0,sources:[g(h()),v()]};return{fromLink:!0,sources:[v()]};case"no-cache":if(y)return{fromLink:!0,sources:[g(e.getDiff()),v()]};return{fromLink:!0,sources:[v()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new n2(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,l.pi)((0,l.pi)((0,l.pi)({},this.defaultContext),t),{clientAwareness:this.clientAwareness})},e}();function n9(e){return e.kind===ec.h.FIELD||e.kind===ec.h.FRAGMENT_SPREAD||e.kind===ec.h.INLINE_FRAGMENT}var n8=function(){function e(e){var t=e.cache,n=e.client,r=e.resolvers,i=e.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=t,n&&(this.client=n),r&&this.addResolvers(r),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach(function(e){t.resolvers=eO(t.resolvers,e)}):this.resolvers=eO(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){return(0,l.mG)(this,arguments,void 0,function(e){var t=e.document,n=e.remoteResult,r=e.context,i=e.variables,o=e.onlyRunForcedResolvers,a=void 0!==o&&o;return(0,l.Jh)(this,function(e){return t?[2,this.resolveDocument(t,n.data,r,i,this.fragmentMatcher,a).then(function(e){return(0,l.pi)((0,l.pi)({},n),{data:e.result})})]:[2,n]})})},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return eh(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return e$(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,l.pi)((0,l.pi)({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e){return(0,l.mG)(this,arguments,void 0,function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),(0,l.Jh)(this,function(r){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(n),t).then(function(e){return(0,l.pi)((0,l.pi)({},t),e.exportedVariables)})]:[2,(0,l.pi)({},t)]})})},e.prototype.shouldForceResolvers=function(e){var t=!1;return ef(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some(function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value})))return ed}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:"query"===et(e).operation?e:ef(e,{OperationDefinition:{enter:function(e){return(0,l.pi)((0,l.pi)({},e),{operation:"query"})}}}),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t){return(0,l.mG)(this,arguments,void 0,function(e,t,n,r,i,o){var a,s,u,c,d,f,p,h,g;return void 0===n&&(n={}),void 0===r&&(r={}),void 0===i&&(i=function(){return!0}),void 0===o&&(o=!1),(0,l.Jh)(this,function(m){return a=et(e),s=j(Z(e)),u=this.collectSelectionsToResolve(a,s),d=(c=a.operation)?c.charAt(0).toUpperCase()+c.slice(1):"Query",f=this,p=f.cache,h=f.client,g={fragmentMap:s,context:(0,l.pi)((0,l.pi)({}
20,n),{cache:p,client:h}),variables:r,fragmentMatcher:i,defaultOperationType:d,exportedVariables:{},selectionsToResolve:u,onlyRunForcedResolvers:o},[2,this.resolveSelectionSet(a.selectionSet,!1,t,g).then(function(e){return{result:e,exportedVariables:g.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(e,t,n,r){return(0,l.mG)(this,void 0,void 0,function(){var i,o,a,s,c,d=this;return(0,l.Jh)(this,function(f){return i=r.fragmentMap,o=r.context,a=r.variables,s=[n],c=function(e){return(0,l.mG)(d,void 0,void 0,function(){var c,d;return(0,l.Jh)(this,function(l){return(t||r.selectionsToResolve.has(e))&&ep(e,a)?$(e)?[2,this.resolveField(e,t,n,r).then(function(t){var n;void 0!==t&&s.push(((n={})[H(e)]=t,n))})]:("InlineFragment"===e.kind?c=e:(c=i[e.name.value],(0,u.kG)(c,18,e.name.value)),c&&c.typeCondition&&(d=c.typeCondition.name.value,r.fragmentMatcher(n,d,o))?[2,this.resolveSelectionSet(c.selectionSet,t,n,r).then(function(e){s.push(e)})]:[2]):[2]})})},[2,Promise.all(e.selections.map(c)).then(function(){return eS(s)})]})})},e.prototype.resolveField=function(e,t,n,r){return(0,l.mG)(this,void 0,void 0,function(){var i,o,a,s,u,c,d,f,p,h=this;return(0,l.Jh)(this,function(l){return n?(i=r.variables,s=(o=e.name.value)!==(a=H(e)),c=Promise.resolve(u=n[a]||n[o]),(!r.onlyRunForcedResolvers||this.shouldForceResolvers(e))&&(d=n.__typename||r.defaultOperationType,(f=this.resolvers&&this.resolvers[d])&&(p=f[s?o:a])&&(c=Promise.resolve(no.withValue(this.cache,p,[n,Q(e,i),r.context,{field:e,fragmentMap:r.fragmentMap}])))),[2,c.then(function(n){if(void 0===n&&(n=u),e.directives&&e.directives.forEach(function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach(function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(r.exportedVariables[e.value.value]=n)})}),!e.selectionSet||null==n)return n;var i,o,a=null!==(o=null===(i=e.directives)||void 0===i?void 0:i.some(function(e){return"client"===e.name.value}))&&void 0!==o&&o;return Array.isArray(n)?h.resolveSubSelectedArray(e,t||a,n,r):e.selectionSet?h.resolveSelectionSet(e.selectionSet,t||a,n,r):void 0})]):[2,null]})})},e.prototype.resolveSubSelectedArray=function(e,t,n,r){var i=this;return Promise.all(n.map(function(n){return null===n?null:Array.isArray(n)?i.resolveSubSelectedArray(e,t,n,r):e.selectionSet?i.resolveSelectionSet(e.selectionSet,t,n,r):void 0}))},e.prototype.collectSelectionsToResolve=function(e,t){var n=function(e){return!Array.isArray(e)},r=this.selectionsToResolveCache;return function e(i){if(!r.has(i)){var o=new Set;r.set(i,o),ef(i,{Directive:function(e,t,r,i,a){"client"===e.name.value&&a.forEach(function(e){n(e)&&n9(e)&&o.add(e)})},FragmentSpread:function(r,i,a,s,l){var c=t[r.name.value];(0,u.kG)(c,19,r.name.value);var d=e(c);d.size>0&&(l.forEach(function(e){n(e)&&n9(e)&&o.add(e)}),o.add(r),d.forEach(function(e){o.add(e)}))}})}return r.get(i)}(e)},e}(),n7=n(4012),re=!1,rt=function(){function e(e){var t=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cache)throw(0,u._K)(15);var n=e.uri,r=e.credentials,i=e.headers,o=e.cache,a=e.documentTransform,s=e.ssrMode,c=void 0!==s&&s,d=e.ssrForceFetchDelay,f=void 0===d?0:d,p=e.connectToDevTools,h=e.queryDeduplication,g=void 0===h||h,m=e.defaultOptions,v=e.defaultContext,y=e.assumeImmutableResults,b=void 0===y?o.assumeImmutableResults:y,w=e.resolvers,E=e.typeDefs,O=e.fragmentMatcher,S=e.name,T=e.version,k=e.devtools,I=e.link;I||(I=n?new nq({uri:n,credentials:r,headers:i}):ea.empty()),this.link=I,this.cache=o,this.disableNetworkFetches=c||f>0,this.queryDeduplication=g,this.defaultOptions=m||Object.create(null),this.typeDefs=E,this.devtoolsConfig=(0,l.pi)((0,l.pi)({},k),{enabled:(null==k?void 0:k.enabled)||p}),void 0===this.devtoolsConfig.enabled&&(this.devtoolsConfig.enabled=!1!==globalThis.__DEV__),f&&setTimeout(function(){return t.disableNetworkFetches=!1},f),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=nN.i,this.localState=new n8({cache:o,client:this,resolvers:w,fragmentMatcher:O}),this.queryManager=new n5({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:v,documentTransform:a,queryDeduplication:g,ssrMode:c,clientAwareness:{name:S,version:T},localState:this.localState,assumeImmutableResults:b,onBroadcast:this.devtoolsConfig.enabled?function(){t.devToolsHookCb&&t.devToolsHookCb({action:{},state:{queries:t.queryManager.getQueryStore(),mutations:t.queryManager.mutationStore||{}},dataWithOptimisticResults:t.cache.extract(!0)})}:void 0}),this.devtoolsConfig.enabled&&this.connectToDevTools()}return e.prototype.connectToDevTools=function(){if("undefined"!=typeof window){var e=window,t=Symbol.for("apollo.devtools");(e[t]=e[t]||[]).push(this),e.__APOLLO_CLIENT__=this,!re&&!1!==globalThis.__DEV__&&(re=!0,window.document&&window.top===window.self&&/^(https?|file):$/.test(window.location.protocol)&&setTimeout(function(){if(!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var e=window.navigator,t=e&&e.userAgent,n=void 0;"string"==typeof t&&(t.indexOf("Chrome/")>-1?n="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":t.indexOf("Firefox/")>-1&&(n="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),n&&!1!==globalThis.__DEV__&&u.kG.log("Download the Apollo DevTools for a better development experience: %s",n)}},1e4))}},Object.defineProperty(e.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform}
20,enumerable:!1,configurable:!0}),e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=(0,n7.J)(this.defaultOptions.watchQuery,e)),this.disableNetworkFetches&&("network-only"===e.fetchPolicy||"cache-and-network"===e.fetchPolicy)&&(e=(0,l.pi)((0,l.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=(0,n7.J)(this.defaultOptions.query,e)),(0,u.kG)("cache-and-network"!==e.fetchPolicy,16),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,l.pi)((0,l.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=(0,n7.J)(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){return this.queryManager.startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.watchFragment=function(e){return this.cache.watchFragment(e)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.cache.writeQuery(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.cache.writeFragment(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return nP(this.link,e)},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(e.resetStoreCallbacks.map(function(e){return e()}))}).then(function(){return e.reFetchObservableQueries()})},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(e.clearStoreCallbacks.map(function(e){return e()}))})},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.refetchQueries=function(e){var t=this.queryManager.refetchQueries(e),n=[],r=[];t.forEach(function(e,t){n.push(t),r.push(e)});var i=Promise.all(r);return i.queries=n,i.results=r,i.catch(function(e){!1!==globalThis.__DEV__&&u.kG.debug(17,e)}),i},e.prototype.getObservableQueries=function(e){return void 0===e&&(e="active"),this.queryManager.getObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.setLink=function(e){this.link=this.queryManager.link=e},Object.defineProperty(e.prototype,"defaultContext",{get:function(){return this.queryManager.defaultContext},enumerable:!1,configurable:!0}),e}();!1!==globalThis.__DEV__&&(rt.prototype.getMemoryInternals=q.su);var rn=n(9186);function rr(e){return new ea(function(t,n){return new C(function(r){var i,o,a;try{i=n(t).subscribe({next:function(i){if(i.errors&&(a=e({graphQLErrors:i.errors,response:i,operation:t,forward:n}))){o=a.subscribe({next:r.next.bind(r),error:r.error.bind(r),complete:r.complete.bind(r)});return}r.next(i)},error:function(i){if(a=e({operation:t,networkError:i,graphQLErrors:i&&i.result&&i.result.errors||void 0,forward:n})){o=a.subscribe({next:r.next.bind(r),error:r.error.bind(r),complete:r.complete.bind(r)});return}r.error(i)},complete:function(){a||r.complete.bind(r)()}})}catch(i){e({networkError:i,operation:t,forward:n}),r.error(i)}return function(){i&&i.unsubscribe(),o&&i.unsubscribe()}})})}!function(e){function t(t){var n=e.call(this)||this;return n.link=rr(t),n}(0,l.ZT)(t,e),t.prototype.request=function(e,t){return this.link.request(e,t)}}(ea);let ri=eY({uri:rn.S_}),ro=rr(e=>{var t,n;let{graphQLErrors:r,networkError:i,operation:o}=e;console.log("=== GRAPHQL ERROR DETAILS ==="),console.log("Operation Name:",o.operationName),console.log("Query:",null===(t=o.query.loc)||void 0===t?void 0:t.source.body),console.log("Variables:",JSON.stringify(o.variables,null,2)),console.log("Context:",o.getContext()),r&&console.log("GraphQL Errors:",JSON.stringify(r,null,2)),i&&console.log("Network Error:",i),console.log("Complete Request Body:",JSON.stringify({operationName:o.operationName,query:null===(n=o.query.loc)||void 0===n?void 0:n.source.body,variables:o.variables},null,2))});function ra(){var e;return new rt({link:eX([(e=(e,t)=>{let{headers:n}=t;return{headers:{...n}}},new ea(function(t,n){var r=(0,l._T)(t,[]);return new C(function(i){var o,a=!1;return Promise.resolve(r).then(function(n){return e(n,t.getContext())}).then(t.setContext).then(function(){a||(o=n(t).subscribe({next:i.next.bind(i),error:i.error.bind(i),complete:i.complete.bind(i)}))}).catch(i.error.bind(i)),function(){a=!0,o&&o.unsubscribe()}})})),ro,ri]),cache:new nR})}},4978:function(e,t,n){"use strict";n.r(t);var r=n(5893),i=n(7294),o=n(5152),a=n.n(o),s=n(6896),l=n(1163),u=n(6694),c=n(563);let d=a()(()=>n.e(1746).then(n.bind(n,1746)),{loadableGenerated:{webpack:()=>[1746]}}),f=a()(()=>Promise.all([n.e(1537),n.e(4006)]).then(n.bind(n,4006)),{loadableGenerated:{webpack:()=>[4006]}}),p=a()(()=>n.e(2137).then(n.bind(n,2137)),{loadableGenerated:{webpack:()=>[2137]}}),h=a()(()=>Promise.resolve().then(n.bind(n,6694)).then(e=>
20e.DefineAdSlot),{loadableGenerated:{webpack:()=>[6694]},ssr:!1});t.default=e=>{var t,n,o;let{children:a}=e,g=(0,l.useRouter)(),m=null===(t=g.asPath.split("/").filter(e=>e))||void 0===t?void 0:t.length,v=(0,c.L)(null===(o=g.asPath)||void 0===o?void 0:null===(n=o.split("?"))||void 0===n?void 0:n[0]);return(0,i.useEffect)(()=>{(0,u.createGptBase)(v)},[v]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(p,{}),(0,r.jsx)("div",{className:"z-50 flex justify-center w-full bg-white",children:(0,r.jsxs)("div",{className:"z-50 bg-white w-full",children:[(0,r.jsx)(h,{slotName:s.r[5===m?"amq-nota-top":"amq-home-top"],force:!0}),(0,r.jsx)(f,{})]})}),(0,r.jsxs)("div",{className:" relative pb-[470px] lgt:pb-[445px] min-h-screen",children:[a,(0,r.jsx)(d,{})]})]})}},9243:function(e,t,n){"use strict";n.r(t);var r=n(5893);n(7294),t.default=e=>{let{children:t,classes:n="",withoutBorders:i=!1}=e;return(0,r.jsx)("div",{className:"w-full flex justify-center ".concat(n),children:(0,r.jsx)("div",{className:"xlg:w-[1200px] w-full ".concat(i?"":"px-[10px]"," xlg:px-[0px]"),children:t})})}},6330:function(e,t,n){"use strict";n.d(t,{l:function(){return r}});let r=function(e){if("undefined"!=typeof document){let t=document.getElementById(e);t&&t.remove()}}},6694:function(e,t,n){"use strict";n.r(t),n.d(t,{DefineAdSlot:function(){return b},DefineAdSlotInstall:function(){return y},InitializeGPT:function(){return g},RequestOneAd:function(){return v},createGptBase:function(){return m},initAdserver:function(){return w}});var r=n(5893),i=n(7294),o=Object.defineProperty,a=new Map,s=new WeakMap,l=0,u=void 0;i.Component;var c=n(1163),d=n(563),f=n(4298),p=n.n(f);let h={};function g(){return h={},(0,r.jsx)(p(),{strategy:"beforeInteractive",src:"https://securepubads.g.doubleclick.net/tag/js/gpt.js"})}let m=e=>{console.log("im in",{section:e}),"undefined"!=typeof googletag&&(window.googletag=window.googletag||{cmd:[]},googletag.cmd.push(()=>{googletag.setConfig({targeting:{sitio:"amqueretaro",section:e}}),googletag.setConfig({lazyLoad:{fetchMarginPercent:500,renderMarginPercent:200,mobileScaling:2},singleRequest:!0}),googletag.enableServices()}))},v=e=>{let{slotName:t,isOutPage:n=!1}=e,[o,c]=(0,i.useState)(!1),{ref:d,inView:f}=function({threshold:e,delay:t,trackVisibility:n,rootMargin:r,root:o,triggerOnce:c,skip:d,initialInView:f,fallbackInView:p,onChange:h}={}){var g;let[m,v]=i.useState(null),y=i.useRef(),[b,w]=i.useState({inView:!!f,entry:void 0});y.current=h,i.useEffect(()=>{let i;if(!d&&m)return i=function(e,t,n={},r=u){if(void 0===window.IntersectionObserver&&void 0!==r){let i=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:"number"==typeof n.threshold?n.threshold:0,time:0,boundingClientRect:i,intersectionRect:i,rootBounds:i}),()=>{}}let{id:i,observer:o,elements:c}=function(e){let t=Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{var n;return`${t}_${"root"===t?(n=e.root)?(s.has(n)||(l+=1,s.set(n,l.toString())),s.get(n)):"0":e[t]}`}).toString(),n=a.get(t);if(!n){let r;let i=new Map,o=new IntersectionObserver(t=>{t.forEach(t=>{var n;let o=t.isIntersecting&&r.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=o),null==(n=i.get(t.target))||n.forEach(e=>{e(o,t)})})},e);r=o.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:o,elements:i},a.set(t,n)}return n}(n),d=c.get(e)||[];return c.has(e)||c.set(e,d),d.push(t),o.observe(e),function(){d.splice(d.indexOf(t),1),0===d.length&&(c.delete(e),o.unobserve(e)),0===c.size&&(o.disconnect(),a.delete(i))}}(m,(e,t)=>{w({inView:e,entry:t}),y.current&&y.current(e,t),t.isIntersecting&&c&&i&&(i(),i=void 0)},{root:o,rootMargin:r,threshold:e,trackVisibility:n,delay:t},p),()=>{i&&i()}},[Array.isArray(e)?e.toString():e,m,o,r,c,d,n,p,t]);let E=null==(g=b.entry)?void 0:g.target,O=i.useRef();m||!E||c||d||O.current===E||(O.current=E,w({inView:!!f,entry:void 0}));let S=[v,b.inView,b.entry];return S.ref=S[0],S.inView=S[1],S.entry=S[2],S}({});return(0,i.useEffect)(()=>{let e=e=>{"undefined"!=typeof googletag&&googletag.cmd.push(()=>{let t=h[e.slotID],n=h[e.slotName];n&&setTimeout(()=>{googletag.pubads().refresh([n])},400),t&&setTimeout(()=>{googletag.pubads().refresh([t])},400)})};!f||o||n?n&&!o&&(c(!0),e(t)):(c(!0),e(t))},[f,o,t,h,n,[]]),(0,r.jsx)("div",{ref:d})},y=e=>{let{slotName:t,force:n}=e;return((0,i.useEffect)(()=>{let e,n;return"undefined"!=typeof googletag&&googletag.cmd.push(()=>
20{if(t.isOutPage)"static-ad-1"===t.slotID?n=googletag.defineOutOfPageSlot(t.slotName,googletag.enums.OutOfPageFormat.BOTTOM_ANCHOR):e=googletag.defineOutOfPageSlot(t.slotName,t.slotID);else{var r,i;e=googletag.defineSlot(t.slotName,t.sizes,t.slotID);let n=googletag.sizeMapping();(null==t?void 0:t.mobile)&&n.addSize([10,10],null==t?void 0:t.mobile),(null==t?void 0:t.desktop)&&n.addSize([1024,10],null==t?void 0:t.desktop),(((null==t?void 0:null===(r=t.mobile)||void 0===r?void 0:r.length)||0)>0||((null==t?void 0:null===(i=t.desktop)||void 0===i?void 0:i.length)||0)>0)&&(null==e||e.defineSizeMapping(n.build()||[]))}if(n&&(n.setConfig({targeting:{test:"anchor"}}).addService(googletag.pubads()),document.getElementById("status"),googletag.display(n),h[null==t?void 0:t.slotName]=n),e){e.setConfig({targeting:{test:"lazyload"}}),h[null==t?void 0:t.slotID]=e;let n=[{code:t.slotName,mediaTypes:{banner:{sizes:t.sizes}},bids:[{bidder:"taboola",params:{tagId:t.slotID,publisherId:"1977061"}}]}];pbjs.que=pbjs.que||[],pbjs.que.push(function(){pbjs.setConfig({bidderTimeout:1500,priceGranularity:{buckets:[{min:0,max:5,increment:.1},{min:5,max:20,increment:.5}]},userSync:{iframeEnabled:!0}}),pbjs.addAdUnits(n),pbjs.requestBids({bidsBackHandler:w})}),e.addService(googletag.pubads()),googletag.display(null==t?void 0:t.slotID)}}),()=>{"undefined"!=typeof googletag&&googletag.cmd.push(()=>{h[t.slotID]&&(googletag.destroySlots([h[t.slotID]]),delete h[t.slotID])})}},[null==t?void 0:t.desktop,null==t?void 0:t.isOutPage,null==t?void 0:t.mobile,null==t?void 0:t.sizes,null==t?void 0:t.slotID,null==t?void 0:t.slotName]),"static-ad-1"===t.slotID)?(0,r.jsx)("div",{id:"page-content",children:(0,r.jsx)("div",{id:"static-ad-1"})}):(0,r.jsx)("div",{className:"flex justify-center",children:(0,r.jsx)("div",{className:"centered adSlot",id:t.slotID})})},b=e=>{let{slotName:t,force:n}=e,i=(0,c.useRouter)(),o=(0,d.L)(i.asPath);return(0,r.jsx)(y,{slotName:t,force:n},o+t.slotName)},w=()=>{pbjs.initAdserverSet||(pbjs.initAdserverSet=!0,googletag.cmd.push(function(){pbjs.libLoaded?pbjs.que.push(function(){pbjs.setTargetingForGPTAsync(),googletag.pubads().refresh()}):googletag.pubads().refresh()}))}},563:function(e,t,n){"use strict";n.d(t,{L:function(){return r}});let r=e=>{var t;let n=e.split("/").filter(e=>e);return(null==n?void 0:n[0])!=="categoria"?0===n.length||n.length>=2?"general-to-posts":null==n?void 0:n[0]:null==n?void 0:null===(t=n[1].split("?"))||void 0===t?void 0:t[0]}},5857:function(e,t,n){"use strict";n.d(t,{_:function(){return r},z:function(){return i}});let r=(0,n(7294).createContext)({allMenu:[],tagsHeader:[],magazineMenu:[]}),{Provider:i}=r},8634:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return R}});var r=n(5893),i=n(7582),o=n(8287),a=n(3914),s=n(5317),l=function(e){var t=e.client,n=e.children,r=(0,s.K)(),l=a.useContext(r),u=a.useMemo(function(){return(0,i.pi)((0,i.pi)({},l),{client:t||l.client})},[l,t]);return(0,o.kG)(u.client,47),a.createElement(r.Provider,{value:u},n)},u=n(9601);let c=e=>{let{children:t}=e;return(0,r.jsx)(l,{client:(0,u.n)(),children:t})};var d=n(6330),f=n(4978),p=n(5675),h=n.n(p),g=n(7294),m=n(9243),v=n(1664),y=n.n(v),b=n(3859);class w extends g.Component{static getDerivedStateFromError(e){return{hasError:!0}}componentDidCatch(e,t){console.log({error:e,errorInfo:t})}render(){return this.state.hasError?(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(f.default,{children:(0,r.jsx)(m.default,{children:(0,r.jsxs)("div",{className:"mt-[50px] pb-[50px] relative",children:[(0,r.jsx)("div",{className:"absolute z-[-5] w-full h-full flex justify-center items-center top-0 left-0",children:(0,r.jsx)("div",{className:"relative w-[200px] h-[150px]",children:(0,r.jsx)(h(),{src:b.Z,alt:"logo 404",fill:!0,style:{objectFit:"contain",opacity:.3}})})}),(0,r.jsx)("div",{className:"text-center font-Roboto font-bold text-[#E20612] text-[75px] leading-[75px] sm:text-[100px] sm:leading-[100px] xlg:text-[150px] xlg:leading-[150px] xlg:text-[192px] xlg:leading-[192px]",children:"404"}),(0,r.jsx)("div",{className:"flex items-center relative mt-8 h-[148px]",children:(0,r.jsxs)("div",{className:"text-center text-black w-full text-[20px] ",children:["\xa1VAYA! La p\xe1gina que est\xe1s buscando no existe. Por favor, vuelva a"," ",(0,r.jsx)(y(),{prefetch:!1,className:"text-[#E20612]",href:"/",children:"inicio"}),"."]})}),(0,r.jsx)("div",{className:"mt-8 mb-4",children:(0,r.jsx)("button",{type:"button",onClick:()=>this.setState({hasError:!1}),children:"\xbfIntentar nuevamente?"})})]})})})}):this.props.children}constructor(e){super(e),this.state={hasError:!1}}}var E=n(5857);let O=e=>{var t,n;let{children:i}=e,[o,a]=(0,g.useState)({allMenus:[],tagsHeader:{tags:[]},perfilesMagazine:{magazines:[]}});(0,g.useEffect)(()=>{(async()=>{let e=await fetch("/all-menu.json",{cache:"no-store"}),t=await e.json();a({allMenus:null==t?void 0:t.allMenus,tagsHeader:{tags:null==t?void 0:t.tagsHeader},perfilesMagazine:{magazines:null==t?void 0:t.perfilesMagazine.magazines}})})()},[]);let s={allMenu:null==o?void 0:o.allMenus,tagsHeader:null==o?void 0:null===(t=o.tagsHeader)||void 0===t?void 0:t.tags,magazineMenu:null==o?void 0:null===(n=o.perfilesMagazine)||void 0===n?void 0:n.magazines};return(0,r.jsx)(E.z,{value:s,children:i})};n(1784);var S=n(2488),T=n(9008),k=n.n(T),I=n(1163),A=n(2459),_=n.n(A),C=n(6694),D=n(9186),x=n(4298),j=n.n(x);function R(e){let{Component:t,pageProps:i}=e,o=(0,I.useRouter)();return(0,S.Z)({scriptContent:' var _comscore = _comscore || [];\n _comscore.push({\n c1: "2", c2: "18411745",\n options: {\n enableFirstPartyCookie: true,\n bypassUserConsentRequirementFor1PCookie: true\n }\n });\n (function () {\n var s = document.createElement("script"), el = document.getElementsByTagName("script")[0]; s.async = true;\n s.src = "https://sb.scorecardresearch.com/cs/18411745/beacon.js";\n el.parentNode.insertBefore(s, el);\n })();\n ',scriptId:"comscore-".concat(o.asPath,"}"),position:S.q.Head}),(0,g.useEffect)(()=>{let e=()=>{(0,d.l)("comscore-".concat(o.asPath,"}"))};return o.events.on("routeChangeStart",()=>{e()}),()=>{o.events.off("routeChangeStart",()=>{e()})}},[o.events,o.asPath]),(0,g.useEffect)(()=>
20{window&&(n(4805),console.log({pbjs}),pbjs.bidderSettings={taboola:{storageAllowed:!0}});let e=setTimeout(C.initAdserver,D.ou);return()=>{e&&clearTimeout(e)}},[o.events,o.asPath]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(k(),{children:(0,r.jsx)("meta",{name:"viewport",content:"width=device-width"})}),(0,r.jsx)(j(),{id:"easy-script",strategy:"afterInteractive",async:!0,src:"https://code.digitalroom.tech/easy-alert/dist/bundle.js?v=5.0",onReady:()=>{window.EA&&window.EA.Core.initialize({appId:"698c78e96eef70d3cda0bcd6",vapidKey:"BFuQziNx1cNk9XpuZvOCJnVx-0LuxN50gdODQm5kvl9VgpG8Rn3kcVF_nzLsBq5bi42vwS2z0rrf5LCgNXBUtWo"})}}),(0,r.jsx)("noscript",{children:(0,r.jsx)("img",{src:"https://sb.scorecardresearch.com/p?c1=2&c2=18411745&cv=4.4.0&cj=1"})}),(0,r.jsx)(_(),{color:"#E20612",height:4,showSpinner:!1,zIndex:999999999}),(0,r.jsx)(w,{children:(0,r.jsx)(c,{children:(0,r.jsx)(O,{children:(0,r.jsx)(t,{...i})})})})]})}},6896:function(e,t,n){"use strict";n.d(t,{r:function(){return r}});let r={"amq-nota-top":{slotID:"amq-nota-top",slotName:"/60611244/amq_nota/top",sizes:[[320,100],[300,100],[728,90]],desktop:[[728,90],[970,90],[970,250],[980,120]],mobile:[[320,50],[320,100],[300,100]]},"amq-nota-leaderboard-1":{slotID:"amq-nota-leaderboard_1",slotName:"/60611244/amq_nota/leaderboard_1",sizes:[[320,100],[300,100],[728,90]],desktop:[[728,90]],mobile:[[320,50],[320,100],[300,100]]},"amq-nota-leaderboard-2":{slotID:"amq-nota-leaderboard_2",slotName:"/60611244/amq_nota/leaderboard_2",sizes:[[320,100],[300,100],[728,90]],desktop:[[728,90],[970,90],[970,250],[980,120]],mobile:[[320,50],[320,100],[300,100]]}
20,"amq-nota-leaderboard-3":{slotID:"amq-nota-leaderboard_3",slotName:"/60611244/amq_nota/leaderboard_3",sizes:[[320,100],[300,100],[728,90]],desktop:[[728,90],[970,90],[970,250],[980,120]],mobile:[[320,50],[320,100],[300,100]]},"amq-nota-leaderboard-4":{slotID:"amq-nota-leaderboard-4",slotName:"/60611244/amq_nota/leaderboard_4",sizes:[[320,100],[300,100],[728,90]],desktop:[[728,90],[970,90],[970,250],[980,120]],mobile:[[320,50],[320,100],[300,100]]},"amq-nota-billboard-1":{slotID:"amq-nota-billboard-1",slotName:"/60611244/amq_nota/billboard_1",sizes:[[320,100],[300,100],[980,120],[970,90],[970,250],[728,90]],desktop:[[728,90],[970,90],[970,250],[980,120]],mobile:[[320,50],[320,100],[300,100]]},"amq-nota-billboard-2":{slotID:"amq-nota-billboard-2",slotName:"/60611244/amq_nota/billboard_2",sizes:[[320,100],[300,100],[980,120],[970,90],[970,250],[728,90]],desktop:[[728,90],[970,90],[970,250],[980,120]],mobile:[[320,50],[320,100],[300,100]]},"amq-nota-halfpage-1":{slotID:"amq-nota-halfpage-1",slotName:"/60611244/amq_nota/halfpage_1",sizes:[[300,600]]},"amq-nota-halfpage-2":{slotID:"amq-nota-halfpage-2",slotName:"/60611244/amq_nota/halfpage_2",sizes:[[300,600]]},"amq-nota-box-1":{slotID:"amq-nota-box-1",slotName:"/60611244/amq_nota/box_1",sizes:[[300,250]]},"amq-nota-box-2":{slotID:"amq-nota-box-2",slotName:"/60611244/amq_nota/box_2",sizes:[[300,250]]},"amq-nota-box-3":{slotID:"amq-nota-box-3",slotName:"/60611244/amq_nota/box_3",sizes:[[300,250]]},"amq-nota-box-4":{slotID:"amq-nota-box-4",slotName:"/60611244/amq_nota/box_4",sizes:[[300,250]]},"amq-nota-box-5":{slotID:"amq-nota-box-5",slotName:"/60611244/amq_nota/box_5",sizes:[[300,250]]},"amq-nota-box-6":{slotID:"amq-nota-box-6",slotName:"/60611244/amq_nota/box_6",sizes:[[300,250]]},"amq-nota-itt":{slotID:"amq-nota-itt",slotName:"/60611244/amq_nota/itt",sizes:[[1,1]]},"amq-nota-footer":{slotID:"amq-nota-footer",slotName:"/60611244/amq_nota/footer",sizes:[[970,90],[728,90],[320,50],[1,1],[320,100]],desktop:[[728,90],[970,90],[970,250],[980,120]],mobile:[[320,50],[320,100],[300,100]]},"amq-home-top":{slotID:"amq-home-top",slotName:"/60611244/amq_home/top",sizes:[[320,100],[300,100],[728,90]],desktop:[[728,90],[970,90],[970,250],[970,280],[980,120]],mobile:[[320,50],[320,100],[300,100]]},"amq-home-leaderboard-1":{slotID:"amq-home-leaderboard-1",slotName:"/60611244/amq_home/leaderboard_1",sizes:[[320,100],[300,100],[728,90]],desktop:[[728,90],[970,90],[970,250],[980,120]],mobile:[[320,50],[320,100],[300,100]]},"amq-home-leaderboard-2":{slotID:"amq-home-leaderboard-2",slotName:"/60611244/amq_home/leaderboard_2",sizes:[[320,100],[300,100],[728,90]],desktop:[[728,90],[970,90],[970,250],[980,120]],mobile:[[320,50],[320,100],[300,100]]}
20,"amq-home-leaderboard-3":{slotID:"amq-home-leaderboard-3",slotName:"/60611244/amq_home/leaderboard_3",sizes:[[320,100],[300,100],[728,90]],desktop:[[728,90],[970,90],[970,250],[980,120]],mobile:[[320,50],[320,100],[300,100]]},"amq-home-leaderboard-4":{slotID:"amq-home-leaderboard-4",slotName:"/60611244/amq_home/leaderboard_4",sizes:[[320,100],[300,100],[728,90]],desktop:[[728,90],[970,90],[970,250],[980,120]],mobile:[[320,50],[320,100],[300,100]]},"amq-home-billboard-1":{slotID:"amq-home-billboard-1",slotName:"/60611244/amq_home/billboard_1",sizes:[[320,100],[300,100],[980,120],[970,90],[970,250],[970,280],[728,90]],desktop:[[728,90],[970,90],[970,250],[980,120],[970,280]],mobile:[[320,50],[320,100],[300,100]]},"amq-home-billboard-2":{slotID:"amq-home-billboard-2",slotName:"/60611244/amq_home/billboard_2",sizes:[[320,100],[300,100],[980,120],[970,90],[970,250],[970,280],[728,90]],desktop:[[728,90],[970,90],[970,250],[980,120],[970,280]],mobile:[[320,50],[320,100],[300,100]]},"amq-home-halfpage-1":{slotID:"amq-home-halfpage-1",slotName:"/60611244/amq_home/halfpage_1",sizes:[[300,600]]},"amq-home-halfpage-2":{slotID:"amq-home-halfpage-2",slotName:"/60611244/amq_home/halfpage_2",sizes:[[300,600]]},"amq-home-box-1":{slotID:"amq-home-box-1",slotName:"/60611244/amq_home/box_1",sizes:[[300,250]]},"amq-home-box-2":{slotID:"amq-home-box-2",slotName:"/60611244/amq_home/box_2",sizes:[[300,250]]},"amq-home-box-3":{slotID:"amq-home-box-3",slotName:"/60611244/amq_home/box_3",sizes:[[300,250]]},"amq-home-box-4":{slotID:"amq-home-box-4",slotName:"/60611244/amq_home/box_4",sizes:[[300,250]]},"amq-home-box-5":{slotID:"amq-home-box-5",slotName:"/60611244/amq_home/box_5",sizes:[[300,250]]},"amq-home-box-6":{slotID:"amq-home-box-6",slotName:"/60611244/amq_home/box_6",sizes:[[300,250]]},"amq-home-itt":{slotID:"amq-home-itt",slotName:"/60611244/amq-home/itt",isOutPage:!0},"amq-home-footer":{slotID:"amq-home-footer",slotName:"/60611244/amq_home/footer",sizes:[[970,90],[728,90],[320,50],[1,1],[320,100]],desktop:[[728,90],[970,90],[970,250],[980,120]],mobile:[[320,50],[320,100],[300,100]]}}},9186:function(e,t,n){"use strict";n.d(t,{Jx:function(){return p},K9:function(){return d},S_:function(){return l},T9:function(){return h},cE:function(){return u},eH:function(){return g},jg:function(){return s},oo:function(){return c},ou:function(){return f},wx:function(){return a}});var r,i,o=n(3454);let a=parseInt(null!==(r=o.env.NEXT_PUBLIC_POST_PER_PAGE)&&void 0!==r?r:"12"),s="https://aldialogo.mx";
20o.env.NEXT_PUBLIC_FRONTEND_SITEMAPS;let l="https://admin.aldialogo.mx/aldialogo-api",u="https://admin.aldialogo.mx",c=null!==(i=o.env.NEXT_PUBLIC_WRONG_IMAGE_SOURCE)&&void 0!==i?i:"da\xf1ada";isNaN(parseInt("600"))||parseInt("600"),isNaN(parseInt("600"))||parseInt("600");let d=btoa("brian.soporte:brian.soporte1234%%"),f=isNaN(parseInt(o.env.NEXT_PUBLIC_PREBID_TIMEOUT))?1500:parseInt(o.env.NEXT_PUBLIC_PREBID_TIMEOUT),p=[{name:"Miguel \xc1ngel Flores",ocupation:"Director general editorial",email:"[email protected]"},{name:"Salvador Castillo",ocupation:"Jefatura de Reporteros",email:"[email protected]"},{name:"Estefany Gonz\xe1lez",ocupation:"Jefatura Digital",email:"[email protected] "},{name:"Miguel Tierrafr\xeda",ocupation:"Editor AD Quer\xe9taro",email:"[email protected]"},{name:"Tere Garay",ocupation:"Jefatura de informaci\xf3n",email:"[email protected]"},{name:"Marco Antonio Rodr\xedguez mart\xedn",ocupation:"Editor de Arte",email:"[email protected]"}],h=[{name:"Antonio Collado",ocupation:"Director comercial",email:"[email protected]"},{name:"Ana Laura Hern\xe1ndez",ocupation:"Facturaci\xf3n",email:"[email protected]"},{name:"Mariana Picazo",ocupation:"Coordinadora administrativa",email:"[email protected] "}],g=[{type:"Tel\xe9fono",value:"4422919900",href:"tel:+524422919900"},{type:"Publicidad",value:"[email protected]",href:"maito:[email protected]"},{type:"Domicilio",value:"Av Constituyentes 109 int. 11, Colonia Carretas. C.P. 76050. Santiago de Quer\xe9taro. Qro.",href:"https://www.google.com/maps/@20.5877874,-100.371628,3a,75y,347.12h,83.74t/data=!3m6!1e1!3m4!1sC9MMNlELEeObxsZleFlxgw!2e0!7i16384!8i8192"}]},2488:function(e,t,n){"use strict";n.d(t,{q:function(){return i}});var r,i,o=n(7294);(r=i||(i={})).Head="HEAD",r.Body="BODY",r.Footer="FOOTER",t.Z=e=>{let{src:t="",delay:n=10,scriptContent:r="",position:i="HEAD",scriptId:a="",isLoading:s=!0,type:l=""}=e,[u,c]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{let e=document.querySelector('script[src="'.concat(t,'"]')),o=null;return!e&&s&&n&&(o=setTimeout(()=>{(function(){if(e=document.createElement("script"),t&&(e.src=t),a){let t=document.getElementById(a);t&&t.remove(),e.id=a}e.async=!0,l&&(e.type=l),e.appendChild(document.createTextNode(r)),"HEAD"===i?document.head.appendChild(e):document.body.appendChild(e),c(!0)})()},n)),()=>{o&&clearTimeout(o)}},[n,i,r,t,a,s,l]),{loaded:u}}},4805:function(){if(window.pbjs&&window.pbjs.libLoaded)try{window.pbjs.getConfig("debug")&&console.warn("Attempted to load a copy of Prebid.js that clashes with the existing 'pbjs' instance. Load aborted.")}catch(e){}else(()=>{var e,t,n,r,i={23715(e,t,n){n.d(t,{A:()=>r});let r={pbGlobal:"pbjs",defineGlobal:!0,features:{NATIVE:!0,VIDEO:!0,UID2_CSTG:!0,GREEDY:!1,AUDIO:!0,LOG_NON_ERROR:!0,LOG_ERROR:!0},distUrlBase:"https://cdn.jsdelivr.net/npm/[email protected]/dist/chunks/",skipCalls:{}}},35481(e){/* 21* @license MIT
22* Fun Hooks v1.1.0 23* (c) @snapwich 24*/o.SYNC=1,o.ASYNC=2,o.QUEUE=4;var t="fun-hooks",n=Object.freeze({ready:0}),r=new WeakMap;function i(e,t){return Array.prototype.slice.call(e,t)}function o(e){var a,s={},l=[];function u(e,t){return"function"==typeof e?p.call(null,"sync",e,t):"string"==typeof e&&"function"==typeof t?p.apply(null,arguments):"object"==typeof e?c.apply(null,arguments):void 0}function c(e,t,n){var r=!0;void 0===t&&(t=Object.getOwnPropertyNames(e).filter(e=>!e.match(/^_/)),r=!1);var i={},o=["constructor"];do t.forEach(function(t){var r=t.match(/(?:(sync|async):)?(.+)/),a=r[1]||"sync",s=r[2];if(!i[s]&&"function"==typeof e[s]&&-1===o.indexOf(s)){var l=e[s];i[s]=e[s]=p(a,l,n?[n,s]:void 0)}}),e=Object.getPrototypeOf(e);while(r&&e);return i}function d(e){var n=Array.isArray(e)?e:e.split(".");return n.reduce(function(r,i,o){var s=r[i],u=!1;return s||(o===n.length-1?(a||l.push(function(){u||console.warn(t+": referenced '"+e+"' but it was never created")}),r[i]=f(function(e){r[i]=e,u=!0})):r[i]={})},s)}function f(e){var t=[],n=[],i=function(){},o={before:function(e,n){return a.call(this,t,"before",e,n)},after:function(e,t){return a.call(this,n,"after",e,t)},getHooks:function(e){var r=t.concat(n);"object"==typeof e&&(r=r.filter(function(t){return Object.keys(e).every(function(n){return t[n]===e[n]})}));try{Object.assign(r,{remove:function(){return r.forEach(function(e){e.remove()}),this}})}catch(e){console.error("error adding `remove` to array, did you modify Array.prototype?")}return r},removeAll:function(){return this.getHooks().remove()}};return r.set(o.after,{install:function(r,o,a){this.type=r,i=a,a(t,n),e&&e(o)}}),o;function a(e,r,o,a){var s={hook:o,type:r,priority:a||10,remove:function(){var r=e.indexOf(s);-1!==r&&(e.splice(r,1),i(t,n))}};return e.push(s),e.sort(function(e,t){return t.priority-e.priority}),i(t,n),this}}function p(n,s,u){var c=s.after&&r.get(s.after);if(c){if(c.type!==n)throw t+": recreated hookable with different type";return s}var p,h=u?d(u):f(),g={get:function(e,t){return h[t]||Reflect.get.apply(Reflect,arguments)}};a||l.push(v);var m=new Proxy(s,g);return r.get(m.after).install(n,m,function(e,t){var r,o=[];function a(e){o.push(e.hook)}e.length||t.length?(e.forEach(a),r=o.push(void 0)-1,t.forEach(a),p=function(e,t,a){var s,l=o.slice(),u=0,c="async"===n&&"function"==typeof a[a.length-1]&&a.pop();function d(e){"sync"===n?s=e:c&&c.apply(null,arguments)}function f(e){if(l[u]){var r=i(arguments);return f.bail=d,r.unshift(f),l[u++].apply(t,r)}"sync"===n?s=e:c&&c.apply(null,arguments)}return l[r]=function(){var r=i(arguments,1);"async"===n&&c&&(delete f.bail,r.push(f));var o=e.apply(t,r);"sync"===n&&f(o)},f.apply(null,a),s}):p=void 0,v()}),m;function v(){!a&&("sync"!==n||e.ready&o.SYNC)&&("async"!==n||e.ready&o.ASYNC)?"sync"!==n&&e.ready&o.QUEUE?g.apply=function(){var e=arguments;l.push(function(){m.apply(e[1],e[2])})}:g.apply=function(){throw t+": hooked function not ready"}:g.apply=p}}return(e=Object.assign({},n,e)).ready?u.ready=function(){a=!0,function(e){for(var t;t=e.shift();)t()}(l)}:a=!0,u.get=d,u}e.exports=o},58928(e,t,n){function r(e,t,n,r,i){for(t=t.split?t.split("."):t,r=0;r<t.length;r++)e=e?e[t[r]]:i;return e===i?n:e}n.d(t,{A:()=>r})},83435(e,t,n){function r(e,t,n){t.split&&(t=t.split("."));for(var r,i,o=0,a=t.length,s=e;o<a&&"__proto__"!=(i=""+t[o++])&&"constructor"!==i&&"prototype"!==i;)s=s[i]=o===a?n:typeof(r=s[i])==typeof t?r:0*t[o]!=0||~(""+t[o]).indexOf(".")?{}:[]}n.d(t,{J:()=>r})},91490(e,t,n){n.d(t,{Q:()=>function e(t){var n,r,i;if(Array.isArray(t)){for(r=Array(n=t.length);n--;)r[n]=(i=t[n])&&"object"==typeof i?e(i):i;return r}if("[object Object]"===Object.prototype.toString.call(t)){for(n in r={},t)"__proto__"===n?Object.defineProperty(r,n,{value:e(t[n]),configurable:!0,enumerable:!0,writable:!0}):r[n]=(i=t[n])&&"object"==typeof i?e(i):i;return r}return t}})},98158(e,t,n){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t,n){var i;return(i=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=r(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==r(i)?i:i+"")in e)?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{A:()=>i})}},o={};function a(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={exports:{}};return i[e].call(n.exports,n,n.exports,a),n.exports}a.m=i,r=[],a.O=(e,t,n,i)=>{if(!t){var o=1/0;for(c=0;c<r.length;c++){for(var[t,n,i]=r[c],s=!0,l=0;l<t.length;l++)o>=i&&Object.keys(a.O).every(e=>a.O[e](t[l]))?t.splice(l--,1):(s=!1,i<o&&(o=i));if(s){r.splice(c--,1);var u=n();void 0!==u&&(e=u)}}return e}i=i||0;for(var c=r.length;c>0&&r[c-1][2]>i;c--)r[c]=r[c-1];r[c]=[t,n,i]},a.n=e=>
24{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},e={39673:0},a.O.j=t=>0===e[t],t=(t,n)=>{var r,i,[o,s,l]=n,u=0;if(o.some(t=>0!==e[t])){for(r in s)a.o(s,r)&&(a.m[r]=s[r]);if(l)var c=l(a)}for(t&&t(n);u<o.length;u++)i=o[u],a.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return a.O(c)},(n=self.pbjsChunk=self.pbjsChunk||[]).forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n));var s=a.O(void 0,[60802,37769,40315,51085],()=>a(88955));s=a.O(s)})(),(self.pbjsChunk=self.pbjsChunk||[]).push([[60802],{765(e,t,n){n.d(t,{k:()=>i,rT:()=>a,uP:()=>o});var r=n(23715);function i(){return r.A.pbGlobal}function o(){return r.A.defineGlobal}function a(){return r.A.distUrlBase}},1124(e,t,n){n.d(t,{j:()=>c,q:()=>f});var r=n(10466),i=n(91933);let o={buckets:[{max:5,increment:.5}]},a={buckets:[{max:20,increment:.1}]},s={buckets:[{max:20,increment:.01}]},l={buckets:[{max:3,increment:.01},{max:8,increment:.05},{max:20,increment:.5}]},u={buckets:[{max:5,increment:.05},{max:10,increment:.1},{max:20,increment:.5}]};function c(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=parseFloat(e);return isNaN(r)&&(r=""),{low:""===r?"":d(e,o,n),med:""===r?"":d(e,a,n),high:""===r?"":d(e,s,n),auto:""===r?"":d(e,u,n),dense:""===r?"":d(e,l,n),custom:""===r?"":d(e,t,n)}}function d(e,t,n){let o="";if(!f(t))return o;let a=t.buckets.reduce((e,t)=>e.max>t.max?e:t,{max:0}),s=0,l=t.buckets.find(t=>{if(e>a.max*n){let e=t.precision;void 0===e&&(e=2),o=(t.max*n).toFixed(e)}else{if(e<=t.max*n&&e>=s*n)return t.min=s,t;s=t.max}});return l&&(o=function(e,t,n){let o,a;let s=void 0!==t.precision?t.precision:2,l=t.increment*n,u=t.min*n,c=Math.floor,d=i.$W.getConfig("cpmRoundingFunction");"function"==typeof d&&(c=d);let f=Math.pow(10,s+2),p=(e*f-u*f)/(l*f);try{o=c(p)*l+u}catch(e){a=!0}return(a||"number"!=typeof o)&&((0,r.logWarn)("Invalid rounding function passed in config"),o=Math.floor(p)*l+u),(o=Number(o.toFixed(10))).toFixed(s)}(e,l,n)),o}function f(e){if((0,r.isEmpty)(e)||!e.buckets||!Array.isArray(e.buckets))return!1;let t=!0;return e.buckets.forEach(e=>{e.max&&e.increment||(t=!1)}),t}},3129(e,t,n){n.d(t,{Q:()=>r});let r=(0,n(32592).A_)("sync",()=>{})},3516(e,t,n){n.d(t,{JN:()=>D,JS:()=>j,a$:()=>T,eI:()=>k,fn:()=>x,xb:()=>I});var r=n(5672),i=n(51409),o=n(91933),a=n(63320),s=n(73391),l=n(80356),u=n(36220),c=n(11418),d=n(18014),f=n(10466),p=n(26665),h=n(32592),g=n(63006),m=n(77156),v=n(37841),y=n(53202),b=n(77610),w=n(70736),E=n(45808);let O=["cpm","ttl","creativeId","netRevenue","currency"],S={auctionId:e=>{var t;return null===(t=e.ortb2)||void 0===t||null===(t=t.source)||void 0===t?void 0:t.tid},transactionId:e=>{var t;return null===(t=e.ortb2Imp)||void 0===t||null===(t=t.ext)||void 0===t?void 0:t.tid}};function T(e){let t=Array.isArray(e.supportedMediaTypes)?{supportedMediaTypes:e.supportedMediaTypes}:void 0;function n(e){let n=I(e);i.Ay.registerBidAdapter(n,e.code,t)}n(e),Array.isArray(e.aliases)&&e.aliases.forEach(t=>{let r,o,a=t;(0,p.Qd)(t)&&(a=t.code,r=t.gvlid,o=t.skipPbsAliasing),i.Ay.aliasRegistry[a]=e.code,n(Object.assign({},e,{code:a,gvlid:r,skipPbsAliasing:o}))})}let k=(0,f.memoize)(e=>{let{bidderCode:t}=e,n=(0,y.io)(E.VJ,(0,b.s)(w.tW,t));function r(e,t,r){return S.hasOwnProperty(t)?n?S[t](e):null:Reflect.get(e,t,r)}function i(e,t){let n=new Proxy(e,t);return Object.entries(e).filter(e=>{let[t,n]=e;return"function"==typeof n}).forEach(t=>{let[r,i]=t;n[r]=i.bind(e)}),n}let o=(0,f.memoize)(e=>i(e,{get:r}),e=>e.bidId);return{bidRequest:o,bidderRequest:e=>i(e,{get:(t,n,i)=>"bids"===n?e.bids.map(o):r(t,n,i)})}});function I(e){return Object.assign((0,r.A)(e.code),{getSpec:function(){return Object.freeze(Object.assign({},e))},registerSyncs:t,callBids:function(n,r,s,l,u,h){if(!Array.isArray(n.bids))return;let g=k(n),y={},b=[];function w(){s(),o.$W.runWithBidder(e.code,()=>
24{d.emit(c.qY.BIDDER_DONE,n),t(b,n.gdprConsent,n.uspConsent,n.gppConsent)})}let E=j(n).measureTime("validate",()=>n.bids.filter(t=>{var n;return n=g.bidRequest(t),!!e.isBidRequestValid(n)||((0,f.logWarn)("Invalid bid sent to bidder ".concat(e.code,": ").concat(JSON.stringify(n))),!1)}));if(0===E.length)return void w();let O={};E.forEach(e=>{O[e.bidId]=e}),_(e,E,n,l,h,{onRequest:e=>d.emit(c.qY.BEFORE_BIDDER_HTTP,n,e),onResponse:t=>{u(e.code),b.push(t)},onPaapi:e=>{let t=O[e.bidId];t?D(t,e):(0,f.logWarn)("Received fledge auction configuration for an unknown bidId",e)},onError:(t,r)=>{r.timedOut||u(e.code),i.Ay.callBidderError(e.code,r,n),d.emit(c.qY.BIDDER_ERROR,{error:r,bidderRequest:n}),(0,f.logError)("Server call for ".concat(e.code," failed: ").concat(t," ").concat(r.status,". Continuing without bids."),{bidRequests:E})},onBid:t=>{let n=O[t.requestId];if(n){var i;if(t.adapterCode=n.bidder,function(e,t){let n=m.u.get(t,"allowAlternateBidderCodes")||!1,r=m.u.get(t,"allowedAlternateBidderCodes");return!!(e&&t&&t!==e&&(r=(0,p.cy)(r)?r.map(e=>e.trim().toLowerCase()).filter(e=>!!e).filter(f.uniques):r,!n||(0,p.cy)(r)&&"*"!==r[0]&&!r.includes(e)))}(t.bidderCode,n.bidder))return(0,f.logWarn)("".concat(t.bidderCode," is not a registered partner or known bidder of ").concat(n.bidder,", hence continuing without bid. If you wish to support this bidder, please mark allowAlternateBidderCodes as true in bidderSettings.")),void r.reject(n.adUnitCode,t,c.Tf.BIDDER_DISALLOWED);t.originalCpm=t.cpm,t.originalCurrency=t.currency,t.meta=t.meta||Object.assign({},t[n.bidder]),t.deferBilling=n.deferBilling,t.deferRendering=t.deferBilling&&(null!==(i=t.deferRendering)&&void 0!==i?i:"function"!=typeof e.onBidBillable);let o=Object.assign((0,a.O)(n),t,(0,f.pick)(n,Object.keys(S)));!function(e,t){let n=(0,v.BO)(t.metrics);n.checkpoint("addBidResponse"),y[e]=!0,n.measureTime("addBidResponse.validate",()=>x(e,t))?r(e,t):r.reject(e,t,c.Tf.INVALID)}(n.adUnitCode,o)}else(0,f.logWarn)("Bidder ".concat(e.code," made bid for unknown request ID: ").concat(t.requestId,". Ignoring.")),r.reject(null,t,c.Tf.INVALID_REQUEST_ID)},onCompletion:w})}});function t(t,n,r,i){C(e,t,n,r,i)}}let A=["bids","paapi"],_=(0,h.A_)("async",function(e,t,n,r,i,o){let{onRequest:a,onResponse:s,onPaapi:l,onError:u,onBid:d,onCompletion:h}=o,g=j(n);h=g.startTiming("total").stopBefore(h);let v=k(n),O=g.measureTime("buildRequests",()=>e.buildRequests(t.map(v.bidRequest),v.bidderRequest(n)));if(Array.isArray(O)||(O=[O]),!O||0===O.length)return void h();let S=(0,f.delayExecution)(h,O.length);O.forEach(t=>{var n,o;let h=g.fork();function v(e){null!=e&&(e.metrics=h.fork().renameWith()),d(e)}let O=i(function(n,r){let i,o;k();try{n=JSON.parse(n)}catch(e){}s(n={body:n,headers:{get:r.getResponseHeader.bind(r)}});try{n=h.measureTime("interpretResponse",()=>e.interpretResponse(n,t))}catch(t){return(0,f.logError)("Bidder ".concat(e.code," failed to interpret the server's response. Continuing without bids"),null,t),void S()}n&&!Object.keys(n).some(e=>!A.includes(e))?(i=n.bids,o=n.paapi):i=n,(0,p.cy)(o)&&o.forEach(l),i&&((0,p.cy)(i)?i.forEach(v):v(i)),S()}),T=i(function(e,t){k(),u(e,t),S()});a(t);let k=h.startTiming("net"),I="TRUE"===(0,f.getParameterByName)(c.M).toUpperCase()||(0,f.debugTurnedOn)();function _(n){var r;let i=t.options;return Object.assign(n,i,{browsingTopics:!(null!=i&&i.hasOwnProperty("browsingTopics")&&!i.browsingTopics)&&(null===(r=m.u.get(e.code,"topicsHeader"))||void 0===r||r)&&(0,y.io)(E.DL,(0,b.s)(w.tW,e.code)),suppressTopicsEnrollmentWarning:null!=i&&i.hasOwnProperty("suppressTopicsEnrollmentWarning")?i.suppressTopicsEnrollmentWarning:!I})}switch(t.method){case"GET":r("".concat(t.url).concat((o=t.data)?"?".concat("object"==typeof o?(0,f.parseQueryStringParameters)(o):o):""),{success:O,error:T},void 0,_({method:"GET",withCredentials:!0}));break;case"POST":let C=null===(n=t.options)||void 0===n?void 0:n.endpointCompression,D=e=>{let{url:t,payload:n}=e;r(t,{success:O,error:T},n,_({method:"POST",contentType:"text/plain",withCredentials:!0}))};C&&I&&(0,f.logWarn)("Skipping GZIP compression for ".concat(e.code," as debug mode is enabled")),C&&!I&&(0,f.isGzipCompressionSupported)()?(0,f.compressDataWithGZip)(t.data).then(e=>{let n=new URL(t.url);n.searchParams.has("gzip")||n.searchParams.set("gzip","1"),D({url:n.href,payload:e})}):D({url:t.url,payload:"string"==typeof t.data?t.data:JSON.stringify(t.data)});break;default:(0,f.logWarn)("Skipping invalid request from ".concat(e.code,". Request type ").concat(t.method," must be GET or POST")),S()}})},"processBidderRequests"),C=(0,h.A_)("async",function(e,t,n,r,a){let l=o.$W.getConfig("userSync.aliasSyncEnabled");if(e.getUserSyncs&&(l||!i.Ay.aliasRegistry[e.code])){let i=e.getUserSyncs({iframeEnabled:s.zt.canBidderRegisterSync("iframe",e.code),pixelEnabled:s.zt.canBidderRegisterSync("image",e.code)},t,n,r,a);
24i&&(Array.isArray(i)||(i=[i]),i.forEach(t=>{s.zt.registerSync(t.type,e.code,t.url)}),s.zt.bidderDone(e.code))}},"registerSyncs"),D=(0,h.A_)("sync",(e,t)=>{},"addPaapiConfig");function x(e,t){let{index:n=g.n.index}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};function r(e){return"Invalid bid from ".concat(t.bidderCode,". Ignoring bid: ").concat(e)}return e?t?!function(){let e=Object.keys(t);return O.every(n=>e.includes(n)&&![void 0,null].includes(t[n]))}()?((0,f.logError)(r("Bidder ".concat(t.bidderCode," is missing required params. Check http://prebid.org/dev-docs/bidder-adapter-1.html for list of params."))),!1):"native"!==t.mediaType||(0,l.Bm)(t,{index:n})?"video"!==t.mediaType||(0,u.vk)(t,{index:n})?!("banner"===t.mediaType&&!function(e,t){let{index:n=g.n.index}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if((t.width||0===parseInt(t.width,10))&&(t.height||0===parseInt(t.height,10)))return t.width=parseInt(t.width,10),t.height=parseInt(t.height,10),!0;if(null!=t.wratio&&null!=t.hratio)return t.wratio=parseInt(t.wratio,10),t.hratio=parseInt(t.hratio,10),!0;let r=n.getBidRequest(t),i=n.getMediaTypes(t),o=r&&r.sizes||i&&i.banner&&i.banner.sizes,a=(0,f.parseSizesInput)(o);if(1===a.length){let[e,n]=a[0].split("x");return t.width=parseInt(e,10),t.height=parseInt(n,10),!0}return!1}(e,t,{index:n}))||((0,f.logError)(r("Banner bids require a width and height")),!1):((0,f.logError)(r("Video bid does not have required vastUrl or renderer property")),!1):((0,f.logError)(r("Native bid missing some required properties.")),!1):((0,f.logWarn)("Some adapter tried to add an undefined bid for ".concat(e,".")),!1):((0,f.logWarn)("No adUnitCode was supplied to addBidResponse."),!1)}function j(e){return(0,v.BO)(e.metrics).renameWith(t=>["adapter.client.".concat(t),"adapters.client.".concat(e.bidderCode,".").concat(t)])}},5672(e,t,n){function r(e){var t=e;return{callBids:function(){},setBidderCode:function(e){t=e},getBidderCode:function(){return t}}}n.d(t,{A:()=>r})},10466(e,t,n){let r,i;n.r(t),n.d(t,{_each:()=>ee,_map:()=>en,_setEventEmitter:()=>v,binarySearch:()=>e0,buildUrl:()=>eV,canAccessWindowTop:()=>F,checkCookieSupport:()=>ex,cleanObj:()=>eM,compareCodeAndSlot:()=>eq,compressDataWithGZip:()=>e4,contains:()=>et,convertObjectToArray:()=>eX,createIframe:()=>$,createInvisibleIframe:()=>K,createTrackPixelHtml:()=>el,createTrackPixelIframeHtml:()=>ec,cyrb53Hash:()=>eH,debugTurnedOn:()=>J,deepAccess:()=>l.A,deepClone:()=>u.Go,deepEqual:()=>eG,deepSetValue:()=>c.J,delayExecution:()=>ej,encodeMacroURI:()=>eu,extractDomainFromHost:()=>e2,flatten:()=>ef,formatQS:()=>eL,generateUUID:()=>k,getBidIdParameter:()=>I,getBidRequest:()=>ep,getBidderCodes:()=>eg,getDefinedParams:()=>u.SH,getDocument:()=>M,getDomLoadingDuration:()=>eC,getParameterByName:()=>Y,getPerformanceNow:()=>e_,getPrebidInternal:()=>
24E,getSafeframeGeometry:()=>eO,getScreenOrientation:()=>d.Vv,getUniqueIdentifierStr:()=>T,getUnixTimestampFromNow:()=>eY,getUserConfiguredParams:()=>eN,getValue:()=>eh,getWinDimensions:()=>d.Ot,getWindowLocation:()=>U,getWindowSelf:()=>B,getWindowTop:()=>q,groupBy:()=>eR,hasConsoleLogger:()=>H,hasDeviceAccess:()=>eD,hasNonSerializableProperty:()=>function e(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Set;for(let r in t){let i=t[r],o=typeof i;if(void 0===i||"function"===o||"symbol"===o||i instanceof RegExp||i instanceof Map||i instanceof Set||i instanceof Date||null!==i&&"object"===o&&i.hasOwnProperty("toJSON")||null!==i&&"object"===o&&i.constructor===Object&&(n.has(i)||(n.add(i),e(i,n))))return!0}return!1},inIframe:()=>ew,insertElement:()=>er,insertHtmlIntoIframe:()=>ea,insertUserSyncIframe:()=>es,internal:()=>b,isA:()=>u.KG,isAdUnitCodeMatchingSlot:()=>eB,isApnGetTagDefined:()=>ev,isArray:()=>u.cy,isArrayOfNums:()=>u.Uu,isBoolean:()=>u.Lm,isEmpty:()=>X,isEmptyStr:()=>Z,isFn:()=>u.fp,isGptPubadsDefined:()=>em,isGzipCompressionSupported:()=>e6,isInteger:()=>u.Fq,isNumber:()=>u.Et,isPlainObject:()=>u.Qd,isSafariBrowser:()=>eS,isSafeFrameWindow:()=>eE,isStr:()=>u.O8,isValidMediaTypes:()=>eP,logError:()=>V,logInfo:()=>L,logMessage:()=>W,logWarn:()=>z,memoize:()=>eK,mergeDeep:()=>eQ,parseGPTSingleSizeArray:()=>j,parseGPTSingleSizeArrayToRtbSize:()=>P,parseQS:()=>eW,parseQueryStringParameters:()=>A,parseSizesInput:()=>D,parseUrl:()=>ez,pick:()=>eF,prefixLog:()=>G,replaceAuctionPrice:()=>ek,replaceClickThrough:()=>eI,replaceMacros:()=>eT,resetWinDimensions:()=>d.Bp,safeJSONEncode:()=>e$,safeJSONParse:()=>eJ,setOnAny:()=>e1,setScriptAttributes:()=>eZ,shuffle:()=>eb,sizeTupleToRtbSize:()=>R,sizeTupleToSizeString:()=>x,sizesToSizeTuples:()=>C,sortByHighestCpm:()=>ey,timestamp:()=>eA,transformAdServerTargetingObj:()=>_,triggerNurlWithCpm:()=>e3,triggerPixel:()=>eo,uniques:()=>ed,unsupportedBidderMessage:()=>eU,waitForElementToLoad:()=>ei});var o=n(91933),a=n(11418),s=n(13064),l=n(58928),u=n(26665),c=n(83435),d=n(43958);let f=!!window.console,p=!!(f&&window.console.log),h=!!(f&&window.console.info),g=!!(f&&window.console.warn),m=!!(f&&window.console.error);function v(e){r=e}function y(){null!=r&&r(...arguments)}let b={checkCookieSupport:ex,createTrackPixelIframeHtml:ec,getWindowSelf:B,getWindowTop:q,canAccessWindowTop:F,getWindowLocation:U,insertUserSyncIframe:es,insertElement:er,isFn:u.fp,triggerPixel:eo,logError:V,logWarn:z,logMessage:W,logInfo:L,parseQS:eW,formatQS:eL,deepEqual:eG},w={};function E(){return w}var O,S=(O=0,function(){return++O});function T(){return S()+Math.random().toString(16).substr(2)}function k(e){return e?(e^(window&&window.crypto&&window.crypto.getRandomValues?crypto.getRandomValues(new Uint8Array(1))[0]%16:16*Math.random())>>e/4).toString(16):"10000000-1000-4000-8000-100000000000".replace(/[018]/g,k)}function I(e,t){return(null==t?void 0:t[e])||""}function A(e){let t="";for(var n in e)e.hasOwnProperty(n)&&(t+=n+"="+encodeURIComponent(e[n])+"&");return t.replace(/&$/,"")}function _(e){return e&&Object.getOwnPropertyNames(e).length>0?Object.keys(e).map(t=>"".concat(t,"=").concat(encodeURIComponent(e[t]))).join("&"):""}function C(e){return"string"==typeof e?e.split(/\s*,\s*/).map(e=>e.match(/^(\d+)x(\d+)$/i)).filter(e=>e).map(e=>{let[t,n,r]=e;return[parseInt(n,10),parseInt(r,10)]}):Array.isArray(e)?N(e)?[e]:e.filter(N):[]}function D(e){return C(e).map(x)}function x(e){return e[0]+"x"+e[1]}function j(e){if(N(e))return x(e)}function R(e){return{w:e[0],h:e[1]}}function P(e){if(N(e))return R(e)}function N(e){return(0,u.cy)(e)&&2===e.length&&!isNaN(e[0])&&!isNaN(e[1])}function q(){return window.top}function B(){return window.self}function U(){return window.location}function M(){return document}function F(){try{if(b.getWindowTop().location.href)return!0}catch(e){return!1}}function W(){J()&&p&&console.log.apply(console,Q(arguments,"MESSAGE:"))}function L(){J()&&h&&console.info.apply(console,Q(arguments,"INFO:"))}function z(){J()&&g&&console.warn.apply(console,Q(arguments,"WARNING:")),y(a.qY.AUCTION_DEBUG,{type:"WARNING",arguments})}function V(){J()&&m&&console.error.apply(console,Q(arguments,"ERROR:")),y(a.qY.AUCTION_DEBUG,{type:"ERROR",arguments})}function G(e){function t(t){return function(){for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];t(e,...r)}}return{logError:t(V),logWarn:t(z),logMessage:t(W),logInfo:t(L)}}function Q(e,t){e=[].slice.call(e);let n=o.$W.getCurrentBidder();return t&&e.unshift(t),n&&e.unshift(r("#aaa")),e.unshift(r("#3b88c3")),e.unshift("%cPrebid"+(n?"%c".concat(n):"")),e;function r(e){return"display: inline-block; color: #fff; background: ".concat(e,"; padding: 1px 4px; border-radius: 3px;")}}function H(){return p}function J(){return!!o.$W.getConfig("debug")}let $=(()=>{let e={border:"0px",hspace:"0",vspace:"0",marginWidth:"0",marginHeight:"0",scrolling:"no",frameBorder:"0",allowtransparency:"true"};return function(t,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=t.createElement("iframe");return Object.assign(i,Object.assign({},e,n)),Object.assign(i.style,r),i}})();function K(){return $(document,{id:T(),width:0,height:0,src:"about:blank"},{display:"none",height:"0px",width:"0px",border:"0px"})}function Y(e){return eW(U().search)[e]||""}function X(e){return!e||((0,u.cy)(e)||(0,u.O8)(e)?!(e.length>0):Object.keys(e).length<=0)}function Z(e){return(0,u.O8)(e)&&(!e||0===e.length)}function ee(e,t){if((0,u.fp)(null==e?void 0:e.forEach))return e.forEach(t,this);Object.entries(e||{}
24).forEach(e=>{let[n,r]=e;return t.call(this,r,n)})}function et(e,t){return(0,u.fp)(null==e?void 0:e.includes)&&e.includes(t)}function en(e,t){return(0,u.fp)(null==e?void 0:e.map)?e.map(t):Object.entries(e||{}).map(n=>{let[r,i]=n;return t(i,r,e)})}function er(e,t,n,r){let i;t=t||document,i=n?t.getElementsByTagName(n):t.getElementsByTagName("head");try{if((i=i.length?i:t.getElementsByTagName("body")).length){i=i[0];let t=r?null:i.firstChild;return i.insertBefore(e,t)}}catch(e){}}function ei(e,t){let n=null;return new s.U9(r=>{let i=function(){e.removeEventListener("load",i),e.removeEventListener("error",i),null!=n&&window.clearTimeout(n),r()};e.addEventListener("load",i),e.addEventListener("error",i),null!=t&&(n=window.setTimeout(i,t))})}function eo(e,t,n){let r=new Image;t&&b.isFn(t)&&ei(r,n).then(t),r.src=e}function ea(e){var t;if(!e)return;let n=K();b.insertElement(n,document,"body"),(t=n.contentWindow.document).open(),t.write(e),t.close()}function es(e,t,n){let r=b.createTrackPixelIframeHtml(e,!1,"allow-scripts allow-same-origin"),i=document.createElement("div");i.innerHTML=r;let o=i.firstChild;t&&b.isFn(t)&&ei(o,n).then(t),b.insertElement(o,document,"html",!0)}function el(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:encodeURI;return e?'<div style="position:absolute;left:0px;top:0px;visibility:hidden;"><img src="'+t(e)+'"></div>':""}function eu(e){return Array.from(e.matchAll(/\$({[^}]+})/g)).map(e=>e[1]).reduce((e,t)=>e.replace("$"+encodeURIComponent(t),"$"+t),encodeURI(e))}function ec(e){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return e?((!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&(e=encodeURI(e)),t&&(t='sandbox="'.concat(t,'"')),"<iframe ".concat(t,' id="').concat(T(),'"\n frameborder="0"\n allowtransparency="true"\n marginheight="0" marginwidth="0"\n width="0" hspace="0" vspace="0" height="0"\n style="height:0px;width:0px;display:none;"\n scrolling="no"\n src="').concat(e,'">\n </iframe>')):""}function ed(e,t,n){return n.indexOf(e)===t}function ef(e,t){return e.concat(t)}function ep(e,t){if(e)return t.flatMap(e=>e.bids).find(t=>["bidId","adId","bid_id"].some(n=>t[n]===e))}function eh(e,t){return e[t]}function eg(e){return e.map(e=>e.bids.map(e=>e.bidder).reduce(ef,[])).reduce(ef,[]).filter(e=>void 0!==e).filter(ed)}function em(){if(window.googletag&&(0,u.fp)(window.googletag.pubads)&&(0,u.fp)(window.googletag.pubads().getSlots))return!0}function ev(){if(window.apntag&&(0,u.fp)(window.apntag.getTag))return!0}let ey=(e,t)=>t.cpm-e.cpm;function eb(e){let t=e.length;for(;t>0;){let n=Math.floor(Math.random()*t),r=e[--t];e[t]=e[n],e[n]=r}return e}function ew(){try{return b.getWindowSelf()!==b.getWindowTop()}catch(e){return!0}}function eE(){if(!ew())return!1;let e=b.getWindowSelf();return!(!e.$sf||!e.$sf.ext)}function eO(){try{let e=B();return"function"==typeof e.$sf.ext.geom?e.$sf.ext.geom():void 0}catch(e){return void V("Error getting SafeFrame geometry",e)}}function eS(){return/^((?!chrome|android|crios|fxios).)*safari/i.test(navigator.userAgent)}function eT(e,t){if(e)return Object.entries(t).reduce((e,t)=>{let[n,r]=t;return e.replace(RegExp("\\$\\{"+n+"\\}","g"),r||"")},e)}function ek(e,t){return eT(e,{AUCTION_PRICE:t})}function eI(e,t){if(e&&t&&"string"==typeof t)return e.replace(/\${CLICKTHROUGH}/g,t)}function eA(){return(new Date).getTime()}function e_(){return window.performance&&window.performance.now&&window.performance.now()||0}function eC(e){var t;let n=-1,r=(e=e||B()).performance;if(null!==(t=e.performance)&&void 0!==t&&t.timing&&e.performance.timing.navigationStart>0){let e=r.timing.domLoading-r.timing.navigationStart;e>0&&(n=e)}return n}function eD(){return!1!==o.$W.getConfig("deviceAccess")}function ex(){if(window.navigator.cookieEnabled||document.cookie.length)return!0}function ej(e,t){if(t<1)throw Error("numRequiredCalls must be a positive number. Got ".concat(t));let n=0;return function(){++n===t&&e.apply(this,arguments)}}function eR(e,t){return e.reduce(function(e,n){return(e[n[t]]=e[n[t]]||[]).push(n),e},{})}function eP(e){let t=["banner","native","video","audio"];return!!Object.keys(e).every(e=>t.includes(e))&&(!e.video||!e.video.context||["instream","outstream","adpod"].includes(e.video.context))}
24function eN(e,t,n){return e.filter(e=>e.code===t).flatMap(e=>e.bids).filter(e=>e.bidder===n).map(e=>e.params||{})}let eq=(e,t)=>e.getAdUnitPath()===t||e.getSlotElementId()===t;function eB(e){return t=>eq(e,t)}function eU(e,t){let n=Object.keys(e.mediaTypes||{banner:"banner"}).join(", ");return"\n ".concat(e.code," is a ").concat(n," ad unit\n containing bidders that don't support ").concat(n,": ").concat(t,".\n This bidder won't fetch demand.\n ")}function eM(e){return Object.fromEntries(Object.entries(e).filter(e=>{let[t,n]=e;return void 0!==n}))}function eF(e,t){return"object"!=typeof e?{}:t.reduce((n,r,i)=>{if("function"==typeof r)return n;let o=r,a=r.match(/^(.+?)\sas\s(.+?)$/i);a&&(r=a[1],o=a[2]);let s=e[r];return"function"==typeof t[i+1]&&(s=t[i+1](s,n)),void 0!==s&&(n[o]=s),n},{})}function eW(e){return e?e.replace(/^\?/,"").split("&").reduce((e,t)=>{let[n,r]=t.split("=");return/\[\]$/.test(n)?(e[n=n.replace("[]","")]=e[n]||[],e[n].push(r)):e[n]=r||"",e},{}):{}}function eL(e){return Object.keys(e).map(t=>Array.isArray(e[t])?e[t].map(e=>"".concat(t,"[]=").concat(e)).join("&"):"".concat(t,"=").concat(e[t])).join("&")}function ez(e,t){let n=document.createElement("a");t&&"noDecodeWholeURL"in t&&t.noDecodeWholeURL?n.href=e:n.href=decodeURIComponent(e);let r=t&&"decodeSearchAsString"in t&&t.decodeSearchAsString;return{href:n.href,protocol:(n.protocol||"").replace(/:$/,""),hostname:n.hostname,port:+n.port,pathname:n.pathname.replace(/^(?!\/)/,"/"),search:r?n.search:b.parseQS(n.search||""),hash:(n.hash||"").replace(/^#/,""),host:n.host||window.location.host}}function eV(e){return(e.protocol||"http")+"://"+(e.host||e.hostname+(e.port?":".concat(e.port):""))+(e.pathname||"")+(e.search?"?".concat(b.formatQS(e.search||"")):"")+(e.hash?"#".concat(e.hash):"")}function eG(e,t){let{checkTypes:n=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e===t)return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;let r=Array.isArray(e),i=Array.isArray(t);if(r&&i){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!eG(e[r],t[r],{checkTypes:n}))return!1;return!0}if(r||i||n&&e.constructor!==t.constructor)return!1;let o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(let r of o)if(!Object.prototype.hasOwnProperty.call(t,r)||!eG(e[r],t[r],{checkTypes:n}))return!1;return!0}function eQ(e){for(let t=0;t<(arguments.length<=1?0:arguments.length-1);t++){let n=t+1<1||arguments.length<=t+1?void 0:arguments[t+1];(0,u.Qd)(n)&&function e(t,n){if(!(0,u.Qd)(t)||!(0,u.Qd)(n))return;let r=Object.keys(n);for(let i=0;i<r.length;i++){let o=r[i];if("__proto__"===o||"constructor"===o)continue;let a=n[o];(0,u.Qd)(a)?(t[o]||(t[o]={}),e(t[o],a)):Array.isArray(a)?Array.isArray(t[o])?a.forEach(e=>{t[o].some(t=>eG(t,e))||t[o].push(e)}):t[o]=[...a]:t[o]=a}}(e,n)}return e}function eH(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=function(e,t){if((0,u.fp)(Math.imul))return Math.imul(e,t);var n=(4194303&e)*(t|=0);return 4290772992&e&&(n+=(4290772992&e)*t|0),0|n},r=3735928559^t,i=1103547991^t;for(let t,o=0;o<e.length;o++)r=n(r^(t=e.charCodeAt(o)),2654435761),i=n(i^t,1597334677);return r=n(r^r>>>16,2246822507)^n(i^i>>>13,3266489909),(4294967296*(2097151&(i=n(i^i>>>16,2246822507)^n(r^r>>>13,3266489909)))+(r>>>0)).toString()}function eJ(e){try{return JSON.parse(e)}catch(e){}}function e$(e){try{return JSON.stringify(e)}catch(e){return""}}function eK(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return e},n=new Map,r=function(){let r=t.apply(this,arguments);return n.has(r)||n.set(r,e.apply(this,arguments)),n.get(r)};return r.clear=n.clear.bind(n),r}function eY(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"d";if(0>["m","d"].indexOf(t))return Date.now();let n=e/("m"===t?1440:1);return Date.now()+(e&&e>0?864e5*n:0)}function eX(e){return Object.keys(e).map(t=>({[t]:e[t]}))}function eZ(e,t){Object.entries(t).forEach(t=>{let[n,r]=t;return e.setAttribute(n,r)})}function e0(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e=>e,r=0,i=e.length&&e.length-1,o=n(t);for(;i-r>1;){let t=r+Math.round((i-r)/2);o>n(e[t])?r=t:i=t}for(;e.length>r&&o>n(e[r]);)r++;return r}function e1(e,t){for(let n,r=0;r<e.length;r++)if(n=(0,l.A)(e[r],t))return n}function e2(e){let t=null;try{let n=/[-\w]+\.([-\w]+|[-\w]{3,}|[-\w]{1,3}\.[-\w]{2})$/i.exec(e);if(null!=n&&n.length>0){t=n[0];for(let e=1;e<n.length;e++)n[e].length>t.length&&(t=n[e])}}catch(e){t=null}return t}function e3(e,t){(0,u.O8)(e.nurl)&&""!==e.nurl&&(e.nurl=e.nurl.replace(/\${AUCTION_PRICE}/,t),eo(e.nurl))}let e6=function(){if(void 0!==i)return i;try{void 0===window.CompressionStream?i=!1:(new window.CompressionStream("gzip"),i=!0)}catch(e){i=!1}return i};async function e4(e){"string"!=typeof e&&(e=JSON.stringify(e));let t=new Blob([(new TextEncoder).encode(e)]).stream().pipeThrough(new window.CompressionStream("gzip")),n=await new Response(t).blob();return new Uint8Array(await n.arrayBuffer())}}
24,10867(e,t,n){n.d(t,{EN:()=>u,gR:()=>s});var r,i=n(91933),o=n(10466);function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;if(!e||/\w+:\/\//.exec(e))return e;let n=t.location.protocol;try{n=t.top.location.protocol}catch(e){}return/^\/\//.exec(e)?n+e:"".concat(n,"//").concat(e)}function s(e){let t,{noLeadingWww:n=!1,noPort:r=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{t=new URL(a(e))}catch(e){return}return t=r?t.hostname:t.host,n&&t.startsWith("www.")&&(t=t.substring(4)),t}function l(e){try{let t=e.querySelector("link[rel='canonical']");if(null!==t)return t.href}catch(e){}return null}let u=function(e){let t,n,r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;return i.top!==i?e:function(){let o=l(i.document),a=i.location.href;return t===o&&a===n||(t=o,n=a,r=e()),r}}((r=window,function(){let e=[],t=function(e){try{if(!e.location.ancestorOrigins)return;return e.location.ancestorOrigins}catch(e){}}(r),n=i.$W.getConfig("maxNestedIframes"),u,c,d,f,p=!1,h=0,g=!1,m=!1,v=!1;do{let n=u,i=m,a,s=!1,f=null;m=!1,u=u?u.parent:r;try{a=u.location.href||null}catch(e){s=!0}if(s){if(i){let e=n.context;try{c=f=e.sourceUrl,v=!0,g=!0,u===r.top&&(p=!0),e.canonicalUrl&&(d=e.canonicalUrl)}catch(e){}}else{(0,o.logWarn)("Trying to access cross domain iframe. Continuing without referrer and location");try{let e=n.document.referrer;e&&(f=e,u===r.top&&(p=!0))}catch(e){}!f&&t&&t[h-1]&&(f=t[h-1],u===r.top&&(v=!0)),f&&!g&&(c=f)}}else{if(a&&(c=f=a,g=!1,u===r.top)){p=!0;let e=l(u.document);e&&(d=e)}u.context&&u.context.sourceUrl&&(m=!0)}e.push(f),h++}while(u!==r.top&&h<n);e.reverse();try{f=r.top.document.referrer}catch(e){}let y=p||v?c:null,b=i.$W.getConfig("pageUrl")||d||null,w=i.$W.getConfig("pageUrl")||y||a(b,r);return y&&y.indexOf("?")>-1&&-1===w.indexOf("?")&&(w="".concat(w).concat(y.substring(y.indexOf("?")))),{reachedTop:p,isAmp:g,numIframes:h-1,stack:e,topmostLocation:c||null,location:y,canonicalUrl:b,page:w,domain:s(w)||null,ref:f||null,legacy:{reachedTop:p,isAmp:g,numIframes:h-1,stack:e,referer:c||null,canonicalUrl:b}}}))},10939(e,t,n){n.d(t,{H:()=>u});var r=n(13064),i=n(10466);let o=null,a=0,s=[];function l(e,t){let n=a,r=setTimeout(()=>{a===n&&null==o?e():null!=o?s.push({callback:e,startTime:n,setTimerId(e){r=e}}):r=l(e,a-n)()},t);return()=>r}function u(){let e,t,{startTime:n=i.timestamp,ttl:o=()=>null,monotonic:a=!1,slack:s=5e3}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},u=new Map,c=[],d=[],f=a?e=>d.push(e):e=>d.splice((0,i.binarySearch)(d,e,e=>e.expiry),0,e);function p(){if(t&&clearTimeout(t),d.length>0){let n=(0,i.timestamp)();t=l(()=>{let e=(0,i.timestamp)(),n=0;for(let t of d){if(t.expiry>e)break;
24c.forEach(e=>{try{e(t.item)}catch(e){(0,i.logError)(e)}}),u.delete(t.item),n++}d.splice(0,n),t=null,p()},(e=Math.max(n,d[0].expiry+s))-n)}else t=null}let h={};return{[Symbol.iterator]:()=>u.keys(),add(i){u.has(i)||u.set(i,function(i){let a;let l={},u=h,[c,d]=Object.entries({start:n,delta:o}).map(n=>{let o,[c,d]=n;return function(){let n=o={};r.U9.resolve(d(i)).then(r=>{n===o&&(l[c]=r,u===h&&null!=l.start&&null!=l.delta&&(a=l.start+l.delta,f(g),(null==t||e>a+s)&&p()))})}}),g={item:i,refresh:d,get expiry(){return a}};return c(),d(),g}(i))},has:e=>u.has(e),delete(e){let t=u.get(e);if(t){for(let e=0;e<d.length&&d[e].expiry<=t.expiry;e++)if(d[e]===t){d.splice(e,1);break}}return u.delete(e)},clear(){d.length=0,p(),u.clear(),h={}},toArray:()=>Array.from(u.keys()),refresh(){for(let e of(d.length=0,p(),u.values()))e.refresh()},onExpiry:e=>(c.push(e),()=>{let t=c.indexOf(e);t>=0&&c.splice(t,1)})}}document.addEventListener("visibilitychange",function(){document.hidden?o=Date.now():(a+=Date.now()-(null!=o?o:0),o=null,s.forEach(e=>{let{callback:t,startTime:n,setTimerId:r}=e;return r(l(t,a-n)())}),s=[])})},11418(e,t,n){n.d(t,{IY:()=>E,M:()=>i,RW:()=>p,Tf:()=>g,UE:()=>u,XQ:()=>o,Zh:()=>d,_B:()=>b,as:()=>s,cA:()=>l,h0:()=>m,iD:()=>r,jO:()=>v,nl:()=>w,oA:()=>y,qY:()=>a,tl:()=>h,x5:()=>f,xS:()=>c});let r={PL_CODE:"code",PL_SIZE:"sizes",PL_BIDS:"bids",BD_BIDDER:"bidder",BD_ID:"paramsd",BD_PL_ID:"placementId",ADSERVER_TARGETING:"adserverTargeting",BD_SETTING_STANDARD:"standard"},i="pbjs_debug",o={GOOD:1},a={AUCTION_INIT:"auctionInit",AUCTION_TIMEOUT:"auctionTimeout",AUCTION_END:"auctionEnd",BID_ADJUSTMENT:"bidAdjustment",BID_TIMEOUT:"bidTimeout",BID_REQUESTED:"bidRequested",BID_RESPONSE:"bidResponse",BID_REJECTED:"bidRejected",NO_BID:"noBid",SEAT_NON_BID:"seatNonBid",BID_WON:"bidWon",BIDDER_DONE:"bidderDone",BIDDER_ERROR:"bidderError",SET_TARGETING:"setTargeting",BEFORE_REQUEST_BIDS:"beforeRequestBids",BEFORE_BIDDER_HTTP:"beforeBidderHttp",REQUEST_BIDS:"requestBids",ADD_AD_UNITS:"addAdUnits",AD_RENDER_FAILED:"adRenderFailed",AD_RENDER_SUCCEEDED:"adRenderSucceeded",TCF2_ENFORCEMENT:"tcf2Enforcement",AUCTION_DEBUG:"auctionDebug",BID_VIEWABLE:"bidViewable",STALE_RENDER:"staleRender",EXPIRED_RENDER:"expiredRender",BILLABLE_EVENT:"billableEvent",BID_ACCEPTED:"bidAccepted",RUN_PAAPI_AUCTION:"paapiRunAuction",PBS_ANALYTICS:"pbsAnalytics",PAAPI_BID:"paapiBid",PAAPI_NO_BID:"paapiNoBid",PAAPI_ERROR:"paapiError",BEFORE_PBS_HTTP:"beforePBSHttp",BROWSI_INIT:"browsiInit",BROWSI_DATA:"browsiData",BROWSER_INTERVENTION:"browserIntervention"},s={PREVENT_WRITING_ON_MAIN_DOCUMENT:"preventWritingOnMainDocument",NO_AD:"noAd",EXCEPTION:"exception",CANNOT_FIND_AD:"cannotFindAd",MISSING_DOC_OR_ADID:"missingDocOrAdid"},l={bidWon:"adUnitCode"},u={LOW:"low",MEDIUM:"medium",HIGH:"high",AUTO:"auto",DENSE:"dense",CUSTOM:"custom"},c={BIDDER:"hb_bidder",AD_ID:"hb_adid",PRICE_BUCKET:"hb_pb",SIZE:"hb_size",DEAL:"hb_deal",SOURCE:"hb_source",FORMAT:"hb_format",UUID:"hb_uuid",CACHE_ID:"hb_c
24ache_id",CACHE_HOST:"hb_cache_host",ADOMAIN:"hb_adomain",ACAT:"hb_acat",CRID:"hb_crid",DSP:"hb_dsp",VERSION:"hb_ver"},d={BIDDER:"hb_bidder",AD_ID:"hb_adid",PRICE_BUCKET:"hb_pb",SIZE:"hb_size",DEAL:"hb_deal",FORMAT:"hb_format",UUID:"hb_uuid",CACHE_HOST:"hb_cache_host",VERSION:"hb_ver"},f={title:"hb_native_title",body:"hb_native_body",body2:"hb_native_body2",privacyLink:"hb_native_privacy",privacyIcon:"hb_native_privicon",sponsoredBy:"hb_native_brand",image:"hb_native_image",icon:"hb_native_icon",clickUrl:"hb_native_linkurl",displayUrl:"hb_native_displayurl",cta:"hb_native_cta",rating:"hb_native_rating",address:"hb_native_address",downloads:"hb_native_downloads",likes:"hb_native_likes",phone:"hb_native_phone",price:"hb_native_price",salePrice:"hb_native_saleprice",rendererUrl:"hb_renderer_url",adTemplate:"hb_adTemplate"},p={SRC:"s2s",DEFAULT_ENDPOINT:"https://prebid.adnxs.com/pbs/v1/openrtb2/auction",SYNCED_BIDDERS_KEY:"pbjsSyncs"},h={BID_TARGETING_SET:"targetingSet",RENDERED:"rendered",BID_REJECTED:"bidRejected"},g={INVALID:"Bid has missing or invalid properties",INVALID_REQUEST_ID:"Invalid request ID",BIDDER_DISALLOWED:"Bidder code is not allowed by allowedAlternateBidderCodes / allowUnknownBidderCodes",FLOOR_NOT_MET:"Bid does not meet price floor",CANNOT_CONVERT_CURRENCY:"Unable to convert currency",DSA_REQUIRED:"Bid does not provide required DSA transparency info",DSA_MISMATCH:"Bid indicates inappropriate DSA rendering method",PRICE_TOO_HIGH:"Bid price exceeds maximum value"},m={body:"desc",body2:"desc2",sponsoredBy:"sponsored",cta:"ctatext",rating:"rating",address:"address",downloads:"downloads",likes:"likes",phone:"phone",price:"price",salePrice:"saleprice",displayUrl:"displayurl"},v={sponsored:1,desc:2,rating:3,likes:4,downloads:5,price:6,saleprice:7,phone:8,address:9,desc2:10,displayurl:11,ctatext:12},y={ICON:1,MAIN:3},b=["privacyIcon","clickUrl","adTemplate","rendererUrl","type"],w={REQUEST:"Prebid Request",RESPONSE:"Prebid Response",NATIVE:"Prebid Native",EVENT:"Prebid Event",INTERVENTION:"Prebid Intervention"},E="__pb_locator__"},13064(e,t,n){n.d(t,{U9:()=>s,cb:()=>l,v6:()=>u});var r,i,o=n(51748);let a=null!==(r=(0,o.m)().setTimeout)&&void 0!==r?r:setTimeout,s=null!==(i=(0,o.m)().Promise)&&void 0!==i?i:Promise;function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return new s(t=>{a(t,e)})}function u(){var e,t;let n,r,{promiseFactory:i=e=>new s(e)}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{promise:i((e,t)=>{n=e,r=t}),resolve:(e=n,t=>e(t)),reject:(t=r,e=>t(e))}}},15482(e,t,n){n.d(t,{S9:()=>c,cT:()=>u,lc:()=>d});var r=n(91933),i=n(10466);let o="minBidCacheTTL",a=1,s=null,l=[];function u(e){return e.ttl-(e.hasOwnProperty("ttlBuffer")?e.ttlBuffer:a)}function c(){return s}function d(e){l.push(e)}r.$W.getConfig("ttlBuffer",e=>{"number"==typeof e.ttlBuffer?a=e.ttlBuffer:(0,i.logError)("Invalid value for ttlBuffer",e.ttlBuffer)}),r.$W.getConfig(o,e=>{s!==(s="number"==typeof(s=null==e?void 0:e[o])?s:null)&&l.forEach(e=>e(s))})},16169(e,t,n){n.d(t,{wU:()=>S});var r=n(32592),i=n(10867),o=n(91780),a=n(10466),s=n(58928),l=n(83435),u=n(26665),c=n(43958),d=n(83367),f=n(91933),p=n(42217),h=n(13064),g=n(51833),m=n(53202),v=n(77610),y=n(45808),b=n(70736),w=n(30183);let E={getRefererInfo:i.EN,findRootDomain:o.S,getWindowTop:a.getWindowTop,getWindowSelf:a.getWindowSelf,getHighEntropySUA:p.FD,getLowEntropySUA:p.zO,getDocument:a.getDocument},O=(0,g.i8)("FPD"),S=(0,r.A_)("sync",e=>{let t=[e,(function(){let e=f.$W.getConfig("firstPartyData.uaHints");return Array.isArray(e)&&0!==e.length?E.getHighEntropySUA(e):h.U9.resolve(E.getLowEntropySUA())})().catch(()=>null),h.U9.resolve("cookieDeprecationLabel"in navigator&&(0,m.io)(y.Ue,(0,v.s)(b.tp,"cdep"))&&navigator.cookieDeprecationLabel.getValue()).catch(()=>null)];return h.U9.all(t).then(e=>{let[t,n,r]=e,o=E.getRefererInfo();Object.entries(I).forEach(e=>{let[n,r]=e,i=r(t,o);i&&Object.keys(i).length>0&&(t[n]=(0,a.mergeDeep)({},i,t[n]))}),n&&(0,l.J)(t,"device.sua",Object.assign({},n,t.device.sua)),r&&(0,l.J)(t,"device.ext",Object.assign({},{cdep:r},t.device.ext));let u=E.getDocument().documentElement.lang;if(u&&((0,l.J)(t,"site.ext.data.documentLang",u),!(0,s.A)(t,"site.content.language"))){let e=u.split("-")[0];(0,l.J)(t,"site.content.language",e)}for(let e of(t=O(t),g.Dy))if((0,g.O$)(t,e)){t[e]=(0,a.mergeDeep)({},function(e,t){var n,r,o,a;let s=(0,i.gR)(t.page,{noLeadingWww:!0}),l=new Set;return(null===(n=f.$W.getConfig("firstPartyData.keywords.meta"))||void 0===n||n)&&(null!==(o=_())&&void 0!==o?o:[]).forEac
24h(e=>l.add(e)),(null===(r=f.$W.getConfig("firstPartyData.keywords.json"))||void 0===r||r)&&(null!==(a=A())&&void 0!==a?a:[]).forEach(e=>l.add(e)),k({domain:s,keywords:l.size>0?Array.from(l.keys()).join(","):void 0,publisher:k({domain:E.findRootDomain(s)})})}(0,o),t[e]);break}return t})});function T(e){try{return e(E.getWindowTop())}catch(t){return e(E.getWindowSelf())}}function k(e){return(0,u.SH)(e,Object.keys(e))}let I={site(e,t){if(!g.Dy.filter(e=>"site"!==e).some(g.O$.bind(null,e)))return k({page:t.page,ref:t.ref})},device:()=>T(e=>{let t=(0,c.Ot)().screen.width,n=(0,c.Ot)().screen.height,{width:r,height:i}=(0,w.M)();return{w:t,h:n,dnt:(0,d.l)()?1:0,ua:e.navigator.userAgent,language:e.navigator.language.split("-").shift(),ext:{vpw:r,vph:i}}}),regs(){let e={};T(e=>e.navigator.globalPrivacyControl)&&(0,l.J)(e,"ext.gpc","1");let t=f.$W.getConfig("coppa");return"boolean"==typeof t&&(e.coppa=t?1:0),e}},A=(0,a.memoize)(()=>T(e=>{let t=Array.from(e.document.querySelectorAll('script[type="application/ld+json"]')),n=[];for(let e of t)try{let t=JSON.parse(e.textContent);for(let e of Array.isArray(t)?t:[t])if("string"==typeof e.keywords){let t=e.keywords.split(",").map(e=>e.trim()).filter(e=>e.length>0);n.push(...t)}}catch(e){}return n})),_=(0,a.memoize)(()=>T(e=>{var t;return null===(t=e.document.querySelector('meta[name="keywords"]'))||void 0===t||null===(t=t.content)||void 0===t?void 0:t.split(",").map(e=>e.trim())}))},18014(e,t,n){n.r(t),n.d(t,{addEvents:()=>y,clearEvents:()=>w,emit:()=>v,get:()=>g,getEvents:()=>m,has:()=>b,off:()=>h,on:()=>p});var r=n(10466),i=n(11418),o=n(10939),a=n(91933);let s="eventHistoryTTL",l=null,u=(0,o.H)({monotonic:!0,ttl:()=>l});a.$W.getConfig(s,e=>{let t=l,n=null==e?void 0:e[s];t!==(l="number"==typeof n?1e3*n:null)&&u.refresh()});let c=Object.values(i.qY),d=i.cA,f=function(){let e={};function t(e){return c.includes(e)}return{has:t,on:function(n,i,o){if(t(n)){let t=e[n]||{que:[]};o?(t[o]=t[o]||{que:[]},t[o].que.push(i)):t.que.push(i),e[n]=t}else r.logError("Wrong event name : "+n+" Valid event names :"+c)},emit:function(t){for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];!function(t,n){r.logMessage("Emitting event for: "+t);let i=n[0]||{},o=i[d[t]],a=e[t]||{que:[]};var s=Object.keys(a);let l=[];u.add({eventType:t,args:i,id:o,elapsedTime:r.getPerformanceNow()}),o&&s.includes(o)&&l.push(...a[o].que),l.push(...a.que),(l||[]).forEach(function(e){if(e)try{e(...n)}catch(e){r.logError("Error executing handler:","events.js",e,t)}})}(t,i)},off:function(t,n,i){let o=e[t];r.isEmpty(o)||r.isEmpty(o.que)&&r.isEmpty(o[i])||i&&(r.isEmpty(o[i])||r.isEmpty(o[i].que))||(i?(o[i].que||[]).forEach(function(e){let t=o[i].que;e===n&&t.splice(t.indexOf(e),1)}):(o.que||[]).forEach(function(e){let t=o.que;e===n&&t.splice(t.indexOf(e),1)}),e[t]=o)},get:function(){return e},addEvents:function(e){c=c.concat(e)},getEvents:function(){return u.toArray().map(e=>Object.assign({},e))}}}();r._setEventEmitter(f.emit.bind(f));let{on:p,off:h,get:g,getEvents:m,emit:v,addEvents:y,has:b}=f;function w(){u.clear()}},22517(e,t,n){n.d(t,{Cf:()=>s,S3:()=>i,Tb:()=>o,WR:()=>a,e4:()=>u,pS:()=>d,qN:()=>l,yB:()=>f,zt:()=>r});let r=["request","imp","bidResponse","response"],[i,o,a,s]=r,[l,u]=["default","pbs"],c=new Set(r),{registerOrtbProcessor:d,getProcessors:f}=function(){let e={};return{registerOrtbProcessor(t){let{type:n,name:i,fn:o,priority:a=0,dialects:s=[l]}=t;if(!c.has(n))throw Error("ORTB processor type must be one of: ".concat(r.join(", ")));s.forEach(t=>{e.hasOwnProperty(t)||(e[t]={}),e[t].hasOwnProperty(n)||(e[t][n]={}),e[t][n][i]={priority:a,fn:o}})},getProcessors:t=>e[t]||{}}}()},25291(e,t,n){n.d(t,{Dk:()=>a,Ez:()=>c,Ii:()=>o,OI:()=>d,TQ:()=>g,U3:()=>v,XG:()=>f,ZI:()=>m,Zw:()=>u,bt:()=>p,e3:()=>h,iK:()=>s,q7:()=>l});var r=n(70736),i=n(32592);let o="component",a=o+"Type",s=o+"Name",l="adapterCode",u="storageType",c="storageKey",d="write",f="configName",p="syncType",h="syncUrl",g="_config";function m(e){return function(t,n,i){let u={[a]:t,[s]:n,[o]:"".concat(t,".").concat(n)};return t===r.tW&&(u[l]=e(n)),v(Object.assign(u,i))}}let v=(0,i.A_)("sync",e=>e)},26665(e,t,n){n.d(t,{Et:()=>d,Fq:()=>h,Go:()=>i,KG:()=>s,Lm:()=>p,O8:()=>u,Qd:()=>f,SH:()=>o,Uu:()=>g,cy:()=>c,fp:()=>l});var r=n(91490);function i(e){return(0,r.Q)(e)||{}}function o(e,t){return t.filter(t=>e[t]).reduce((t,n)=>Object.assign(t,{[n]:e[n]}),{})}let a=Object.prototype.toString;function s(e,t){return a.call(e)==="[object "+t+"]"}function l(e){return s(e,"Function")}function u(e){return s(e,"String")}let c=Array.isArray.bind(Array);function d(e){return s(e,"Number")}function f(e){return s(e,"Object")}function p(e){return s(e,"Boolean")}let h=Number.isInteger.bind(Number);function g(e,t){return c(e)&&(!t||e.length===t)&&e.every(e=>h(e))}},32592(e,t,n){n.d(t,{A_:()=>a,Gc:()=>l,Y6:()=>h,Yn:()=>u,bz:()=>p,pT:()=>c,u2:()=>g,xG:()=>f});var r=n(35481),i=n.n(r),o=n(13064);let a=i()({ready:i().SYNC|i().ASYNC|i().QUEUE}),s=(0,o.v6)();a.ready=(()=>{let e=a.ready;return function(){try{return e.apply(a)}finally{s.resolve()}}})();let l=s.promise,u=a.get;function c(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:15;0===e.getHooks({hook:t}).length&&e.before(t,n)}let d={};function f(e,t){let{postInstallAllowed:n=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};
24a("async",function(r){r.forEach(e=>t(...e)),n&&(d[e]=t)},e)([])}function p(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];let i=d[e];if(i)return i(...n);u(e).before((e,t)=>{t.push(n),e(t)})}function h(e,t){return Object.defineProperties(t,Object.fromEntries(["before","after","getHooks","removeAll"].map(t=>[t,{get:()=>e[t]}]))),t}function g(e){return h(e,function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.push(function(){}),e.apply(this,n)})}},36220(e,t,n){n.d(t,{E2:()=>h,H6:()=>u,V0:()=>f,Zy:()=>d,mn:()=>c,vk:()=>p});var r=n(10466),i=n(26665),o=n(91933),a=n(32592),s=n(63006),l=n(765);let u="outstream",c="instream",d=new Map([["mimes",e=>Array.isArray(e)&&e.length>0&&e.every(e=>"string"==typeof e)],["minduration",i.Fq],["maxduration",i.Fq],["startdelay",i.Fq],["maxseq",i.Fq],["poddur",i.Fq],["protocols",i.Uu],["w",i.Fq],["h",i.Fq],["podid",i.O8],["podseq",i.Fq],["rqddurs",i.Uu],["placement",i.Fq],["plcmt",i.Fq],["linearity",i.Fq],["skip",e=>[1,0].includes(e)],["skipmin",i.Fq],["skipafter",i.Fq],["sequence",i.Fq],["slotinpod",i.Fq],["mincpmpersec",i.Et],["battr",i.Uu],["maxextended",i.Fq],["minbitrate",i.Fq],["maxbitrate",i.Fq],["boxingallowed",i.Fq],["playbackmethod",i.Uu],["playbackend",i.Fq],["delivery",i.Uu],["pos",i.Fq],["api",i.Uu],["companiontype",i.Uu],["poddedupe",i.Uu]]);function f(e){var t,n,o;let a=null==e||null===(t=e.mediaTypes)||void 0===t?void 0:t.video;
24if(null!=a){null==a.plcmt&&(a.context===u||[2,3,4].includes(a.placement)?a.plcmt=4:null!==(n=a.playbackmethod)&&void 0!==n&&null!==(o=n.some)&&void 0!==o&&o.call(n,e=>[2,6].includes(e))&&(a.plcmt=2));let t=(0,i.Uu)(a.playerSize,2)?a.playerSize:Array.isArray(a.playerSize)&&(0,i.Uu)(a.playerSize[0])?a.playerSize[0]:null,s=(0,i.Et)(a.w)&&(0,i.Et)(a.h)?[a.w,a.h]:null,l=!1;null==t?null!=s&&(null!=a.playerSize?l=!0:a.playerSize=[s]):["w","h"].forEach((e,n)=>{null!=a[e]&&a[e]!==t[n]?l=!0:a[e]=t[n]}),l&&(0,r.logWarn)('Ad unit "'.concat(e.code," has conflicting playerSize and w/h"),e)}}function p(e){var t;let{index:n=s.n.index}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null===(t=n.getMediaTypes(e))||void 0===t?void 0:t.video,i=r&&(null==r?void 0:r.context),o=r&&(null==r?void 0:r.useCacheKey),a=n.getAdUnit(e);return h(e,a,r,i,o)}let h=(0,a.A_)("sync",function(e,t,n,i,a){if(n&&(a||i!==u)){let{url:t,useLocal:n}=o.$W.getConfig("cache")||{};return t||n||!e.vastXml||e.vastUrl?!(!e.vastUrl&&!e.vastXml):((0,r.logError)("\n This bid contains only vastXml and will not work when a prebid cache url is not specified.\n Try enabling either prebid cache with ".concat((0,l.k)(),'.setConfig({ cache: {url: "..."} });\n or local cache with ').concat((0,l.k)(),".setConfig({ cache: { useLocal: true }});\n ")),!1)}return!(i===u&&!a)||!!(e.renderer||t&&t.renderer||n.renderer)},"checkVideoBidSetup")}
24,37841(e,t,n){n.d(t,{Ak:()=>g,BO:()=>f,K7:()=>p,NL:()=>m});var r=n(91933);let i="performanceMetrics",o=window.performance&&window.performance.now?()=>window.performance.now():()=>Date.now(),a=new WeakMap;function s(e,t,n){return function(){t&&t();try{for(var r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];return e.apply(this,i)}finally{n&&n()}}}function l(){let{now:e=o,mkNode:t=function e(t){return{metrics:{},timestamps:{},groups:{},addParent(e,n){t.push([e,n])},newSibling:()=>e(t.slice()),dfWalk(){let e,{visit:n,follow:r=()=>!0,visited:i=new Set,inEdge:o}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!i.has(this)){if(i.add(this),null!=(e=n(o,this)))return e;for(let[a,s]of t)if(r(o,s)&&null!=(e=a.dfWalk({visit:n,follow:r,visited:i,inEdge:s})))return e}}}},mkTimer:n=u,mkRenamer:r=e=>e,nodes:i=a}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(){return function o(a){var s;let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>({forEach(t){t(e)}});l=r(l);let u=(s="timestamps",function(e){return a.dfWalk({visit(t,n){let r=n[s];if(r.hasOwnProperty(e))return r[e]}})});function c(e,t){let n=l(e);a.dfWalk({follow:(e,t)=>t.propagate&&(!e||!e.stopPropagation),visit(e,r){n.forEach(n=>{null==e?r.metrics[n]=t:(r.groups.hasOwnProperty(n)||(r.groups[n]=[]),r.groups[n].push(t))})}})}function d(t){return n(e,e=>c(t,e))}function f(){let e={};return a.dfWalk({visit(t,n){e=Object.assign({},!t||t.includeGroups?n.groups:null,n.metrics,e)}}),e}let p={startTiming:d,measureTime:function(e,t){return d(e).stopAfter(t)()},measureHookTime:function(e,t,n){let r=d(e);return n(function(e){let t=r.stopBefore(e);return t.bail=e.bail&&r.stopBefore(e.bail),t.stopTiming=r,t.untimed=e,t}(t))},checkpoint:function(t){a.timestamps[t]=e()},timeSince:function(t,n){let r=u(t),i=null!=r?e()-r:null;return null!=n&&c(n,i),i},timeBetween:function(e,t,n){let r=u(e),i=u(t),o=null!=r&&null!=i?i-r:null;return null!=n&&c(n,o),o},setMetric:c,getMetrics:f,fork:function(){let{propagate:e=!0,stopPropagation:n=!1,includeGroups:r=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return o(t([[a,{propagate:e,stopPropagation:n,includeGroups:r}]]),l)},join:function(e){let{propagate:t=!0,stopPropagation:n=!1,includeGroups:r=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=i.get(e);null!=o&&o.addParent(a,{propagate:t,stopPropagation:n,includeGroups:r})},newMetrics:function(){return o(a.newSibling(),l)},renameWith:function(e){return o(a,e)},toJSON:()=>f()};return i.set(p,a),p}(t([]))}}function u(e,t){let n=e(),r=!1;function i(){r||(t(e()-n),r=!0)}return i.stopBefore=e=>s(e,i),i.stopAfter=e=>s(e,null,i),i}let c=(()=>{let e=function(){},t=()=>({}),n={forEach:e},r=()=>null;r.stopBefore=e=>e,r.stopAfter=e=>e;let i=Object.defineProperties({dfWalk:e,newSibling:()=>i,addParent:e},Object.fromEntries(["metrics","timestamps","groups"].map(e=>[e,{get:t}])));return l({now:()=>0,mkNode:()=>i,mkRenamer:()=>()=>n,mkTimer:()=>r,nodes:{get:e,set:e}})()})(),d=!0;function f(e){return d&&e||c}r.$W.getConfig(i,e=>{d=!!e[i]});let p=(()=>{let e=l();return function(){return d?e():c}})();function h(e,t){return function(n,r){var i=this;return function(o){for(var a=arguments.length,s=Array(a>1?a-1:0),l=1;l<a;l++)s[l-1]=arguments[l];return f(t.apply(i,s)).measureHookTime(e+n,o,e=>r.call(i,e,...s))}}}let g=h("requestBids.",e=>e.metrics),m=h("addBidResponse.",(e,t)=>t.metrics)},40069(e,t,n){n.d(t,{mZ:()=>a});var r=n(10466),i=n(58928),o=n(83435);let a=(0,n(32592).A_)("sync",function(e){return[s,l("source.schain","source.ext.schain","source.ext.schain"),l("device.sua","device.ext.sua","device.sua"),l("regs.gdpr","regs.ext.gdpr","regs.ext.gdpr"),l("user.consent","user.ext.consent","user.ext.consent"),l("regs.us_privacy","regs.ext.us_privacy","regs.ext.us_privacy"),l("regs.gpp","regs.ext.gpp","regs.gpp"),l("regs.gpp_sid","regs.ext.gpp_sid","regs.gpp_sid")].forEach(t=>{e.global=t(e.global,"global FPD"),Object.entries(e.bidder).forEach(n=>{let[r,i]=n;e.bidder[r]=t(i,"bidder '".concat(r,"' FPD"))})}),e});function s(e,t){var n,i,a,s,l;if(!e)return e;let u=[],c=[...(null!==(n=null==e||null===(i=e.user)||void 0===i?void 0:i.eids)&&void 0!==n?n:[]).map(e=>[0,e]),...(null!==(a=null==e||null===(s=e.user)||void 0===s||null===(s=s.ext)||void 0===s?void 0:s.eids)&&void 0!==a?a:[]).map(e=>[1,e])].filter(e=>{let[n,i]=e;return u.findIndex(e=>{let[t,o]=e;return n!==t&&(0,r.deepEqual)(o,i)})>-1?((0,r.logWarn)("Found duplicate EID in user.eids and user.ext.eids (".concat(t,")"),i),!1):(u.push([n,i]),!0)});return c.length>0&&(0,o.J)(e,"user.ext.eids",c.map(e=>{let[t,n]=e;return n})),null==e||null===(l=e.user)||void 0===l||delete l.eids,e}function l(e,t,n){if(n!==e&&n!==t)throw Error("invalid argument");let a=(n===e?t:e).split("."),s=a.pop(),l=a.join(".");return function(a,u){if(!a)return a;let c=(0,i.A)(a,e),d=(0,i.A)(a,t);null==c||null==d||(0,r.deepEqual)(c,d)||(0,r.logWarn)("Conflicting ".concat(e," and ").concat(t," (").concat(u,"), preferring ").concat(e),{[e]:c,[t]:d}),null!=(null!=c?c:d)&&(0,o.J)(a,n,null!=c?c:d);let f=(0,i.A)(a,l);return null!=f&&"object"==typeof f&&delete f[s],a}}},41385(e,t,n){n.d(t,{B1:()=>p,SL:()=>C,ad:()=>k,et:()=>I,mW:()=>S,o2:()=>A,t6:()=>T});var r=n(98158),i=n(10466),o=n(26665),a=n(13064),s=n(91933);function l(e,t,n){u(e,t),t.set(e,n)}function u(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}function c(e,t){return e.get(f(e,t))}function d(e,t,n){return e.set(f(e,t),n),n}function f(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw TypeError("Private element is not present on this object")}let p=Object.freeze({});var h=new WeakMap,g=new WeakMap,m=new WeakMap,v=new WeakMap,y=new WeakMap,b=new WeakMap,w=new WeakSet;class E{reset(){d(m,this,(0,a.v6)()),d(h,this,!1),d(g,this,null),d(v,this,!1),this.generatedTime=null}enable(){d(h,this,!0)}get enabled(){return c(h,this)}get ready(){return c(v,this)}get promise(){return c(v,this)?a.U9.resolve(c(g,this)):(c(h,this)||f(w,this,O).call(this,null),
24c(m,this).promise)}setConsentData(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,i.timestamp)();this.generatedTime=t,d(y,this,!0),f(w,this,O).call(this,e)}getConsentData(){return c(h,this)?c(g,this):null}get hash(){return c(y,this)&&(d(b,this,(0,i.cyrb53Hash)(JSON.stringify(c(g,this)&&this.hashFields?this.hashFields.map(e=>c(g,this)[e]):c(g,this)))),d(y,this,!1)),c(b,this)}constructor(){u(this,w),w.add(this),l(this,h,void 0),l(this,g,void 0),l(this,m,void 0),l(this,v,void 0),l(this,y,!0),l(this,b,void 0),(0,r.A)(this,"generatedTime",void 0),(0,r.A)(this,"hashFields",void 0),this.reset()}}function O(e){d(v,this,!0),d(g,this,e),c(m,this).resolve(e)}let S=new class extends E{getConsentMeta(){let e=this.getConsentData();if(e&&e.vendorData&&this.generatedTime)return{gdprApplies:e.gdprApplies,consentStringSize:(0,o.O8)(e.vendorData.tcString)?e.vendorData.tcString.length:0,generatedAt:this.generatedTime,apiVersion:e.apiVersion}}constructor(){super(...arguments),(0,r.A)(this,"hashFields",["gdprApplies","consentString"])}},T=new class extends E{getConsentMeta(){if(this.getConsentData()&&this.generatedTime)return{generatedAt:this.generatedTime}}},k=new class extends E{getConsentMeta(){if(this.getConsentData()&&this.generatedTime)return{generatedAt:this.generatedTime}}constructor(){super(...arguments),(0,r.A)(this,"hashFields",["applicableSections","gppString"])}},I=(()=>{function e(){return!!s.$W.getConfig("coppa")}return{getCoppa:e,getConsentData:e,getConsentMeta:e,reset(){},get promise(){return a.U9.resolve(e())},get hash(){return e()?"1":"0"}}})(),A=function(){let e={},t={},n={};return{register(r,i,o){o&&((e[i]=e[i]||{})[r]=o,t.hasOwnProperty(i)?t[i]!==o&&(t[i]=n):t[i]=o)},get(r){let i={modules:e[r]||{}};return t.hasOwnProperty(r)&&t[r]!==n&&(i.gvlid=t[r]),i}}}(),_={gdpr:S,usp:T,gpp:k,coppa:I},C=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:_,t=Object.entries(e);return Object.assign({get promise(){return a.U9.all(t.map(e=>{let[t,n]=e;return n.promise.then(e=>[t,e])})).then(e=>Object.fromEntries(e))},get hash(){return(0,i.cyrb53Hash)(t.map(e=>{let[t,n]=e;return n.hash}).join(":"))}},Object.fromEntries(["getConsentData","getConsentMeta","reset"].map(e=>[e,function(){return Object.fromEntries(t.map(t=>{let[n,r]=t;return[n,r[e]()]}))}])))}()},42217(e,t,n){n.d(t,{CP:()=>c,FD:()=>u,zO:()=>l});var r=n(10466),i=n(26665),o=n(13064);let a=["architecture","bitness","model","platformVersion","fullVersionList"],s=["brands","mobile","platform"],l=function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null===(e=window.navigator)||void 0===e?void 0:e.userAgentData,n=t&&s.some(e=>void 0!==t[e])?Object.freeze(d(1,t)):null;return function(){return n}}(),u=c();function c(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null===(e=window.navigator)||void 0===e?void 0:e.userAgentData,n={},i=new WeakMap;return function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a;if(!i.has(e)){let t=Array.from(e);t.sort(),i.set(e,t.join("|"))}let s=i.get(e);if(!n.hasOwnProperty(s))try{n[s]=t.getHighEntropyValues(e).then(e=>(0,r.isEmpty)(e)?null:Object.freeze(d(2,e))).catch(()=>null)}catch(e){n[s]=o.U9.resolve(null)}return n[s]}}function d(e,t){function n(e,t){let n={brand:e};return(0,i.O8)(t)&&!(0,r.isEmptyStr)(t)&&(n.version=t.split(".")),n}let o={source:e};return t.platform&&(o.platform=n(t.platform,t.platformVersion)),(t.fullVersionList||t.brands)&&(o.browsers=(t.fullVersionList||t.brands).map(e=>{let{brand:t,version:r}=e;return n(t,r)})),void 0!==t.mobile&&(o.mobile=t.mobile?1:0),["model","bitness","architecture"].forEach(e=>{let n=t[e];(0,i.O8)(n)&&(o[e]=n)}),o}},43958(e,t,n){let r;n.d(t,{Vv:()=>l,Ot:()=>a,Bp:()=>s});var i=n(10466);let o={winDimensions:new function e(t,n){let r={},i={},o=[];Object.entries(n).forEach(n=>{let[a,s]=n;if(null!=s&&"object"==typeof s){let n=new e(()=>{var e;return null===(e=t())||void 0===e?void 0:e[a]},s);r[a]=n.obj,o.push(n.reset)}else!0===s&&Object.defineProperty(r,a,{get(){var e;return i.hasOwnProperty(a)||(i[a]=null===(e=t())||void 0===e?void 0:e[a]),i[a]}})}
24),this.obj=r,this.reset=function(){o.forEach(e=>e()),i={}}}(()=>(0,i.canAccessWindowTop)()?i.internal.getWindowTop():i.internal.getWindowSelf(),{innerHeight:!0,innerWidth:!0,screen:{width:!0,height:!0},visualViewport:{width:!0,height:!0},document:{documentElement:{clientWidth:!0,clientHeight:!0,scrollTop:!0,scrollLeft:!0},body:{scrollTop:!0,scrollLeft:!0,clientWidth:!0,clientHeight:!0}}})},a=function(){return(!r||Date.now()-r>20)&&(o.winDimensions.reset(),r=Date.now()),o.winDimensions.obj};function s(){o.winDimensions.reset()}function l(e){var t,n,r,o;let a=null!=e?e:(0,i.canAccessWindowTop)()?i.internal.getWindowTop():i.internal.getWindowSelf(),s=null!==(t=null!==(n=null==a?void 0:a.screen)&&void 0!==n?n:null===(r=i.internal.getWindowSelf())||void 0===r?void 0:r.screen)&&void 0!==t?t:null===(o=window)||void 0===o?void 0:o.screen,l=Number(null==s?void 0:s.width),u=Number(null==s?void 0:s.height);if(Number.isFinite(l)&&Number.isFinite(u))return u>=l?"portrait":"landscape"}},45144(e,t,n){n.d(t,{HH:()=>u,kj:()=>l,xh:()=>s});var r=n(13064),i=n(10466),o=n(63293),a=n(32592);let s=3,l=(0,a.A_)("sync",function(e){return o.G}),u=function(){let e={};return function(t){let n=l(t);return e.hasOwnProperty(n)||(e[n]=new r.U9(e=>{let r=(0,i.createInvisibleIframe)();r.srcdoc="\n <script>".concat(n,"</script>\n <script>\n window.parent.postMessage(\n { type: 'RENDERER_READY_").concat(t.adId,"' },\n '*'\n );</script>");let o=n=>{var i;n.source===r.contentWindow&&(null===(i=n.data)||void 0===i?void 0:i.type)==="RENDERER_READY_".concat(t.adId)&&(window.removeEventListener("message",o),e(r.contentWindow.render))};window.addEventListener("message",o),document.body.appendChild(r)})),e[n]}}()},45808(e,t,n){n.d(t,{DL:()=>c,Ml:()=>i,Ue:()=>r,VJ:()=>f,hE:()=>d,hq:()=>u,it:()=>g,mo:()=>l,pY:()=>p,qX:()=>o,uc:()=>s,yg:()=>h,yl:()=>a});let r="accessDevice",i="syncUser",o="enrichUfpd",a="enrichEids",s="fetchBids",l="reportAnalytics",u="transmitEids",c="transmitUfpd",d="transmitPreciseGeo",f="transmitTid",p="loadExternalScript",h="accessRequestCredentials",g="acceptBid"},46652(e,t,n){n.d(t,{JE:()=>a,o1:()=>o});var r=n(13064);function i(e,t){e()?(function(){let e=window.scheduler;return"function"==typeof(null==e?void 0:e.yield)?e.yield():r.U9.resolve()})().then(t):t()}function o(e,t){return function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];i(e,()=>{t.apply(this,r)})}}function a(e,t,n){!function(e,t){let n=0;(function r(){e.length>n?e[(n+=1)-1](r):"function"==typeof t&&t()})()}(t.map(t=>n=>{i(e,()=>{t(),n()})}),n)}},51409(e,t,n){n.d(t,{S1:()=>L,sc:()=>J,Ay:()=>es,tS:()=>Z,pX:()=>et,Mf:()=>en,K5:()=>K,Gs:()=>ee});var r=n(98158),i=n(26665),o=n(10466),a=n(80356),s=n(3516),l=n(62201),u=n(91933),c=n(32592);let d="requests",f="wins",p="auctions",h={};function g(e,t){let n=h[e]=h[e]||{bidders:{}};return t?(n.bidders[t]=n.bidders[t]||{},n.bidders[t]):n}function m(e,t){return function(n,r){var i;let o=g(n,t&&r);return o[e]=(null!==(i=o[e])&&void 0!==i?i:0)+1,o[e]}}function v(e,t){return function(n,r){var i;return null!==(i=g(n,t&&r)[e])&&void 0!==i?i:0}}let y=m(d,!1),b=m(d,!0),w=m(f,!0),E=m(p,!1),O=v(d,!1),S=v(d,!0),T=v(f,!0),k=v(p,!1);var I=n(10867),A=n(41385),_=n(18014),C=n(11418),D=n(37841),x=n(63006),j=n(70736),R=n(53202),P=n(45808),N=n(25291),q=n(53578),B=n(72122),U=n(51748);function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function F(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M(Object(n),!0).forEach(function(t){(0,r.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}let W="pbsBidAdapter",L={CLIENT:"client",SERVER:"server"},z={isAllowed:R.io,redact:q.$p},V={},G={},Q={},H=[];u.$W.getConfig("s2sConfig",e=>{e&&e.s2sConfig&&(H=(0,i.cy)(e.s2sConfig)?e.s2sConfig:[e.s2sConfig])});let J=(0,N.ZI)(e=>er.resolveAlias(e));function $(e){var t;return null!==(t=e.configName)&&void 0!==t?t:e.name}function K(e){return J(j.tp,W,{[N.XG]:$(e)})}let Y=["nativeParams","nativeOrtbRequest","renderer"];function X(e){let{bidderCode:t,auctionId:n,bidderRequestId:r,adUnits:a,src:s,metrics:l,getTid:u}=e;return a.reduce((e,a)=>{let c=a.bids.filter(e=>e.bidder===t);return null==t&&0===c.length&&null!=a.s2sBid&&c.push({bidder:null}),e.push(c.reduce((e,c)=>{var d,f,p,h,g;let[m,v]=u(c.bidder,a.transactionId,null!==(d=null===(f=c.ortb2Imp)||void 0===f||null===(f=f.ext)||void 0===f?void 0:f.tid)&&void 0!==d?d:null===(p=a.ortb2Imp)||void 0===p||null===(p=p.ext)||void 0===p?void 0:p.tid),y=null==(c=Object.assign({},c,{ortb2Imp:(0,o.mergeDeep)({},a.ortb2Imp,c.ortb2Imp,{ext:{tid:m,tidSource:v}})},(0,i.SH)(a,Y))).mediaTypes?a.mediaTypes:c.mediaTypes;return(0,o.isValidMediaTypes)(y)?c=Object.assign({},c,{mediaTypes:y}):(0,o.logError)("mediaTypes is not correctly configured for adunit ".concat(a.code)),"client"===s&&b(a.code,t),e.push(Object.assign({},c,{adUnitCode:a.code,transactionId:a.transactionId,adUnitId:a.adUnitId,sizes:(null==y||null===(h=y.banner)||void 0===h?void 0:h.sizes)||(null==y||null===(g=y.video)||void 0===g?void 0:g.playerSize)||[],bidId:c.bid_id||(0,o.generateUUID)(),bidderRequestId:r,auctionId:n,src:s,metrics:l,auctionsCount:k(a.code),bid
24RequestsCount:O(a.code),bidderRequestsCount:S(a.code,c.bidder),bidderWinsCount:T(a.code,c.bidder),deferBilling:!!a.deferBilling})),e},[])),e},[]).reduce(o.flatten,[]).filter(e=>""!==e)}let Z=(0,c.A_)("sync",function(e,t){let{getS2SBidders:n=et}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null==t)return e;{let r=n(t);return e.filter(e=>{if(!r.has(e.bidder))return!1;if(null==e.s2sConfigName)return!0;let n=$(t);return(Array.isArray(e.s2sConfigName)?e.s2sConfigName:[e.s2sConfigName]).includes(n)})}},"filterBidsForAdUnit"),ee=(0,c.A_)("sync",(e,t)=>e,"setupAdUnitMediaTypes");function et(e){(0,i.cy)(e)||(e=[e]);let t=new Set([null]);return e.filter(e=>e&&e.enabled).flatMap(e=>e.bidders).forEach(e=>t.add(e)),t}let en=(0,c.A_)("sync",function(e,t){let{getS2SBidders:n=et}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n(t);return(0,o.getBidderCodes)(e).reduce((e,t)=>(e[r.has(t)?L.SERVER:L.CLIENT].push(t),e),{[L.CLIENT]:[],[L.SERVER]:[]})},"partitionBidders"),er={bidderRegistry:V,analyticsRegistry:Q,aliasRegistry:G,makeBidRequests:(0,c.A_)("sync",function(e,t,n,r,s){var l;let c,d,f,p=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},h=arguments.length>6?arguments[6]:void 0;h=(0,D.BO)(h),_.emit(C.qY.BEFORE_REQUEST_BIDS,e),(0,a.nk)(e),e.map(e=>e.code).filter(o.uniques).forEach(E);let g=p.global||{},m=p.bidder||{},v=(u.$W.getConfig("consistentTIDs")?(c="pbjsStable",d=e=>e):(c="pbjs",d=(()=>{let e={};return(t,n)=>(e.hasOwnProperty(n)||(e[n]={}),e[n].hasOwnProperty(t)||(e[n][t]="u".concat((0,o.generateUUID)())),e[n][t])})()),function(e,t,n){return[null!=n?n:d(t,e),null!=n?"pub":c]}),b=(()=>{let e={};return function(t,n,r){var i,a,s;let l=((e,t)=>{let n=null!=t?t[N.XG]:"";return n?"".concat(e,":").concat(n):"".concat(e,":")})(n,r),u=z.redact(null!=r?r:J(j.tW,n));if(void 0!==e[l])return[e[l],u];let[c,d]=v(n,t,null!==(i=null===(a=m[n])||void 0===a||null===(a=a.source)||void 0===a?void 0:a.tid)&&void 0!==i?i:null===(s=g.source)||void 0===s?void 0:s.tid),f=Object.freeze(u.ortb2((0,o.mergeDeep)({},g,m[n],{source:{tid:c,ext:{tidSource:d}}})));return e[l]=f,[f,u]}})(),{[L.CLIENT]:w,[L.SERVER]:O}=en(e,H),S=new Set;e.forEach(e=>{(0,i.Qd)(e.mediaTypes)||(e.mediaTypes={}),e.bids=e.bids.filter(t=>{if(!t.bidder)return!0;let[r]=b(n,t.bidder),i=O.includes(t.bidder)&&!w.includes(t.bidder);return z.isAllowed(P.uc,J(j.tW,t.bidder,{bid:t,ortb2:r,adUnit:e,auctionId:n,isS2S:i}))}),e.bids.forEach(e=>{S.add(e.bidder)}),y(e.code)}),w=w.filter(e=>S.has(e)),O=O.filter(e=>S.has(e)),e=ee(e,s),u.$W.getConfig("bidderSequence")===u.Ov&&(w=(0,o.shuffle)(w));let T=(0,I.EN)(),k=[];function x(e,t){let[n,r]=b(e.auctionId,e.bidderCode,t);return e.ortb2=n,e.bids=e.bids.map(e=>(e.ortb2=n,r.bidRequest(e))),e}let R=(0,U.m)();function q(e){return R.pageViewIdPerBidder.has(e)||R.pageViewIdPerBidder.set(e,(0,o.generateUUID)()),R.pageViewIdPerBidder.get(e)}H.forEach(r=>{let a=K(r);if(r&&r.enabled&&z.isAllowed(P.uc,a)){var s;let l,u;let{adUnits:c,hasModuleBids:d}=(s=e,l=(0,i.Go)(s),u=!1,l.forEach(e=>{let t=e.bids.filter(e=>{var t;return e.module===W&&(null===(t=e.params)||void 0===t?void 0:t.configName)===$(r)});1===t.length?(e.s2sBid=t[0],u=!0,e.ortb2Imp=(0,o.mergeDeep)({},e.s2sBid.ortb2Imp,e.ortb2Imp)):t.length>1&&(0,o.logWarn)('Multiple "module" bids for the same s2s configuration; all will be ignored',t),e.bids=Z(e.bids,r).map(e=>(e.bid_id=(0,o.getUniqueIdentifierStr)(),e))}),{adUnits:l=l.filter(e=>!(r.filterBidderlessCalls&&1===e.bids.length&&null==e.bids[0].bidder||0===e.bids.length&&null==e.s2sBid)),hasModuleBids:u}),f=(0,o.generateUUID)();(0===O.length&&d?[null]:O).forEach(e=>{let s=(0,o.generateUUID)(),l=q(e),u=h.fork(),d=x({bidderCode:e,auctionId:n,bidderRequestId:s,pageViewId:l,uniquePbsTid:f,bids:X({bidderCode:e,auctionId:n,bidderRequestId:s,adUnits:(0,i.Go)(c),src:C.RW.SRC,metrics:u,getTid:v}),auctionStart:t,timeout:r.timeout,src:C.RW.SRC,refererInfo:T,metrics:u,alwaysHasCapacity:r.alwaysHasCapacity},a);0!==d.bids.length&&k.push(d)}),c.forEach(e=>{let t=e.bids.filter(e=>k.find(t=>t.bids.find(t=>t.bidId===e.bid_id)));e.bids=t}
24),k.forEach(e=>{void 0===e.adUnitsS2SCopy&&(e.adUnitsS2SCopy=c.filter(e=>e.bids.length>0||null!=e.s2sBid))})}});let B=(l=e,(f=(0,i.Go)(l)).forEach(e=>{e.bids=Z(e.bids,null)}),f=f.filter(e=>0!==e.bids.length));return w.forEach(e=>{var a;let s=(0,o.generateUUID)(),l=q(e),u=h.fork(),c=V[e],d=x({bidderCode:e,auctionId:n,pageViewId:l,bidderRequestId:s,bids:X({bidderCode:e,auctionId:n,bidderRequestId:s,adUnits:(0,i.Go)(B),src:"client",metrics:u,getTid:v}),auctionStart:t,timeout:r,refererInfo:T,metrics:u,src:"client",alwaysHasCapacity:null==c||null===(a=c.getSpec)||void 0===a?void 0:a.call(c).alwaysHasCapacity});c||(0,o.logError)("Trying to make a request for bidder that does not exist: ".concat(e)),c&&d.bids&&0!==d.bids.length&&k.push(d)}),k.forEach(e=>{A.mW.getConsentData()&&(e.gdprConsent=A.mW.getConsentData()),A.t6.getConsentData()&&(e.uspConsent=A.t6.getConsentData()),A.ad.getConsentData()&&(e.gppConsent=A.ad.getConsentData())}),k},"makeBidRequests"),callBids(e,t,n,r,i,a,s){let c=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{};if(!t.length)return void(0,o.logWarn)("callBids executed with no bidRequests. Were they filtered by labels or sizing?");let[d,f]=t.reduce((e,t)=>(e[Number(void 0!==t.src&&t.src===C.RW.SRC)].push(t),e),[[],[]]);var p=[];f.forEach(e=>{for(var t=-1,n=0;n<p.length;++n)if(e.uniquePbsTid===p[n].uniquePbsTid){t=n;break}t<=-1&&p.push(e)});let h=0;H.forEach(e=>{if(e&&p[h]&&et(e).has(p[h].bidderCode)){let t=(0,l.g4)(a,i?{request:i.request.bind(null,"s2s"),done:i.done}:void 0),u=e.bidders,d=V[e.adapter],g=p[h].uniquePbsTid,m=p[h].adUnitsS2SCopy,v=f.filter(e=>e.uniquePbsTid===g);if(d){let i={ad_units:m,s2sConfig:e,ortb2Fragments:c,requestBidsTimeout:a};if(i.ad_units.length){let e=v.map(e=>(e.start=(0,o.timestamp)(),function(t){t||s(e.bidderRequestId);for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];r.apply(e,[t,...i])})),a=(0,o.getBidderCodes)(i.ad_units).filter(e=>u.includes(e));(0,o.logMessage)("CALLING S2S HEADER BIDDERS ==== ".concat(a.length>0?a.join(", "):'No bidder specified, using "ortb2Imp" definition(s) only')),v.forEach(e=>{_.emit(C.qY.BID_REQUESTED,F(F({},e),{},{tid:e.auctionId}))}),d.callBids(i,f,n,t=>e.forEach(e=>e(t)),t)}}else(0,o.logError)("missing "+e.adapter);h++}}),d.forEach(e=>{e.start=(0,o.timestamp)();let t=V[e.bidderCode];u.$W.runWithBidder(e.bidderCode,()=>{(0,o.logMessage)("CALLING BIDDER"),_.emit(C.qY.BID_REQUESTED,e)});let c=(0,l.g4)(a,i?{request:i.request.bind(null,e.bidderCode),done:i.done}:void 0),d=r.bind(e);try{u.$W.runWithBidder(e.bidderCode,t.callBids.bind(t,e,n,d,c,()=>s(e.bidderRequestId),u.$W.callbackWithBidder(e.bidderCode)))}catch(t){(0,o.logError)("".concat(e.bidderCode," Bid Adapter emitted an uncaught error when parsing their bidRequest"),{e:t,bidRequest:e}),d()}})},videoAdapters:[],registerBidAdapter(e,t){var n;let{supportedMediaTypes:r=[]}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e&&t?"function"==typeof e.callBids?(V[t]=e,A.o2.register(j.tW,t,null===(n=e.getSpec)||void 0===n?void 0:n.call(e).gvlid),r.includes("video")&&er.videoAdapters.push(t),r.includes("native")&&a.mT.push(t)):(0,o.logError)("Bidder adaptor error for bidder code: "+t+"bidder must implement a callBids() function"):(0,o.logError)("bidAdapter or bidderCode not specified")},aliasBidAdapter(e,t,n){if(void 0===V[t]){let r=V[e];if(void 0===r){let n=[];H.forEach(r=>{if(r.bidders&&r.bidders.length){let i=r&&r.bidders;r&&i.includes(t)?G[t]=e:n.push(e)}}),n.forEach(e=>{(0,o.logError)('bidderCode "'+e+'" is not an existing bidder.',"adapterManager.aliasBidAdapter")})}else try{let i;let l=function(e){let t=[];return er.videoAdapters.includes(e)&&t.push("video"),a.mT.includes(e)&&t.push("native"),t}(e);if(r.constructor.prototype!==Object.prototype)(i=new r.constructor).setBidderCode(t);else{let{useBaseGvlid:a=!1}=n||{},l=r.getSpec(),u=a?l.gvlid:null==n?void 0:n.gvlid;null==u&&null!=l.gvlid&&(0,o.logWarn)("Alias '".concat(t,"' will NOT re-use the GVL ID of the original adapter ('").concat(l.code,"', gvlid: ").concat(l.gvlid,"). Functionality that requires TCF consent may not work as expected."));let c=n&&n.skipPbsAliasing;i=(0,s.xb)(Object.assign({},l,{code:t,gvlid:u,skipPbsAliasing:c})),G[t]=e}er.registerBidAdapter(i,t,{supportedMediaTypes:l})}catch(t){(0,o.logError)(e+" bidder does not currently support aliasing.","adapterManager.aliasBidAdapter")}}else(0,o.logMessage)('alias name "'+t+'" has been already specified.')},resolveAlias(e){let t,n=e;for(;G[n]&&(!t||!t.has(n));)n=G[n],(t=t||new Set).add(n);return n},registerAnalyticsAdapter(e){let{adapter:t,code:n,gvlid:r}=e;t&&n?"function"==typeof t.enableAnalytics?(t.code=n,Q[n]={adapter:t,gvlid:r},A.o2.register(j.Tn,n,r)):(0,o.logError)('Prebid Error: Analytics adaptor error for analytics "'.concat(n,'"\n analytics adapter must implement an enableAnalytics() function')):(0,o.logError)("Prebid Error: analyticsAdapter or analyticsCode not specified")}
24,enableAnalytics(e){(0,i.cy)(e)||(e=[e]),e.forEach(e=>{let t=Q[e.provider];t&&t.adapter?z.isAllowed(P.mo,J(j.Tn,e.provider,{[N.TQ]:e}))&&t.adapter.enableAnalytics(e):(0,o.logError)("Prebid Error: no analytics adapter found in registry for '".concat(e.provider,"'."))})},getBidAdapter:e=>V[e],getAnalyticsAdapter:e=>Q[e],callTimedOutBidders(e,t,n){t=t.map(t=>(t.params=(0,o.getUserConfiguredParams)(e,t.adUnitCode,t.bidder),t.timeout=n,t)),Object.keys(t=(0,o.groupBy)(t,"bidder")).forEach(e=>{ea(e,"onTimeout",t[e])})},callBidWonBidder(e,t,n){t.params=(0,o.getUserConfiguredParams)(n,t.adUnitCode,t.bidder),w(t.adUnitCode,t.bidder),ea(e,"onBidWon",t)},triggerBilling:(()=>{let e=new WeakSet;return t=>{var n;e.has(t)||(e.add(t),((null===(n=(0,B.$T)(t.eventtrackers)[B.OA])||void 0===n?void 0:n[B.Ni])||[]).forEach(e=>o.internal.triggerPixel(e)),ea(t.bidder,"onBidBillable",t))}})(),callSetTargetingBidder(e,t){ea(e,"onSetTargeting",t)},callBidViewableBidder(e,t){ea(e,"onBidViewable",t)},callBidderError(e,t,n){ea(e,"onBidderError",{error:t,bidderRequest:n})},callAdRenderSucceededBidder(e,t){ea(e,"onAdRenderSucceeded",t)},callOnInterventionBidder(e,t,n){ea(e,"onIntervention",{bid:t,intervention:n})},callDataDeletionRequest:(0,c.A_)("sync",function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let r="onDataDeletionRequest";Object.keys(V).filter(e=>!G.hasOwnProperty(e)).forEach(e=>{let n=ei(e,r);if(null!=n){let i=x.n.getBidsRequested().filter(t=>(function(e){let t=new Set;for(;G.hasOwnProperty(e)&&!t.has(e);)t.add(e),e=G[e];return e})(t.bidderCode)===e);eo(e,r,...n,i,...t)}}),Object.entries(Q).forEach(e=>{var n;let[i,a]=e,s=null==a||null===(n=a.adapter)||void 0===n?void 0:n[r];if("function"==typeof s)try{s.apply(a.adapter,t)}catch(e){(0,o.logError)("error calling ".concat(r," of ").concat(i),e)}})})};function ei(e,t){let n=V[e],r=(null==n?void 0:n.getSpec)&&n.getSpec();if(r&&r[t]&&"function"==typeof r[t])return[r,r[t]]}function eo(e,t,n,r){try{(0,o.logInfo)("Invoking ".concat(e,".").concat(t));for(var i=arguments.length,a=Array(i>4?i-4:0),s=4;s<i;s++)a[s-4]=arguments[s];u.$W.runWithBidder(e,r.bind(n,...a))}catch(n){(0,o.logWarn)("Error calling ".concat(t," of ").concat(e))}}function ea(e,t,n){if((null==n?void 0:n.source)!==C.RW.SRC){let r=ei(e,t);null!=r&&eo(e,t,...r,n)}}let es=er},51640(e,t,n){let r,i,o;n.d(t,{M_:()=>p,Sb:()=>h,X5:()=>y,kh:()=>d});var a=n(62201),s=n(91933),l=n(63006),u=n(10466),c=n(71186);let d=new Map;function f(e){return e.vastXml?e.vastXml:function(e,t){let n=(t=t&&(Array.isArray(t)?t:[t]))?t.map(e=>"<Impression><![CDATA[".concat(e,"]]></Impression>")).join(""):"";return'<VAST version="3.0">\n <Ad>\n <Wrapper>\n <AdSystem>prebid.org wrapper</AdSystem>\n <VASTAdTagURI><![CDATA['.concat(e,"]]></VASTAdTagURI>\n ").concat(n,"\n <Creatives></Creatives>\n </Wrapper>\n </Ad>\n </VAST>")}(e.vastUrl,e.vastImpUrl)}function p(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a.g4,r={puts:e.map(e=>(function(e){let{index:t=l.n.index}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=f(e),r=t.getAuction(e),i={type:"xml",value:n,ttlseconds:Number(e.ttl)+15};return s.$W.getConfig("cache.vasttrack")&&(i.bidder=e.bidder,i.bidid=e.requestId,i.aid=e.auctionId),null!=r&&(i.timestamp=r.getAuctionStart()),"string"==typeof e.customCacheKey&&""!==e.customCacheKey&&(i.key=e.customCacheKey),i})(e))};n(s.$W.getConfig("cache.timeout"))(s.$W.getConfig("cache.url"),{success:function(e){let n;try{n=JSON.parse(e).responses}catch(e){return void t(e,[])}n?t(null,n):t(Error("The cache server didn't respond with a responses property."),[])},error:function(e,n){t(Error("Error storing video ad in the cache: ".concat(e,": ").concat(JSON.stringify(n))),[])}},JSON.stringify(r),{contentType:"text/plain",withCredentials:!0})}let h=e=>{let t=f(e),n=URL.createObjectURL(new Blob([t],{type:"text/xml"}));g(e,n),d.set(e.videoCacheKey,n)},g=(e,t,n)=>{e.videoCacheKey=n||(0,u.generateUUID)(),e.vastUrl||(e.vastUrl=t)},m={store:p};function v(e){let t=e.map(e=>e.bidResponse);m.store(t,function(n,r){n?(0,u.logError)("Failed to save to the video cache: ".concat(n,". Video bids will be discarded:"),t):e.length!==r.length?(0,u.logError)("expected ".concat(e.length," cache IDs, got ").concat(r.length," instead")):r.forEach((t,n)=>{var r;let{auctionInstance:i,bidResponse:o,afterBidAdded:a}=e[n];""===t.uuid?(0,u.logWarn)("Supplied video cache key was already in use by Prebid Cache; caching attempt was rejected. Video bid must be discarded."):(g(o,(r=t.uuid,"".concat(s.$W.getConfig("cache.url"),"?uuid=").concat(r)),t.uuid),(0,c.v8)(i,o),a())})})}s.$W.getConfig("cache",e=>{let{cache:t}=e;r="number"==typeof t.batchSize&&t.batchSize>0?t.batchSize:1,i="number"==typeof t.batchTimeout&&t.batchTimeout>0?t.batchTimeout:0,t.useLocal&&!o&&(o=l.n.onExpiry(e=>
24{e.getBidsReceived().forEach(e=>{let t=d.get(e.videoCacheKey);t&&t.startsWith("blob")&&URL.revokeObjectURL(t),d.delete(e.videoCacheKey)})}))});let y=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:setTimeout,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v,n=[[]],o=!1,a=e=>e();return function(s,l,u){let c=i>0?e:a;n[n.length-1].length>=r&&n.push([]),n[n.length-1].push({auctionInstance:s,bidResponse:l,afterBidAdded:u}),o||(o=!0,c(()=>{n.forEach(t),n=[[]],o=!1},i))}}()},51748(e,t,n){n.d(t,{E:()=>s,m:()=>a});var r=n(765);let i=(0,r.uP)()?window:{},o=i[(0,r.k)()]=i[(0,r.k)()]||{};function a(){return o}function s(e){o.installedModules.push(e)}o.cmd=o.cmd||[],o.que=o.que||[],o.installedModules=o.installedModules||[],i===window&&(i._pbjsGlobals=i._pbjsGlobals||[],i._pbjsGlobals.push((0,r.k)()))},51833(e,t,n){n.d(t,{Dy:()=>i,O$:()=>a,i8:()=>o});var r=n(10466);let i=["dooh","app","site"];function o(e){return function(t){return i.reduce((n,i)=>(a(t,i)&&(null!=n?((0,r.logWarn)("".concat(e," specifies both '").concat(n,"' and '").concat(i,"'; dropping the latter.")),delete t[i]):n=i),n),null),t}}function a(e,t){return null!=e[t]&&Object.keys(e[t]).length>0}},53202(e,t,n){n.d(t,{io:()=>a,qB:()=>o});var r=n(10466),i=n(25291);let[o,a]=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,r.prefixLog)("Activity control:"),t={};function n(e){return t[e]=t[e]||[],t[e]}let o={};function a(t){let{activity:n,name:r,allow:i,reason:a,component:s}=t,l="".concat(r," ").concat(i?"allowed":"denied"," '").concat(n,"' for '").concat(s,"'").concat(a?":":""),u=o.hasOwnProperty(l);if(u&&clearTimeout(o[l]),o[l]=setTimeout(()=>delete o[l],1e3),!u){let t=[l];a&&t.push(a),(i?e.logInfo:e.logWarn).apply(e,t)}}return[function(e,t,r){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10,o=n(e),a=o.findIndex(e=>{let[t]=e;return i<t}),s=[i,t,r];return o.splice(a<0?o.length:a,0,s),function(){let e=o.indexOf(s);e>=0&&o.splice(e,1)}},function(t,r){let o,s;for(let[l,u,c]of n(t)){if(o!==l&&s)break;o=l;let n=function(t,n,r,o){let a;try{a=r(o)}catch(r){e.logError("Exception in rule ".concat(n," for '").concat(t,"'"),r),a={allow:!1,reason:r}}return a&&Object.assign({activity:t,name:n,component:o[i.Ii]},a)}(t,u,c,r);if(n){if(!n.allow)return a(n),!1;s=n}}return s&&a(s),!0}]}()},53578(e,t,n){n.d(t,{Vx:()=>l,l7:()=>s,p4:()=>m,$V:()=>g,ZP:()=>v,$p:()=>y,uD:()=>h});var r=n(58928),i=n(91933),o=n(53202),a=n(45808);let s=["data","ext.data","yob","gender","keywords","kwarray","id","buyeruid","customdata"].map(e=>"user.".concat(e)).concat("device.ext.cdep"),l=["user.eids","user.ext.eids"],u=["user.geo.lat","user.geo.lon","device.geo.lat","device.geo.lon"],c=["device.ip"],d=["device.ipv6"];function f(e){return Object.assign({get(){},run(e,t,n,r,i){let o=n&&n[r];if(g(o)&&i()){let e=this.get(o);void 0===e?delete n[r]:n[r]=e}}},e)}function p(e){return e.forEach(e=>{e.paths=e.paths.map(e=>{let t=e.split("."),n=t.pop();return[t.length>0?t.join("."):null,n]})}),function(t,n){let i=[];for(var o=arguments.length,a=Array(o>2?o-2:0),s=2;s<o;s++)a[s-2]=arguments[s];let l=h(t,...a);return e.forEach(e=>{if(!1!==t[e.name])for(let[o,a]of e.paths){let s=null==o?n:(0,r.A)(n,o);if(i.push(e.run(n,o,s,a,l.bind(null,e))),!1===t[e.name])return}}),i.filter(e=>null!=e)}}function h(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function(t){return e.hasOwnProperty(t.name)||(e[t.name]=!!t.applies(...n)),e[t.name]}}function g(e){return null!=e&&("object"!=typeof e||Object.keys(e).length>0)}function m(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.io;return function(n){return!t(e,n)}}function v(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.io;return[{name:a.DL,paths:s,applies:m(a.DL,e)},{name:a.hq,paths:l,applies:m(a.hq,e)},{name:a.hE,paths:u,applies:m(a.hE,e),get:e=>Math.round(100*(e+Number.EPSILON))/100},{name:a.hE,paths:c,applies:m(a.hE,e),get:e=>(function(e){if(!e)return null;let t=e.split(".").map(Number);if(4!==t.length)return null;let n=[];for(let e=0;e<4;e++){let t=Math.max(0,Math.min(8,24-8*e));n.push(255<<8-t&255)}return t.map((e,t)=>e&n[t]).join(".")})(e)},{name:a.hE,paths:d,applies:m(a.hE,e),get:e=>(function(e){if(!e)return null;let t=e.split(":").map(e=>parseInt(e,16));for(t=t.map(e=>isNaN(e)?0:e);t.length<8;)t.push(0);if(8!==t.length)return null;let n=[];for(let e=0;e<8;e++){let t=Math.max(0,Math.min(16,64-16*e));n.push(65535<<16-t&65535)}return t.map((e,t)=>e&n[t]).map(e=>e.toString(16)).join(":")})(e)},{name:a.VJ,paths:["source.tid","source.ext.tidSource"],applies:m(a.VJ,e)}].map(f)}let y=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.io,t=p(v(e)),n=p(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.io;return[{name:a.hq,paths:["userId","userIdAsEids"],applies:m(a.hq,e)},{name:a.VJ,paths:["ortb2Imp.ext.tid","ortb2Imp.ext.tidSource"],applies:m(a.VJ,e)}].map(f)}(e));return function(e){let r={};return{ortb2:n=>(t(r,n,e),n),bidRequest:t=>(n(r,t,e),t)}}}();(0,o.qB)(a.VJ,"enableTIDs config",()=>{if(!i.$W.getConfig("enableTIDs"))return{allow:!1,reason:"TIDs are disabled"}})},59794(e,t,n){n.d(t,{D4:()=>o,FY:()=>s,GE:()=>l,G_:()=>i,LM:()=>a,s6:()=>r});let r="native",i="video",o="banner",a="adpod",s="audio",l=[r,i,o,s]},61443(e,t,n){n.d(t,{CK:()=>E,X0:()=>v,d_:()=>O,le:()=>b,p6:()=>T,qk:()=>m,s0:()=>y,vM:()=>w});var r=n(98158),i=n(10466),o=n(77156),a=n(70736),s=n(53202),l=n(25291),u=n(45808),c=n(91933),d=n(32592),f=n(51409),p=n(77610);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
24t%2?h(Object(n),!0).forEach(function(t){(0,r.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}let m="html5",v="cookie",y=[];function b(){let{moduleName:e,moduleType:t,advertiseKeys:n=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{isAllowed:r=s.io}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};function o(i,o,s,d){let h=e,g=c.$W.getCurrentBidder();g&&t===a.tW&&f.Ay.aliasRegistry[g]===e&&(h=g);let m={[l.Zw]:o,[l.OI]:d};return n&&null!=s&&(m[l.Ez]=s),i({valid:r(u.Ue,(0,p.s)(t,h,m))})}function d(e,t,n,r,i){if(!i||"function"!=typeof i)return o(e,t,n,r);y.push(function(){i(o(e,t,n,r))})}function h(e){let t=e.charAt(0).toUpperCase()+e.substring(1),n=()=>window[e],r=function(t){return d(function(t){if(t&&t.valid)try{return!!n()}catch(t){(0,i.logError)("".concat(e," api disabled"))}return!1},m,null,!1,t)};return{["has".concat(t)]:r,["".concat(e,"IsEnabled")]:e=>d(function(e){if(e&&e.valid)try{return n().setItem("prebid.cookieTest","1"),"1"===n().getItem("prebid.cookieTest")}catch(e){}finally{try{n().removeItem("prebid.cookieTest")}catch(e){}}return!1},m,null,!1,e),["setDataIn".concat(t)]:(e,t,i)=>d(function(i){i&&i.valid&&r()&&n().setItem(e,t)},m,e,!0,i),["getDataFrom".concat(t)]:(e,t)=>d(function(t){return t&&t.valid&&r()?n().getItem(e):null},m,e,!1,t),["removeDataFrom".concat(t)]:(e,t)=>d(function(t){t&&t.valid&&r()&&n().removeItem(e)},m,e,!0,t)}}return g(g(g({setCookie:function(e,t,n,r,i,o){return d(function(o){if(o&&o.valid){let o=i&&""!==i?" ;domain=".concat(encodeURIComponent(i)):"",a="none"===(null==r?void 0:r.toLowerCase())?"; Secure":"";document.cookie="".concat(e,"=").concat(encodeURIComponent(t)).concat(n&&""!==n?" ;expires=".concat(n):"","; path=/").concat(o).concat(r?"; SameSite=".concat(r):"").concat(a)}},v,e,!0,o)},getCookie:function(e,t){return d(function(t){if(t&&t.valid){let t=window.document.cookie.match("(^|;)\\s*"+e+"\\s*=\\s*([^;]*)\\s*(;|$)");return t?decodeURIComponent(t[2]):null}return null},v,e,!1,t)},cookiesAreEnabled:function(e){return d(function(e){return!(!e||!e.valid)&&(0,i.checkCookieSupport)()&&O()},v,null,!1,e)}},h("localStorage")),h("sessionStorage")),{},{findSimilarCookies:function(e,t){return d(function(t){if(t&&t.valid){let t=[];if((0,i.hasDeviceAccess)()){let n=document.cookie.split(";");for(;n.length;){let r=n.pop(),i=r.indexOf("=");i=i<0?r.length:i,decodeURIComponent(r.slice(0,i).replace(/^\s+/,"")).indexOf(e)>=0&&t.push(decodeURIComponent(r.slice(i+1)))}}return t}},v,e,!1,t)}})}function w(){let{moduleType:e,moduleName:t,bidderCode:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};function r(){throw Error("Invalid invocation for getStorageManager: must set either bidderCode, or moduleType + moduleName")}return n?((e&&e!==a.tW||t)&&r(),e=a.tW,t=n):t&&e||r(),b({moduleType:e,moduleName:t})}function E(e){return b({moduleName:e,moduleType:a.tp})}let O=(()=>{let e=E("storage");return(0,i.memoize)(function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=new Date((0,i.timestamp)()+1e4).toUTCString(),o="_rdc".concat(Date.now()),a="writeable";return n.setCookie(o,a,r,"Lax",t),n.getCookie(o)===a&&(n.setCookie(o,"","Thu, 01 Jan 1970 00:00:01 GMT",void 0,t),!0)})})();function S(){if(!(0,i.hasDeviceAccess)())return{allow:!1}}(0,s.qB)(u.Ue,"deviceAccess config",S),(0,s.qB)(u.yg,"deviceAccess config",S),(0,s.qB)(u.Ue,"bidderSettings.*.storageAllowed",function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.u;if(e[l.Dk]!==a.tW)return;let n=t.get(e[l.q7],"storageAllowed");if(n&&!0!==n){let t=e[l.Zw];n=Array.isArray(n)?n.some(e=>e===t):n===t}else n=!!n;return n?void 0:{allow:n}});let T=(0,d.A_)("sync",(e,t)=>{})},62201(e,t,n){n.d(t,{RD:()=>m,Rz:()=>g,g4:()=>h,hd:()=>v,p3:()=>d});var r=n(45808),i=n(77610),o=n(53202),a=n(91933),s=n(32592),l=n(10466);let u={fetch:window.fetch.bind(window),makeRequest:(e,t)=>new Request(e,t),timeout(e,t){let n=new AbortController,r=setTimeout(()=>{n.abort(),(0,l.logError)("Request timeout after ".concat(e,"ms"),t),r=null},e);return{signal:n.signal,done(){r&&clearTimeout(r)}}}},c="Content-Type",d=(0,s.A_)("async",function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;return e.withCredentials&&(e.withCredentials=t&&n?(0,o.io)(r.yg,(0,i.s)(t,n)):(0,l.hasDeviceAccess)()),e},"processRequestOptions");function f(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3e3,{request:n,done:r}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,s=(e,n)=>{var r,s;let l;null==t||null!=(null===(r=n)||void 0===r?void 0:r.signal)||a.$W.getConfig("disableAjaxTimeout")||(n=Object.assign({signal:(l=u.timeout(t,e)).signal},n)),d(n,i,o);
24let c=u.fetch(e,n);return null!=(null===(s=l)||void 0===s?void 0:s.done)&&(c=c.finally(l.done)),c};return null==n&&null==r||(e=s,s=function(t,i){let o=new URL(null==(null==t?void 0:t.url)?t:t.url,document.location).origin,a=e(t,i);return n&&n(o),r&&(a=a.finally(()=>r(o))),a}),s}function p(e,t){let n,{status:r,statusText:i="",headers:o,url:a}=e;function s(e){if(void 0===n)try{var r;n=(new DOMParser).parseFromString(t,null==o||null===(r=o.get(c))||void 0===r||null===(r=r.split(";"))||void 0===r?void 0:r[0])}catch(t){n=null,e&&e(t)}return n}return{readyState:XMLHttpRequest.DONE,status:r,statusText:i,responseText:t,response:t,responseType:"",responseURL:a,get responseXML(){return s(l.logError)},getResponseHeader:e=>null!=o&&o.has(e)?o.get(e):null,toJSON(){return Object.assign({responseXML:s()},this)},timedOut:!1}}function h(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3e3,{request:t,done:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=f(e,{request:t,done:n},arguments.length>2?arguments[2]:void 0,arguments.length>3?arguments[3]:void 0);return function(e,t,n){!function(e,t){let{success:n,error:r}="object"==typeof t&&null!=t?t:{success:"function"==typeof t?t:()=>null,error:(e,t)=>(0,l.logError)("Network error",e,t)};e.then(e=>e.text().then(t=>[e,t])).then(e=>{let[t,i]=e,o=p(t,i);t.ok||304===t.status?n(i,o):r(t.statusText,o)},e=>r("",Object.assign(p({status:0},""),{reason:e,timedOut:"AbortError"===(null==e?void 0:e.name)})))}(r(function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.method||(t?"POST":"GET");if("GET"===r&&t){let r=(0,l.parseUrl)(e,n);Object.assign(r.search,t),e=(0,l.buildUrl)(r)}let i=new Headers(n.customHeaders);i.set(c,n.contentType||"text/plain");let o={method:r,headers:i};return"GET"!==r&&t&&(o.body=t),n.withCredentials&&(o.credentials="include"),isSecureContext&&(["browsingTopics","adAuctionHeaders"].forEach(e=>{n[e]&&(o[e]=!0)}),null!=n.suppressTopicsEnrollmentWarning&&(o.suppressTopicsEnrollmentWarning=n.suppressTopicsEnrollmentWarning)),n.keepalive&&(o.keepalive=!0),u.makeRequest(e,o)}(e,n,arguments.length>3&&void 0!==arguments[3]?arguments[3]:{})),t)}}function g(e,t){return!(!window.navigator||!window.navigator.sendBeacon)&&window.navigator.sendBeacon(e,t)}let m=h(),v=f()},63006(e,t,n){n.d(t,{n:()=>c});var r=n(10466),i=n(71186);function o(e){Object.assign(this,{getAuction(t){let{auctionId:n}=t;if(null!=n)return e().find(e=>e.getAuctionId()===n)},getAdUnit(t){let{adUnitId:n}=t;if(null!=n)return e().flatMap(e=>e.getAdUnits()).find(e=>e.adUnitId===n)},getMediaTypes(e){let{adUnitId:t,requestId:n}=e;if(null!=n){let e=this.getBidRequest({requestId:n});if(null!=e&&(null==t||e.adUnitId===t))return e.mediaTypes}else if(null!=t){let e=this.getAdUnit({adUnitId:t});if(null!=e)return e.mediaTypes}},getBidderRequest(t){let{requestId:n,bidderRequestId:r}=t;if(null!=n||null!=r){let t=e().flatMap(e=>e.getBidRequests());return null!=r&&(t=t.filter(e=>e.bidderRequestId===r)),null==n?t[0]:t.find(e=>e.bids&&null!=e.bids.find(e=>e.bidId===n))}},getBidRequest(t){let{requestId:n}=t;if(null!=n)return e().flatMap(e=>e.getBidRequests()).flatMap(e=>e.bids).find(e=>e&&e.bidId===n)},getOrtb2(e){var t,n;return(null===(t=this.getBidderRequest(e))||void 0===t?void 0:t.ortb2)||(null===(n=this.getAuction(e))||void 0===n||null===(n=n.getFPD())||void 0===n||null===(n=n.global)||void 0===n?void 0:n.ortb2)}})}var a=n(11418),s=n(37841),l=n(10939),u=n(15482);let c=function(){let e=(0,l.H)({startTime:e=>e.end.then(()=>e.getAuctionEnd()),ttl:e=>null==(0,u.S9)()?null:e.end.then(()=>1e3*Math.max((0,u.S9)(),...e.getBidsReceived().map(e=>e.ttl)))});(0,u.lc)(()=>e.refresh());let t={onExpiry:e.onExpiry};function n(t){for(let n of e)if(n.getAuctionId()===t)return n}function c(){return e.toArray().flatMap(e=>e.getBidsReceived())}return t.addWinningBid=function(e){let t=(0,s.BO)(e.metrics);t.checkpoint("bidWon"),t.timeBetween("auctionEnd","bidWon","adserver.pending"),t.timeBetween("requestBids","bidWon","adserver.e2e");let i=n(e.auctionId);i?i.addWinningBid(e):(0,r.logWarn)("Auction not found when adding winning bid")},Object.entries({getAllWinningBids:{name:"getWinningBids"},getBidsRequested:{name:"getBidRequests"},getNoBids:{},getAdUnits:{},getBidsReceived:{pre:e=>e.getAuctionStatus()===i.UZ},getAdUnitCodes:{post:r.uniques}}
24).forEach(n=>{let[r,{name:i=r,pre:o,post:a}]=n,s=null==o?e=>e[i]():e=>o(e)?e[i]():[],l=null==a?e=>e:e=>e.filter(a);t[r]=()=>l(e.toArray().flatMap(s))}),t.getAllBidsForAdUnitCode=function(e){return c().filter(t=>t&&t.adUnitCode===e)},t.createAuction=function(t){let n=(0,i.mX)(t);return e.add(n),n},t.findBidByAdId=function(e){return c().find(t=>t.adId===e)},t.getStandardBidderAdServerTargeting=function(){return(0,i.HN)()[a.iD.ADSERVER_TARGETING]},t.setStatusForBids=function(e,r){let i=t.findBidByAdId(e);if(i&&(i.status=r),i&&r===a.tl.BID_TARGETING_SET){let e=n(i.auctionId);e&&e.setBidTargeting(i)}},t.getLastAuctionId=function(){let t=e.toArray();return t.length&&t[t.length-1].getAuctionId()},t.clearAllAuctions=function(){e.clear()},t.index=new o(()=>e.toArray()),t}()},63320(e,t,n){n.d(t,{O:()=>o});var r=n(10466);function i(){let{src:e="client",bidder:t="",bidId:n,transactionId:i,adUnitId:o,auctionId:a}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object.assign(this,{bidderCode:t,width:0,height:0,adId:(0,r.getUniqueIdentifierStr)(),requestId:n,transactionId:i,adUnitId:o,auctionId:a,mediaType:"banner",source:e}
24),this.getSize=function(){return this.width+"x"+this.height}}function o(e){return new i(e)}},67464(e,t,n){n.d(t,{A4:()=>l,J7:()=>u,Pg:()=>c});var r=n(75049),i=n(10466),o=n(51748),a=n(70736);let s=(0,o.m)();function l(e){let{url:t,config:n,id:o,callback:l,loaded:u,adUnitCode:c,renderNow:d}=e;this.url=t,this.config=n,this.handlers={},this.id=o,this.renderNow=d,this.adUnitCode=c,this.loaded=u,this.cmd=[],this.push=e=>{"function"==typeof e?this.loaded?e.call():this.cmd.push(e):(0,i.logError)("Commands given to Renderer.push must be wrapped in a function")},this.callback=l||(()=>{this.loaded=!0,this.process()}),this.render=(function(){let e=arguments,n=()=>{this._render?this._render.apply(this,e):(0,i.logWarn)("No render function was provided, please use .setRender on the renderer")};(function(e){var t;let n=s.adUnits.find(t=>t.code===e);if(!n)return!1;let r=null==n?void 0:n.renderer,i=!!(r&&r.url&&r.render),o=null==n||null===(t=n.mediaTypes)||void 0===t||null===(t=t.video)||void 0===t?void 0:t.renderer,a=!!(o&&o.url&&o.render);return!!(i&&!0!==r.backupOnly||a&&!0!==o.backupOnly)})(c)?((0,i.logWarn)("External Js not loaded by Renderer since renderer url and callback is already defined on adUnit ".concat(c)),n()):d?n():(this.cmd.unshift(n),(0,r.R)(t,a.tp,"outstream",this.callback,this.documentContext))}).bind(this)}function u(e){return!(!e||!e.url&&!e.renderNow)}function c(e,t,n){let r=null;e.config&&e.config.documentResolver&&(r=e.config.documentResolver(t,document,n)),r||(r=document),e.documentContext=r,e.render(t,e.documentContext)}l.install=function(e){let{url:t,config:n,id:r,callback:i,loaded:o,adUnitCode:a,renderNow:s}=e;return new l({url:t,config:n,id:r,callback:i,loaded:o,adUnitCode:a,renderNow:s})},l.prototype.getConfig=function(){return this.config},l.prototype.setRender=function(e){this._render=e},l.prototype.setEventHandlers=function(e){this.handlers=e},l.prototype.handleVideoEvent=function(e){let{id:t,eventName:n}=e;"function"==typeof this.handlers[n]&&this.handlers[n](),(0,i.logMessage)("Prebid Renderer event for id ".concat(t," type ").concat(n))},l.prototype.process=function(){for(;this.cmd.length>0;)try{this.cmd.shift().call()}catch(e){(0,i.logError)("Error processing Renderer command on ad unit '".concat(this.adUnitCode,"':"),e)}}},70736(e,t,n){n.d(t,{Tn:()=>s,fW:()=>o,tW:()=>i,tp:()=>r,zu:()=>a});let r="prebid",i="bidder",o="userId",a="rtd",s="analytics"},71186(e,t,n){n.d(t,{AA:()=>C,BU:()=>L,HN:()=>J,NE:()=>N,UZ:()=>D,ZV:()=>Q,mO:()=>G,mX:()=>q,sR:()=>B,v8:()=>W,w1:()=>M});var r=n(10466),i=n(26665),o=n(1124),a=n(80356),s=n(51640),l=n(67464),u=n(91933),c=n(73391),d=n(32592),f=n(36220),p=n(59794),h=n(63006),g=n(77156),m=n(18014),v=n(51409),y=n(11418),b=n(13064),w=n(37841),E=n(77459),O=n(51748),S=n(10939),T=n(15482),k=n(53202),I=n(45808),A=n(70736);let{syncUsers:_}=c.zt,C="inProgress",D="completed";m.on(y.qY.BID_ADJUSTMENT,function(e){!function(e){let t=(0,E.y)(e.cpm,e);t>=0&&(e.cpm=t)}(e)});let x={},j={},R=[],P=(0,O.m)(),N=(0,d.A_)("sync",e=>{});function q(e){let{adUnits:t,adUnitCodes:n,callback:i,cbTimeout:c,labels:d,auctionId:g,ortb2Fragments:E,metrics:O}=e;O=(0,w.BO)(O);let k=g||(0,r.generateUUID)(),I=new Set,A=(0,b.v6)(),q=(0,b.v6)(),G=[],Q=i,H=[],J=(0,S.H)({startTime:e=>e.responseTimestamp,ttl:e=>null==(0,T.S9)()?null:1e3*Math.max((0,T.S9)(),e.ttl)}),$,Y,X,Z,ee=[],et=[],en=[];function er(){return{auctionId:k,timestamp:$,auctionEnd:Y,auctionStatus:Z,adUnits:t,adUnitCodes:n,labels:d,bidderRequests:H,noBids:ee,bidsReceived:J.toArray(),bidsRejected:G,winningBids:et,timeout:c,metrics:O,seatNonBids:en}}function ei(e){if(e?m.emit(y.qY.AUCTION_TIMEOUT,er()):clearTimeout(X),void 0===Y){let i=[];e&&((0,r.logMessage)("Auction ".concat(k," timedOut")),(i=H.filter(e=>!I.has(e.bidderRequestId)).flatMap(e=>e.bids)).length&&m.emit(y.qY.BID_TIMEOUT,i)),Z=D,Y=Date.now(),O.checkpoint("auctionEnd"),O.timeBetween("requestBids","auctionEnd","requestBids.total"),O.timeBetween("callBids","auctionEnd","requestBids.callBids"),A.resolve(),m.emit(y.qY.AUCTION_END,er()),F(t,g,function(){try{if(null!=Q){let t=J.toArray().filter(e=>n.includes(e.adUnitCode)).reduce(K,{});Q.apply(P,[t,e,k]),Q=null}}catch(e){(0,r.logError)("Error executing bidsBackHandler",null,e)}finally{var o;i.length&&v.Ay.callTimedOutBidders(t,i,c);let e=null!==(o=u.$W.getConfig("userSync"))&&void 0!==o?o:{};e.enableOverride||_(e.syncDelay)}})}}function eo(){u.$W.resetBidder(),(0,r.logInfo)("Bids Received for Auction with id: ".concat(k),J.toArray()),Z=D,ei(!1)}function ea(e){I.add(e)}
24function es(e){e.forEach(e=>{H=H.concat(e)});let n={},i={bidRequests:e,run:()=>{N(this),X=setTimeout(()=>ei(!0),c),Z=C,m.emit(y.qY.AUCTION_INIT,er());let i=function(e,t){let{index:n=h.n.index}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=0,c=!1,d=new Set,g={};function v(){i--,c&&0===i&&e()}function w(e,t,n){return g[t.requestId]=!0,function(e,t){let{index:n=h.n.index}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.getAdUnit(e);z(e,{index:n}),Object.assign(e,{cpm:parseFloat(e.cpm)||0,bidder:e.bidder||e.bidderCode,adUnitCode:t}),null!=(null==r?void 0:r.ttlBuffer)&&(e.ttlBuffer=r.ttlBuffer)}(t,e),i++,n(v)}function E(e,i){w(e,i,e=>{let c=function(e){let{index:t=h.n.index}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};m.emit(y.qY.BID_ADJUSTMENT,e);let n=t.getAdUnit(e);e.instl=1===(null==n||null===(c=n.ortb2Imp)||void 0===c?void 0:c.instl);let r=(null===(d=t.getBidRequest(e))||void 0===d?void 0:d.renderer)||n.renderer,i=e.mediaType,a=t.getMediaTypes(e),s=a&&a[i];var c,d,f=s&&s.renderer,p=null;f&&f.render&&(!0!==f.backupOnly||!e.renderer)?p=f:r&&r.render&&(!0!==r.backupOnly||!e.renderer)&&(p=r),p&&(e.renderer=l.A4.install({url:p.url,config:p.options,renderNow:null==p.url}),e.renderer.setRender(p.render));let g=V(e.mediaType,a,u.$W.getConfig("mediaTypePriceGranularity")),v=(0,o.j)(e.cpm,"object"==typeof g?g:u.$W.getConfig("customPriceBucket"),u.$W.getConfig("currency.granularityMultiplier"));return e.pbLg=v.low,e.pbMg=v.med,e.pbHg=v.high,e.pbAg=v.auto,e.pbDg=v.dense,e.pbCg=v.custom,e}(i);m.emit(y.qY.BID_ACCEPTED,c),c.mediaType===p.G_||c.mediaType===p.FY?function(e,t,n){var i;let{index:o=h.n.index}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=!0,l=null===(i=o.getMediaTypes({requestId:t.originalRequestId||t.requestId,adUnitId:t.adUnitId}))||void 0===i?void 0:i.video,c=l&&(null==l?void 0:l.context),d=l&&(null==l?void 0:l.useCacheKey),{useLocal:p,url:g,ignoreBidderCacheKey:m}=u.$W.getConfig("cache")||{};p?(0,s.Sb)(t):g&&(d||c!==f.H6)&&(!t.videoCacheKey||m?(a=!1,L(e,t,n,l)):t.vastUrl||((0,r.logError)("videoCacheKey specified but not required vastUrl for video bid"),a=!1)),a&&(W(e,t),n())}(t,c,e):((0,a.l6)(c)&&(0,a.gs)(c,n.getAdUnit(c)),W(t,c),e())})}function O(e,n,i){return w(e,n,e=>{n.rejectionReason=i,(0,r.logWarn)("Bid from ".concat(n.bidder||"unknown bidder"," was rejected: ").concat(i),n),m.emit(y.qY.BID_REJECTED,n),t.addBidRejected(n),e()})}function S(){let n=t.getBidRequests(),o=u.$W.getConfig("auctionOptions");if(d.add(this),o&&!(0,r.isEmpty)(o)){let e=o.secondaryBidders;e&&!n.every(t=>e.includes(t.bidderCode))&&(n=n.filter(t=>!e.includes(t.bidderCode)))}c=n.every(e=>d.has(e)),this.bids.forEach(e=>{g[e.bidId]||(z(e),t.addNoBid(e),m.emit(y.qY.NO_BID,e))}),c&&0===i&&e()}return{addBidResponse:function(){function e(e,t){let n;B.call({dispatch:E},e,t,(n=!1,r=>{n||(O(e,t,r),n=!0)}))}return e.reject=O,e}(),adapterDone:function(){U(b.U9.resolve()).finally(()=>S.call(this))}}}(eo,this);v.Ay.callBids(t,e,i.addBidResponse,i.adapterDone,{request(e,t){g(x,t),g(n,e),j[e]||(j[e]={SRA:!0,origin:t}),n[e]>1&&(j[e].SRA=!1)},done(e){x[e]--,R[0]&&d(R[0])&&R.shift()}},c,ea,E),q.resolve()}};function d(e){let t=!0,n=u.$W.getConfig("maxRequestsPerOrigin")||4;return e.bidRequests.some(e=>{let r=1,i=void 0!==e.src&&e.src===y.RW.SRC?"s2s":e.bidderCode;return!(e.alwaysHasCapacity&&!u.$W.getConfig("forceMaxRequestsPerOrigin"))&&(j[i]&&(!1===j[i].SRA&&(r=Math.min(e.bids.length,n)),x[j[i].origin]+r>n&&(t=!1)),!t)}),t&&e.run(),t}function g(e,t){void 0===e[t]?e[t]=1:e[t]++}d(i)||((0,r.logWarn)("queueing auction due to limited endpoint capacity"),R.push(i))}return(0,T.lc)(()=>J.refresh()),m.on(y.qY.SEAT_NON_BID,e=>{var t;e.auctionId===k&&(t=e.seatnonbid,en=en.concat(t))}),{addBidReceived:function(e){J.add(e)},addBidRejected:function(e){G=G.concat(e)},addNoBid:function(e){ee=ee.concat(e)},callBids:function(){Z="started",$=Date.now();let e=O.measureTime("requestBids.makeRequests",()=>v.Ay.makeBidRequests(t,$,k,c,d,E,O));(0,r.logInfo)("Bids Requested for Auction with id: ".concat(k),e),O.checkpoint("callBids"),e.length<1?((0,r.logWarn)("No valid bid requests returned for auction"),eo()):M.call({dispatch:es,context:this},e)},addWinningBid:function(e){et=et.concat(e),v.Ay.callBidWonBidder(e.adapterCode||e.bidder,e,t),e.deferBilling||v.Ay.triggerBilling(e)},setBidTargeting:function(e){v.Ay.callSetTargetingBidder(e.adapterCode||e.bidder,e)},getWinningBids:()=>et,getAuctionStart:()=>$,getAuctionEnd:()=>Y,getTimeout:()=>c,getAuctionId:()=>k,getAuctionStatus:()=>Z,getAdUnits:()=>t,getAdUnitCodes:()=>n,getBidRequests:()=>H,getBidsReceived:()=>J.toArray(),getNoBids:()=>ee,getNonBids:()=>en,getFPD:()=>E,getMetrics:()=>O,end:A.promise,requestsDone:q.promise,getProperties:er}}let B=(0,d.u2)((0,d.A_)("async",function(e,t,n){(function(e){let t=u.$W.getConfig("maxBid");return!t||!e.cpm||t>=Number(e.cpm)})(t)?(0,k.io)(I.it,(0,v.sc)(A.tW,t.bidder||t.bidderCode,{bid:t,ortb2:h.n.index.getOrtb2(t),adUnit:h.n.index.getAdUnit(t)}))?this.dispatch.call(null,e,t):n(y.Tf.BIDDER_DISALLOWED):n(y.Tf.PRICE_TOO_HIGH)},"addBidResponse")),U=(0,d.A_)("sync",e=>e,"responsesReady"),M=(0,d.A_)("sync",function(e){this.dispatch.call(this.context,e)},"addBidderRequests"),F=(0,d.A_)("async",function(e,t,n){n&&n()},"bidsBackCallback");function W(e,t){(function(e){let t;let n=!0===g.u.get(e.bidderCode,"allowZeroCpmBids")?e.cpm>=0:e.cpm>0;e.bidderCode&&(n||e.dealId)&&(t=function(e,t){let{index:n=h.n.index}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t)return{};let r=n.getBidRequest(t);var i={};return $(i,J(t.mediaType,e),t,r),e&&g.u.getOwn(e,y.iD.ADSERVER_TARGETING)&&($(i,g.u.ownSettingsFor(e),t,r),t.sendStandardTargeting=g.u.get(e,"sendStandardTargeting")),i}(e.bidderCode,e)),e.adserverTargeting=Object.assign(e.adserverTargeting||{},t)})(t),(0,w.BO)(t.metrics).timeSince("addBidResponse","addBidResponse.total"),e.addBidReceived(t),m.emit(y.qY.BID_RESPONSE,t)}let L=(0,d.A_)("async",function(e,t,n,r){(0,s.X5)(e,t,n)},"callPrebidCache");function z(e){let{index:t=h.n.index}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}
24,n=t.getBidderRequest(e),i=n&&n.start||e.requestTimestamp;Object.assign(e,{responseTimestamp:e.responseTimestamp||(0,r.timestamp)(),requestTimestamp:e.requestTimestamp||i}),e.timeToRespond=e.responseTimestamp-e.requestTimestamp}function V(e,t,n){if(e&&n){if(e===p.G_){var r,i;let e=null!==(r=null==t||null===(i=t[p.G_])||void 0===i?void 0:i.context)&&void 0!==r?r:"instream";if(n["".concat(p.G_,"-").concat(e)])return n["".concat(p.G_,"-").concat(e)]}return n[e]}}let G=function(e){let{index:t=h.n.index}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=V(e.mediaType,t.getMediaTypes(e),u.$W.getConfig("mediaTypePriceGranularity"));return"string"==typeof e.mediaType&&n?"string"==typeof n?n:"custom":u.$W.getConfig("priceGranularity")},Q=e=>t=>{let n=e||G(t);return n===y.UE.AUTO?t.pbAg:n===y.UE.DENSE?t.pbDg:n===y.UE.LOW?t.pbLg:n===y.UE.MEDIUM?t.pbMg:n===y.UE.HIGH?t.pbHg:n===y.UE.CUSTOM?t.pbCg:void 0};function H(e,t){return{key:e,val:"function"==typeof t?function(e,n){return t(e,n)}:function(e){return e[t]}}}function J(e,t){let n=Object.assign({},g.u.settingsFor(null));if(n[y.iD.ADSERVER_TARGETING]||(n[y.iD.ADSERVER_TARGETING]=[H(y.xS.BIDDER,"bidderCode"),H(y.xS.AD_ID,"adId"),H(y.xS.PRICE_BUCKET,Q()),H(y.xS.SIZE,"size"),H(y.xS.DEAL,"dealId"),H(y.xS.SOURCE,"source"),H(y.xS.FORMAT,"mediaType"),H(y.xS.ADOMAIN,e=>e.meta&&e.meta.advertiserDomains&&e.meta.advertiserDomains.length>0?[e.meta.advertiserDomains].flat()[0]:""),H(y.xS.ACAT,e=>{var t;let n=null==e||null===(t=e.meta)||void 0===t?void 0:t.primaryCatId;return Array.isArray(n)?n[0]||"":n||""}),H(y.xS.DSP,e=>{var t,n;return e.meta&&(e.meta.networkId||e.meta.networkName)?(null==e||null===(t=e.meta)||void 0===t?void 0:t.networkName)||(null==e||null===(n=e.meta)||void 0===n?void 0:n.networkId):""}),H(y.xS.CRID,e=>e.creativeId?e.creativeId:"")]),"video"===e){let e=n[y.iD.ADSERVER_TARGETING].slice();if(n[y.iD.ADSERVER_TARGETING]=e,[y.xS.UUID,y.xS.CACHE_ID].forEac
24h(t=>{void 0===e.find(e=>e.key===t)&&e.push(H(t,"videoCacheKey"))}),u.$W.getConfig("cache.url")&&(!t||!1!==g.u.get(t,"sendStandardTargeting"))){let t=(0,r.parseUrl)(u.$W.getConfig("cache.url"));void 0===e.find(e=>e.key===y.xS.CACHE_HOST)&&e.push(H(y.xS.CACHE_HOST,function(e){var n;return(null==e||null===(n=e.adserverTargeting)||void 0===n?void 0:n[y.xS.CACHE_HOST])||t.hostname}))}}return n}function $(e,t,n,o){var a=t[y.iD.ADSERVER_TARGETING];return n.size=n.getSize(),(a||[]).forEach(function(a){var s=a.key,l=a.val;if(e[s]&&(0,r.logWarn)("The key: "+s+" is being overwritten"),(0,i.fp)(l))try{l=l(n,o)}catch(e){(0,r.logError)("bidmanager","ERROR",e)}(void 0!==t.suppressEmptyKeys&&!0===t.suppressEmptyKeys||s===y.xS.DEAL||s===y.xS.ACAT||s===y.xS.DSP||s===y.xS.CRID)&&((0,r.isEmptyStr)(l)||null==l)?(0,r.logInfo)("suppressing empty key '"+s+"' from adserver targeting"):e[s]=l}),e}function K(e,t){return e[t.adUnitCode]||(e[t.adUnitCode]={bids:[]}),e[t.adUnitCode].bids.push(t),e}},71852(e,t,n){n.d(t,{$A:()=>k,BS:()=>L,Hh:()=>U,Pk:()=>M,Uc:()=>C,XO:()=>z,_0:()=>R,bw:()=>P,n6:()=>I,qn:()=>N,vB:()=>F,vW:()=>D,vd:()=>j});var r=n(10466),i=n(18014),o=n(11418),a=n(91933),s=n(67464),l=n(59794),u=n(63006),c=n(45144),d=n(32592),f=n(80356),p=n(51409),h=n(37841),g=n(80869),m=n(72122),v=n(46652),y=n(13064);let{AD_RENDER_FAILED:b,AD_RENDER_SUCCEEDED:w,STALE_RENDER:E,BID_WON:O,EXPIRED_RENDER:S}=o.qY,{EXCEPTION:T}=o.as,k=(0,d.A_)("sync",function(e,t,n){n(u.n.findBidByAdId(e))}),I=(0,d.A_)("sync",function(e){var t;((null===(t=(0,m.$T)(e.eventtrackers)[m.RO])||void 0===t?void 0:t[m.Ni])||[]).forEach(e=>(0,r.triggerPixel)(e)),i.emit(O,e),u.n.addWinningBid(e)});function A(e){let{reason:t,message:n,bid:o,id:a}=e,s={reason:t,message:n};o&&(s.bid=o,s.adId=o.adId),a&&(s.adId=a),(0,r.logError)("Error rendering ad (id: ".concat(a,"): ").concat(n)),i.emit(b,s)}function _(e){let{doc:t,bid:n,id:r}=e;p.Ay.callAdRenderSucceededBidder(n.adapterCode||n.bidder,n),i.emit(w,{doc:t,bid:n,adId:r})}function C(e,t){switch(e.event){case o.qY.AD_RENDER_FAILED:A({bid:t,id:t.adId,reason:e.info.reason,message:e.info.message});break;case o.qY.AD_RENDER_SUCCEEDED:_({doc:null,bid:t,id:t.adId});break;case o.qY.BROWSER_INTERVENTION:!function(e){let{bid:t,intervention:n}=e;p.Ay.callOnInterventionBidder(t.adapterCode||t.bidder,t,n),i.emit(o.qY.BROWSER_INTERVENTION,e)}({bid:t,adId:t.adId,intervention:e.intervention});break;default:(0,r.logError)("Received event request for unsupported event: '".concat(e.event,"' (adId: '").concat(t.adId,"')"))}}function D(e,t,n){let{resizeFn:r,fireTrackers:i=f.vO}=n;"resizeNativeHeight"===e.action?r(e.width,e.height):i(e,t)}let x={[o.nl.EVENT]:C};x[o.nl.NATIVE]=D;let j=(0,d.A_)("sync",function(e,t){let{ad:n,adUrl:i,cpm:o,originalCpm:a,width:s,height:l,instl:u}=e,c={AUCTION_PRICE:a||o,CLICKTHROUGH:(null==t?void 0:t.clickUrl)||""};return{ad:(0,r.replaceMacros)(n,c),adUrl:(0,r.replaceMacros)(i,c),width:s,height:l,instl:u}}),R=(0,d.A_)("sync",function(e){let{renderFn:t,resizeFn:n,bidResponse:i,options:a,doc:s,isMainDocument:u=s===document&&!(0,r.inIframe)()}=e,c=i.mediaType===l.G_;if(u||c)return void A({reason:o.as.PREVENT_WRITING_ON_MAIN_DOCUMENT,message:c?"Cannot render video ad without a renderer":"renderAd was prevented from writing to the main document.",bid:i,id:i.adId});let d=j(i,a);t(Object.assign({adId:i.adId},d));let{width:f,height:p}=d;null!=(null!=f?f:p)&&n(f,p)});function P(e){let{renderFn:t,resizeFn:n,adId:s,options:l,bidResponse:u,doc:c}=e;U(u,()=>{if(null!=u){var e,d;if((u.status!==o.tl.RENDERED||((0,r.logWarn)("Ad id ".concat(s," has been rendered before")),i.emit(E,u),null===(e=a.$W.getConfig("auctionOptions"))||void 0===e||!e.suppressStaleRender))&&(g.uW.isBidNotExpired(u)||((0,r.logWarn)("Ad id ".concat(s," has been expired")),i.emit(S,u),null===(d=a.$W.getConfig("auctionOptions"))||void 0===d||!d.suppressExpiredRender)))try{R({renderFn:t,resizeFn:n,bidResponse:u,options:l,doc:c})}catch(e){A({reason:o.as.EXCEPTION,message:e.message,id:s,bid:u})}}else A({reason:o.as.CANNOT_FIND_AD,message:"Cannot find ad '".concat(s,"'"),id:s})})}function N(e){let t=(0,h.BO)(e.metrics);t.checkpoint("bidRender"),t.timeBetween("bidWon","bidRender","render.deferred"),t.timeBetween("auctionEnd","bidRender","render.pending"),t.timeBetween("requestBids","bidRender","render.e2e"),e.status=o.tl.RENDERED}R.before(function(e,t){let{bidResponse:n,doc:r}=t;(0,s.J7)(n.renderer)?((0,s.Pg)(n.renderer,n,r),_({doc:r,bid:n,id:n.adId}),e.bail()):e(t)},100);let q=new WeakMap,B=new WeakSet;function U(e,t){null!=e?(q.set(e,t),e.deferRendering||F(e),M(e)):t()}function M(e){B.has(e)||(B.add(e),I(e))}function F(e){let t=q.get(e);t&&(t(),N(e),q.delete(e))}let W=!1;a.$W.getConfig("auctionOptions",e=>{var t,n;W=null!==(t=null===(n=e.auctionOptions)||void 0===n?void 0:n.legacyRender)&&void 0!==t&&t});let L=(0,v.o1)(()=>!W,function(e,t,n){var i;let a;function s(e,n){A(Object.assign({id:t,bid:a},{reason:e,message:n}))}function l(t,n){var r;let i=null===(r=e.defaultView)||void 0===r?void 0:r.frameElement;i&&(t&&(i.width=t,i.style.width&&(i.style.width="".concat(t,"px"))),n&&(i.height=n,i.style.height&&(i.style.height="".concat(n,"px"))))}let u=(i={resizeFn:l},function(e,t,n){x.hasOwnProperty(e)&&x[e](t,n,i)});function d(t){t.ad&&W?(e.write(t.ad),e.close(),_({doc:e,bid:a,id:a.adId})):y.U9.all([(0,c.HH)(a),new y.U9(t=>{"loading"===e.readyState?e.addEventListener("DOMContentLoaded",t):t()})]).then(n=>{let[i]=n;return i(t,{sendMessage:(e,t)=>
24u(e,t,a),mkFrame:r.createIframe},e.defaultView)}).then(()=>_({doc:e,bid:a,id:a.adId}),e=>{s((null==e?void 0:e.reason)||o.as.EXCEPTION,null==e?void 0:e.message),(null==e?void 0:e.stack)&&(0,r.logError)(e)});let n=document.createComment("Creative ".concat(a.creativeId," served by ").concat(a.bidder," Prebid.js Header Bidding"));(0,r.insertElement)(n,e,"html")}try{t&&e?k(t,!0,r=>{a=r,P({renderFn:d,resizeFn:l,adId:t,options:{clickUrl:null==n?void 0:n.clickThrough},bidResponse:r,doc:e})}):s(o.as.MISSING_DOC_OR_ADID,"missing ".concat(t?"doc":"adId"))}catch(e){s(T,e.message)}});function z(){if(!window.frames[o.IY]){if(document.body){let e=(0,r.createInvisibleIframe)();e.name=o.IY,document.body.appendChild(e)}else window.requestAnimationFrame(z)}}},71958(e,t,n){n.d(t,{U:()=>a});var r=n(51748),i=n(10466);let o=(0,r.m)();function a(e,t){o.adServers=o.adServers||{},o.adServers[e]=o.adServers[e]||{},Object.keys(t).forEach(n=>{o.adServers[e][n]?(0,i.logWarn)("Attempting to add an already registered function property ".concat(n," for AdServer ").concat(e,".")):o.adServers[e][n]=t[n]})}},72122(e,t,n){n.d(t,{$T:()=>s,Ni:()=>r,OA:()=>o,RO:()=>a,fR:()=>i});let r=1,i=2,o=1,a=500;function s(e){return(null!=e?e:[]).reduce((e,t)=>{var n,r;let{event:i,method:o,url:a}=t,s=e[i]=null!==(n=e[i])&&void 0!==n?n:{};return(s[o]=null!==(r=s[o])&&void 0!==r?r:[]).push(a),e},{})}},73391(e,t,n){n.d(t,{qh:()=>f,zt:()=>h});var r=n(10466),i=n(26665),o=n(91933),a=n(61443),s=n(53202),l=n(45808),u=n(25291),c=n(70736),d=n(77610);let f={syncEnabled:!0,filterSettings:{image:{bidders:"*",filter:"include"}},syncsPerBidder:5,syncDelay:3e3,auctionDelay:500};o.$W.setDefaults({userSync:(0,i.Go)(f)});let p=(0,a.CK)("usersync"),h=function(e){let t={},n={image:[],iframe:[]},a=new Set,s={},f={image:!0,iframe:!1},p=e.config;function h(){if(p.syncEnabled&&e.browserSupportsCookies){try{f.iframe&&g(n.iframe,e=>{var t;let[i,o]=e;(0,r.logMessage)("Invoking iframe user sync for bidder: ".concat(i)),(0,r.insertUserSyncIframe)(o),(t=n).image=t.image.filter(e=>e[0]!==i)}),f.image&&g(n.image,e=>{let[t,n]=e;(0,r.logMessage)("Invoking image pixel user sync for bidder: ".concat(t)),(0,r.triggerPixel)(n)})}catch(e){return(0,r.logError)("Error firing user syncs",e)}n={image:[],iframe:[]}}}function g(e,t){(0,r.shuffle)(e).forEach(t)}return o.$W.getConfig("userSync",e=>{if(e.userSync){let t=e.userSync.filterSettings;(0,i.Qd)(t)&&(t.image||t.all||(e.userSync.filterSettings.image={bidders:"*",filter:"include"}))}p=Object.assign(p,e.userSync)}),e.regRule(l.Ml,"userSync config",e=>{if(!p.syncEnabled)return{allow:!1,reason:"syncs are disabled"};if(e[u.Dk]===c.tW){let n=e[u.bt],r=e[u.iK];if(!t.canBidderRegisterSync(n,r))return{allow:!1,reason:"".concat(n," syncs are not enabled for ").concat(r)}}}),t.registerSync=(t,o,f)=>{var h;return a.has(o)?(0,r.logMessage)('already fired syncs for "'.concat(o,'", ignoring registerSync call')):p.syncEnabled&&(0,i.cy)(n[t])?o?0!==p.syncsPerBidder&&Number(s[o])>=p.syncsPerBidder?(0,r.logWarn)('Number of user syncs exceeded for "'.concat(o,'"')):void(e.isAllowed(l.Ml,(0,d.s)(c.tW,o,{[u.bt]:t,[u.e3]:f}))&&(n[t].push([o,f]),(h=s)[o]?h[o]+=1:h[o]=1,s=h)):(0,r.logWarn)("Bidder is required for registering sync"):(0,r.logWarn)('User sync type "'.concat(t,'" not supported'))},t.bidderDone=a.add.bind(a),t.syncUsers=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(e)return setTimeout(h,Number(e));h()},t.triggerUserSyncs=()=>{p.enableOverride&&t.syncUsers()},t.canBidderRegisterSync=(e,t)=>!p.filterSettings||!function(e,t){let n=p.filterSettings;if(function(e,t){if(e.all&&e[t])return(0,r.logWarn)('Detected presence of the "filterSettings.all" and "filterSettings.'.concat(t,'" in userSync config. You cannot mix "all" with "iframe/image" configs; they are mutually exclusive.')),!1;let n=e.all?e.all:e[t],o=e.all?"all":t;if(!n)return!1;let a=n.filter,s=n.bidders;return a&&"include"!==a&&"exclude"!==a?((0,r.logWarn)('UserSync "filterSettings.'.concat(o,".filter\" setting '").concat(a,"' is not a valid option; use either 'include' or 'exclude'.")),!1):!!("*"===s||Array.isArray(s)&&s.length>0&&s.every(e=>
24(0,i.O8)(e)&&"*"!==e))||((0,r.logWarn)('Detected an invalid setup in userSync "filterSettings.'.concat(o,".bidders\"; use either '*' (to represent all bidders) or an array of bidders.")),!1)}(n,e)){f[e]=!0;let r=n.all?n.all:n[e],i="*"===r.bidders?[t]:r.bidders;return({include:(e,t)=>!e.includes(t),exclude:(e,t)=>e.includes(t)})[r.filter||"include"](i,t)}return!f[e]}(e,t),t}(Object.defineProperties({config:o.$W.getConfig("userSync"),isAllowed:s.io,regRule:s.qB},{browserSupportsCookies:{get:function(){return!(0,r.isSafariBrowser)()&&p.cookiesAreEnabled()}}}))},75049(e,t,n){n.d(t,{R:()=>l});var r=n(45808),i=n(77610),o=n(53202),a=n(10466);let s=new WeakMap;function l(e,t,n,l,u,c){if(!(0,o.io)(r.pY,(0,i.s)(t,n)))return;if(!n||!e)return void(0,a.logError)("cannot load external script without url and moduleCode");u||(u=document);let d=h(u,e);if(d)return l&&"function"==typeof l&&(d.loaded?l():d.callbacks.push(l)),d.tag;let f=s.get(u)||{},p={loaded:!1,tag:null,callbacks:[]};return f[e]=p,s.set(u,f),l&&"function"==typeof l&&p.callbacks.push(l),(0,a.logWarn)("module ".concat(n," is loading external JavaScript")),function(t,n,r,i){r||(r=document);var o=r.createElement("script");o.type="text/javascript",o.async=!0;let s=h(r,e);return s&&(s.tag=o),o.readyState?o.onreadystatechange=function(){"loaded"!==o.readyState&&"complete"!==o.readyState||(o.onreadystatechange=null,n())}:o.onload=function(){n()},o.src=t,i&&(0,a.setScriptAttributes)(o,i),(0,a.insertElement)(o,r),o}(e,function(){p.loaded=!0;try{for(let e=0;e<p.callbacks.length;e++)p.callbacks[e]()}catch(e){(0,a.logError)("Error executing callback","adloader.js:loadExternalScript",e)}},u,c);function h(e,t){let n=s.get(e);return n&&n[t]?n[t]:null}}},77156(e,t,n){n.d(t,{u:()=>d});var r=n(98158),i=n(10466),o=n(58928),a=n(51748),s=n(11418);function l(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw TypeError("Private element is not present on this object")}var u=new WeakSet;function c(e){return null==e?this.defaultScope:e}let d=new class{get(e,t){let n=this.getOwn(e,t);return void 0===n&&(n=this.getOwn(null,t)),n}getOwn(e,t){return e=l(u,this,c).call(this,e),(0,o.A)(this.getSettings(),"".concat(e,".").concat(t))}getScopes(){return Object.keys(this.getSettings()).filter(e=>e!==this.defaultScope)}settingsFor(e){return(0,i.mergeDeep)({},this.ownSettingsFor(null),this.ownSettingsFor(e))}ownSettingsFor(e){return e=l(u,this,c).call(this,e),this.getSettings()[e]||{}}constructor(e,t){(function(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")})(this,u),u.add(this),(0,r.A)(this,"getSettings",void 0),(0,r.A)(this,"defaultScope",void 0),this.getSettings=e,this.defaultScope=t}}(()=>(0,a.m)().bidderSettings||{},s.iD.BD_SETTING_STANDARD)},77459(e,t,n){n.d(t,{y:()=>a});var r=n(63006),i=n(77156),o=n(10466);function a(e,t,n){var a;let{index:s=r.n.index,bs:l=i.u}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};n=n||s.getBidRequest(t);let u=null==t?void 0:t.adapterCode,c=(null==t?void 0:t.bidderCode)||(null===(a=n)||void 0===a?void 0:a.bidder),d=l.get(null==t?void 0:t.adapterCode,"adjustAlternateBids"),f=l.getOwn(c,"bidCpmAdjustment")||l.get(d?u:c,"bidCpmAdjustment");if(f&&"function"==typeof f)try{return f(e,Object.assign({},t),n)}catch(e){(0,o.logError)("Error during bid adjustment",e)}return e}},77610(e,t,n){n.d(t,{s:()=>i});var r=n(51409);let i=(0,n(25291).ZI)(e=>r.Ay.resolveAlias(e))},79236(e,t,n){function r(e,t){return e===t?0:e<t?-1:1}function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e=>e;return(t,n)=>r(e(t),e(n))}function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r;return(t,n)=>-e(t,n)||0}function a(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e,n){for(let r of t){let t=r(e,n);if(0!==t)return t}return 0}}function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r;return(t,n)=>0>e(n,t)?n:t}function l(){return s(o(arguments.length>0&&void 0!==arguments[0]?arguments[0]:r))}n.d(t,{Bp:()=>s,Bq:()=>f,NV:()=>i,Ph:()=>l,Vk:()=>d});let u=i(e=>e.cpm),c=i(e=>e.responseTimestamp),d=l(a(u,o(i(e=>e.timeToRespond)))),f=l(a(u,o(c)));l(a(u,c))},80356(e,t,n){n.d(t,{Bm:()=>O,Ex:()=>N,Gg:()=>k,IX:()=>_,Xj:()=>j,gs:()=>T,l6:()=>y,mT:()=>h,nk:()=>w,rn:()=>x,vO:()=>S,yl:()=>C});var r=n(98158),i=n(10466),o=n(26665),a=n(63006),s=n(11418),l=n(59794),u=n(71852),c=n(45144),d=n(72122);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
24t%2?f(Object(n),!0).forEach(function(t){(0,r.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}let h=[],g={image:{ortb:{ver:"1.2",assets:[{required:1,id:1,img:{type:3,wmin:100,hmin:100}},{required:1,id:2,title:{len:140}},{required:1,id:3,data:{type:1}},{required:0,id:4,data:{type:2}},{required:0,id:5,img:{type:1,wmin:20,hmin:20}}]},image:{required:!0},title:{required:!0},sponsoredBy:{required:!0},clickUrl:{required:!0},body:{required:!1},icon:{required:!1}}},m=q(s.h0),v=q(s.jO);function y(e){return null!=e.native&&"object"==typeof e.native}function b(e){var t;if(e&&e.type&&((t=e.type)&&Object.keys(g).includes(t)||((0,i.logError)("".concat(t," nativeParam is not supported")),0))&&(e=g[e.type]),!e||!e.ortb||E(e.ortb))return e}function w(e){e.forEach(e=>{var t;let n=e.nativeParams||(null==e||null===(t=e.mediaTypes)||void 0===t?void 0:t.native);n&&(e.nativeParams=b(n)),e.nativeParams&&(e.nativeOrtbRequest=e.nativeParams.ortb||x(e.nativeParams))})}function E(e){let t=e.assets;if(!Array.isArray(t)||0===t.length)return(0,i.logError)("assets in mediaTypes.native.ortb is not an array, or it's empty. Assets: ",t),!1;let n=t.map(e=>e.id);return t.length!==new Set(n).size||n.some(e=>e!==parseInt(e,10))?((0,i.logError)("each asset object must have 'id' property, it must be unique and it must be an integer"),!1):e.hasOwnProperty("eventtrackers")&&!Array.isArray(e.eventtrackers)?((0,i.logError)("ortb.eventtrackers is not an array. Eventtrackers: ",e.eventtrackers),!1):t.every(e=>(function(e){if(!(0,o.Qd)(e))return(0,i.logError)("asset must be an object. Provided asset: ",e),!1;if(e.img){if(!(0,o.Et)(e.img.w)&&!(0,o.Et)(e.img.wmin))return(0,i.logError)("for img asset there must be 'w' or 'wmin' property"),!1;if(!(0,o.Et)(e.img.h)&&!(0,o.Et)(e.img.hmin))return(0,i.logError)("for img asset there must be 'h' or 'hmin' property"),!1}else if(e.title){if(!(0,o.Et)(e.title.len))return(0,i.logError)("for title asset there must be 'len' property defined"),!1}else if(e.data){if(!(0,o.Et)(e.data.type))return(0,i.logError)("for data asset 'type' property must be a number"),!1}else if(e.video&&!(Array.isArray(e.video.mimes)&&Array.isArray(e.video.protocols)&&(0,o.Et)(e.video.minduration)&&(0,o.Et)(e.video.maxduration)))return(0,i.logError)("video asset is not properly configured"),!1;return!0})(e))}function O(e){var t;let{index:n=a.n.index}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.getAdUnit(e);if(!r)return!1;let o=r.nativeOrtbRequest;return function(e,t){var n;if(null==e||null===(n=e.link)||void 0===n||!n.url)return(0,i.logError)("native response doesn't have 'link' property. Ortb response: ",e),!1;let r=t.assets.filter(e=>1===e.required).map(e=>e.id),o=e.assets.map(e=>e.id),a=r.every(e=>o.includes(e));return a||(0,i.logError)("didn't receive a bid with all required assets. Required ids: ".concat(r,", but received ids in response: ").concat(o)),a}((null===(t=e.native)||void 0===t?void 0:t.ortb)||P(e.native,o),o)}function S(e,t){let n=t.native.ortb||R(t.native);return"click"===e.action?function(e){var t,n;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,{fetchURL:o=i.triggerPixel}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(r){let n=(e.assets||[]).filter(e=>e.link).reduce((e,t)=>(e[t.id]=t.link,e),{}),i=(null===(t=e.link)||void 0===t?void 0:t.clicktrackers)||[],a=n[r],s=i;a&&(s=a.clicktrackers||[]),s.forEach(e=>o(e))}else((null===(n=e.link)||void 0===n?void 0:n.clicktrackers)||[]).forEach(e=>o(e))}(n,null==e?void 0:e.assetId):function(e){let{runMarkup:t=e=>(0,i.insertHtmlIntoIframe)(e),fetchURL:n=i.triggerPixel}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{[d.Ni]:r=[],[d.fR]:o=[]}=(0,d.$T)(e.eventtrackers||[])[d.OA]||{};e.imptrackers&&(r=r.concat(e.imptrackers)),r.forEach(e=>n(e)),o=o.map(e=>'<script async src="'.concat(e,'"></script>')),e.jstracker&&(o=o.concat([e.jstracker])),o.length&&t(o.join("\n"))}(n),e.action}function T(e,t){var n;let r=null==t?void 0:t.nativeOrtbRequest,i=null===(n=e.native)||void 0===n?void 0:n.ortb;if(r&&i){let t=N(i,r);Object.assign(e.native,t)}["rendererUrl","adTemplate"].forEach(n=>{var r;let i=null==t||null===(r=t.nativeParams)||void 0===r?void 0:r[n];i&&(e.native[n]=D(i))})}
24function k(e,t,n){var r;let i=p(p({},(0,o.SH)(e.native,["rendererUrl","adTemplate"])),{},{assets:function e(t,n){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=[];return Object.entries(t).filter(e=>{let[t,i]=e;return i&&(!1===r&&"ext"===t||null==n||n.includes(t))}).forEach(t=>{let[o,a]=t;!1===r&&"ext"===o?i.push(...e(a,n,!0)):(r||s.x5.hasOwnProperty(o))&&i.push({key:o,value:D(a)})}),i}(e.native,n),nativeKeys:s.x5});return e.native.ortb?i.ortb=e.native.ortb:null!==(r=t.mediaTypes)&&void 0!==r&&null!==(r=r.native)&&void 0!==r&&r.ortb&&(i.ortb=P(e.native,t.nativeOrtbRequest)),i}function I(e,t,n){let{index:r=a.n.index}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i={message:"assetResponse",adId:e.adId},o=(0,u.vd)(t).native;return o?(i.native=Object.assign({},o),i.renderer=(0,c.kj)(t),i.rendererVersion=c.xh,null!=n&&(o.assets=o.assets.filter(e=>{let{key:t}=e;return n.includes(t)}))):o=k(t,r.getAdUnit(t),n),Object.assign(i,o)}let A=Object.fromEntries(Object.entries(s.x5).map(e=>{let[t,n]=e;return[n,t]}));function _(e,t){let n=e.assets.map(e=>A[e]);return I(e,t,n)}function C(e,t){return I(e,t,null)}function D(e){return(null==e?void 0:e.url)||e}function x(e){if(!e&&!(0,o.Qd)(e))return void(0,i.logError)("Native assets object is empty or not an object: ",e);let t={ver:"1.2",assets:[]};for(let n in e){if(s._B.includes(n))continue;if(!s.x5.hasOwnProperty(n)){(0,i.logError)("Unrecognized native asset code: ".concat(n,". Asset will be ignored."));continue}if("privacyLink"===n){t.privacy=1;continue}let r=e[n],a=0;r.required&&(0,o.Lm)(r.required)&&(a=Number(r.required));let l={id:t.assets.length,required:a};if(n in s.h0)l.data={type:s.jO[s.h0[n]]},r.len&&(l.data.len=r.len);else if("icon"===n||"image"===n){if(l.img={type:"icon"===n?s.oA.ICON:s.oA.MAIN},r.aspect_ratios){if((0,o.cy)(r.aspect_ratios)){if(r.aspect_ratios.length){let{min_width:e,min_height:t}=r.aspect_ratios[0];(0,o.Fq)(e)&&(0,o.Fq)(t)?(l.img.wmin=e,l.img.hmin=t):(0,i.logError)("image.aspect_ratios min_width or min_height are invalid: ",e,t);let n=r.aspect_ratios.filter(e=>e.ratio_width&&e.ratio_height).map(e=>"".concat(e.ratio_width,":").concat(e.ratio_height));n.length>0&&(l.img.ext={aspectratios:n})}else(0,i.logError)("image.aspect_ratios was passed, but it's empty:",r.aspect_ratios)}else(0,i.logError)("image.aspect_ratios was passed, but it's not a an array:",r.aspect_ratios)}r.sizes&&(2===r.sizes.length&&(0,o.Fq)(r.sizes[0])&&(0,o.Fq)(r.sizes[1])?(l.img.w=r.sizes[0],l.img.h=r.sizes[1],delete l.img.hmin,delete l.img.wmin):(0,i.logError)("image.sizes was passed, but its value is not an array of integers:",r.sizes))}else"title"===n?l.title={len:r.len||140}:"ext"===n&&(l.ext=r,delete l.required);t.assets.push(l)}return t}function j(e){{if(!e||!(0,o.cy)(e)||!e.some(e=>{var t;return null===(t=((null==e?void 0:e.mediaTypes)||{})[l.s6])||void 0===t?void 0:t.ortb}))return e;let t=(0,o.Go)(e);for(let e of t)e.mediaTypes&&e.mediaTypes[l.s6]&&e.mediaTypes[l.s6].ortb&&(e.mediaTypes[l.s6]=Object.assign((0,i.pick)(e.mediaTypes[l.s6],s._B),function(e){if(!E(e))return;let t={};for(let n of e.assets){if(n.title){let e={required:!!n.required&&!!n.required,len:n.title.len};t.title=e}else if(n.img){let e={required:!!n.required&&!!n.required};if(n.img.w&&n.img.h)e.sizes=[n.img.w,n.img.h];else if(n.img.wmin&&n.img.hmin){let t=function(e,t){for(;e&&t&&e!==t;)e>t?e-=t:t-=e;return e||t}(n.img.wmin,n.img.hmin);e.aspect_ratios=[{min_width:n.img.wmin,min_height:n.img.hmin,ratio_width:n.img.wmin/t,ratio_height:n.img.hmin/t}]}n.img.type===s.oA.MAIN?t.image=e:t.icon=e}else if(n.data){let e=Object.keys(s.jO).find(e=>s.jO[e]===n.data.type),r=Object.keys(s.h0).find(t=>s.h0[t]===e);t[r]={required:!!n.required&&!!n.required},n.data.len&&(t[r].len=n.data.len)}e.privacy&&(t.privacyLink={required:!1})}return t}(e.mediaTypes[l.s6].ortb)),e.nativeParams=b(e.mediaTypes[l.s6]));return t}}function R(e){let t={link:{},eventtrackers:[]};return Object.entries(e).forEach(e=>{let[n,r]=e;switch(n){case"clickUrl":t.link.url=r;break;case"clickTrackers":t.link.clicktrackers=Array.isArray(r)?r:[r];break;
24case"impressionTrackers":(Array.isArray(r)?r:[r]).forEach(e=>{t.eventtrackers.push({event:d.OA,method:d.Ni,url:e})});break;case"javascriptTrackers":t.jstracker=Array.isArray(r)?r.join(""):r;break;case"privacyLink":t.privacy=r}}),t}function P(e,t){let n=p(p({},R(e)),{},{assets:[]});function r(e,r){let i=t.assets.find(e);null!=i&&(r(i=(0,o.Go)(i)),n.assets.push(i))}return Object.keys(e).filter(t=>!!e[t]).forEach(t=>{let n=D(e[t]);switch(t){case"title":r(e=>null!=e.title,e=>{e.title={text:n}});break;case"image":case"icon":let i="image"===t?s.oA.MAIN:s.oA.ICON;r(e=>null!=e.img&&e.img.type===i,e=>{e.img={url:n}});break;default:t in s.h0&&r(e=>null!=e.data&&e.data.type===s.jO[s.h0[t]],e=>{e.data={value:n}})}}),n}function N(e,t){var n,r,i;let o={},a=(null==t?void 0:t.assets)||[];for(let t of(o.clickUrl=null===(n=e.link)||void 0===n?void 0:n.url,o.privacyLink=e.privacy,(null==e?void 0:e.assets)||[])){let e=a.find(e=>t.id===e.id);t.title?o.title=t.title.text:t.img?o[(null==e||null===(r=e.img)||void 0===r?void 0:r.type)===s.oA.MAIN?"image":"icon"]={url:t.img.url,width:t.img.w,height:t.img.h}:t.data&&(o[m[v[null==e||null===(i=e.data)||void 0===i?void 0:i.type]]]=t.data.value)}o.impressionTrackers=[];let l=[];for(let t of(e.imptrackers&&o.impressionTrackers.push(...e.imptrackers),(null==e?void 0:e.eventtrackers)||[]))t.event===d.OA&&t.method===d.Ni&&o.impressionTrackers.push(t.url),t.event===d.OA&&t.method===d.fR&&l.push(t.url);return l=l.map(e=>'<script async src="'.concat(e,'"></script>')),null!=e&&e.jstracker&&l.push(e.jstracker),l.length&&(o.javascriptTrackers=l.join("\n")),o}function q(e){var t={};for(var n in e)t[e[n]]=n;return t}},80869(e,t,n){n.d(t,{uW:()=>O,m2:()=>I,ME:()=>T,Yl:()=>S,Jp:()=>k,iS:()=>A});var r=n(63006),i=n(15482),o=n(77156),a=n(91933),s=n(11418),l=n(18014),u=n(32592),c=n(59794),d=n(10466),f=n(26665),p=n(58928),h=n(79236),g=n(10939);let m=function(){let e,t,n=(0,g.H)({monotonic:!0,ttl:()=>e,slack:0});a.$W.getConfig("targetingControls",r=>{var o;({lock:t,lockTimeout:e=3e3}=null!==(o=r.targetingControls)&&void 0!==o?o:{}),null==t||Array.isArray(t)?null==t&&i():t=[t],n.clear()});let[r,i]=(()=>{let e=!1;function r(e){var r;let{slot:i}=e;null===(r=t)||void 0===r||r.forEach(e=>{var t;return null===(t=i.getTargeting(e))||void 0===t?void 0:t.forEach(n.delete)})}return[()=>{var n,i;null!=t&&!e&&(0,d.isGptPubadsDefined)()&&(null===(n=(i=googletag.pubads()).addEventListener)||void 0===n||n.call(i,"slotRenderEnded",r),e=!0)},()=>{var t,n;e&&(0,d.isGptPubadsDefined)()&&(null===(t=(n=googletag.pubads()).removeEventListener)||void 0===t||t.call(n,"slotRenderEnded",r),e=!1)}]})();return{isLocked(e){var r,i;return null!==(r=null===(i=t)||void 0===i?void 0:i.some(t=>null!=e[t]&&n.has(e[t])))&&void 0!==r&&r},lock(e){var i;r(),null===(i=t)||void 0===i||i.forEach(t=>null!=e[t]&&n.add(e[t]))}}}();var v=[];let y="targetingControls.allowTargetingKeys",b="targetingControls.addTargetingKeys",w='Only one of "'.concat(y,'" or "').concat(b,'" can be set'),E=Object.keys(s.xS).map(e=>s.xS[e]),O={isBidNotExpired:e=>e.responseTimestamp+1e3*(0,i.cT)(e)>(0,d.timestamp)(),isUnusedBid:e=>e&&(e.status&&![s.tl.RENDERED].includes(e.status)||!e.status),isBidNotLocked:e=>!m.isLocked(e.adserverTargeting)};function S(e){return!Object.values(O).some(t=>!t(e))}let T=(0,u.A_)("sync",function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:d.sortByHighestCpm;if(!r){let r=[],o=a.$W.getConfig("sendBidsControl.dealPrioritization"),s=(0,d.groupBy)(e,"adUnitCode");return Object.keys(s).forEach(e=>{let a=[],l=(0,d.groupBy)(s[e],"bidderCode");Object.keys(l).forEach(e=>{a.push(l[e].reduce(t))});let u="object"==typeof n?n[e]:n;u?(a=o?a.sort(k(!0)):a.sort((e,t)=>t.cpm-e.cpm),r.push(...a.slice(0,u))):(a=a.sort(i),r.push(...a))}),r}return e});function k(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(t,n){return void 0!==t.adserverTargeting.hb_deal&&void 0===n.adserverTargeting.hb_deal?-1:void 0===t.adserverTargeting.hb_deal&&void 0!==n.adserverTargeting.hb_deal?1:e?n.cpm-t.cpm:n.adserverTargeting.hb_pb-t.adserverTargeting.hb_pb}}function I(e,t){return(arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>window.googletag.pubads().getSlots())().reduce((e,n)=>{let r=(0,f.fp)(t)&&t(n);
24return Object.keys(e).filter((0,f.fp)(r)?r:(0,d.isAdUnitCodeMatchingSlot)(n)).forEach(t=>e[t].push(n)),e},Object.fromEntries(e.map(e=>[e,[]])))}let A=function(e){let t={},n={setLatestAuctionForAdUnit(e,n){t[e]=n},resetPresetTargetingAST(e){i(e).forEach(function(e){let t=window.apntag.getTag(e);if(t&&t.keywords){let n=Object.keys(t.keywords),r={};n.forEach(e=>{v.includes(e.toLowerCase())||(r[e]=t.keywords[e])}),window.apntag.modifyTag(e,{keywords:r})}})},getAllTargeting(t,l,u){let c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:h.Vk,p=arguments.length>4&&void 0!==arguments[4]?arguments[4]:d.sortByHighestCpm;u||(u=g(c,p));let m=i(t),S=function(e,t){if(!a.$W.getConfig("enableSendAllBids"))return 0;let n=a.$W.getConfig("sendBidsControl.bidLimit"),i=new Set(e),o={};for(let e of r.n.getAdUnits())i.has(e.code)&&(o[e.code]=(null==e?void 0:e.bidLimit)||t||n);return o}(m,l),{customKeysByUnit:I,filteredBids:A}=function(e,t){let n=[],r={},i=a.$W.getConfig("targetingControls.alwaysIncludeDeals");return t.forEach(t=>{let a=e.includes(t.adUnitCode),s=!0===o.u.get(t.bidderCode,"allowZeroCpmBids")?t.cpm>=0:t.cpm>0,l=i&&t.dealId;a&&(l||s)&&(n.push(t),Object.keys(t.adserverTargeting).filter(function(){let e=O();return function(t){return -1===e.indexOf(t)}}()).forEach(e=>{let n=e.substring(0,20),i=r[t.adUnitCode]||{},o=[t.adserverTargeting[e]];i[n]?i[n]=i[n].concat(o).filter(d.uniques):i[n]=o,r[t.adUnitCode]=i}))}),{filteredBids:n,customKeysByUnit:r}}(m,u),_=function(t,r,i){let o;let l=!0===a.$W.getConfig("targetingControls.allBidsCustomTargeting"),u=(function(e,t){let r=n.getWinningBids(t,e),i=O();return r.map(e=>({[e.adUnitCode]:Object.keys(e.adserverTargeting).filter(t=>void 0===e.sendStandardTargeting||e.sendStandardTargeting||-1===i.indexOf(t)).reduce((t,n)=>{let r=[e.adserverTargeting[n]],i={[n.substring(0,20)]:r};return n===s.xS.DEAL?[...t,i,{["".concat(n,"_").concat(e.bidderCode).substring(0,20)]:r}]:[...t,i]},[])}))})(t,i).concat(function(e){let t=a.$W.getConfig("targetingControls.alwaysIncludeDeals");return function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=E.slice(),i=a.$W.getConfig("targetingControls.allowSendAllBidsTargetingKeys"),o=i?i.map(e=>s.xS[e]):r;return e.reduce((e,i)=>{if(t||n&&i.dealId){let t=r.filter(e=>void 0!==i.adserverTargeting[e]&&(n||-1!==o.indexOf(e))).reduce((e,t)=>(i.adserverTargeting[t]&&e.push({["".concat(t,"_").concat(i.bidderCode).substring(0,20)]:[i.adserverTargeting[t]]}),e),[]);t&&e.push({[i.adUnitCode]:t})}return e},[])}(e,a.$W.getConfig("enableSendAllBids"),t)}(t)).concat(function(t){function n(e){return null==e?void 0:e[s.iD.ADSERVER_TARGETING]}return e.getAdUnits().filter(e=>t.includes(e.code)&&n(e)).reduce((e,t)=>{let r=function(e){let t=n(e);return Object.keys(t).map(function(e){return(0,f.O8)(t[e])&&(t[e]=t[e].split(",").map(e=>e.trim())),(0,f.cy)(t[e])||(t[e]=[t[e]]),{[e]:t[e]}})}(t);return r&&e.push({[t.code]:r}),e},[])}(i)).concat(!1===(o=a.$W.getConfig("targetingControls.version"))?[]:i.map(e=>({[e]:[{[s.xS.VERSION]:[null!=o?o:"1.17.2"]}]})));return l&&u.push(...t.reduce((e,t)=>{let n=Object.assign({},t),i=r[n.adUnitCode],o=[];
24return i&&Object.keys(i).forEach(e=>{e&&i[e]&&o.push({[e]:i[e]})}),e.push({[n.adUnitCode]:o}),e},[])),u.forEach(e=>{!function(e){Object.keys(e).forEach(t=>{e[t].forEach(e=>{let t=Object.keys(e);-1===v.indexOf(t[0])&&(v=t.concat(v))})})}(e)}),u}(T(A,c,S,void 0,p),I,m),C=Object.keys(Object.assign({},s.Zh)),D=a.$W.getConfig(y),x=a.$W.getConfig(b);if(null!=x&&null!=D)throw Error(w);Array.isArray(D=null!=x?C.concat(x):D||C)&&D.length>0&&(_=function(e,t){let n=Object.assign({},s.xS),r=Object.keys(s.xS),i={};(0,d.logInfo)("allowTargetingKeys - allowed keys [ ".concat(t.map(e=>n[e]).join(", ")," ]")),e.forEach(e=>{let o=Object.keys(e)[0],a=e[o].filter(e=>{let o=Object.keys(e)[0],a=0===r.filter(e=>0===o.indexOf(n[e])).length||t.find(e=>{let t=n[e];return 0===o.indexOf(t)});return i[o]=!a,a});e[o]=a});let o=Object.keys(i).filter(e=>i[e]);return(0,d.logInfo)("allowTargetingKeys - removed keys [ ".concat(o.join(", ")," ]")),e.filter(e=>e[Object.keys(e)[0]].length>0)}(_,D));let j=_.map(e=>({[Object.keys(e)[0]]:e[Object.keys(e)[0]].map(e=>({[Object.keys(e)[0]]:e[Object.keys(e)[0]].join(",")})).reduce((e,t)=>Object.assign(t,e),{})})).reduce(function(e,t){var n=Object.keys(t)[0];return e[n]=Object.assign({},e[n],t[n]),e},{}),R=a.$W.getConfig("targetingControls.auctionKeyMaxChars");return R&&((0,d.logInfo)("Detected 'targetingControls.auctionKeyMaxChars' was active for this auction; set with a limit of ".concat(R," characters. Running checks on auction keys...")),j=function(e,t){let n=(0,f.Go)(e);return Object.keys(n).map(e=>({adUnitCode:e,adserverTargeting:n[e]})).sort(k()).reduce(function(e,r,i,o){var a;let s=Object.keys(a=r.adserverTargeting).reduce(function(e,t){return e+"".concat(t,"%3d").concat(encodeURIComponent(a[t]),"%26")},"");i+1===o.length&&(s=s.slice(0,-3));let l=r.adUnitCode,u=s.length;return u<=t?(t-=u,(0,d.logInfo)("AdUnit '".concat(l,"' auction keys comprised of ").concat(u," characters. Deducted from running threshold; new limit is ").concat(t),n[l]),e[l]=n[l]):(0,d.logWarn)("The following keys for adUnitCode '".concat(l,"' exceeded the current limit of the 'auctionKeyMaxChars' setting.\nThe key-set size was ").concat(u,", the current allotted amount was ").concat(t,".\n"),n[l]),i+1===o.length&&0===Object.keys(e).length&&(0,d.logError)("No auction targeting keys were permitted due to the setting in setConfig(targetingControls.auctionKeyMaxChars). Please review setup and consider adjusting."),e},{})}(j,R)),m.forEach(e=>{j[e]||(j[e]={}),1===Object.keys(j[e]).length&&null!=j[e][s.xS.VERSION]&&delete j[e][s.xS.VERSION]}),j},setTargetingForGPT:(0,u.A_)("sync",function(t,r){let i=n.getAllTargeting(t),o=Object.fromEntries(v.map(e=>[e,null]));Object.entries(I(Object.keys(i),r)).forEach(e=>{let[t,n]=e;n.forEach(e=>{Object.keys(i[t]).forEach(e=>{let n=i[t][e];"string"==typeof n&&-1!==n.indexOf(",")&&(n=n.split(",")),i[t][e]=n}),(0,d.logMessage)("Attempting to set targeting-map for slot: ".concat(e.getSlotElementId()," with targeting-map:"),i[t]),e.updateTargetingFromMap(Object.assign({},o,i[t])),m.lock(i[t])})}
24),Object.keys(i).forEach(t=>{Object.keys(i[t]).forEach(n=>{"hb_adid"===n&&e.setStatusForBids(i[t][n],s.tl.BID_TARGETING_SET)})}),n.targetingDone(i),l.emit(s.qY.SET_TARGETING,i)},"setTargetingForGPT"),targetingDone:(0,u.A_)("sync",function(e){return e},"targetingDone"),getWinningBids(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:h.Vk,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:d.sortByHighestCpm,a=t||g(n,r),s=i(e);return a.filter(e=>s.includes(e.adUnitCode)).filter(e=>!0===o.u.get(e.bidderCode,"allowZeroCpmBids")?e.cpm>=0:e.cpm>0).map(e=>e.adUnitCode).filter(d.uniques).map(e=>a.filter(t=>t.adUnitCode===e?t:null).reduce(h.Vk))},setTargetingForAst(e){let t=n.getAllTargeting(e);try{n.resetPresetTargetingAST(e)}catch(e){(0,d.logError)("unable to reset targeting for AST"+e)}Object.keys(t).forEach(e=>{m.lock(t[e]),Object.keys(t[e]).forEach(n=>{if((0,d.logMessage)("Attempting to set targeting for targetId: ".concat(e," key: ").concat(n," value: ").concat(t[e][n])),(0,f.O8)(t[e][n])||(0,f.cy)(t[e][n])){let r={};0>n.search(/pt[0-9]/)?r[n.toUpperCase()]=t[e][n]:r[n]=t[e][n],window.apntag.setKeywords(e,r,{overrideKeyValue:!0})}})})},isApntagDefined(){if(window.apntag&&(0,f.fp)(window.apntag.setKeywords))return!0}};function i(t){return"string"==typeof t?[t]:(0,f.cy)(t)?t:e.getAdUnitCodes()||[]}function g(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h.Bq,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return T(e.getBidsReceived().reduce((e,n)=>{var r;let i=a.$W.getConfig("useBidCache"),o=a.$W.getConfig("bidCacheFilterFunction"),s=t[n.adUnitCode]===n.auctionId,l=!(i&&!s&&"function"==typeof o)||!!o(n);return(i||s)&&l&&(null==n||null===(r=n.video)||void 0===r?void 0:r.context)!==c.LM&&S(n)&&(n.latestTargetedAuctionId=t[n.adUnitCode],e.push(n)),e},[]),n,void 0,void 0,r)}function O(){return e.getStandardBidderAdServerTargeting().map(e=>e.key).concat(E).filter(d.uniques)}return a.$W.getConfig("targetingControls",function(e){null!=(0,p.A)(e,y)&&null!=(0,p.A)(e,b)&&(0,d.logError)(w)}),n}(r.n)},87067(e,t,n){n.d(t,{L6:()=>y,ey:()=>h});var r=n(91933),i=n(32592),o=n(51748),a=n(10466),s=n(63320),l=n(75049),u=n(13064),c=n(70736),d=n(59794),f=n(67464),p=n(765);let h="__".concat((0,p.k)(),"_debugging__");function g(){return(0,o.m)().installedModules.includes("debugging")}function m(e){return new u.U9(t=>{(0,l.R)(e,c.tp,"debugging",t)})}let v=function(){let{load:e=function(){let{alreadyInstalled:e=g,script:t=m}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=null;return function(){return null==n&&(n=new u.U9((n,l)=>{setTimeout(()=>{if(e())n();else{let e="".concat((0,p.rT)(),"debugging-standalone.js");(0,a.logMessage)('Debugging module not installed, loading it from "'.concat(e,'"...')),(0,o.m)()._installDebugging=!0,t(e).then(()=>{(0,o.m)()._installDebugging({DEBUG_KEY:h,hook:i.A_,config:r.$W,createBid:s.O,logger:(0,a.prefixLog)("DEBUG:"),utils:a,BANNER:d.D4,NATIVE:d.s6,VIDEO:d.G_,Renderer:f.A4})}).then(n,l)}})})),n}}(),hook:t=(0,i.Yn)("requestBids")}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=null,l=!1;function c(e){for(var t=arguments.length,r=Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];return(n||u.U9.resolve()).then(()=>e.apply(this,r))}function v(){t.getHooks({hook:c}).remove(),l=!1}return{enable:function(){l||(n=e(),t.before(c,99),l=!0)},disable:v,reset:function(){n=null,v()}}}();function y(){let e=null;try{e=window.sessionStorage}catch(e){}if(null!==e){let t=null;try{t=e.getItem(h)}catch(e){}null!==t&&v.enable()}}v.reset,r.$W.getConfig("debugging",function(e){let{debugging:t}=e;null!=t&&t.enabled?v.enable():v.disable()})},88417(e,t,n){n.d(t,{Ai:()=>u,kl:()=>c});var r=n(10466),i=n(26665),o=n(91933),a=n(32592),s=n(765);let l="outstream",u=new Map([["mimes",e=>Array.isArray(e)&&e.length>0&&e.every(e=>"string"==typeof e)],["minduration",i.Fq],["maxduration",i.Fq],["startdelay",i.Fq],["maxseq",i.Fq],["poddur",i.Fq],["protocols",i.Uu],["battr",i.Uu],["maxextended",i.Fq],["minbitrate",i.Fq],["maxbitrate",i.Fq],["delivery",i.Uu],["api",i.Uu],["companiontype",i.Uu],["feed",i.Fq],["stitched",i.Fq],["nvol",i.Fq]]);function c(e){}(0,a.A_)("sync",function(e,t,n,i,a){if(n&&(a||i!==l)){let{url:t,useLocal:n}=o.$W.getConfig("cache")||{};return t||n||!e.vastXml||e.vastUrl?!(!e.vastUrl&&!e.vastXml):((0,r.logError)("\n This bid contains only vastXml and will not work when a prebid cache url is not specified.\n Try enabling either prebid cache with ".concat((0,s.k)(),'.setConfig({ cache: {url: "..."} });\n or local cache with ').concat((0,s.k)(),".setConfig({ cache: { useL
24ocal: true }});\n ")),!1)}return!(i===l&&!a)||!!(e.renderer||t&&t.renderer||n.renderer)},"checkAudioBidSetup")},88955(e,t,n){let r;n.d(t,{WH:()=>ea,xu:()=>eu,Z:()=>es,gH:()=>eg,pq:()=>en});var i=n(51748),o=n(10466),a=n(26665),s=n(58928),l=n(83435),u=n(98158),c=n(80356),d=n(11418),f=n(71852),p=n(45144),h=n(13064);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach(function(t){(0,u.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}let{REQUEST:v,RESPONSE:y,NATIVE:b,EVENT:w}=d.nl,E={[v]:function(e,t,n){(0,f.bw)({renderFn(t){e(Object.assign({message:y,renderer:(0,p.kj)(n),rendererVersion:p.xh},t))},resizeFn:O(t.adId,n),options:t.options,adId:t.adId,bidResponse:n})},[w]:function(e,t,n){return null==n?void(0,o.logError)("Cannot find ad '".concat(t.adId,"' for x-origin event request")):n.status!==d.tl.RENDERED?void(0,o.logWarn)("Received x-origin event request without corresponding render request for ad '".concat(n.adId,"'")):(0,f.Uc)(t,n)}};function O(e,t){return function(n,r){!function(e){let{instl:t,adId:n,adUnitCode:r,width:i,height:a}=e;if(t)return;function s(e){if(e){let t=e.style;t.width=S(i),t.height=S(a)}else(0,o.logError)("Unable to locate matching page element for adUnitCode ".concat(r,". Can't resize it to ad's dimensions. Please review setup."))}let l=function(e){let t=function(e,t){if((0,o.isGptPubadsDefined)()){let t=function(e){let t=window.googletag.pubads().getSlots().find(t=>t.getTargetingKeys().find(n=>t.getTargeting(n).includes(e)));return t?t.getSlotElementId():null}(e);if(t)return t}if((0,o.isApnGetTagDefined)()){let e=function(e){let t=window.apntag.getTag(e);return t&&t.targetId}(t);if(e)return e}return t}(n,r),i=document.getElementById(t);return i&&i.querySelector(e)}('iframe:not([style*="display: none"])');s(l);let u=null==l?void 0:l.closest("ins[data-anchor-status]");u?new h.U9((e,t)=>{let n=10,r=setInterval(()=>{let o=!1;Object.entries({width:i,height:a}).forEach(e=>{let[t,n]=e;/\d+px/.test(u.style[t])&&(u.style[t]=S(n),o=!0)}),(o||0==n--)&&(clearInterval(r),o?e():t(Error("Could not resize anchor")))},50)}):s(null==l?void 0:l.parentElement)}(m(m({},t),{},{width:n,height:r,adId:e}))}}function S(e){return e?e+"px":"100%"}Object.assign(E,{[b]:function(e,t,n){if(null==n)return void(0,o.logError)("Cannot find ad for x-origin event request: '".concat(t.adId,"'"));switch(t.action){case"assetRequest":(0,f.Hh)(n,()=>e((0,c.IX)(t,n)));break;case"allAssetRequest":(0,f.Hh)(n,()=>e((0,c.yl)(t,n)));break;default:(0,f.vW)(t,n,{resizeFn:O(t.adId,n)}),(0,f.Pk)(n)}}});var T=n(73391),k=n(91933),I=n(63006),A=n(80869),_=n(32592),C=n(87067),D=n(61443),x=n(51409),j=n(18014),R=n(37841),P=n(16169),N=n(41385),q=n(79236),B=n(36220);let U=new Map([["format",e=>Array.isArray(e)&&e.length>0&&e.every(e=>"object"==typeof e)],["w",a.Fq],["h",a.Fq],["btype",a.Uu],["battr",a.Uu],["pos",a.Fq],["mimes",e=>Array.isArray(e)&&e.length>0&&e.every(e=>"string"==typeof e)],["topframe",e=>[1,0].includes(e)],["expdir",a.Uu],["api",a.Uu],["id",a.O8],["vcm",e=>[1,0].includes(e)]]);var M=n(59794);function F(e,t){var n=this;return function(){for(var r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];return document.prerendering&&e()?new Promise(e=>{document.addEventListener("prerenderingchange",()=>{(0,o.logInfo)("Auctions were suspended while page was prerendering"),e(t.apply(n,i))},{once:!0})}):Promise.resolve(t.apply(n,i))}}var W=n(3516),L=n(40069),z=n(88417),V=n(765),G=n(46652);let Q=(0,i.m)(),{triggerUserSyncs:H}=T.zt,{ADD_AD_UNITS:J,REQUEST_BIDS:$,SET_TARGETING:K}=d.qY;function Y(e,t){let n=[];return(0,a.cy)(e)&&(t?e.length===t:e.length>0)&&(e.every(e=>(0,a.Uu)(e,2))?n=e:(0,a.Uu)(e,2)&&n.push(e)),n}function X(e,t){let n=(0,s.A)(e,"ortb2Imp.".concat(t)),r=(0,s.A)(e,"mediaTypes.".concat(t));if(!n&&!r)return;let i={[M.G_]:B.Zy,[M.D4]:U}[t];
24i&&[...i].forEach(n=>{let[r,i]=n,a=(0,s.A)(e,"mediaTypes.".concat(t,".").concat(r)),u=(0,s.A)(e,"ortb2Imp.".concat(t,".").concat(r));void 0===a&&void 0===u||(void 0===a?(0,l.J)(e,"mediaTypes.".concat(t,".").concat(r),u):void 0===u?(0,l.J)(e,"ortb2Imp.".concat(t,".").concat(r),a):(0,o.deepEqual)(a,u)||((0,o.logWarn)("adUnit ".concat(e.code,": specifies conflicting ortb2Imp.").concat(t,".").concat(r," and mediaTypes.").concat(t,".").concat(r,", the latter will be ignored"),e),(0,l.J)(e,"mediaTypes.".concat(t,".").concat(r),u)))})}function Z(e){var t,n,r,i,s;let u;let c=(0,a.Go)(e),d=c.mediaTypes.banner,f=null==d.sizes?null:Y(d.sizes),p=null!==(t=null===(n=e.ortb2Imp)||void 0===n||null===(n=n.banner)||void 0===n?void 0:n.format)&&void 0!==t?t:null==d?void 0:d.format;if(null!=p){(0,l.J)(c,"ortb2Imp.banner.format",p),d.format=p;try{u=p.filter(t=>{let{w:n,h:r,wratio:i,hratio:a}=t;return null!=(null!=n?n:r)&&null!=(null!=i?i:a)?((0,o.logWarn)("Ad unit banner.format specifies both w/h and wratio/hratio",e),!1):null!=n&&null!=r||null!=i&&null!=a}).map(e=>{let{w:t,h:n,wratio:r,hratio:i}=e;return[null!=t?t:r,null!=n?n:i]})}catch(t){(0,o.logError)("Invalid format definition on ad unit ".concat(e.code),p)}null==u||null==f||(0,o.deepEqual)(f,u)||(0,o.logWarn)("Ad unit ".concat(e.code," has conflicting sizes and format definitions"),e)}let h=null!==(r=null!=u?u:f)&&void 0!==r?r:[],g=null!==(i=null===(s=e.ortb2Imp)||void 0===s||null===(s=s.banner)||void 0===s?void 0:s.expdir)&&void 0!==i?i:d.expdir;return null!=g&&(d.expdir=g,(0,l.J)(c,"ortb2Imp.banner.expdir",g)),h.length>0?(d.sizes=h,c.sizes=h):((0,o.logError)("Detected a mediaTypes.banner object without a proper sizes field. Please ensure the sizes are listed like: [[300, 250], ...]. Removing invalid mediaTypes.banner object from request."),delete c.mediaTypes.banner),en(c,"banner"),X(c,"banner"),c}function ee(e){let t=(0,a.Go)(e);return en(t,"audio"),X(t,"audio"),t}function et(e){let t=(0,a.Go)(e),n=t.mediaTypes.video;if(n.playerSize){let e="number"==typeof n.playerSize[0]?2:1,r=Y(n.playerSize,e);r.length>0?(2===e&&(0,o.logInfo)("Transforming video.playerSize from [640,480] to [[640,480]] so it's in the proper format."),n.playerSize=r,t.sizes=r):((0,o.logError)("Detected incorrect configuration of mediaTypes.video.playerSize. Please specify only one set of dimensions in a format like: [[640, 480]]. Removing invalid mediaTypes.video.playerSize property from request."),delete t.mediaTypes.video.playerSize)}return en(t,"video"),X(t,"video"),t}function en(e,t,n){let r=((null==e?void 0:e.mediaTypes)||{})[t],i={banner:U,audio:z.Ai,video:B.Zy}[t];(0,a.Qd)(r)?null!=r&&Object.entries(r).forEach(a=>{let[s,l]=a;i.has(s)&&(i.get(s)(l)||("function"==typeof n?n(s,l,e):(delete r[s],(0,o.logWarn)('Invalid prop in adUnit "'.concat(e.code,'": Invalid value for mediaTypes.').concat(t,".").concat(s," ORTB property. The property has been removed.")))))}):(0,o.logWarn)("validateOrtb".concat(t,"Fields: ").concat(t,"Params must be an object."))}function er(e){function t(t){return(0,o.logError)('Error in adUnit "'.concat(e.code,'": ').concat(t,". Removing native request from ad unit"),e),delete r.mediaTypes.native,r}function n(e){for(let t of["types"])if(i.hasOwnProperty(t)){let n=e(t);if(n)return n}}let r=(0,a.Go)(e),i=r.mediaTypes.native;if(i.ortb){var s;if(null!==(s=i.ortb.assets)&&void 0!==s&&s.some(e=>!(0,a.Et)(e.id)||e.id<0||e.id%1!=0))return t("native asset ID must be a nonnegative integer");if(n(e=>t('ORTB native requests cannot specify "'.concat(e,'"'))))return r;let e=Object.keys(d.x5).filter(e=>d.x5[e].includes("hb_native_")),l=Object.keys(i).filter(t=>e.includes(t));l.length>0&&((0,o.logError)("when using native OpenRTB format, you cannot use legacy native properties. Deleting ".concat(l," keys from request.")),l.forEach(e=>delete r.mediaTypes.native[e]))}else n(t=>(0,o.logWarn)("mediaTypes.native.".concat(t," is deprecated, consider using native ORTB instead"),e));return i.image&&i.image.sizes&&!Array.isArray(i.image.sizes)&&((0,o.logError)("Please use an array of sizes for native.image.sizes field. Removing invalid mediaTypes.native.image.sizes property from request."),delete r.mediaTypes.native.image.sizes),i.image&&i.image.as
24pect_ratios&&!Array.isArray(i.image.aspect_ratios)&&((0,o.logError)("Please use an array of sizes for native.image.aspect_ratios field. Removing invalid mediaTypes.native.image.aspect_ratios property from request."),delete r.mediaTypes.native.image.aspect_ratios),i.icon&&i.icon.sizes&&!Array.isArray(i.icon.sizes)&&((0,o.logError)("Please use an array of sizes for native.icon.sizes field. Removing invalid mediaTypes.native.icon.sizes property from request."),delete r.mediaTypes.native.icon.sizes),r}function ei(e,t){var n;let r=null==e||null===(n=e.mediaTypes)||void 0===n||null===(n=n[t])||void 0===n?void 0:n.pos;if(!(0,a.Et)(r)||isNaN(r)||!isFinite(r)){let n="Value of property 'pos' on ad unit ".concat(e.code," should be of type: Number");(0,o.logWarn)(n),delete e.mediaTypes[t].pos}return e}function eo(e){let t=e=>"adUnit.code '".concat(n.code,"' ").concat(e),n=e,r=n.mediaTypes,i=n.bids;return null==i||(0,a.cy)(i)?null==i&&null==n.ortb2Imp?((0,o.logError)(t("has no 'adUnit.bids' and no 'adUnit.ortb2Imp'. Removing adUnit from auction")),null):r&&0!==Object.keys(r).length?(null==n.ortb2Imp||null!=i&&0!==i.length||(n.bids=[{bidder:null}],(0,o.logMessage)(t("defines 'adUnit.ortb2Imp' with no 'adUnit.bids'; it will be seen only by S2S adapters"))),n):((0,o.logError)(t("does not define a 'mediaTypes' object. This is a required field for the auction, so this adUnit has been removed.")),null):((0,o.logError)(t("defines 'adUnit.bids' that is not an array. Removing adUnit from auction")),null)}(0,C.L6)(),Q.bidderSettings=Q.bidderSettings||{},Q.libLoaded=!0,Q.version="v10.25.0",(0,o.logInfo)("Prebid.js v10.25.0 loaded"),Q.adUnits=Q.adUnits||[],Q.pageViewIdPerBidder=Q.pageViewIdPerBidder||new Map;let ea={validateAdUnit:eo,validateBannerMediaType:Z,validateSizes:Y};Object.assign(ea,{validateNativeMediaType:er}),Object.assign(ea,{validateVideoMediaType:et}),Object.assign(ea,{validateAudioMediaType:ee});let es=(0,_.A_)("sync",function(e){let t=[];return e.forEach(e=>{let n,r,i,o;let a=eo(e);if(null==a)return;let s=a.mediaTypes;s.banner&&(n=Z(a),s.banner.hasOwnProperty("pos")&&(n=ei(n,"banner"))),s.video&&(r=et(n||a),s.video.hasOwnProperty("pos")&&(r=ei(r,"video"))),s.native&&(i=er(r||n||a)),s.audio&&(o=ee(i||a));let l=Object.assign({},n,r,i,o);t.push(l)}),t},"checkAdUnitSetup");function el(e,t){return function(){for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return(0,o.logInfo)("Invoking ".concat((0,V.k)(),".").concat(e),r),t.apply(this,r)}}function eu(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];(0,i.m)()[e]=n?el(e,t):t}function ec(e){return ed(e)[e]}function ed(e){return A.iS.getAllTargeting(e)}function ef(e){return(e=e.slice()).bids=e,e}function ep(e){let t=I.n[e]().filter(e=>I.n.getAdUnitCodes().includes(e.adUnitCode)),n=I.n.getLastAuctionId();return t.map(e=>e.adUnitCode).filter(o.uniques).map(e=>t.filter(t=>t.auctionId===n&&t.adUnitCode===e)).filter(e=>e&&e[0]&&e[0].adUnitCode).map(e=>({[e[0].adUnitCode]:ef(e)})).reduce((e,t)=>Object.assign(e,t),{})}eu("triggerUserSyncs",H),eu("getAdserverTargetingForAdUnitCodeStr",function(e){if(e){let t=ec(e);return(0,o.transformAdServerTargetingObj)(t)}(0,o.logMessage)("Need to call getAdserverTargetingForAdUnitCodeStr with adunitCode")}),eu("getHighestUnusedBidResponseForAdUnitCode",function(e){if(e){let t=I.n.getAllBidsForAdUnitCode(e).filter(A.Yl);return t.length?t.reduce(q.Vk):null}(0,o.logMessage)("Need to call getHighestUnusedBidResponseForAdUnitCode with adunitCode")}),eu("getAdserverTargetingForAdUnitCode",ec),eu("getAdserverTargeting",ed),eu("getConsentMetadata",function(){return N.SL.getConsentMeta()}),eu("getNoBids",function(){return ep("getNoBids")}),eu("getNoBidsForAdUnitCode",function(e){return ef(I.n.getNoBids().filter(t=>t.adUnitCode===e))}),eu("getBidResponses",function(){return ep("getBidsReceived")}),eu("getBidResponsesForAdUnitCode",function(e){return ef(I.n.getBidsReceived().filter(t=>t.adUnitCode===e))}),eu("setTargetingForGPTAsync",function(e,t){(0,o.isGptPubadsDefined)()?A.iS.setTargetingForGPT(e,t):(0,o.logError)("window.googletag is not defined on the page")}),eu("setTargetingForAst",function(e){A.iS.isApntagDefined()?(A.iS.setTargetingForAst(e),j.emit(K,A.iS.getAllTargeting())):(0,o.logError)("window.apntag is not defined on the page")}
24),eu("renderAd",function(e,t,n){(0,f.BS)(e,t,n)}),eu("removeAdUnit",function(e){if(!e)return void(Q.adUnits=[]);((0,a.cy)(e)?e:[e]).forEach(e=>{for(let t=Q.adUnits.length-1;t>=0;t--)Q.adUnits[t].code===e&&Q.adUnits.splice(t,1)})});let eh=function(){function e(e,t){return null==t||Array.isArray(t)||(t=[t]),null==t||Array.isArray(t)&&0===t.length?{included:e,excluded:[],adUnitCodes:e.map(e=>e.code).filter(o.uniques)}:Object.assign({adUnitCodes:t=t.filter(o.uniques)},e.reduce((e,n)=>{let{included:r,excluded:i}=e;return(t.includes(n.code)?r:i).push(n),{included:r,excluded:i}},{included:[],excluded:[]}))}let t=(0,_.A_)("async",function(t){let{bidsBackHandler:n,timeout:r,adUnits:i,adUnitCodes:s,labels:l,auctionId:u,ttlBuffer:c,ortb2:d,metrics:f,defer:p}=null!=t?t:{},g=r||k.$W.getConfig("bidderTimeout");({included:i,adUnitCodes:s}=e(i,s));let m={global:(0,o.mergeDeep)({},k.$W.getAnyConfig("ortb2")||{},d||{}),bidder:Object.fromEntries(Object.entries(k.$W.getBidderConfig()).map(e=>{let[t,n]=e;return[t,(0,a.Go)(n.ortb2)]}).filter(e=>{let[t,n]=e;return null!=n}))};m=(0,L.mZ)(m),(0,P.wU)(h.U9.resolve(m.global)).then(e=>(m.global=e,eg({bidsBackHandler:n,timeout:g,adUnits:i,adUnitCodes:s,labels:l,auctionId:u,ttlBuffer:c,ortb2Fragments:m,metrics:f,defer:p})))},"requestBids");return(0,_.Y6)(t,el("requestBids",F(()=>!k.$W.getConfig("allowPrerendering"),function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=n.adUnits||Q.adUnits;n.adUnits=Array.isArray(r)?r.slice():[r];let i=(0,R.K7)();i.checkpoint("requestBids");let{included:o,excluded:a,adUnitCodes:s}=e(r,n.adUnitCodes);j.emit($,Object.assign(n,{adUnits:o,adUnitCodes:s}));let l=Object.assign({},n,{adUnits:n.adUnits.slice().concat(a),adUnitCodes:s,metrics:i,defer:(0,h.v6)({promiseFactory:e=>new Promise(e)})});return t.call(this,l),l.defer.promise})))}();eu("requestBids",eh,!1);let eg=(0,_.A_)("async",function(){let{bidsBackHandler:e,timeout:t,adUnits:n,ttlBuffer:r,adUnitCodes:i,labels:a,auctionId:s,ortb2Fragments:l,metrics:u,defer:c}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},d=(0,x.pX)(k.$W.getConfig("s2sConfig")||[]);n.forEach(e=>
24(0,B.V0)(e)),n.forEach(e=>(0,z.kl)(e));let f=(0,R.BO)(u).measureTime("requestBids.validate",()=>es(n));function p(t,n,r){if("function"==typeof e)try{e(t,n,r)}catch(e){(0,o.logError)("Error executing bidsBackHandler",null,e)}c.resolve({bids:t,timedOut:n,auctionId:r})}let h={};if(f.forEach(e=>{var t;let n=Object.keys(e.mediaTypes||{banner:"banner"}),i=e.bids.map(e=>e.bidder).filter(Boolean),a=x.Ay.bidderRegistry,s=i.filter(e=>!d.has(e));e.adUnitId=(0,o.generateUUID)();let l=null===(t=e.ortb2Imp)||void 0===t||null===(t=t.ext)||void 0===t?void 0:t.tid;l&&(h.hasOwnProperty(e.code)?(0,o.logWarn)("Multiple distinct ortb2Imp.ext.tid were provided for twin ad units '".concat(e.code,"'")):h[e.code]=l),null==r||e.hasOwnProperty("ttlBuffer")||(e.ttlBuffer=r),s.forEach(t=>{let r=a[t],i=r&&r.getSpec&&r.getSpec(),s=i&&i.supportedMediaTypes||["banner"];n.some(e=>s.includes(e))||((0,o.logWarn)((0,o.unsupportedBidderMessage)(e,t)),e.bids=e.bids.filter(e=>e.bidder!==t))})}),f&&0!==f.length){f.forEach(e=>{var t;let n=(null===(t=e.ortb2Imp)||void 0===t||null===(t=t.ext)||void 0===t?void 0:t.tid)||h[e.code]||(0,o.generateUUID)();h.hasOwnProperty(e.code)||(h[e.code]=n),e.transactionId=n});let e=I.n.createAuction({adUnits:f,adUnitCodes:i,callback:p,cbTimeout:t,labels:a,auctionId:s,ortb2Fragments:l,metrics:u}),n=f.length;n>15&&(0,o.logInfo)("Current auction ".concat(e.getAuctionId()," contains ").concat(n," adUnits."),f),i.forEach(t=>A.iS.setLatestAuctionForAdUnit(t,e.getAuctionId())),e.callBids()}else(0,o.logMessage)("No adUnits configured. No bids requested."),p()},"startAuction");eh.before(function(e,t){function n(e){let t;for(;t=e.shift();)t()}n(D.s0),n(ey),e.call(this,t)},49),eu("addAdUnits",function(e){Q.adUnits.push(...Array.isArray(e)?e:[e]),j.emit(J)});let em={bidWon(e){if(I.n.getBidsRequested().map(e=>e.bids.map(e=>e.adUnitCode)).reduce(o.flatten).filter(o.uniques).includes(e))return!0;(0,o.logError)('The "'+e+'" placement is not defined.')}};function ev(e,t){return em.hasOwnProperty(e)&&em[e](t)}eu("onEvent",function(e,t,n){(0,a.fp)(t)?!n||ev(e,n)?j.on(e,t,n):(0,o.logError)('The id provided is not valid for event "'+e+'" and no handler was set.'):(0,o.logError)('The event handler provided is not a function and was not set on event "'+e+'".')}),eu("offEvent",function(e,t,n){n&&!ev(e,n)||j.off(e,t,n)}),eu("getEvents",function(){return j.getEvents()}),eu("registerBidAdapter",function(e,t,n){try{let r=n?(0,W.xb)(n):e();x.Ay.registerBidAdapter(r,t)}catch(e){(0,o.logError)("Error registering bidder adapter : "+e.message)}}),eu("registerAnalyticsAdapter",function(e){try{x.Ay.registerAnalyticsAdapter(e)}catch(e){(0,o.logError)("Error registering analytics adapter : "+e.message)}});let ey=[],eb=(0,_.A_)("async",function(e){e&&!(0,o.isEmpty)(e)?x.Ay.enableAnalytics(e):(0,o.logError)("".concat((0,V.k)(),".enableAnalytics should be called with option {}"))},"enableAnalyticsCb");function ew(e){r.promise.then(()=>{if("function"==typeof e)try{e.call()}catch(e){(0,o.logError)("Error processing command :",e.message,e.stack)}else(0,o.logError)("Commands written into ".concat((0,V.k)(),".cmd.push must be wrapped in a function"))})}function eE(e,t){(0,G.JE)(()=>{var e;return null===(e=(0,i.m)().yield)||void 0===e||e},e.map(e=>()=>(function(e){if(void 0===e.called)try{e.call(),e.called=!0}catch(e){(0,o.logError)("Error processing command :","prebid.js",e)}})(e)),t)}eu("enableAnalytics",function(e){ey.push(eb.bind(this,e))}),eu("aliasBidder",function(e,t,n){e&&t?x.Ay.aliasBidAdapter(e,t,n):(0,o.logError)("bidderCode and alias must be passed as arguments","".concat((0,V.k)(),".aliasBidder"))}),Q.aliasRegistry=x.Ay.aliasRegistry,k.$W.getConfig("aliasRegistry",e=>{"private"===e.aliasRegistry&&delete Q.aliasRegistry}),eu("getAllWinningBids",function(){return I.n.getAllWinningBids()}),eu("getAllPrebidWinningBids",function(){return(0,o.logWarn)("getAllPrebidWinningBids may be removed or renamed in a future version. This function returns bids that have won in prebid and have had targeting set but have not (yet?) won in the ad server. It excludes bids that have been rendered."),I.n.getBidsReceived().filter(e=>e.status===d.tl.BID_TARGETING_SET)}),eu("getHighestCpmBids",function(e){return A.iS.getWinningBids(e)}),eu("clearAllAuctions",function(){I.n.clearAllAuctions()}),eu("markWinningBidAsUsed",function(e){let t,{adId:n,adUnitCode:r,analytics:i=!1,events:a=!1}=e;r&&null==n?t=A.iS.getWinningBids(r):n?t=I.n.getBidsReceived().filter(e=>e.adId===n):(0,o.logWarn)("Improper use of markWinningBidAsUsed. It needs an adUnitCode or an adId to function."),t.length>0&&(i||a?(0,f.n6)(t[0]):I.n.addWinningBid(t[0]),(0,f.qn)(t[0]))}),eu("getConfig",k.$W.getAnyConfig),eu("readConfig",k.$W.readAnyConfig),eu("mergeConfig",k.$W.mergeConfig),eu("mergeBidderConfig",k.$W.mergeBidderConfig),eu("setConfig",k.$W.setConfig),eu("setBidderConfig",k.$W.setBidderConfig),Q.que.push(()=>void window.addEventListener("message",function(e){!function(e,t){var n=e.message?"message":"data",r={};try{r=JSON.parse(e[n])}catch(e){return}r&&r.adId&&r.message&&E.hasOwnProperty(r.message)&&(0,f.$A)(r.adId,r.message===d.nl.REQUEST,n=>{var i,a;E[r.message]((i=r.adId,a=null==e.origin&&0===e.ports.length?function(){let e="Cannot post message to a frame with null origin. Please update creatives to use MessageChannel, see https://github.com/prebid/Prebid.js/issues/7870";throw(0,o.logError)(e),Error(e)}:e.ports.length>0?function(t){e.ports[0].postMessage(JSON.stringify(t))}:function(t){e.source.postMessage(JSON.stringify(t),e.origin)},function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return a(Object.assign({},e,{adId:i}
24),...n)}),r,n),t&&t()})}(e)},!1)),r=(0,h.v6)(),eu("processQueue",F(()=>Q.delayPrerendering,async function(){Q.que.push=Q.cmd.push=ew,(0,f.XO)(),_.A_.ready(),eE(Q.que,()=>{eE(Q.cmd,()=>{r.resolve()})})}),!1),eu("triggerBilling",function(e){let{adId:t,adUnitCode:n}=e;I.n.getAllWinningBids().filter(e=>e.adId===t||null==t&&e.adUnitCode===n).forEach(e=>{x.Ay.triggerBilling(e),(0,f.vB)(e)})}),eu("refreshPageViewId",function(){for(let e of Q.pageViewIdPerBidder.keys())Q.pageViewIdPerBidder.set(e,(0,o.generateUUID)())})},91780(e,t,n){n.d(t,{S:()=>a});var r=n(10466),i=n(61443);let o=(0,i.CK)("fpdEnrichment"),a=(0,r.memoize)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.host;if(!o.cookiesAreEnabled())return e;let t=e.split(".");if(2===t.length)return e;let n,r,a=-2;do n=t.slice(a).join("."),(0,i.d_)(n,o)?r=!1:(a+=-1,r=Math.abs(a)<=t.length);while(r);return n})},91933(e,t,n){n.d(t,{$W:()=>v,Ov:()=>p});var r=n(98158),i=n(1124),o=n(10466),a=n(58928),s=n(26665),l=n(11418);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach(function(t){(0,r.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}let d="TRUE"===(0,o.getParameterByName)(l.M).toUpperCase(),f={},p="random",h={};h[p]=!0,h.fixed=!0;let g={LOW:"low",MEDIUM:"medium",HIGH:"high",AUTO:"auto",DENSE:"dense",CUSTOM:"custom"};function m(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1]?{priceGranularity:g.MEDIUM,customPriceBucket:{},mediaTypePriceGranularity:{},bidderSequence:p,auctionOptions:{}}:{},n=(()=>{let e=["secondaryBidders","suppressStaleRender","suppressExpiredRender","legacyRender"],t=["secondaryBidders"],n=[].concat(e).concat(t);return function(r){if(!(0,s.Qd)(r))return(0,o.logWarn)("Auction Options must be an object"),!1;for(let i of Object.keys(r)){if(!n.includes(i))return(0,o.logWarn)("Auction Options given an incorrect param: ".concat(i)),!1;if(t.includes(i)){if(!(0,s.cy)(r[i]))return(0,o.logWarn)("Auction Options ".concat(i," must be of type Array")),!1;if(!r[i].every(s.O8))return(0,o.logWarn)("Auction Options ".concat(i," must be only string")),!1}else if(e.includes(i)&&!(0,s.Lm)(r[i]))return(0,o.logWarn)("Auction Options ".concat(i," must be of type boolean")),!1}return!0}})();function r(e){return t[e]}function a(n,r){t.hasOwnProperty(n)||Object.defineProperty(e,n,{enumerable:!0}),t[n]=r}return Object.defineProperties(e,Object.fromEntries(Object.entries({publisherDomain:{set(e){null!=e&&(0,o.logWarn)("publisherDomain is deprecated and has no effect since v7 - use pageUrl instead"),a("publisherDomain",e)}},priceGranularity:{set(e){u(e)&&("string"==typeof e?a("priceGranularity",l(e)?e:g.MEDIUM):(0,s.Qd)(e)&&(a("customPriceBucket",e),a("priceGranularity",g.CUSTOM),(0,o.logMessage)("Using custom price granularity")))}},customPriceBucket:{},mediaTypePriceGranularity:{set(e){null!=e&&a("mediaTypePriceGranularity",Object.keys(e).reduce((n,r)=>(u(e[r])?"string"==typeof e?n[r]=l(e[r])?e[r]:t.priceGranularity:(0,s.Qd)(e)&&(n[r]=e[r],(0,o.logMessage)("Using custom price granularity for ".concat(r))):(0,o.logWarn)("Invalid price granularity for media type: ".concat(r)),n),{}))}},bidderSequence:{set(e){h[e]?a("bidderSequence",e):(0,o.logWarn)("Invalid order: ".concat(e,". Bidder Sequence was not set."))}},auctionOptions:{set(e){n(e)&&a("auctionOptions",e)}}}).map(e=>{let[n,i]=e;return[n,Object.assign({get:r.bind(null,n),set:a.bind(null,n),enumerable:t.hasOwnProperty(n),configurable:!t.hasOwnProperty(n)},i)]}))),e;function l(e){return Object.keys(g).find(t=>e===g[t])}function u(e){if(!e)return(0,o.logError)("Prebid Error: no value passed to `setPriceGranularity()`"),!1;if("string"==typeof e)l(e)||(0,o.logWarn)("Prebid Warning: setPriceGranularity was called with invali
24d setting, using `medium` as default.");else if((0,s.Qd)(e)&&!(0,i.q)(e))return(0,o.logError)("Invalid custom price value passed to `setPriceGranularity()`"),!1;return!0}}let v=function(){let e=[],t,n,r,i=null;function l(){t={};let e=m({debug:d,bidderTimeout:3e3,enableSendAllBids:!0,useBidCache:!1,deviceAccess:!0,disableAjaxTimeout:!1,maxNestedIframes:10,maxBid:5e3,userSync:{topics:f}});n&&b(Object.keys(n).reduce((t,r)=>(n[r]!==e[r]&&(t[r]=e[r]||{}),t),{})),n=e,r={}}function u(){if(i&&r&&(0,s.Qd)(r[i])){let e=r[i],t=new Set([...Object.keys(n),...Object.keys(e)]),a={};for(let r of t){let t=n[r],i=e[r];a[r]=void 0===i?t:void 0===t?i:(0,s.Qd)(i)?(0,o.mergeDeep)({},t,i):i}return a}return c({},n)}let[p,h]=[u,function(){let e=u();return Object.defineProperty(e,"ortb2",{get:function(){throw Error("invalid access to 'orbt2' config - use request parameters instead")}}),e}].map(t=>function(){if(arguments.length<=1&&"function"!=typeof(arguments.length<=0?void 0:arguments[0])){let e=arguments.length<=0?void 0:arguments[0];return e?(0,a.A)(t(),e):u()}return function(t,n){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n;if("string"!=typeof t&&(i=t,t="*",r=n||{}),"function"!=typeof i)return void(0,o.logError)("listener must be a function");let a={topic:t,callback:i};return e.push(a),r.init&&i("*"===t?h():{[t]:h(t)}),function(){e.splice(e.indexOf(a),1)}}(...arguments)}),[g,v]=[h,p].map(e=>function(){let t=e(...arguments);return t&&"object"==typeof t&&(t=(0,s.Go)(t)),t});function y(e){if(!(0,s.Qd)(e))return void(0,o.logError)("setConfig options must be an object");let r=Object.keys(e),i={};r.forEach(r=>{let a=e[r];(0,s.Qd)(t[r])&&(0,s.Qd)(a)&&(a=Object.assign({},t[r],a));try{i[r]=n[r]=a}catch(e){(0,o.logWarn)("Cannot set config for property ".concat(r," : "),e)}}),b(i)}function b(t){let n=Object.keys(t);e.filter(e=>n.includes(e.topic)).forEach(e=>{e.callback({[e.topic]:t[e.topic]})}),e.filter(e=>"*"===e.topic).forEach(e=>e.callback(t))}function w(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];try{(function(e){if(!(0,s.Qd)(e))throw Error("setBidderConfig bidder options must be an object");if(!Array.isArray(e.bidders)||!e.bidders.length)throw Error("setBidderConfig bidder options must contain a bidders list with at least 1 bidder");if(!(0,s.Qd)(e.config))throw Error("setBidderConfig bidder options must contain a config object")})(e),e.bidders.forEach(n=>{r[n]||(r[n]=m({},!1)),Object.keys(e.config).forEach(i=>{let a=e.config[i],l=r[n][i];if((0,s.Qd)(a)&&(null==l||(0,s.Qd)(l))){let e=t?o.mergeDeep:Object.assign;r[n][i]=e({},l||{},a)}else r[n][i]=a})})}catch(e){(0,o.logError)(e)}}function E(e,t){i=e;try{return t()}finally{O()}}function O(){i=null}return l(),{getCurrentBidder:function(){return i},resetBidder:O,getConfig:h,getAnyConfig:p,readConfig:g,readAnyConfig:v,setConfig:y,mergeConfig:function(e){if(!(0,s.Qd)(e))return void(0,o.logError)("mergeConfig input must be an object");let t=(0,o.mergeDeep)(u(),e);return y(c({},t)),t},setDefaults:function(e){(0,s.Qd)(t)?(Object.assign(t,e),Object.assign(n,e)):(0,o.logError)("defaults must be an object")},resetConfig:l,runWithBidder:E,callbackWithBidder:function(e){return function(t){return function(){if("function"==typeof t){for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return E(e,t.bind(this,...r))}(0,o.logWarn)("config.callbackWithBidder callback is not a function")}}},setBidderConfig:w,getBidderConfig:function(){return r},mergeBidderConfig:function(e){return w(e,!0)}}}()},93448(e,t,n){function r(e){var t;
24return null==e||!e.gdprApplies||!0===(null==e||null===(t=e.vendorData)||void 0===t||null===(t=t.purpose)||void 0===t||null===(t=t.consents)||void 0===t?void 0:t[1])}n.d(t,{C:()=>r})}}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[37769],{30183(e,t,n){n.d(t,{M:()=>a,g:()=>o});var r=n(10466),i=n(43958);function o(){try{let{scrollY:e,scrollX:t}=(0,r.getWindowTop)(),{height:n,width:i}=a();return{top:e,right:t+i,bottom:e+n,left:t}}catch(e){return{}}}function a(){let e=(0,i.Ot)();try{let t=e.innerHeight||e.document.documentElement.clientHeight||e.document.body.clientHeight||0;return{width:e.innerWidth||e.document.documentElement.clientWidth||e.document.body.clientWidth||0,height:t}}catch(e){return{}}}}}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[40315],{83367(e,t,n){function r(e){var t,n;return"1"===e.navigator.doNotTrack||"1"===e.doNotTrack||"1"===e.navigator.msDoNotTrack||"yes"===(null===(t=e.navigator.doNotTrack)||void 0===t||null===(n=t.toLowerCase)||void 0===n?void 0:n.call(t))}function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;try{return r(e)||e!==e.top&&r(e.top)}catch(e){return!1}}n.d(t,{l:()=>i})}}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[51085],{63293(e,t,n){n.d(t,{G:()=>r});let r='(()=>{"use strict";const e="Prebid Event",n="browserIntervention";window.render=function(t,r,i){let{ad:o,adUrl:l,width:s,height:d,instl:c}=t,{mkFrame:a,sendMessage:h}=r;if(function(){const t=window;if("ReportingObserver"in t)try{new t.ReportingObserver(t=>{var r;r=t[0],h(e,{event:n,intervention:r})},{buffered:!0,types:["intervention"]}).observe()}catch(e){}}(),!o&&!l){const e=new Error("Missing ad markup or URL");throw e.reason="noAd",e}{if(null==d){var v;const e=null===(v=i.document)||void 0===v?void 0:v.body;[e,null==e?void 0:e.parentElement].filter(e=>null!=(null==e?void 0:e.style)).forEach(e=>{e.style.height="100%"})}const e=i.document,n={width:null!=s?s:"100%",height:null!=d?d:"100%"};if(l&&!o?n.src=l:n.srcdoc=o,e.body.appendChild(a(e,n)),c&&i.frameElement){const e=i.frameElement.style;e.width=s?"".concat(s,"px"):"100vw",e.height=d?"".concat(d,"px"):"100vh"}}}})();'}}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[57109],{29708(e,t,n){n.d(t,{Al:()=>l});var r=n(98158),i=n(10466);class o{setCmpApi(e){this.cmpApi=e}getCmpApi(){return this.cmpApi}setCmpListenerId(e){this.listenerId=e}getCmpListenerId(){return this.listenerId}resetCmpApis(){this.cmpApi=null,this.listenerId=void 0}getRemoveListenerParams(){let e=this.getCmpApi(),t=this.getCmpListenerId();return e&&"function"==typeof e&&null!=t?{command:"removeEventListener",callback:()=>this.resetCmpApis(),parameter:t}:null}constructor(){(0,r.A)(this,"cmpApi",null),(0,r.A)(this,"listenerId",void 0)}}class a extends o{removeCmpEventListener(){let e=this.getRemoveListenerParams();if(e){let t=this.getConsentData();e.apiVersion=(null==t?void 0:t.apiVersion)||2,(0,i.logInfo)("Removing TCF CMP event listener"),this.getCmpApi()(e)}}constructor(e){super(),(0,r.A)(this,"getConsentData",void 0),this.getConsentData=e||(()=>null)}}class s extends o{removeCmpEventListener(){let e=this.getRemoveListenerParams();e&&((0,i.logInfo)("Removing GPP CMP event listener"),this.getCmpApi()(e))}}function l(e,t){switch(e){case"tcf":return new a(t);case"gpp":return new s;default:return(0,i.logError)("Unknown CMP type: ".concat(e)),null}}},93254(e,t,n){n.d(t,{c5:()=>l,q4:()=>s});var r=n(98158),i=n(13064);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach(function(t){(0,r.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}let s=2;function l(e){let t,{apiName:n,apiVersion:r,apiArgs:o=["command","callback","parameter","version"],callbackArgs:l=["returnValue","success"],mode:u=0}=e,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window,d={},f="".concat(n,"Call"),p="".concat(n,"Return");function h(e){var t;let n="string"==typeof e.data&&e.data.includes(p)?JSON.parse(e.data):e.data;if(null!=n&&null!==(t=n[p])&&void 0!==t&&t.callId){let e=n[p];d.hasOwnProperty(e.callId)&&d[e.callId](...l.map(t=>e[t]))}}let[g,m]=function(){let e,t=c,r=!1;for(;null!=t;){try{if("function"==typeof t[n]){e=t,r=!0;break}}catch(e){}try{if(t.frames["".concat(n,"Locator")]){e=t;break}}catch(e){}if(t===c.top)break;t=t.parent}return[e,r]}();if(g)return m?t=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new i.U9((t,r)=>{let i=g[n](...v(a(a({},e),{},{callback:e.callback||u===s?y(e.callback,t,r):void 0})).map(e=>{let[t,n]=e;return n}));(1===u||null==e.callback&&0===u)&&t(i)})}:(c.addEventListener("message",h,!1),t=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new i.U9((n,r)=>{let i=Math.random().toString(),o={[f]:a(a({},Object.fromEntries(v(e).filter(e=>{let[t]=e;return"callback"!==t}))),{},{callId:i})};d[i]=y(null==e?void 0:e.callback,n,r,(t||null==(null==e?void 0:e.callback))&&(()=>{delete d[i]})),g.postMessage(o,"*"),1===u&&n()})}),Object.assign(t,{isDirect:m,close(){m||c.removeEventListener("message",h)}});function v(e){return e=Object.assign({version:r},e),o.map(t=>[t,e[t]])}function y(e,t,n,r){let i="function"==typeof e;return function(o,a){r&&r(),1!==u&&(null==a||a?t:n)(i?void 0:o),i&&e.apply(this,arguments)}}}}}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[90010],{13965(e,t,n
24){n.d(t,{yq:()=>u});var r=n(37841),i=n(10466),o=n(26665),a=n(13064),s=n(25291),l=n(32592);function u(){let e,t,n,{namespace:u,displayName:c,consentDataHandler:d,parseConsentData:f,getNullConsent:p,cmpHandlers:h,cmpEventCleanup:g,DEFAULT_CMP:m="iab",DEFAULT_CONSENT_TIMEOUT:v=1e4}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};function y(e){return"consentManagement.".concat(u," ").concat(e)}function b(e,t){return e(Object.assign({["".concat(u,"Consent")]:d.getConsentData()},t))}function w(){return t().then(e=>{let{error:t}=e;return{error:t,consentData:d.getConsentData()}})}function E(){null!=e&&((0,l.Yn)("requestBids").getHooks({hook:e}).remove(),s.U3.getHooks({hook:b}).remove(),e=null,(0,i.logInfo)("".concat(c," consentManagement module has been deactivated...")))}return function(O){let S,T,k,I;let A=null==O?void 0:O[u];if(!A||"object"!=typeof A)return(0,i.logWarn)(y("config not defined, exiting consent manager module")),E(),{};if(!1===(null==A?void 0:A.enabled))return(0,i.logWarn)(y("config enabled is set to false, disabling consent manager module")),function(){if(E(),"function"==typeof g)try{g()}catch(e){(0,i.logError)("Error during CMP event cleanup for ".concat(c,":"),e)}}(),{};(0,o.O8)(A.cmpApi)?S=A.cmpApi:(S=m,(0,i.logInfo)(y("config did not specify cmp. Using system default setting (".concat(m,").")))),(0,o.Et)(A.timeout)?T=A.timeout:(T=v,(0,i.logInfo)(y("config did not specify timeout. Using system default setting (".concat(v,")."))));let _=(0,o.Et)(A.actionTimeout)?A.actionTimeout:null;"static"===S?(0,o.Qd)(A.consentData)?(n=A.consentData,T=null,k=()=>new a.U9(e=>e(d.setConsentData(f(n))))):(0,i.logError)(y("config with cmpApi: 'static' did not specify consentData. No consents will be available to adapters.")):h.hasOwnProperty(S)?k=h[S]:(d.setConsentData(null),(0,i.logWarn)("".concat(c," CMP framework (").concat(S,") is not a supported framework. Aborting consentManagement module and resuming auction.")),k=()=>a.U9.resolve());let C=()=>(function(e){let t,{name:n,consentDataHandler:r,setupCmp:i,cmpTimeout:o,actionTimeout:a,getNullConsent:s}=e;return r.enable(),new Promise((e,l)=>{let u,c=!1;function d(i){null!=t&&clearTimeout(t),t=null!=i?setTimeout(()=>{var t;let i=null!==(t=r.getConsentData())&&void 0!==t?t:c?u:s(),o="timeout waiting for ".concat(c?"user action on CMP":"CMP to load");r.setConsentData(i),e({consentData:i,error:Error("".concat(n," ").concat(o))})},i):null}i(function(e){u=e,c||(c=!0,null!=a&&d(a))}).then(()=>e({consentData:r.getConsentData()}),l),null!=o&&d(o)}).finally(()=>{t&&clearTimeout(t)}).catch(e=>{throw r.setConsentData(null),e})})({name:c,consentDataHandler:d,setupCmp:k,cmpTimeout:T,actionTimeout:_,getNullConsent:p});return t=function(){return null==I&&(I=C().catch(e=>{throw I=null,e})),I},null==e&&(e=function(e,t){let n=new WeakSet;return(0,r.Ak)(e,function(e,r){return t().then(t=>{let{consentData:o,error:a}=t;!a||o&&n.has(a)||(n.add(a),(0,i.logWarn)(a.message,...a.args||[])),e.call(this,r)}).catch(t=>{(0,i.logError)("".concat(null==t?void 0:t.message," Canceling auction as per consentManagement config."),...(null==t?void 0:t.args)||[]),e.stopTiming(),"function"==typeof r.bidsBackHandler?r.bidsBackHandler():(0,i.logError)("Error executing bidsBackHandler")})})}(u,()=>t()),(0,l.Yn)("requestBids").before(e,50),s.U3.before(b),(0,i.logInfo)("".concat(c," consentManagement module has been activated..."))),{cmpHandler:S,cmpTimeout:T,actionTimeout:_,staticConsentData:n,loadConsentData:w,requestBidsHook:e}}}}}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[40082],{31997(e,t,n){n.d(t,{l:()=>p});var r=n(53202),i=n(45808),o=n(41385),a=n(10466);function s(e){return null!=e&&0!==e}function l(e){return["MspaServiceProviderMode","Gpc"].some(t=>1===e[t])||2===e.PersonalDataConsents||1===e.KnownChildSensitiveDataConsents[0]||1===e.KnownChildSensitiveDataConsents[2]||s(e.KnownChildSensitiveDataConsents[1])||0===e.MspaCoveredTransaction}function u(e,t){return["SensitiveDataProcessingOptOutNotice","SensitiveDataLimitUseNotice"].some(n=>e[n]===t)}function c(e){return l(e)||["Sale","Sharing","TargetedAdvertising"].some(t=>{let n=e["".concat(t,"OptOut")],r=e["".concat(t,"OptOutNotice")];return 1===n||2===r||2===n&&0===r})||2===e.SharingNotice||2===e.SharingOptOut&&0===e.SharingNotice}let d=(()=>{let e=(()=>{let e=[6,7,9,10,12,14,16].map(e=>--e),t=Array.from(Array(16).keys()).filter(e=>7!==e),n=t.filter(t=>!e.includes(t));return Object.fromEntries(Object.entries({1:12,2:16}).map(r=>{let[i,o]=r,a=e=>e<o;return[i,{cannotBeInScope:e.filter(a),allExceptGeo:t.filter(a),mustHaveConsent:n.filter(a)}]}))})();return function(t){let{cannotBeInScope:n,mustHaveConsent:r,allExceptGeo:i}=e[t.Version];return c(t)||u(t,2)||n.some(e=>s(t.SensitiveDataProcessing[e]))||r.some(e=>1===t.SensitiveDataProcessing[e])||u(t,0)&&i.some(e=>2===t.SensitiveDataProcessing[e])}})(),f={[i.Ml]:c,[i.yl]:c,[i.qX]:d,[i.hE]:function(e){let t=e.SensitiveDataProcessing[7];return 1===t||l(e)||u(e,2)||u(e,0)&&2===t}};function p(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e=>e,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:f,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:r.qB,l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:()=>o.ad.getConsentData(),u=[],c="MSPA (GPP '".concat(e,"' for section").concat(t.length>
241?"s":""," ").concat(t.join(", "),")");return(0,a.logInfo)("Enabling activity controls for ".concat(c)),Object.entries(i).forEach(r=>{let[i,a]=r;u.push(s(i,c,function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:()=>{var e;return null===(e=o.ad.getConsentData())||void 0===e?void 0:e.applicableSections};return function(){if(r().some(t=>e.includes(t))){let e=t();if(null==e)return{allow:!1,reason:"consent data not available"};if(![1,2].includes(e.Version))return{allow:!1,reason:'unsupported consent specification version "'.concat(e.Version,'"')};if(n(e))return{allow:!1}}}}(t,()=>{var t,r;return n(Array.isArray(r=null===(t=l())||void 0===t||null===(t=t.parsedSections)||void 0===t?void 0:t[e])?r.reduceRight((e,t)=>Object.assign(t,e),{}):r)},a,()=>{var e;return(null===(e=l())||void 0===e?void 0:e.applicableSections)||[]})))}),()=>u.forEach(e=>e())}}}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[33005],{52819(e,t,n){n.d(t,{Cn:()=>d,eu:()=>f,ho:()=>h,mw:()=>s,n9:()=>u,p:()=>c,ph:()=>l});var r=n(51833),i=n(10466),o=n(58928);let a=new Map;function s(e){return t=>(0,i.compareCodeAndSlot)(t,e)}function l(e,t){if(!e||"string"!=typeof e)return!1;window.googletag=window.googletag||{cmd:[]},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push(()=>{window.googletag.pubads().setTargeting(e,t)})}function u(e){let t;return(0,i.isGptPubadsDefined)()&&(t=window.googletag.pubads().getSlots().find(s(e))),t}function c(e){if(a.has(e))return a.get(e);let t=u(e),n={};return t&&(n={gptSlot:t.getAdUnitPath(),divId:t.getSlotElementId()}),(0,i.isEmpty)(n)||a.set(e,n),n}let d=["IAB_AUDIENCE_1_1","IAB_CONTENT_2_2"];function f(e){return Object.entries({[d[0]]:p(e,["user.data"],4),[d[1]]:p(e,r.Dy.map(e=>"".concat(e,".content.data")),6)}).map(e=>{let[t,n]=e;return n.length?{taxonomy:t,values:n}:null}).filter(e=>e)}function p(e,t,n){return t.flatMap(t=>(0,o.A)(e,t)||[]).filter(e=>{var t;return(null===(t=e.ext)||void 0===t?void 0:t.segtax)===n}).flatMap(e=>{var t;return null===(t=e.segment)||void 0===t?void 0:t.map(e=>e.id)}).filter(e=>e).filter(i.uniques)}function h(e){!function(e,t){let n=()=>window.googletag.pubads().addEventListener(e,t);(0,i.isGptPubadsDefined)()?n():(window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push(n))}("slotRenderEnded",e)}}}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[41225],{10786(e,t,n){n.d(t,{hZ:()=>o,x4:()=>a});var r=n(51748),i=n(79236);function o(e,t,n){let i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(t===n)return e;let o=e;try{o=(0,r.m)().convertCurrency(e,t,n)}catch(e){if(!i)throw e}return o}function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e=>[e.cpm,e.currency],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o;return function(r,i){return null==e&&(e=i),n(r,i,e,t)}}();return(0,i.NV)(n=>t.apply(null,e(n)))}},75211(e,t,n){n.d(t,{M:()=>o});var r=n(58928),i=n(26665);function o(e){if(!i.fp(e.getFloor))return r.A(e,"params.bidfloor",0);try{let t=e.getFloor({currency:"USD",mediaType:"*",size:"*"});return null==t?void 0:t.floor}catch(e){return 0}}}}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[35957],{26283(e,t,n){function r(){let e=new Set;return{submit(t,n,r){let i={onResume:n,timerId:setTimeout(()=>{e.delete(i),r()},t)};e.add(i)},resume(){for(let t of e)e.delete(t),clearTimeout(t.timerId),t.onResume()}}}n.d(t,{L:()=>r})}}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[12764],{88074(e,t,n){function r(e,t){return function(){let n=document.domain.split("."),r="_gd".concat(Date.now(),"_").concat(t);for(let t,i,o=0;o<n.length;o++){let a=n.slice(o).join(".");if(e.setCookie(r,"1",void 0,void 0,a),i=e.getCookie(r),e.setCookie(r,"","Thu, 01 Jan 1970 00:00:01 GMT",void 0,a),"1"!==i)return t;t=a}}}n.d(t,{w:()=>r})}}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[36784],{28157(e,t,n){n.d(t,{y:()=>r});let r=function(){let e={},t={},n={},r={register(r,i){Array.isArray(i.components)&&(n.hasOwnProperty(r)||(n[r]=[]),i.components.forEac
24h(t=>{e.hasOwnProperty(t.componentType)||(e[t.componentType]={}),e[t.componentType][t.componentName]=t,n[r].push([t.componentType,t.componentName])})),i.disclosures&&Object.assign(t,i.disclosures)},getMetadata(t,n){var r;return null==e||null===(r=e[t])||void 0===r?void 0:r[n]},getStorageDisclosure:e=>null==t?void 0:t[e],getModuleMetadata(e){var t;let i=(null!==(t=n[e])&&void 0!==t?t:[]).map(e=>{let[t,n]=e;return r.getMetadata(t,n)});return 0===i.length?null:{disclosures:Object.fromEntries(i.filter(e=>{let{disclosureURL:t}=e;return null!=t}).map(e=>{let{disclosureURL:t}=e;return[t,r.getStorageDisclosure(t)]})),components:i}}};return r}()}}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[32689],{14661(e,t,n){n.d(t,{l:()=>o});var r=n(98158);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e,t){let n={};return e.forEach(e=>{var o;let a=null===(o=t(e))||void 0===o?void 0:o.disclosures;a&&Object.entries(a).forEach(t=>{let[o,{disclosures:a}]=t;n.hasOwnProperty(o)?n[o].forEach(t=>{let{disclosedBy:n}=t;return n.push(e)}):(null==a?void 0:a.length)>0&&(n[o]=a.map(t=>(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach(function(t){(0,r.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e})({disclosedIn:o,disclosedBy:[e]},t)))})}),[].concat(...Object.values(n))}}}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[58498],{7500(e,t,n){n.d(t,{K:()=>o,X:()=>i});var r=n(59794);let i={1:r.D4,2:r.G_,4:r.s6};function o(e,t,n){if(e.mediaType)return;let r=n.mediaType;if(!r&&!i.hasOwnProperty(t.mtype))throw Error("Cannot determine mediaType for response");e.mediaType=r||i[t.mtype]}},9201(e,t,n){n.d(t,{T:()=>g,A:()=>h});let r=new WeakMap;var i=n(10466),o=n(59794),a=n(36220),s=n(7500),l=n(26665),u=n(22517),c=n(51833),d=n(88417);let f={[u.S3]:{fpd:{priority:99,fn(e,t){(0,i.mergeDeep)(e,t.ortb2)}},onlyOneClient:{priority:-99,fn:(0,c.i8)("ORTB request")},props:{fn(e,t){Object.assign(e,{id:e.id||(0,i.generateUUID)(),test:e.test||0});let n=parseInt(t.timeout,10);isNaN(n)||(e.tmax=n)}}},[u.Tb]:{fpd:{priority:99,fn(e,t){(0,i.mergeDeep)(e,t.ortb2Imp)}},id:{fn(e,t){e.id=t.bidId}},banner:{fn:function(e,t,n){var r,a;if(n.mediaType&&n.mediaType!==o.D4)return;let s=null==t||null===(r=t.mediaTypes)||void 0===r?void 0:r.banner;if(s){let n={topframe:!0===(0,i.inIframe)()?0:1};s.sizes&&null==(null===(a=t.ortb2Imp)||void 0===a||null===(a=a.banner)||void 0===a?void 0:a.format)&&(n.format=(0,i.sizesToSizeTuples)(s.sizes).map(i.sizeTupleToRtbSize)),s.hasOwnProperty("pos")&&(n.pos=s.pos),e.banner=(0,i.mergeDeep)(n,e.banner)}}},secure:{fn(e,t){var n;e.secure=null!==(n=e.secure)&&void 0!==n?n:1}}},[u.WR]:{mediaType:{priority:99,fn:s.K},banner:{fn:function(){let{createPixel:e=e=>(0,i.createTrackPixelHtml)(decodeURIComponent(e),i.encodeMacroURI)}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t,n){t.mediaType===o.D4&&(n.adm&&n.nurl?t.ad=e(n.nurl)+n.adm:n.adm?t.ad=n.adm:n.nurl&&(t.adUrl=n.nurl))}}()},props:{fn(e,t,n){var r,i,o,a;Object.entries({requestId:null===(r=n.bidRequest)||void 0===r?void 0:r.bidId,seatBidId:t.id,cpm:t.price,currency:n.ortbResponse.cur||n.currency,width:t.w,height:t.h,wratio:t.wratio,hratio:t.hratio,dealId:t.dealid,creative_id:t.crid,creativeId:t.crid,burl:t.burl,ttl:t.exp||n.ttl,netRevenue:n.netRevenue}).filter(e=>{let[t,n]=e;return void 0!==n}).forEach(t=>{let[n,r]=t;e[n]=r}),e.meta||(e.meta={}),t.adomain&&(e.meta.advertiserDomains=t.adomain),null!==(i=t.ext)&&void 0!==i&&i.dsa&&(e.meta.dsa=t.ext.dsa),t.cat&&(e.meta.primaryCatId=t.cat[0],e.meta.secondaryCatIds=t.cat.slice(1)),t.attr&&(e.meta.attr=t.attr),null!==(o=t.ext)&&void 0!==o&&o.eventtrackers&&(e.eventtrackers=(null!==(a=e.eventtrackers)&&void 0!==a?a:[]).concat(t.ext.eventtrackers))}}}};f[u.Tb].native={fn:function(e,t,n){var r;if(n.mediaType&&n.mediaType!==o.s6)return;let a=t.nativeOrtbRequest;a&&(null!==(r=(a=Object.assign({},n.nativeRequest,a)).assets)&&void 0!==r&&r.length?e.native=(0,i.mergeDeep)({},{request:JSON.stringify(a),ver:a.ver},e.native):(0,i.logWarn)("mediaTypes.native is set, but no assets were specified. Native request skipped.",t))}},f[u.WR].native={fn:function(e,t){if(e.mediaType===o.s6){let n;if(n="string"==typeof t.adm?JSON.parse(t.adm):t.adm,!(0,l.Qd)(n)||!Array.isArray(n.assets))throw Error("ORTB native response contained no assets");e.native={ortb:n}}}},f[u.Tb].video={fn:function(e,t,n){var r;if(n.mediaType&&n.mediaType!==o.G_)return;let s=null==t||null===(r=t.mediaTypes)||void 0===r?void 0:r.video;
24if(!(0,i.isEmpty)(s)){let t=Object.fromEntries(Object.entries(s).filter(e=>{let[t]=e;return a.Zy.has(t)}));if(s.playerSize){let e=(0,i.sizesToSizeTuples)(s.playerSize).map(i.sizeTupleToRtbSize);e.length>1&&(0,i.logWarn)("video request specifies more than one playerSize; all but the first will be ignored"),Object.assign(t,e[0])}e.video=(0,i.mergeDeep)(t,e.video)}}},f[u.WR].video={fn:function(e,t,n){var r,i;e.mediaType===o.G_&&(null!=n&&null!==(r=n.imp)&&void 0!==r&&null!==(r=r.video)&&void 0!==r&&r.w&&null!=n&&null!==(i=n.imp)&&void 0!==i&&null!==(i=i.video)&&void 0!==i&&i.h&&([e.playerWidth,e.playerHeight]=[n.imp.video.w,n.imp.video.h]),t.adm&&(e.vastXml=t.adm),t.nurl&&(e.vastUrl=t.nurl))}},f[u.Tb].audio={fn:function(e,t,n){var r;if(n.mediaType&&n.mediaType!==o.FY)return;let a=null==t||null===(r=t.mediaTypes)||void 0===r?void 0:r.audio;if(!(0,i.isEmpty)(a)){let t=Object.fromEntries(Object.entries(a).filter(e=>{let[t]=e;return d.Ai.has(t)}));e.audio=(0,i.mergeDeep)(t,e.audio)}}},f[u.WR].audio={fn:function(e,t){e.mediaType===o.FY&&(t.adm&&(e.vastXml=t.adm),t.nurl&&(e.vastUrl=t.nurl))}};var p=n(60877);function h(){let{context:e={},processors:t=g,overrides:n={},imp:o,request:a,bidResponse:s,response:l}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},c=new WeakMap;function d(e,i,o,a){let s;return function(){null==s&&(s=function(){let s=o.bind(this,function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!r.has(e)){let t=Object.entries(e);t.sort((e,t)=>(e=e[1].priority||0)===(t=t[1].priority||0)?0:e>t?-1:1),r.set(e,t.map(e=>{let[t,n]=e;return[t,n.fn]}))}let n=r.get(e).filter(e=>{let[n]=e;return!t.hasOwnProperty(n)||t[n]}).map(function(e){let[n,r]=e;return t.hasOwnProperty(n)?t[n].bind(this,r):r});return function(){let e=Array.from(arguments);n.forEach(t=>{t.apply(this,e)})}}(t()[e]||{},n[e]||{}));return i&&(s=i.bind(this,s)),function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];try{return s.apply(this,t)}catch(e){a.call(this,e,...t)}}}());for(var l=arguments.length,u=Array(l),c=0;c<l;c++)u[c]=arguments[c];return s.apply(this,u)}}let f=d(u.Tb,o,function(e,t,n){let r={};return e(r,t,n),r},function(e,t,n){(0,i.logError)("Error while converting bidRequest to ORTB imp; request skipped.",{error:e,bidRequest:t,context:n})}),p=d(u.S3,a,function(e,t,n,r){let i={imp:t};return e(i,n,r),i},function(e,t,n,r){throw(0,i.logError)("Error while converting to ORTB request",{error:e,imps:t,bidderRequest:n,context:r}),e}),h=d(u.WR,s,function(e,t,n){let r={};return e(r,t,n),r},function(e,t,n){(0,i.logError)("Error while converting ORTB seatbid.bid to bidResponse; bid skipped.",{error:e,bid:t,context:n})}),m=d(u.Cf,l,function(e,t,n,r){let i={bids:t};return e(i,n,r),i},function(e,t,n,r){throw(0,i.logError)("Error while converting from ORTB response",{error:e,bidResponses:t,ortbResponse:n,context:r}),e});return{toORTB(t){let{bidderRequest:n,bidRequests:r,context:o={}}=t,a={req:Object.assign({bidRequests:r=r||n.bids},e,o),imp:{}};a.req.impContext=a.imp;let s=p(r.map(t=>{let r=Object.assign({bidderRequest:n,reqContext:a.req},e,o),s=f(t,r);if(null!=s){if(s.hasOwnProperty("id"))return Object.assign(r,{bidRequest:t,imp:s}),a.imp[s.id]=r,s;(0,i.logError)("Converted ORTB imp does not specify an id, ignoring bid request",t,s)}}).filter(Boolean),n,a.req);return a.req.bidderRequest=n,null!=s&&c.set(s,a),s},fromORTB(e){let{request:t,response:n}=e,r=c.get(t);if(null==r)throw Error("ortbRequest passed to `fromORTB` must be the same object returned by `toORTB`");function o(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.assign(e,{ortbRequest:t},n)}let a=Object.fromEntries((t.imp||[]).map(e=>[e.id,e]));return m(((null==n?void 0:n.seatbid)||[]).flatMap(e=>(e.bid||[]).map(t=>{if(a.hasOwnProperty(t.impid)&&r.imp.hasOwnProperty(t.impid))return h(t,o(r.imp[t.impid],{imp:a[t.impid],seatbid:e,ortbResponse:n}));(0,i.logError)("ORTB response seatbid[].bid[].impid does not match any imp in request; ignoring bid",t)})).filter(Boolean),n,o(r.req))}}}let g=(0,i.memoize)(()=>(0,p.U)(f,(0,u.yB)(u.qN)))},60877(e,t,n){n.d(t,{U:()=>function e(){for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];let o=n.shift(),a=n.length>1?e(...n):n[0];return Object.fromEntries(r.zt.map(e=>[e,Object.assign({},o[e],a[e])]))}});var r=n(22517)}}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[32316],{28317(e,t,n
24){n.d(t,{G:()=>o});var r=n(88955);let i=new Map;function o(e){let t;return i.has(e)?t=i.get(e):(t=e.getBoundingClientRect(),i.set(e,t)),t}r.gH.before((e,t)=>{i.clear(),e(t)})}}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[40259],{28258(e,t,n){function r(){var e,t;let n=function(){let e=window.navigator?window.navigator:"undefined"!=typeof navigator?navigator:null;return e&&(e.connection||e.mozConnection||e.webkitConnection)||null}();return n?{type:null!==(e=n.type)&&void 0!==e?e:null,effectiveType:null!==(t=n.effectiveType)&&void 0!==t?t:null,downlink:"number"==typeof n.downlink?n.downlink:null,downlinkMax:"number"==typeof n.downlinkMax?n.downlinkMax:null,rtt:"number"==typeof n.rtt?n.rtt:null,saveData:"boolean"==typeof n.saveData?n.saveData:null,bandwidth:"number"==typeof n.bandwidth?n.bandwidth:null}:null}function i(){let e=r();if(!e)return 0;switch(e.type){case"ethernet":return 1;case"wifi":return 2;case"wimax":return 6;default:switch(e.effectiveType){case"slow-2g":case"2g":return 4;case"3g":return 5;case"4g":return 6;case"5g":return 7;default:return"cellular"===e.type?3:0}}}n.d(t,{V:()=>r,Z:()=>i})}}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[24472],{44621(e,t,n){n.d(t,{K_:()=>l,UX:()=>s,gl:()=>c,tF:()=>u,u7:()=>a});var r=n(10466),i=n(43958),o=n(28317);function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,t=0,n=0;try{for(;null!=(null===(r=e)||void 0===r?void 0:r.frameElement);){var r;let i=(0,o.G)(e.frameElement);t+=i.left,n+=i.top,e=e.parent}}catch(e){t=0,n=0}return{x:t,y:n}}function s(e){let{w:t,h:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{width:r,height:i,left:a,top:s,right:l,bottom:u,x:c,y:d}=(0,o.G)(e);return(0===r||0===i)&&t&&n&&(r=t,i=n,l=a+t,u=s+n),{width:r,height:i,left:a,top:s,right:l,bottom:u,x:c,y:d}}let l=function(e){var t;let{w:n,h:r}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=s(e,{w:n,h:r}),l=a(null==e||null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView);o.left+=l.x,o.right+=l.x,o.top+=l.y,o.bottom+=l.y;let u=(0,i.Ot)(),c=function(e){let t={left:e[0].left,right:e[0].right,top:e[0].top,bottom:e[0].bottom};for(let n=1;n<e.length;++n)if(t.left=Math.max(t.left,e[n].left),t.right=Math.min(t.right,e[n].right),t.left>=t.right||(t.top=Math.max(t.top,e[n].top),t.bottom=Math.min(t.bottom,e[n].bottom),t.top>=t.bottom))return null;return t.width=t.right-t.left,t.height=t.bottom-t.top,t}([{left:0,top:0,right:u.document.documentElement.clientWidth,bottom:u.document.documentElement.clientHeight},o]);return null!==c?c.width*c.height/(o.width*o.height)*100:0};function u(e){return!(0,r.inIframe)()&&null!==e}function c(e,t,n){return"visible"===t.document.visibilityState?l(e,n):0}}}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[38793],{19648(e,t,n){var r=n(98158),i=n(51748),o=n(10466),a=n(83435),s=n(26665),l=n(91933),u=n(41385),c=n(16169),d=n(93254),f=n(13064),p=n(13965),h=n(29708);function g(e,t,n){(function(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,n)}function m(e,t){return e.get(b(e,t))}function v(e,t,n){t||(t=[]);var r=t.length++;return Object.defineProperty({},"_",{set:function(i){t[r]=i,e.apply(n,t)}})}function y(e,t,n){return e.set(b(e,t),n),n}function b(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw TypeError("Private element is not present on this object")}let w=null;class E{constructor(e,t){(0,r.A)(this,"message",void 0),(0,r.A)(this,"args",void 0),this.message=e,this.args=null==t?[]:[t]}}var O=new WeakMap,S=new WeakMap,T=new WeakMap;class k{static get(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.c5;if(null==this.INST){let t=e({apiName:"__gpp",apiArgs:["command","callback","parameter"],mode:d.q4});if(null==t)throw new E("GPP CMP not found");this.INST=new this(t)}return this.INST}init(e){let t=this.updateWhenReady(e);return this.initialized||(e.gppVersion!==this.apiVersion&&(0,o.logWarn)("Unrecognized GPP CMP version: ".concat(e.apiVersion,". Continuing using GPP API version ").concat(this.apiVersion,"...")),this.initialized=!0,w||(w=(0,h.Al)("gpp")),w.setCmpApi(this.cmp),this.cmp({command:"addEventListener",callback:(e,t)=>{var n,r;null==t||t?"error"===(null==e||null===(n=e.pingData)||void 0===n?void 0:n.cmpStatus)?m(S,this).call(this,new E('CMP status is "error"; please check CMP setup',e)):this.isCMPReady((null==e?void 0:e.pingData)||{})&&["sectionChange","signalStatus"].includes(null==e?void 0:e.eventName)&&m(O,this).call(this,this.updateConsent(e.pingData)):m(S,this).call(this,new E("Received error response from CMP",e)),null==u.ad.getConsentData()||null==(null==e?void 0:e.pingData)||this.isCMPReady(e.pingData)||u.ad.setConsentData(null),null!==(null==e?void 0:e.listenerId)&&void 0!==(null==e?void 0:e.listenerId)&&(null===(r=w)||void 0===r||r.setCmpListenerId(null==e?void 0:e.listenerId))}})),t}refresh(){return this.cmp({command:"ping"}).then(this.init.bind(this))}updateConsent(e){return new f.U9(t=>{if(null==e||(0,o.isEmpty)(e))throw new E("Received empty response from CMP",e);let n=I(e);(0,o.logInfo)("Retrieved GPP consent from CMP:",n),u.ad.setConsentData(n),t(n)})}nextUpdate(){let e=(0,f.v6)();return m(T,this).push(e),e.promise}updateWhenReady(e){return this.isCMPReady(e)?this.updateConsent(e):this.nextUpdate()}isCMPReady(e){return"ready"===e.signalStatus}constructor(e){(0,r.A)(this,"apiVersion","1.1"),(0,r.A)(this,"cmp",void 0),g(this,O,void 0),g(this,S,void 0),g(this,T,[]),(0,r.A)(this,"initialized",!1),this.cmp=e,[v(y,[O,this])._,v(y,[S,this])._]=["resolve","reject"].map(e=>t=>{for(;m(T,this).length;)m(T,this).pop()[e](t)})}}function I(e){if(null!=(null==e?void 0:e.applicableSections)&&!Array.isArray(e.applicableSections)||null!=(null==e?void 0:e.gppString)&&!(0,s.O8)(e.gppString)||null!=(null==e?void 0:e.parsedSections)&&!(0,s.Qd)(e.parsedSections))throw new E("CMP returned unexpected value during lookup process.",e);return["usnatv1","uscav1"].forEach(t=>{var n;null!=e&&null!==(n=e.parsedSections)&&void 0!==n&&n[t]&&(0,o.logWarn)("Received invali
24d section from cmp: '".concat(t,"'. Some functionality may not work as expected"),e)}),A(e)}function A(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{gppString:null==e?void 0:e.gppString,applicableSections:(null==e?void 0:e.applicableSections)||[],parsedSections:(null==e?void 0:e.parsedSections)||{},gppData:e}}(0,r.A)(k,"INST",void 0);let _=(0,p.yq)({namespace:"gpp",displayName:"GPP",consentDataHandler:u.ad,parseConsentData:I,getNullConsent:()=>A(null),cmpHandlers:{iab:function(){return new f.U9(e=>e(k.get().refresh()))}},cmpEventCleanup:function(){w&&(w.removeCmpEventListener(),w=null),u.ad.reset(),k.INST=null}});l.$W.getConfig("consentManagement",e=>{var t,n,r;return null===(t=(n=_(e.consentManagement)).loadConsentData)||void 0===t||null===(t=t.call(n))||void 0===t||null===(r=t.catch)||void 0===r?void 0:r.call(t,()=>null)}),c.wU.before(function(e,t){return e(t.then(e=>{let t=u.ad.getConsentData();return t&&(Array.isArray(t.applicableSections)&&(0,a.J)(e,"regs.gpp_sid",t.applicableSections),(0,a.J)(e,"regs.gpp",t.gppString)),e}))}),(0,i.E)("consentManagementGpp")}},e=>{e.O(0,[60802,37769,40315,51085,57109,90010],()=>e(e.s=19648)),e.O()}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[15081],{26264(e,t,n){var r=n(51748),i=n(10466),o=n(83435),a=n(26665),s=n(91933),l=n(41385),u=n(22517),c=n(16169),d=n(93254),f=n(13965),p=n(29708);let h,g,m=null;function v(e){if(function(){let t=e&&"boolean"==typeof e.gdprApplies?e.gdprApplies:h,n=e&&e.tcString;return!("boolean"==typeof t&&(!0!==t||n&&(0,a.O8)(n)))}())throw Object.assign(Error("CMP returned unexpected value during lookup process."),{args:[e]});return y(e)}function y(e){let t={consentString:e?e.tcString:void 0,vendorData:e||void 0,gdprApplies:e&&"boolean"==typeof e.gdprApplies?e.gdprApplies:h,apiVersion:2};return e&&e.addtlConsent&&(0,a.O8)(e.addtlConsent)&&(t.addtlConsent=e.addtlConsent),t}let b=(0,f.yq)({namespace:"gdpr",displayName:"TCF",consentDataHandler:l.mW,cmpHandlers:{iab:function(e){return new Promise((t,n)=>{let r=(0,d.c5)({apiName:"__tcfapi",apiVersion:2,apiArgs:["command","version","callback","parameter"]});r||n(Error("TCF2 CMP not found.")),r.isDirect?(0,i.logInfo)("Detected CMP API is directly accessible, calling it now..."):(0,i.logInfo)("Detected CMP is outside the current iframe where Prebid.js is located, calling it now..."),m||(m=(0,p.Al)("tcf",()=>l.mW.getConsentData())),m.setCmpApi(r),r({command:"addEventListener",callback:function(r,o){if((0,i.logInfo)("Received a response from CMP",r),o){try{e(v(r))}catch(e){}if(!1===r.gdprApplies||"tcloaded"===r.eventStatus||"useractioncomplete"===r.eventStatus)try{var a;null!==r.listenerId&&void 0!==r.listenerId&&(null===(a=m)||void 0===a||a.setCmpListenerId(r.listenerId)),l.mW.setConsentData(v(r)),t()}catch(e){n(e)}}else n(Error("CMP unable to register callback function. Please check CMP setup."))}})})}},parseConsentData:v,getNullConsent:()=>y(null),cmpEventCleanup:function(){m&&(m.removeCmpEventListener(),m=null),l.mW.reset()}});s.$W.getConfig("consentManagement",e=>(function(e){var t,n,r,i;let o=e&&(e.gdpr||e.usp||e.gpp?e.gdpr:e);return null!=(null==o||null===(t=o.consentData)||void 0===t?void 0:t.getTCData)&&(o.consentData=o.consentData.getTCData),h=!0===(null==o?void 0:o.defaultGdprScope),g=!(null==o||!o.dsaPlatform),null===(n=(r=b({gdpr:o})).loadConsentData)||void 0===n||null===(n=n.call(r))||void 0===n||null===(i=n.catch)||void 0===i?void 0:i.call(n,()=>null)})(e.consentManagement)),c.wU.before(function(e,t){return e(t.then(e=>{let t=l.mW.getConsentData();return t&&("boolean"==typeof t.gdprApplies&&(0,o.J)(e,"regs.ext.gdpr",t.gdprApplies?1:0),(0,o.J)(e,"user.ext.consent",t.consentString)),g&&(0,o.J)(e,"regs.ext.dsa.dsarequired",3),e}))}),(0,u.pS)({type:u.S3,name:"gdprAddtlConsent",fn:function(e,t){var n;let r=null===(n=t.gdprConsent)||void 0===n?void 0:n.addtlConsent;r&&"string"==typeof r&&(0,o.J)(e,"user.ext.ConsentedProvidersSettings.consented_providers",r)}}),(0,r.E)("consentManagementTcf")}},e=>{e.O(0,[60802,37769,40315,51085,57109,90010],()=>e(e.s=26264)),e.O()}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[99301],{83340(e,t,n
24){var r=n(51748),i=n(91933),o=n(31997);let a=!1;i.$W.getConfig("consentManagement",e=>{var t;null==(null==e||null===(t=e.consentManagement)||void 0===t?void 0:t.gpp)||a||((0,o.l)("usnat",[7]),a=!0)}),(0,r.E)("gppControl_usnat")}},e=>{e.O(0,[60802,37769,40315,51085,40082],()=>e(e.s=83340)),e.O()}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[27534],{37829(e,t,n){var r=n(51748),i=n(91933),o=n(31997),a=n(10466),s=n(83435);let l={Version:0,Gpc:0,SharingNotice:0,SaleOptOutNotice:0,SharingOptOutNotice:0,TargetedAdvertisingOptOutNotice:0,SensitiveDataProcessingOptOutNotice:0,SensitiveDataLimitUseNotice:0,SaleOptOut:0,SharingOptOut:0,TargetedAdvertisingOptOut:0,SensitiveDataProcessing:12,KnownChildSensitiveDataConsents:2,PersonalDataConsents:0,MspaCoveredTransaction:0,MspaOptOutOptionMode:0,MspaServiceProviderMode:0};function u(e){let{nullify:t=[],move:n={},fn:r}=e,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l;return n=Object.fromEntries(Object.entries(n).map(e=>{let[t,n]=e;return[t,Object.fromEntries(Object.entries(n).map(e=>{let[t,n]=e;return[t,Array.isArray(n)?n:[n]]}).map(e=>{let[t,n]=e;return[--t,n.map(e=>--e)]}))]})),function(e){let o=Object.fromEntries(Object.entries(i).map(t=>{let[r,i]=t,o=null;if(i>0){if(o=Array(i).fill(null),Array.isArray(e[r])){let t=n[r]||{},a=[];e[r].forEach((e,n)=>{let[r,s]=t.hasOwnProperty(n)?[t[n],!0]:[[n],!1];r.forEach(t=>{t<i&&!a.includes(t)&&(o[t]=e,s&&a.push(t))})})}}else null!=e[r]&&(o=Array.isArray(e[r])?null:e[r]);return[r,o]}));return t.forEach(e=>(0,s.J)(o,e,null)),r&&r(e,o),o}}function c(e,t){t.KnownChildSensitiveDataConsents=0===e.KnownChildSensitiveDataConsents?[0,0]:[1,1]}let d={7:e=>e,8:u({move:{SensitiveDataProcessing:{1:9,2:10,3:8,4:[1,2],5:12,8:3,9:4}},fn(e,t){e.KnownChildSensitiveDataConsents.some(e=>0!==e)&&(t.KnownChildSensitiveDataConsents=[1,1])}}),9:u({fn:c}),10:u({fn:c}),11:u({move:{SensitiveDataProcessing:{3:4,4:5,5:3}},fn:c}),12:u({fn(e,t){let n;let r=e.KnownChildSensitiveDataConsents;n=r.some(e=>0!==e)?2===r[1]&&2===r[2]?[2,1]:[1,1]:[0,0],t.KnownChildSensitiveDataConsents=n}})},f={8:"usca",9:"usva",10:"usco",11:"usut",12:"usct"},p=(()=>{let e=Object.keys(f).map(Number);return function(){let{sections:t={},sids:n=e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return n.map(e=>{let n=(0,a.prefixLog)("Cannot set up MSPA controls for SID ".concat(e,":")),r=t[e]||{},i=r.normalizeAs||e;if(!d.hasOwnProperty(i))return n.logError("no normalization rules are known for SID ".concat(i)),null;let o=r.name||f[e];return"string"!=typeof o?(n.logError("cannot determine GPP section name"),null):[o,[e],d[i]]}).filter(e=>null!=e)}})(),h=[];i.$W.getConfig("consentManagement",e=>{var t;let n=null===(t=e.consentManagement)||void 0===t?void 0:t.gpp;if(n){for(;h.length;)h.pop()();p((null==n?void 0:n.mspa)||{}).forEach(e=>{let[t,n,r]=e;return h.push((0,o.l)(t,n,r))})}}),(0,r.E)("gppControl_usstates")}},e=>{e.O(0,[60802,37769,40315,51085,40082],()=>e(e.s=37829)),e.O()}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[4584],{20543(e,t,n){var r=n(51748),i=n(52819),o=n(63006),a=n(91933),s=n(11418),l=n(32592),u=n(10466),c=n(58928),d=n(83435);let f={},p=!1;function h(e){return(0,i.eu)(e)}let g=e=>(a.$W.getConfig("gptPreAuction")||{}).mcmEnabled?e.replace(/(^\/\d*),\d*\//,"$1/"):e,m=function(e,t){let n=(e=>{let{customGptSlotMatching:t}=f;if(!(0,u.isGptPubadsDefined)())return;let n=e.reduce((e,t)=>(e[t.code]=e[t.code]||[],e[t.code].push(t),e),{}),r={};
24return window.googletag.pubads().getSlots().forEach(e=>{let i=Object.keys(n).find(t?t(e):(0,u.isAdUnitCodeMatchingSlot)(e));if(i){let t={name:"gam",adslot:g(r[i]=e.getAdUnitPath())};n[i].forEach(e=>{var n;(0,d.J)(e,"ortb2Imp.ext.data.adserver",Object.assign({},null===(n=e.ortb2Imp)||void 0===n||null===(n=n.ext)||void 0===n||null===(n=n.data)||void 0===n?void 0:n.adserver,t))})}}),r})(t),{useDefaultPreAuction:r,customPreAuction:i}=f;t.forEach(e=>{let t;e.ortb2Imp=e.ortb2Imp||{},e.ortb2Imp.ext=e.ortb2Imp.ext||{},e.ortb2Imp.ext.data=e.ortb2Imp.ext.data||{};let o=e.ortb2Imp.ext,a=(0,c.A)(o,"data.adserver.adslot");!o.gpid&&(i?t=i(e,a,null==n?void 0:n[e.code]):r?t=((e,t,n)=>{if((0,u.isGptPubadsDefined)()){var r=window.googletag.pubads().getSlots().filter(e=>e.getAdUnitPath()===n);if(0!==r.length)return 1===r.length?t:"".concat(t,"#").concat(e.code)}})(e,a,null==n?void 0:n[e.code]):(0,u.logWarn)("Neither customPreAuction, defaultPreAuction and gpid were specified"),t&&(o.gpid=t))});for(var o=arguments.length,a=Array(o>2?o-2:0),s=2;s<o;s++)a[s-2]=arguments[s];return e.call(void 0,t,...a)},v=(e,t)=>{let n=function(e){let t={};return i.Cn.forEach(n=>{let r=e.flatMap(e=>e).filter(e=>e.taxonomy===n).map(e=>e.values);t[n]=r.length?r.reduce((e,t)=>e.filter(e=>t.includes(e))):[],t[n]={values:t[n]}}),t}(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.n.index;return e.map(e=>{var n;return null===(n=t.getAuction({auctionId:e}))||void 0===n||null===(n=n.getFPD())||void 0===n?void 0:n.global}).map(h).filter(e=>e)}(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.n;return Object.values(e).flatMap(e=>Object.entries(e)).filter(e=>e[0]===s.xS.AD_ID||e[0].startsWith(s.xS.AD_ID+"_")).flatMap(e=>e[1]).map(e=>{var n;return null===(n=t.findBidByAdId(e))||void 0===n?void 0:n.auctionId}).filter(e=>null!=e).filter(u.uniques)}(t)));window.googletag.setConfig&&window.googletag.setConfig({pps:{taxonomies:n}}),e(t)},y=e=>{(f=(0,u.pick)(e,["enabled",e=>!1!==e,"customGptSlotMatching",e=>"function"==typeof e&&e,"customPreAuction",e=>"function"==typeof e&&e,"useDefaultPreAuction",e=>null==e||e])).enabled?p||((0,l.Yn)("makeBidRequests").before(m),(0,l.Yn)("targetingDone").after(v),p=!0):((0,u.logInfo)("".concat("GPT Pre-Auction",": Turning off module")),f={},(0,l.Yn)("makeBidRequests").getHooks({hook:m}).remove(),(0,l.Yn)("targetingDone").getHooks({hook:v}).remove(),p=!1)};a.$W.getConfig("gptPreAuction",e=>y(e.gptPreAuction)),y({}),(0,r.E)("gptPreAuction")}},e=>{e.O(0,[60802,37769,40315,51085,33005],()=>e(e.s=20543)),e.O()}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[13775],{4654(e,t,n){let r;n.d(t,{JK:()=>J,ql:()=>H});var i=n(14223),o=n(98158),a=n(51748),s=n(10466),l=n(58928),u=n(83435),c=n(26665),d=n(91933),f=n(62201),p=n(18014),h=n(11418),g=n(32592),m=n(10867),v=n(77156),y=n(63006),b=n(22517),w=n(37841),E=n(77459),O=n(52819),S=n(10786),T=n(26283),k=n(59794);let I=["modelGroups"];function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?A(Object(n),!0).forEach(function(t){(0,o.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}let C="Price Floors",D=(0,f.g4)(1e4),x=Symbol(),j=[x,"gptSlot","adUnitCode","size","domain","mediaType"],R=new Set;function P(e){return"string"==typeof e&&R.has(e)}let N=!1,q=!1,B={},U=(0,T.L)(),M={};function F(e,t){let{index:n=y.n.index}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(null==e?void 0:e.adUnitCode)||n.getAdUnit(t).code}let W={[x]:()=>"*",size:(e,t)=>
24(0,s.parseGPTSingleSizeArray)(t.size)||"*",mediaType:(e,t)=>t.mediaType||"banner",gptSlot:(e,t)=>(function(e){let{index:t=y.n.index}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.getAdUnit({adUnitId:e});return"gam"===(0,l.A)(n,"ortb2Imp.ext.data.adserver.name")&&n.ortb2Imp.ext.data.adserver.adslot})((e||t).adUnitId)||(0,O.p)(F(e,t)).gptSlot,domain:function(){return null==r&&(r=(0,s.parseUrl)((0,m.EN)().topmostLocation,{noDecodeWholeURL:!0}).hostname),r},adUnitCode:(e,t)=>F(e,t)};function L(e,t){var n,r;let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=function(e,t,n){if(!e.length)return[];let r={};return e.filter(P).length>0&&B.userIds&&(r=function(e,t){var n;if(!e||null==t||null===(n=t.userIdAsEid)||void 0===n||!n.length)return{};let r=t.userIdAsEid.reduce((e,t)=>(null!=t&&t.source&&e.add(t.source),e),new Set);return Object.entries(e).reduce((e,t)=>{let[n,i]=t,o=Array.isArray(i)&&i.some(e=>r.has(e));return e["userId.".concat(n)]=o?1:0,e},{})}(B.userIds,t)),e.reduce((e,i)=>{var o;let a;return a=P(i)?String(null!==(o=r[i])&&void 0!==o?o:"*"):W[i](t,n)||"*",e.push("*"===a?["*"]:[a.toLowerCase(),"*"]),e},[])}((0,l.A)(e,"schema.fields")||[],t,i);if(!o.length)return{matchingFloor:void 0};let a=o.map(e=>e[0]).join("-"),s=(0,l.A)(e,"matchingInputs.".concat(a));if(s)return _({},s);let c=(r=(0,l.A)(e,"schema.delimiter")||"|",o.reduce((e,t)=>{let n=[];return e.forEach(e=>{t.forEach(t=>{n.push(e+r+t)})}),n}).sort((e,t)=>e.split("*").length-t.split("*").length)),d=(c||[]).find(t=>e.values.hasOwnProperty(t)),f={floorMin:e.floorMin||0,floorRuleValue:e.values[d],matchingData:c[0],matchingRule:d===(null===(n=e.meta)||void 0===n?void 0:n.defaultRule)?void 0:d},p=(0,l.A)(t,"ortb2Imp.ext.prebid.floors.floorMin");return"number"==typeof p&&(f.floorMin=p),f.matchingFloor=Math.max(f.floorMin,f.floorRuleValue),(0,u.J)(e,"matchingInputs.".concat(a),_({},f)),f}function z(e,t,n){return parseFloat((0,E.y)(e,_(_({},t),{},{cpm:e}),n))}let V={banner:e=>(0,l.A)(e,"mediaTypes.banner.sizes")||[],video:e=>(0,l.A)(e,"mediaTypes.video.playerSize")||[],native:e=>(0,l.A)(e,"mediaTypes.native.image.sizes")?[(0,l.A)(e,"mediaTypes.native.image.sizes")]:[]};function G(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{currency:"USD",mediaType:"*",size:"*"},t=M[this.auctionId];if(!t||t.skipped)return{};e=function(e,t){let n=Object.keys(e.mediaTypes||{});return"*"===t.mediaType&&1===n.length&&(t.mediaType=n[0]),"*"===t.size&&-1!==n.indexOf(t.mediaType)&&V[t.mediaType]&&1===V[t.mediaType](e).length&&(t.size=V[t.mediaType](e)[0]),t}(this,e);let n=L(t.data,_({},this),{mediaType:e.mediaType,size:e.size}),r=e.currency||t.data.currency;
24if(n.matchingFloor&&r!==t.data.currency)try{n.matchingFloor=(0,a.m)().convertCurrency(n.matchingFloor,t.data.currency,r)}catch(e){(0,s.logWarn)("".concat(C,": Unable to get currency conversion for getFloor for bidder ").concat(this.bidder,". You must have currency module enabled with defaultRates in your currency config")),r=t.data.currency}if(t.enforcement.bidAdjustment&&n.matchingFloor){let t=v.u.get(this.bidder,"inverseBidAdjustment");if(t){let r=Object.fromEntries(Object.entries(e).filter(e=>{let[t,n]=e;return"*"!==n&&["mediaType","size"].includes(t)}));n.matchingFloor=t(n.matchingFloor,this,r)}else{var i;let e=z(n.matchingFloor,null,this);n.matchingFloor=e?1e10*(i=n.matchingFloor)/(1e10*e)*(1e10*i)/1e10:n.matchingFloor}}return null===n.floorRuleValue?null:n.matchingFloor?{floor:Math.ceil((1e4*parseFloat(n.matchingFloor)).toFixed(1))/1e4,currency:r}:{}}function Q(e,t){let n=(0,c.Go)(e);return n.schema.delimiter=e.schema.delimiter||"|",n.values=function(e,t){let n=e.schema.fields,r=e.schema.delimiter,i=t&&-1===n.indexOf("adUnitCode")&&n.unshift("adUnitCode");return Object.keys(e.values).reduce((n,o)=>(n[(i?"".concat(t).concat(r).concat(o):o).toLowerCase()]=e.values[o],n),{})}(n,t),n.currency=n.currency||"USD",n}function H(e,t){let n=(0,c.Go)(B);if(2===(0,l.A)(n,"data.floorsSchemaVersion")){let e=n.data,{modelGroups:t}=e,r=(0,i.A)(e,I);n.data=Object.assign(r,function(e,t){let n=Math.floor(Math.random()*t+1);for(let t=0;t<e.length;t++)if((n-=e[t].modelWeight)<=0)return e[t]}(t,r.modelWeightSum))}let r=0===Object.keys((0,l.A)(n,"data.values")||{}).length;if(n.data=r?function(e){let t=e.find(e=>{var t;return null!=(null===(t=e.floors)||void 0===t?void 0:t.schema)});return e.reduce((e,n)=>{var r,i;if(null!=(null===(r=n.floors)||void 0===r?void 0:r.schema)&&!(0,s.deepEqual)(n.floors.schema,null==t||null===(i=t.floors)||void 0===i?void 0:i.schema))return(0,s.logError)("".concat(C,": adUnit '").concat(n.code,"' declares a different schema from one previously declared by adUnit '").concat(t.code,"'. Floor config for '").concat(n.code,"' will be ignored.")),e;let o=Object.assign({},null==t?void 0:t.floors,{values:void 0},n.floors);if(Y(o)){if(e.values){let t=Q(o,n.code).values;Object.assign(e.values,t)}else(e=Q(o,n.code)).location="adUnit"}else null!=n.floors&&(0,s.logWarn)("adUnit '".concat(n.code,"' provides an invalid `floor` definition, it will be ignored for floor calculations"),n);return e},{})}(e):Q(n.data),0===Object.keys((0,l.A)(n,"data.values")||{}).length)n.skipped=!0,n.skippedReason="not_found";else{var o;let e=100*Math.random()<parseFloat((0,s.getParameterByName)("pbjs_skipRate")||(null!==(o=(0,l.A)(n,"data.skipRate"))&&void 0!==o?o:n.skipRate));n.skipped=e,e&&(n.skippedReason="random")}return n.hasOwnProperty("floorMin")&&(n.data.floorMin=n.floorMin),function(e,t,n){let r=function(e){var t,n;let{data:r,enforcement:i}=e;return(null==r||null===(t=r.noFloorSignalBidders)||void 0===t?void 0:t.length)>0?r.noFloorSignalBidders:(null==i||null===(n=i.noFloorSignalBidders)||void 0===n?void 0:n.length)>0?i.noFloorSignalBidders:[]}(t);e.forEach(e=>{var i;null===(i=e.bids)||void 0===i||i.forEach(e=>{var i;let o=r.some(t=>t===e.bidder);t.skipped||o?(o&&(0,s.logInfo)("noFloorSignal to ".concat(e.bidder)),delete e.getFloor):e.getFloor=G,e.auctionId=n,e.floorData={noFloorSignaled:o,skipped:t.skipped,skipRate:null!==(i=(0,l.A)(t,"data.skipRate"))&&void 0!==i?i:t.skipRate,skippedReason:t.skippedReason,floorMin:t.floorMin,modelVersion:(0,l.A)(t,"data.modelVersion"),modelWeight:(0,l.A)(t,"data.modelWeight"),modelTimestamp:(0,l.A)(t,"data.modelTimestamp"),location:(0,l.A)(t,"data.location","noData"),floorProvider:t.floorProvider,fetchStatus:B.fetchStatus}})})}(e,n,t),n}function J(e){e.hasExited||(e.reqBidsConfigObj.auctionId=e.reqBidsConfigObj.auctionId||(0,s.generateUUID)(),M[e.reqBidsConfigObj.auctionId]=H(e.reqBidsConfigObj.adUnits||(0,a.m)().adUnits,e.reqBidsConfigObj.auctionId),e.nextFn.apply(e.context,[e.reqBidsConfigObj]),e.hasExited=!0)}function $(e){var t,n,r;return e=function(e){if((0,c.Et)(e.default)){var t,n;let r="*",i=((null===(t=e.schema)||void 0===t?void 0:t.fields)||[]).length;i?r=Array(i).fill("*").join((null===(n=e.schema)||void 0===n?void 0:n.delimiter)||"|"):(0,u.J)(e,"schema.fields",[x]),e.values=e.values||{},null==e.values[r]&&(e.values[r]=e.default,e.meta={defaultRule:r})}return e}(e),!!function(e){if(Array.isArray(e)&&e.length>0){if(e.every(e=>j.includes(e)||P(e)))return!0;
24(0,s.logError)("".concat(C,": Fields received do not match allowed fields"))}return!1}((0,l.A)(e,"schema.fields"))&&(t=e,n=e.schema.fields.length,r=e.schema.delimiter||"|","object"==typeof t.values&&(t.values=Object.keys(t.values).reduce((e,i)=>{var o;return o=t.values[i],"string"==typeof i&&i.split(r).length===n&&("number"==typeof o||null===o)&&(e[i]=t.values[i]),e},{}),Object.keys(t.values).length>0))}let K={1:e=>$(e),2:e=>!(!Array.isArray(e.modelGroups)||0===e.modelGroups.length)&&(e.modelWeightSum=0,e.modelGroups.every(t=>!("number"!=typeof t.modelWeight||!$(t))&&(e.modelWeightSum+=t.modelWeight,!0)))};function Y(e){return"object"==typeof e&&(e.floorsSchemaVersion=e.floorsSchemaVersion||1,"function"!=typeof K[e.floorsSchemaVersion]?((0,s.logError)("".concat(C,": Unknown floorsSchemaVersion: "),e.floorsSchemaVersion),!1):K[e.floorsSchemaVersion](e))}function X(e,t){if(e&&"object"==typeof e&&Y(e))return(0,s.logInfo)("".concat(C,": A ").concat(t," set the auction floor data set to "),e),_(_({},e),{},{location:t});(0,s.logError)("".concat(C,": The floors data did not contain correct values"),e)}let Z=(0,w.Ak)("priceFloors",function(e,t){let n={reqBidsConfigObj:t,context:this,nextFn:e,hasExited:!1,timer:null};B.auctionDelay>0&&N?U.submit(B.auctionDelay,()=>J(n),()=>{(0,s.logWarn)("".concat(C,": Fetch attempt did not return in time for auction")),B.fetchStatus="timeout",J(n)}):J(n)});function ee(e){let t;N=!1,B.fetchStatus="success";try{t=JSON.parse(e)}catch(n){t=e}let n=X(t,"fetch");n&&(B.data=n,B.skipRate=(0,c.Et)(n.skipRate)?n.skipRate:B.skipRate,B.floorProvider=n.floorProvider||B.floorProvider),U.resume()}function et(e){N=!1,B.fetchStatus="error",(0,s.logError)("".concat(C,": Fetch errored with: "),e),U.resume()}let en=(0,w.NL)("priceFloors",function(e,t,n,r){var i,o;let u;let c=M[n.auctionId];if(!c||!n||c.skipped)return e.call(this,t,n,r);let d=y.n.index.getBidRequest(n),f=L(c.data,d,_(_({},n),{},{size:[n.width,n.height]}));if(!f.matchingFloor)return 0!==f.matchingFloor&&(0,s.logWarn)("".concat(C,": unable to determine a matching price floor for bidResponse"),n),e.call(this,t,n,r);let p=c.data.currency.toUpperCase(),g=n.currency||"USD";if(p===g.toUpperCase())u=n.cpm;else if(n.originalCurrency&&p===n.originalCurrency.toUpperCase())u=n.originalCpm;else try{u=(0,a.m)().convertCurrency(n.cpm,g.toUpperCase(),p)}catch(i){return(0,s.logError)("".concat(C,": Unable do get currency conversion for bidResponse to Floor Currency. Do you have Currency module enabled? ").concat(n)),e.call(this,t,n,r)}return o=u=z(u,n,d),n.floorData={floorValue:f.matchingFloor,floorRule:f.matchingRule,floorRuleValue:f.floorRuleValue,floorCurrency:c.data.currency,cpmAfterAdjustments:o,enforcements:_({},c.enforcement),matchedFields:{}},c.data.schema.fields.forEach((e,t)=>{let r=f.matchingData.split(c.data.schema.delimiter)[t];n.floorData.matchedFields[e]=r}),!function(e,t,n){let r=!1!==(0,l.A)(e,"enforcement.enforceJS"),i=!0===(0,l.A)(e,"enforcement.floorDeals")||!n.dealId,o=n.floorData.cpmAfterAdjustments<t.matchingFloor;return r&&o&&i}(c,f,n)?e.call(this,t,n,r):(r(h.Tf.FLOOR_NOT_MET),void(0,s.logWarn)("".concat(C,": ").concat(n.bidderCode,"'s Bid Response for ").concat(t," was rejected due to floor not met (adjusted cpm: ").concat(null==n||null===(i=n.floorData)||void 0===i?void 0:i.cpmAfterAdjustments,", floor: ").concat(null==f?void 0:f.matchingFloor,")"),n))});function er(e,t,n){let{currency:r=d.$W.getConfig("currency.adServerCurrency")||"USD",mediaType:i="*",size:o="*"}=t;if("function"==typeof e.getFloor){let t;try{t=e.getFloor({currency:r,mediaType:i,size:o})||{}}catch(t){return void(0,s.logWarn)("Cannot compute floor for bid",e)}t.floor=parseFloat(t.floor),null!=t.currency&&t.floor&&!isNaN(t.floor)&&n(t.floor,t.currency)}}function ei(e){return e&&"object"==typeof e?(R.clear(),Object.entries(e).some(e=>{let[t,n]=e;return!Array.isArray(n)||(R.add("userId.".concat(t)),!1)})?(R.clear(),{}):e):{}}d.$W.getConfig("floors",e=>{var t,n;return t=e.floors,void((B=(0,s.pick)(t,["floorMin","enabled",e=>!1!==e,"auctionDelay",e=>e||0,"floorProvider",e=>(0,l.A)(t,"data.floorProvider",e),"endpoint",e=>e||{},"skipRate",()=>isNaN((0,l.A)(t,"data.skipRate"))?t.skipRate||0:t.data.skipRate,"userIds",ei,"enforcement",e=>(0,s.pick)(e||{},["enforceJS",e=>!1!==e,"enforcePBS",e=>!0===e,"floorDeals",e=>!0===e,"bidAdjustment",e=>!1!==e,"noFloorSignalBidders",e=>e||[]]),"additionalSchemaFields",e=>"object"==typeof e&&Object.keys(e).length>0?void Object.keys(e).forEach(t=>{-1===j.indexOf(t)&&"function"==typeof e[t]&&(j.push(t),W[t]=e[t])}):void 0,"data",e=>e&&X(e,"setConfig")||void 0])).enabled?((n=B.endpoint).url&&!N?"GET"!==(n.method||"GET")?(0,s.logError)("".concat(C,": 'G
24ET' is the only request method supported at this time!")):(D(n.url,{success:ee,error:et},null,{method:"GET"}),N=!0):N&&(0,s.logWarn)("".concat(C,": A fetch is already occurring. Skipping.")),q||(p.on(h.qY.AUCTION_END,e=>{setTimeout(()=>delete M[e.auctionId],3e3)}),(0,g.Yn)("requestBids").before(Z,50),(0,g.Yn)("addBidResponse").before(en,(0,s.debugTurnedOn)()?4:50),q=!0)):((0,s.logInfo)("".concat(C,": Turning off module")),B={},M={},(0,g.Yn)("addBidResponse").getHooks({hook:en}).remove(),(0,g.Yn)("requestBids").getHooks({hook:Z}).remove(),q=!1))}),(0,b.pS)({type:b.Tb,name:"bidfloor",fn:function(e,t,n){er(t,{currency:n.currency,mediaType:n.mediaType||"*",size:"*"},(t,n)=>{Object.assign(e,{bidfloor:t,bidfloorcur:n})})}}),(0,b.pS)({type:b.Tb,name:"extBidfloor",fn:function(e,t,n){var r;function i(t,n){t===e.bidfloor&&n===e.bidfloorcur||((0,u.J)(this,"ext.bidfloor",t),(0,u.J)(this,"ext.bidfloorcur",n))}Object.values(k.GE).filter(t=>null!=e[t]).forEach(r=>{er(t,{currency:e.bidfloorcur||(null==n?void 0:n.currency),mediaType:r},i.bind(e[r]))}),((null===(r=e[k.D4])||void 0===r?void 0:r.format)||[]).filter(e=>{let{w:t,h:n}=e;return null!=t&&null!=n}).forEach(r=>{er(t,{currency:e.bidfloorcur||(null==n?void 0:n.currency),mediaType:k.D4,size:[r.w,r.h]},i.bind(r))})},priority:-10}),(0,b.pS)({type:b.Tb,name:"extPrebidFloors",fn:function(e,t,n){if(null!=e.bidfloor){var r,i,o,a;let{floorMinCur:t,floorMin:s}=n.reqContext.floorMin||{};null==t&&(t=e.bidfloorcur);let l=(null===(r=e.ext)||void 0===r||null===(r=r.prebid)||void 0===r||null===(r=r.floors)||void 0===r?void 0:r.floorMinCur)||(null===(i=e.ext)||void 0===i||null===(i=i.prebid)||void 0===i?void 0:i.floorMinCur)||t,c=(null===(o=e.ext)||void 0===o||null===(o=o.prebid)||void 0===o||null===(o=o.floors)||void 0===o?void 0:o.floorMin)||(null===(a=e.ext)||void 0===a||null===(a=a.prebid)||void 0===a?void 0:a.floorMin),d=(0,S.hZ)(e.bidfloor,e.bidfloorcur,t),f=!(!c||!l)&&(0,S.hZ)(c,l,t),p=f&&f<d?f:d;(0,u.J)(e,"ext.prebid.floors.floorMin",p),(null==s||s>p)&&(s=p),n.reqContext.floorMin={floorMin:s,floorMinCur:t}}},dialects:[b.e4],priority:-1}),(0,b.pS)({type:b.S3,name:"extPrebidFloors",fn:function(e,t,n){var r;q&&(0,u.J)(e,"ext.prebid.floors.enabled",(null===(r=e.ext)||void 0===r||null===(r=r.prebid)||void 0===r||null===(r=r.floors)||void 0===r?void 0:r.enabled)||!1),null!=n&&n.floorMin&&(0,s.mergeDeep)(e,{ext:{prebid:{floors:n.floorMin}}})},dialects:[b.e4]}),(0,a.E)("priceFloors")}
24,14223(e,t,n){function r(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&({}).propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}n.d(t,{A:()=>r})}},e=>{e.O(0,[60802,37769,40315,51085,33005,41225,35957],()=>e(e.s=4654)),e.O()}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[45496],{18959(e,t,n){var r=n(51748),i=n(10466),o=n(32592),a=n(61443),s=n(41385),l=n(70736),u=n(88074);let c=(0,a.vM)({moduleType:l.fW,moduleName:"sharedId"}),d="cookie",f="html5",p="_pubcid_optout",h="PublisherCommonId";function g(e,t){if(t===d)return c.getCookie(e);if(t===f&&c.hasLocalStorage()){let t=c.getDataFromLocalStorage("".concat(e,"_exp"));if(!t||new Date(t).getTime()-Date.now()>0)return c.getDataFromLocalStorage(e)}}function m(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0;if(!e)return;let r=(0,i.parseUrl)(e);r.search.id=encodeURIComponent("pubcid:"+t);let o=(0,i.buildUrl)(r);return function(){(0,i.triggerPixel)(o,n)}}function v(){return!!(c.cookiesAreEnabled()&&g(p,d)||c.hasLocalStorage()&&g(p,f))}let y={name:"sharedId",aliasName:"pubCommonId",gvlid:s.B1,disclosureURL:"local://prebid/sharedId-optout.json",decode:(e,t)=>v()?void(0,i.logInfo)("PubCommonId decode: Has opted-out"):((0,i.logInfo)(" Decoded value PubCommonId "+e),{pubcid:e}),getId:function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0;if(v())return void(0,i.logInfo)("PubCommonId: Has opted-out");if(null!=n&&n.coppa)return void(0,i.logInfo)("PubCommonId: IDs not provided for coppa requests, exiting PubCommonId");let{params:{create:o=!0,pixelUrl:a}={}}=t,s=r;if(!s){try{"object"==typeof window[h]&&(s=window[h].getId())}catch(e){}s||(s=o&&(0,i.hasDeviceAccess)()?(0,i.generateUUID)():void 0)}return{id:s,callback:(e=s,function(t,n){a?m(a,e,()=>{t(n()||e)})():t(e)})}},extendId:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;if(v())return(0,i.logInfo)("PubCommonId: Has opted-out"),{id:void 0};if(null!=t&&t.coppa)return void(0,i.logInfo)("PubCommonId: IDs not provided for coppa requests, exiting PubCommonId");let{params:{extend:r=!1,pixelUrl:o}={}}=e;if(r)return o?{callback:m(o,n)}:{id:n}},domainOverride:(0,u.w)(c,"sharedId"),eids:{pubcid(e,t){var n;let r={source:"pubcid.org",uids:e.map(e=>({id:e,atype:1}))};return null!=(null==t||null===(n=t.params)||void 0===n?void 0:n.inserter)&&(r.inserter=t.params.inserter),r}}};(0,o.bz)("userId",y),(0,r.E)("sharedIdSystem")}},e=>{e.O(0,[60802,37769,40315,51085,12764],()=>e(e.s=18959)),e.O()}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[7201],{58832(e,t,n){let r;var i=n(98158),o=n(51748),a=n(91933),s=n(28157),l=n(25291),u=n(61443),c=n(10466),d=n(53202),f=n(45808),p=n(88955),h=n(14661);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach(function(t){(0,i.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function v(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")}function y(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.y,n=[],r={},i=t.getMetadata(e[l.Dk],e[l.iK]);if(!i)return null;if(r[e[l.iK]]=i.disclosureURL,i.aliasOf){let n=t.getMetadata(e[l.Dk],i.aliasOf);n&&(r[i.aliasOf]=n.disclosureURL)}return Object.entries(r).forEach(r=>{var i;let[o,a]=r;null===(i=t.getStorageDisclosure(a))||void 0===i||null===(i=i.disclosures)||void 0===i||null===(i=i.filter(t=>!(!["cookie","web"].includes(t.type)||"cookie"===t.type&&e[l.Zw]!==u.X0||"web"===t.type&&e[l.Zw]!==u.qk)&&new RegExp("^".concat(t.identifier.split("*").map(v).join(".*?"),"$")).test(e[l.Ez])))||void 0===i||i.forEac
24h(e=>{n.push({[l.iK]:o,disclosureURL:a,disclosure:e})})}),{matches:n,disclosureURLs:r}}function b(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:y,n=!1,r=!1,i=null,o=e[l.Ez],a=e[l.Ii];if(o){let s=t(e);if(null==s)i='Cannot determine if storage key "'.concat(o,'" is disclosed by "').concat(a,'" because the necessary metadata is missing - was it included in the build?');else{let{disclosureURLs:t,matches:u}=s,c=e[l.iK];for(let{componentName:e}of u)if(e===c?n=!0:(r=!0,i='Storage key "'.concat(o,'" is disclosed by module "').concat(e,'", but not by "').concat(c,'" itself (the latter is an alias of the former)')),n||r)break;n||r||(i='Storage key "'.concat(o,'" (for ').concat(e[l.Zw],' storage) is not disclosed by "').concat(a,'"'),t[c]?i+=" @ ".concat(t[c]):i+=" - no disclosure URL was provided, or it could not be retrieved")}}else n=null;return{disclosed:n,parent:r,reason:i}}(0,d.qB)(f.Ue,"storageControl",function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:()=>r,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b;return function(n){let{disclosed:r,parent:i,reason:o}=t(n);if(null!==r&&!r){let t=e();if("strict"===t||"allowAliases"===t&&!i)return{allow:!1,reason:o};o&&(0,c.logWarn)("storageControl:",o)}}}()),a.$W.getConfig("storageControl",e=>{var t,n;r=null!==(t=null==e||null===(n=e.storageControl)||void 0===n?void 0:n.enforcement)&&void 0!==t?t:"off"});let{hook:w,getDisclosures:E}=function(){let e={};return{hook(t,n,r){let i="".concat(r.type,"::").concat(r.identifier);e.hasOwnProperty(i)||(e[i]=m({disclosedBy:[]},r)),Object.assign(e[i],function(e,t){var n,r,i,o;let a=m(m({},e),{},{purposes:(null!==(n=e.purposes)&&void 0!==n?n:[]).concat(null!==(r=t.purposes)&&void 0!==r?r:[]).filter(c.uniques)});return"cookie"===e.type&&(null==e.maxAgeSeconds&&null==t.maxAgeSeconds||(a.maxAgeSeconds=(null!==(i=e.maxAgeSeconds)&&void 0!==i?i:0)>(null!==(o=t.maxAgeSeconds)&&void 0!==o?o:0)?e.maxAgeSeconds:t.maxAgeSeconds),null==e.cookieRefresh&&null==t.cookieRefresh||(a.cookieRefresh=e.cookieRefresh||t.cookieRefresh)),a}(e[i],r)),e[i].disclosedBy.includes(n)||e[i].disclosedBy.push(n),t(n,r)},getDisclosures:()=>Object.values(e)}}();u.p6.before(w);let O=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:E,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>(0,h.l)((0,o.m)().installedModules,s.y.getModuleMetadata);return function(){return[].concat(e().map(e=>m({disclosedIn:null},e)),t())}}();(0,p.xu)("getStorageUseDisclosures",O),(0,o.E)("storageControl")}},e=>{e.O(0,[60802,37769,40315,51085,36784,32689],()=>e(e.s=58832)),e.O()}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[99097],{31688(e,t,n){var r=n(98158),i=n(51748),o=n(3516),a=n(59794),s=n(91933),l=n(10466),u=n(83435),c=n(26665),d=n(43958),f=n(61443),p=n(62201),h=n(9201),g=n(28258),m=n(30183),v=n(44621),y=n(28317);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach(function(t){(0,r.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}let E="taboola",O="user-id",S="taboola global:".concat(O),T="https://beacon.bidder.taboola.com",k={storageManager:(0,f.vM)({bidderCode:E}),getUserId:()=>{let{getFromLocalStorage:e,getFromCookie:t,getFromTRC:n}=k;try{return e()||t()||n()}catch(e){return 0}},getFromCookie(){let{cookiesAreEnabled:e,getCookie:t}=k.storageManager;if(e()){let e;let n=t("trc_cookie_storage");if(n&&(e=k.getCookieDataByKey(n,O)),e||(e=t("t_gid"))||(e=t("t_pt_gid")))return e;let r=t("tbla_id");if(r)return r}},getCookieDataByKey(e,t){if(!e)return;let[,n=""]=e.split("".concat(t,"="));return n},getFromLocalStorage(){let{hasLocalStorage:e,localStorageIsEnabled:t,getDataFromLocalStorage:n}=k.storageManager;if(e()&&t())return n(S)},getFromTRC:()=>window.TRC?window.TRC.user_id:0},I={getPageUrl:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(null==e?void 0:e.page)||(0,l.getWindowSelf)().location.href},getReferrer:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(null==e?void 0:e.ref)||(0,l.getWindowSelf)().document.referrer}},A=(0,h.A)({context:{netRevenue:!0,mediaType:a.D4,ttl:300},imp(e,t,n){let r=e(t,n);return function(e,t){var n;let{tagId:r,position:i}=e.params;if(t.banner=w(w({},{format:e.sizes.map(e=>({w:e[0],h:e[1]}))}),{},{pos:i}),t.tagid=r,"function"==typeof e.getFloor){let n=e.getFloor({currency:"USD",size:"*"});
24(0,c.Qd)(n)&&"USD"===n.currency&&!isNaN(parseFloat(n.floor))&&(t.bidfloor=parseFloat(n.floor),t.bidfloorcur="USD")}else{let{bidfloor:n=null,bidfloorcur:r="USD"}=e.params;t.bidfloor=n,t.bidfloorcur=r}(0,u.J)(t,"ext.gpid",null==e||null===(n=e.ortb2Imp)||void 0===n||null===(n=n.ext)||void 0===n?void 0:n.gpid),e.bidId&&(0,u.J)(t,"ext.prebid.bidId",e.bidId),e.adUnitCode&&(0,u.J)(t,"ext.prebid.adUnitCode",e.adUnitCode),e.adUnitId&&(0,u.J)(t,"ext.prebid.adUnitId",e.adUnitId),(0,u.J)(t,"ext.prebid.bidRequestsCount",e.bidRequestsCount),(0,u.J)(t,"ext.prebid.bidderRequestsCount",e.bidderRequestsCount),(0,u.J)(t,"ext.prebid.bidderWinsCount",e.bidderWinsCount);let o=function(e){try{let t=document.getElementById(e);if(!t)return null;let n=(0,y.G)(t),r=(0,d.Ot)(),i=(0,v.K_)(t),o={placement:{top:Math.round(n.top),left:Math.round(n.left)},fold:n.top<r.innerHeight?"above":"below"};return null===i||isNaN(i)||(o.viewability=Math.round(i)),o}catch(e){return null}}(e.adUnitCode);o&&(void 0!==o.viewability&&(0,u.J)(t,"ext.viewability",o.viewability),(0,u.J)(t,"ext.placement",o.placement),(0,u.J)(t,"ext.fold",o.fold))}(t,r),r},request(e,t,n,r){let i=e(t,n,r);return function(e,t,n,r){var i,o,a,l,c,d;let{refererInfo:f,gdprConsent:p={},uspConsent:h}=e,v=function(e,t,n){var r,i,o,a;let{publisherId:s}=e,{getPageUrl:l,getReferrer:u}=I;return{id:s,name:s,domain:(null==n||null===(r=n.site)||void 0===r?void 0:r.domain)||(null==t?void 0:t.domain)||(null===(i=window.location)||void 0===i?void 0:i.host),page:(null==n||null===(o=n.site)||void 0===o?void 0:o.page)||l(t),ref:(null==n||null===(a=n.site)||void 0===a?void 0:a.ref)||u(t),publisher:{id:s},content:{language:navigator.language}}}(t.params,f,e.ortb2),y=(null==e||null===(i=e.ortb2)||void 0===i?void 0:i.device)||{},b=(0,g.Z)(),E=w(w(w({},y),{},{js:1},b&&{connectiontype:b}),{},{ext:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,m.g)();return w(w({},e),{},{bot:function(){try{return{detected:!!(window.__nightmare||window.callPhantom||window._phantom||/HeadlessChrome/.test(navigator.userAgent))}}catch(e){return{detected:!1}}}(),visibility:function(){try{return{hidden:document.hidden,state:document.visibilityState,hasFocus:document.hasFocus()}}catch(e){return{hidden:!1,state:"visible",hasFocus:!0}}}(),scroll:{top:Math.round(t.top),left:Math.round(t.left)}})}(y.ext)});(0,u.J)(n,"device",E);let O=k.getUserId(p,h);void 0!==n.user&&null!==n.user||(n.user={buyeruid:0,ext:{}}),O&&0!==O&&(0,u.J)(n,"user.buyeruid",O),void 0!==(null===(o=n.regs)||void 0===o?void 0:o.ext)&&null!==(null===(a=n.regs)||void 0===a?void 0:a.ext)||(n.regs={ext:{}}),(0,u.J)(n,"regs.coppa",0),p.gdprApplies&&((0,u.J)(n,"user.ext.consent",e.gdprConsent.consentString),(0,u.J)(n,"regs.ext.gdpr",1)),h&&(0,u.J)(n,"regs.ext.us_privacy",h),null!==(l=e.ortb2)&&void 0!==l&&null!==(l=l.regs)&&void 0!==l&&l.gpp&&((0,u.J)(n,"regs.ext.gpp",e.ortb2.regs.gpp),(0,u.J)(n,"regs.ext.gpp_sid",e.ortb2.regs.gpp_sid)),s.$W.getConfig("coppa")&&(0,u.J)(n,"regs.coppa",1);let S=e.ortb2||{bcat:[],badv:[],wlang:[]};(0,u.J)(n,"source.fd",1),n.id=e.bidderRequestId,n.site=v,n.tmax=null===e.timeout||void 0===e.timeout?void 0:parseInt(e.timeout),n.bcat=S.bcat||t.params.bcat||[],n.badv=S.badv||t.params.badv||[],n.wlang=S.wlang||t.params.wlang||[],(0,u.J)(n,"ext.pageType",(null==S||null===(c=S.ext)||void 0===c||null===(c=c.data)||void 0===c?void 0:c.pageType)||(null==S||null===(d=S.ext)||void 0===d||null===(d=d.data)||void 0===d?void 0:d.section)||t.params.pageType),(0,u.J)(n,"ext.prebid.version","10.25.0");let T=null==r?void 0:r.auctionId;T&&(0,u.J)(n,"ext.prebid.auctionId",T)}(n,r.bidRequests[0],i,r),i},bidResponse(e,t,n){let r=e(t,n);return r.nurl=t.nurl,t.burl&&(r.burl=t.burl),r.ad=(0,l.replaceAuctionPrice)(t.adm,t.price),t.ext&&t.ext.dchain&&(0,u.J)(r,"meta.dchain",t.ext.dchain),r}}),_={supportedMediaTypes:[a.D4],gvlid:42,code:E,isBidRequestValid:e=>!!(e.sizes&&e.params&&e.params.publisherId&&e.params.tagId),buildRequests:(e,t)=>{var n;let[r]=e,i=t.auctionId||(null===(n=e[0])||void 0===n?void 0:n.auctionId),o=A.toORTB({bidderRequest:t,bidRequests:e,context:{auctionId:i}}),{publisherId:a}=r.params;return{url:"https://display.bidder.taboola.com/OpenRTB/TaboolaHB/auction?publisher="+a,method:"POST",data:o,bids:e,options:{withCredentials:!1}}},interpretResponse:(e,t)=>{var n;if(!t||!t.bids||!t.data||!e||!e.body)return[];let r=[],i=[];if(e.body.seatbid&&e.body.seatbid.length&&e.body.seatbid[0].bid&&e.body.seatbid[0].bid.length)r.push(...A.fromORTB({response:e.body,request:t.data}).bids);else if(!e.body.ext||!e.body.ext.igbid||!e.body.ext.igbid.length)return[];return(0,c.cy)(null===(n=e.body.ext)||void 0===n?void 0:n.igbid)&&e.body.ext.igbid.forEac
24h(e=>{var t;if(!(e&&e.igbuyer&&e.igbuyer.length&&e.igbuyer[0].buyerdata))return;let n=(0,l.safeJSONParse)(null===(t=e.igbuyer[0])||void 0===t?void 0:t.buyerdata);if(!n)return;let r={};e.igbuyer.forEach(e=>{if(!e||!e.buyerdata||!e.origin)return;let t=(0,l.safeJSONParse)(e.buyerdata);t&&t.perBuyerSignals&&e.origin in t.perBuyerSignals&&(r[e.origin]=t.perBuyerSignals[e.origin])});let o=null==e?void 0:e.impid;i.push({impId:o,config:{seller:null==n?void 0:n.seller,resolveToConfig:null==n?void 0:n.resolveToConfig,sellerSignals:{},sellerTimeout:null==n?void 0:n.sellerTimeout,perBuyerSignals:r,auctionSignals:{},decisionLogicUrl:null==n?void 0:n.decisionLogicUrl,interestGroupBuyers:null==n?void 0:n.interestGroupBuyers,perBuyerTimeouts:null==n?void 0:n.perBuyerTimeouts}})}),i.length?{bids:r,paapi:i}:r},onBidWon:e=>{if(e.nurl&&!e.deferBilling){let t=(0,l.replaceAuctionPrice)(e.nurl,e.originalCpm);(0,p.RD)(t),e.taboolaBillingFired=!0}},onBidBillable:e=>{if(e.taboolaBillingFired)return;let t=e.burl||e.nurl;if(t){let n=(0,l.replaceAuctionPrice)(t,e.originalCpm);(0,p.RD)(n)}},getUserSyncs:function(e,t,n,r,i){let o=[],a=[];return n&&a.push("gdpr=".concat(Number(n.gdprApplies&&1),"&gdpr_consent=").concat(encodeURIComponent(n.consentString||""))),r&&a.push("us_privacy="+encodeURIComponent(r)),i&&a.push("gpp="+encodeURIComponent(i.gppString||"")+"&gpp_sid="+encodeURIComponent((i.applicableSections||[]).join(","))),e.iframeEnabled&&o.push({type:"iframe",url:"https://cdn.taboola.com/scripts/prebid_iframe_sync.html"+(a.length?"?"+a.join("&"):"")}),e.pixelEnabled&&o.push({type:"image",url:"https://trc.taboola.com/sg/prebidJS/1/cm"+(a.length?"?"+a.join("&"):"")}),o},onTimeout:e=>{(0,p.RD)(T+"/timeout",null,JSON.stringify(e),{method:"POST"})},onBidderError:e=>{let{error:t,bidderRequest:n}=e;(0,p.RD)(T+"/bidError",null,JSON.stringify({error:t,bidderRequest:n}),{method:"POST"})}};(0,o.a$)(_),(0,i.E)("taboolaBidAdapter")}},e=>{e.O(0,[60802,37769,40315,51085,58498,32316,40259,24472],()=>e(e.s=31688)),e.O()}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[4085],{1492(e,t,n){var r,i=n(51748),o=n(10466),a=n(58928),s=n(91933),l=n(51409),u=n(41385),c=n(18014),d=n(11418),f=n(70736),p=n(25291),h=n(53202),g=n(45808),m=n(62201);let v={purpose:{},feature:{}},y={purpose:!1,feature:"specialFeatureOptins"},b={storage:{type:"purpose",default:{purpose:"storage",enforcePurpose:!0,enforceVendor:!0,vendorExceptions:[]},id:1},basicAds:{type:"purpose",id:2,default:{purpose:"basicAds",enforcePurpose:!0,enforceVendor:!0,vendorExceptions:[],deferS2Sbidders:!1}},personalizedAds:{type:"purpose",id:4,default:{purpose:"personalizedAds",enforcePurpose:!0,enforceVendor:!0,vendorExceptions:[],eidsRequireP4Consent:!1}},measurement:{type:"purpose",id:7,default:{purpose:"measurement",enforcePurpose:!0,enforceVendor:!0,vendorExceptions:[]}},transmitPreciseGeo:{type:"feature",id:1,default:{purpose:"transmitPreciseGeo",enforcePurpose:!0,enforceVendor:!0,vendorExceptions:[]}}},w=new Set,E=new Set,O=new Set,S=new Set,T=new Set,k=new Set,I=!1,A=!1,_=[f.tW,f.fW,f.Tn,f.zu],C="TCF2",D=[],x=[2],j=[2,7,9,10];function R(e,t,n,r){var i,o;let s=(0,a.A)(e,"vendorData.".concat(t));return!(null==s||null===(i=s.consents)||void 0===i||!i[n])||r&&!(null==s||null===(o=s.legitimateInterests)||void 0===o||!o[n])}function P(e,t,n,r){let i;if(!1!==y[t])i=!!(0,a.A)(e,"vendorData.".concat(y[t],".").concat(n));else{let[t,o]=r===u.B1?["publisher",j]:["purpose",x];i=R(e,t,n,o.includes(n))}return{purpose:i,vendor:R(e,"vendor",r,x.includes(n))}}function N(e,t,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=b[e.purpose];if((e.vendorExceptions||[]).includes(n))return!0;let a=e.enforceVendor&&!(r===u.B1||(e.softVendorExceptions||[]).includes(n)),s=i.isS2S&&"basicAds"===e.purpose&&e.deferS2Sbidders&&!r,{purpose:l,vendor:c}=P(t,o.type,o.id,r);return(!e.enforcePurpose||l)&&(!a||s||c)}function q(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:()=>null;return function(i){let a=u.mW.getConsentData(),l=i[p.iK];if(null==a&&u.mW.enabled?((0,o.logWarn)("Attempting operation that requires purpose ".concat(e," consent while consent data is not available").concat(l?" (module: ".concat(l,")"):"",". Assuming no consent was given.")),!0):a&&a.gdprApplies){let e=function(e,t,n){if(t){let r=s.$W.getConfig("gvlMapping");if(r&&r[t])return r[t];if(e===f.tp)return u.B1;{let{gvlid:r,modules:i}=u.o2.get(t);if(null==r&&Object.keys(i).length>0){for(let n of _)if(i.hasOwnProperty(n)){r=i[n],n!==e&&(0,o.logWarn)("Multiple GVL IDs found for module '".concat(t,"'; using the ").concat(n," module's ID (").concat(r,") instead of the ").concat(e,"'s ID (").concat(i[e],")"));break}}return null==r&&n&&(r=n()),r||null}}return null}
24(i[p.Dk],l,r(i)),c=!!t(a,l,e,i);if(!c)return n&&n.add(l),{allow:c}}}}function B(e){return q(e,(t,n,r,i)=>!!N(v.purpose[e],t,n,r,i),arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>null)}function U(e){return function(t){if(t[p.Dk]!==f.tp)return e(t)}}let M=(r=B(1,w),function(e){if(e[p.Dk]!==f.tp||A)return r(e)}),F=B(1,w),W=B(1,w),L=U(B(2,E)),z=B(7,O,e=>(function(e,t){var n;let r=l.Ay.getAnalyticsAdapter(e);return(n=>{if("function"!=typeof n)return n;try{return n.call(r.adapter,t)}catch(t){(0,o.logError)("Error invoking ".concat(e," adapter.gvlid()"),t)}})(null==r||null===(n=r.adapter)||void 0===n?void 0:n.gvlid)})(e[p.iK],e[p.TQ])),V=B(4,S),G=U((()=>{let e=q("2-10",function(e,t,n){for(let o=2;o<=10;o++){var r,i;if(null!==(r=v.purpose[o])&&void 0!==r&&null!==(r=r.vendorExceptions)&&void 0!==r&&r.includes(t))return!0;let{purpose:a,vendor:s}=P(e,"purpose",o,n);if(a&&(s||null!==(i=v.purpose[o])&&void 0!==i&&null!==(i=i.softVendorExceptions)&&void 0!==i&&i.includes(t)))return!0}return!1},T),t=B(4,T);return function(){var n;let r=null!==(n=v.purpose[4])&&void 0!==n&&n.eidsRequireP4Consent?t:e;for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return r.apply(this,o)}})()),Q=q("Special Feature 1",(e,t,n)=>N(v.feature[1],e,t,n),k);function H(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;if(!t.withCredentials||n&&r)return void e(t);let i=u.mW.getConsentData(),a=v.purpose[1],s=b[a.purpose],{purpose:l}=P(i,s.type,s.id,null);!l&&a.enforcePurpose&&(t.withCredentials=!1,(0,o.logWarn)("".concat(C," denied ").concat(g.yg))),e(t)}c.on(d.qY.AUCTION_END,function(){let e=function(e){return Array.from(e.keys()).filter(e=>null!=e)},t={storageBlocked:e(w),biddersBlocked:e(E),analyticsBlocked:e(O),ufpdBlocked:e(S),eidsBlocked:e(T),geoBlocked:e(k)};
24c.emit(d.qY.TCF2_ENFORCEMENT,t),[w,E,O,S,T,k].forEach(e=>e.clear())}),s.$W.getConfig("consentManagement",e=>{var t;let n;return t=e.consentManagement,void((n=(0,a.A)(t,"gdpr.rules"))||(0,o.logWarn)("TCF2: enforcing P1 and P2 by default"),n=Object.fromEntries((n||[]).map(e=>[e.purpose,e])),A=!!(0,a.A)(t,"strictStorageEnforcement"),Object.entries(b).forEach(e=>{var t;let[r,i]=e;v[i.type][i.id]=null!==(t=n[r])&&void 0!==t?t:i.default}),I||(null!=v.purpose[1]&&(I=!0,D.push((0,h.qB)(g.Ue,C,M)),D.push((0,h.qB)(g.Ml,C,F)),D.push((0,h.qB)(g.yl,C,W)),m.p3.after(H)),null!=v.purpose[2]&&D.push((0,h.qB)(g.uc,C,L)),null!=v.purpose[4]&&D.push((0,h.qB)(g.DL,C,V),(0,h.qB)(g.qX,C,V)),null!=v.purpose[7]&&D.push((0,h.qB)(g.mo,C,z)),null!=v.feature[1]&&D.push((0,h.qB)(g.hE,C,Q)),D.push((0,h.qB)(g.hq,C,G))))}),(0,i.E)("tcfControl")}},e=>{e.O(0,[60802,37769,40315,51085],()=>e(e.s=1492)),e.O()}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[73469],{57355(e,t,n){let r,i;var o=n(98158),a=n(51748),s=n(91933),l=n(18014),u=n(88955),c=n(51409),d=n(11418),f=n(32592),p=n(26665),h=n(10466);let g=new Map;function m(e){let t=new Map,n={};return Object.entries(e).forEach(e=>{var r,i;let[o,a]=e,s=a();if(s){n[o]=s.idObj[o];let e=null===(r=s.submodule.eids)||void 0===r?void 0:r[o];"function"==typeof e&&(i=e,e=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return i(...t,s.config)}),t.set(o,e)}}),function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g,n={};function r(e){var t;let r=JSON.stringify([null===(t=e.source)||void 0===t?void 0:t.toLowerCase(),...Object.keys(e).filter(e=>!["uids","source"].includes(e)).sort().map(t=>e[t])]);n.hasOwnProperty(r)?n[r].uids.push(...e.uids):n[r]=e}return Object.entries(e).forEach(e=>{let n,[i,o]=e;o=Array.isArray(o)?o:[o];let a=t.get(i);if("pubProvidedId"===i)n=(0,p.Go)(o);else if("function"==typeof a)try{n=(0,p.Go)(a(o)),Array.isArray(n)||(n=[n]),n.forEach(e=>{e.uids=e.uids.filter(e=>{let{id:t}=e;return(0,p.O8)(t)})}),n=n.filter(e=>{let{uids:t}=e;return(null==t?void 0:t.length)>0})}catch(e){(0,h.logError)('Could not generate EID for "'.concat(i,'"'),e)}else n=o.map(e=>(function(e,t,n){if(n&&e){let t={};t.source=(0,p.fp)(n.getSource)?n.getSource(e):n.source;let r=(0,p.fp)(n.getValue)?n.getValue(e):e;if((0,p.O8)(r)){let i={id:r,atype:n.atype};if((0,p.fp)(n.getUidExt)){let t=n.getUidExt(e);t&&(i.ext=t)}if(t.uids=[i],n.inserter||(0,p.fp)(n.getInserter)){let r=(0,p.fp)(n.getInserter)?n.getInserter(e):n.inserter;null!=r&&(t.inserter=r)}if(n.matcher||(0,p.fp)(n.getMatcher)){let r=(0,p.fp)(n.getMatcher)?n.getMatcher(e):n.matcher;null!=r&&(t.matcher=r)}if(null!=n.mm&&(t.mm=n.mm),(0,p.fp)(n.getEidExt)){let r=n.getEidExt(e);r&&(t.ext=r)}return t}}return null})(e,0,a));Array.isArray(n)&&n.filter(e=>null!=e).forEach(r)}),Object.values(n)}(n,t)}var v=n(61443),y=n(83435),b=n(3129),w=n(13064),E=n(37841),O=n(91780),S=n(41385),T=n(70736),k=n(53202),I=n(45808),A=n(77610),_=n(73391),C=n(25291),D=n(71186);function x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function j(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?x(Object(n),!0).forEach(function(t){(0,o.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}let R="User ID",P=v.X0,N=v.qk,q="_pbjs_id_optout",B=(0,v.CK)("userId"),U={isAllowed:k.io},M,F,W,L,z,V=[],G=[],Q={},H=[],J=()=>(null==i&&(i=(0,E.K7)()),i);function $(e){return J().fork().renameWith(t=>["userId.mod.".concat(t),"userId.mods.".concat(e,".").concat(t)])}function K(e,t){t=t||e.storageMgr;let n="function"==typeof e.submodule.domainOverride?e.submodule.domainOverride():null,r=e.config.storage.name;return function(e,i,o){t.setCookie(r+(e||""),i,o,"Lax",n)}}function Y(e,t){let n=e.config.storage;try{let r=new Date(Date.now()+864e5*n.expires).toUTCString(),i=(0,p.Qd)(t)?JSON.stringify(t):t;
24e.enabledStorageTypes.forEach(t=>{switch(t){case P:!function(e,t,n){let r=e.config.storage,i=K(e);i(null,t,n),i("_cst",ev(),n),"number"==typeof r.refreshInSeconds&&i("_last",(new Date).toUTCString(),n)}(e,i,r);break;case N:!function(e,t,n){let r=e.config.storage,i=e.storageMgr;i.setDataInLocalStorage("".concat(r.name,"_exp"),n),i.setDataInLocalStorage("".concat(r.name,"_cst"),ev()),i.setDataInLocalStorage(r.name,encodeURIComponent(t)),"number"==typeof r.refreshInSeconds&&i.setDataInLocalStorage("".concat(r.name,"_last"),(new Date).toUTCString())}(e,i,r)}})}catch(e){(0,h.logError)(e)}}let X=["","_last","_cst"],Z=["","_last","_exp","_cst"];function ee(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,r=e.config.storage,i=n?"".concat(r.name,"_").concat(n):r.name;try{e.enabledStorageTypes.find(n=>{switch(n){case P:t=e.storageMgr.getCookie(i);break;case N:t=function(e,t){let n=e.storageMgr,r=e.config.storage,i=n.getDataFromLocalStorage("".concat(r.name,"_exp"));return""===i?n.getDataFromLocalStorage(t):i&&new Date(i).getTime()-Date.now()>0?decodeURIComponent(n.getDataFromLocalStorage(t)):void 0}(e,i)}return!!t}),"string"==typeof t&&"{"===t.trim().charAt(0)&&(t=JSON.parse(t))}catch(e){(0,h.logError)(e)}return t}function et(e,t,n){t=J().fork().startTiming("userId.callbacks.total").stopBefore(t);let r=(0,h.delayExecution)(()=>{clearTimeout(void 0),t()},e.length);e.forEach(function(e){let t=$(e.submodule.name).startTiming("callback").stopBefore(r);try{e.callback(function(r){r?(e.config.storage&&Y(e,r),e.idObj=e.submodule.decode(r,e.config),n.refresh(),ey(n)):(0,h.logInfo)("".concat(R,": ").concat(e.submodule.name," - request id responded with an empty value")),t()},ee.bind(null,e))}catch(n){(0,h.logError)("Error in userID module '".concat(e.submodule.name,"':"),n),t()}e.callback=void 0})}function en(e,t,n){let r={};return e.forEach(e=>{let i=n(e),o=function(e){var t;if(e.primaryIds)return e.primaryIds;let n=Object.keys(null!==(t=e.eids)&&void 0!==t?t:{});if(n.length>1)throw Error("ID submodule ".concat(e.name," can provide multiple IDs, but does not specify 'primaryIds'"));return n}(i);t(e).forEach(t=>{var n,a,s;let l=r[t]=null!==(n=r[t])&&void 0!==n?n:[],u=null!==(a=null===(s=Q[t])||void 0===s?void 0:s.indexOf(i.name))&&void 0!==a?a:o.includes(t)?0:-1,c=l.findIndex(e=>{let[t]=e;return t<u});l.splice(-1===c?l.length:c,0,[u,e])})}),Object.fromEntries(Object.entries(r).map(e=>{let[t,n]=e;return[t,n.map(e=>{let[t,n]=e;return n})]}))}let er={};function ei(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:eu()||[],n=L&&t.find(e=>e.source===L);if(n&&"string"==typeof(null==n||null===(e=n.uids)||void 0===e||null===(e=e[0])||void 0===e?void 0:e.id)){let e=n.uids[0].id.replace(/[\W_]/g,"");if(e.length>=32&&e.length<=150)return e;(0,h.logWarn)("User ID - Googletag Publisher Provided ID for ".concat(L," is not between 32 and 150 characters - ").concat(e))}}let eo=(0,E.Ak)("userId",function(e,t){let{mkDelay:n=w.cb,getIds:r=em}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};w.U9.race([r().catch(()=>null),n(W)]).then(()=>{(function(e){let{ortb2Fragments:t}=e;(function(e){var t,n;let{global:r,bidder:i}=e,{global:o,bidder:a}=M,s=m(o);s.length>0&&(0,y.J)(r,"user.ext.eids",(null!==(t=null===(n=r.user)||void 0===n||null===(n=n.ext)||void 0===n?void 0:n.eids)&&void 0!==t?t:[]).concat(s)),Object.entries(a).forEach(e=>{var t,n;let[r,o]=e,a=m(o);a.length>0&&(0,y.J)(i,"".concat(r,".user.ext.eids"),(null!==(t=null===(n=i[r])||void 0===n||null===(n=n.user)||void 0===n||null===(n=n.ext)||void 0===n?void 0:n.eids)&&void 0!==t?t:[]).concat(a))})})(t=null!=t?t:{global:{},bidder:{}})})(t),J().join((0,E.BO)(t.metrics),{propagate:!1,includeGroups:!0}),e.call(this,t)})});function ea(e,t){t.forEach(e=>{e.bids.forEach(t=>Object.defineProperty(t,"userIdAsEids",{configurable:!0,get(){var t,n;return null!==(t=null===(n=e.ortb2.user)||void 0===n||null===(n=n.ext)||void 0===n?void 0:n.eids)&&void 0!==t?t:[]}}))}),e(t)}function es(e,t){var n,r;let i={},o=null!==(n=null===(r=t.getFPD())||void 0===r||null===(r=r.global)||void 0===r||null===(r=r.user)||void 0===r||null===(r=r.ext)||void 0===r?void 0:r.eids)&&void 0!==n?n:[];t.getAdUnits().flatMap(e=>
24e.bids).forEach(e=>{var n,r,a;let s=null==(n=e.bidder)?o:(i.hasOwnProperty(n)||(i[n]=(0,h.mergeDeep)({eids:[]},{eids:o},{eids:null!==(r=null===(a=t.getFPD())||void 0===a||null===(a=a.bidder)||void 0===a||null===(a=a[n])||void 0===a||null===(a=a.user)||void 0===a||null===(a=a.ext)||void 0===a?void 0:a.eids)&&void 0!==r?r:[]}).eids),i[n]);s.length>0&&(e.userIdAsEids=s)}),e(t)}function el(){return Object.fromEntries(Object.entries(M.combined).map(e=>{var t;let[n,r]=e;return[n,null===(t=r())||void 0===t||null===(t=t.idObj)||void 0===t?void 0:t[n]]}).filter(e=>{let[t,n]=e;return null!=n}))}function eu(){return m(M.combined)}function ec(e){return eu().filter(t=>t.source===e)[0]}function ed(e,t,n){return eh().then(()=>{let r={};if((0,p.fp)(n)){(0,h.logInfo)("".concat(R," - Getting encrypted signal from custom function : ").concat(n.name," & source : ").concat(e," "));let t=n(e);r[e]=t?ef(t):null}else{let n=ec(e);(0,h.logInfo)("".concat(R," - Getting encrypted signal for eids :").concat(JSON.stringify(n))),(0,h.isEmpty)(n)||(r[n.source]=!0===t?ef(n):n.uids[0].id)}return(0,h.logInfo)("".concat(R," - Fetching encrypted eids: ").concat(r[e])),r[e]})}function ef(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n="";return 1===t&&(n="object"==typeof e?window.btoa(JSON.stringify(e)):window.btoa(e)),"".concat(t,"||").concat(n)}function ep(){if(!(0,h.isGptPubadsDefined)())return;let e=s.$W.getConfig("userSync.encryptedSignalSources");e?setTimeout(()=>{e.sources&&e.sources.forEach(e=>{let{source:t,encrypt:n,customFunc:r}=e;t.forEach(e=>{window.googletag.secureSignalProviders.push({id:e,collectorFunction:()=>ed(e,n,r)})})})},e.registerDelay||0):(0,h.logWarn)("".concat(R," - ESP : encryptedSignalSources config not defined under userSync Object"))}function eh(e){return r(e).then(()=>el(),e=>e===er?Promise.resolve().then(em):((0,h.logError)("Error initializing userId",e),w.U9.reject(e)))}function eg(){let{submoduleNames:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return eh({refresh:!0,submoduleNames:e}).then(e=>(t&&(0,p.fp)(t)&&t(),e))}function em(){return eh()}function ev(){let e=Number(S.SL.hash),t=[];for(;e>0;)t.push(String.fromCharCode(255&e)),e>>>=8;return btoa(t.join(""))}function ey(e){let t=m(e.combined);if(t.length&&L){let e=ei(t);e&&((0,h.isGptPubadsDefined)()?window.googletag.pubads().setPublisherProvidedId(e):(window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push(function(){window.googletag.pubads().setPublisherProvidedId(e)})))}}function eb(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return J().fork().measureTime("userId.init.modules",function(){if(!t.length)return[];if(t.forEach(e=>eS(e)),!(t=t.filter(e=>(!e.config.storage||!!e.enabledStorageTypes.length)&&U.isAllowed(I.yl,(0,A.s)(T.fW,e.config.name)))).length)return(0,h.logWarn)("".concat(R," - no ID module configured")),[];let r=t.reduce((e,t)=>$(t.submodule.name).measureTime("init",()=>{try{(function(e,t){let n=S.SL.getConsentData();if(e.config.storage){let r,i=ee(e),o=!1;if("number"==typeof e.config.storage.refreshInSeconds){let t=new Date(ee(e,"last"));o=t&&Date.now()-t.getTime()>1e3*e.config.storage.refreshInSeconds}if(!i||o||t||function(e){let t=ee(e,"cst");return!t||t!==ev()}(e)){let t=Object.assign({enabledStorageTypes:e.enabledStorageTypes},e.config);r=e.submodule.getId(t,n,i)}else"function"==typeof e.submodule.extendId&&(r=e.submodule.extendId(e.config,n,i));(0,p.Qd)(r)&&(r.id&&(Y(e,r.id),i=r.id),"function"==typeof r.callback&&(e.callback=r.callback)),i&&(e.idObj=e.submodule.decode(i,e.config))}else if(e.config.value)e.idObj=e.config.value;else{let t=e.submodule.getId(e.config,n);(0,p.Qd)(t)&&("function"==typeof t.callback&&(e.callback=t.callback),t.id&&(e.idObj=e.submodule.decode(t.id,e.config)))}})(t,n),e.push(t)}catch(e){(0,h.logError)("Error in userID module '".concat(t.submodule.name,"':"),e)}return e}),[]);return e.refresh(r),ey(e),r})}function ew(e){var t;return(null==e||null===(t=e.storage)||void 0===t||null===(t=t.type)||void 0===t?void 0:t.trim().split(/\s*&\s*/))||[]}let eE=new Set([N,P]),eO=[1,2,3,4,7];function eS(e){if(e.enabledStorageTypes)return;let t=ew(e.config);e.enabledStorageTypes=t.filter(t=>{switch(t){case N:return Z.forEach(t=>{(0,v.p6)("userId",{type:"web",identifier:e.config.storage.name+t,purposes:eO})}),!(!e.storageMgr.localStorageIsEnabled()||B.getDataFromLocalStorage(q)&&((0,h.logInfo)("".concat(R," - opt-out localStorage found, storage disabled")),1));
24case P:return X.forEach(t=>{var n;(0,v.p6)("userId",{type:"cookie",identifier:e.config.storage.name+t,purposes:eO,maxAgeSeconds:24*(null!==(n=e.config.storage.expires)&&void 0!==n?n:0)*3600,cookieRefresh:!0})}),!(!e.storageMgr.cookiesAreEnabled()||B.getCookie(q)&&((0,h.logInfo)("".concat(R," - opt-out cookie found, storage disabled")),1))}return!1})}function eT(e){g.clear(),Object.entries(en(e,e=>Object.keys(e.eids||{}),e=>e)).forEach(e=>{let[t,n]=e;return g.set(t,n[0].eids[t])})}function ek(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};eT(H);let t=function(e){function t(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];(0,h.logWarn)("Invalid userSync.userId config: ".concat(e),...n)}return Array.isArray(e)?e.filter(e=>{if(null==e||!e.name)return t('must specify "name"',e);if(e.storage){if(!e.storage.name||!e.storage.type)return t('must specify "storage.name" and "storage.type"',e);if(!ew(e).every(e=>eE.has(e)))return t('invalid "storage.type"',e);["expires","refreshInSeconds"].forEach(n=>{let r=e.storage[n];null!=r&&"number"!=typeof r&&(isNaN(r=Number(r))?(t("storage.".concat(n," must be a number and will be ignored"),e),delete e.storage[n]):e.storage[n]=r)})}return!0}):(null!=e&&t("must be an array",e),[])}(G);if(!t.length)return;let n=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:V,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:H,{autoRefresh:i,retainConfig:o}=e;return r.reduce((e,r)=>{let{name:a,aliasName:s}=r,l=e=>[a,s].some(t=>(null==t?void 0:t.toLowerCase())===e.toLowerCase()),u=t.find(e=>l(e.name));if(!u){if(!o)return e;let t=n.find(e=>l(e.config.name));return t?[...e,t]:e}let c={submodule:r,config:j(j({},u),{},{name:r.name}),callback:void 0,idObj:void 0,storageMgr:(0,v.le)({moduleType:T.fW,moduleName:u.name,advertiseKeys:!1})};if(i){let e=n.find(e=>l(e.config.name));c.refreshIds=!e||!(0,h.deepEqual)(c.config,e.config)}return[...e,c]},[])}(e,t);V.splice(0,V.length),V.push(...n),V.length&&(u.gH.getHooks({hook:eo}).length||(u.gH.before(eo,100),c.Ay.callDataDeletionRequest.before(eI),b.Q.after(e=>e(ei()))),(0,h.logInfo)("".concat(R," - usersync config updated for ").concat(V.length," submodules: "),V.map(e=>e.submodule.name)))}function eI(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];(0,h.logInfo)("UserID: received data deletion request; deleting all stored IDs..."),V.forEach(e=>{if("function"==typeof e.submodule.onDataDeletionRequest)try{e.submodule.onDataDeletionRequest(e.config,e.idObj,...n)}catch(t){(0,h.logError)("Error calling onDataDeletionRequest for ID submodule ".concat(e.submodule.name),t)}eS(e),e.enabledStorageTypes.forEach(t=>{switch(t){case P:!function(e){let t=K(e,B),n=new Date(Date.now()-864e5).toUTCString();X.forEach(e=>{try{t(e,"",n)}catch(e){(0,h.logError)(e)}})}(e);break;case N:Z.forEach(t=>{try{B.removeDataFromLocalStorage(e.config.storage.name+t)}catch(e){(0,h.logError)(e)}})}})}),e.apply(this,n)}function eA(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return Promise.resolve(e.apply(this,n))}}let e_=(e,t)=>n=>{if(n[C.Dk]!==T.fW||!n[C.OI])return;let r=e.find(e=>{var t,r;return t=e.name,(null===(r=n[C.iK])||void 0===r?void 0:r.toLowerCase())===(null==t?void 0:t.toLowerCase())});if(r&&r.storage&&n[C.Zw]!==r.storage.type){let e="".concat(r.name," attempts to store data in ").concat(n[C.Zw]," while configuration allows ").concat(r.storage.type,".");if(t)return{allow:!1,reason:e};(0,h.logWarn)(e)}};(function(e){let t,{mkDelay:n=w.cb}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};L=void 0,V=[],G=[],M=function(){let e={submodules:[],global:{},bidder:{},combined:{},refresh(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=new Set(t.map(e=>e.submodule));e.submodules=e.submodules.filter(e=>!n.has(e.submodule)).concat(t),function(){let t=en(e.submodules,e=>{var t;return Object.keys(null!==(t=e.idObj)&&void 0!==t?t:{})},e=>e.submodule),n={},r={};function i(e,t,n){return function(){for(let{allowed:o,bidders:a,module:s}of n){var r,i;if(U.isAllowed(I.yl,(0,A.s)(T.fW,null==s||null===(r=s.config)||void 0===r?void 0:r.name,{init:!1}))&&null!=(null===(i=s.idObj)||void 0===i?void 0:i[e])){if(o)return s;if(t){let t=e=>e.map(e=>e.module.submodule.name).join(", ");return(0,h.logWarn)("userID modules ".concat(t(n)," provide the same ID ('").concat(e,"'); ").concat(s.submodule.name," is the preferred source, but it's configured only for some bidders, unlike ").concat(t(n.filter(e=>null==e.bidders)),'. Other bidders will not see the "').concat(e,'" ID.')),null}if(null==a)break}}return null}}
24Object.entries(t).forEach(e=>{let[t,o]=e,a=!0,s=new Set;o=o.map(e=>{let t=null;return Array.isArray(e.config.bidders)&&e.config.bidders.length>0?(t=e.config.bidders).forEach(e=>s.add(e)):a=!1,{module:e,bidders:t}}),a||(n[t]=i(t,!0,o.map(e=>{let{bidders:t,module:n}=e;return{allowed:null==t,bidders:t,module:n}}))),s.forEach(e=>{var n;r[e]=null!==(n=r[e])&&void 0!==n?n:{},r[e][t]=i(t,!1,o.map(t=>{let{bidders:n,module:r}=t;return{allowed:null==n?void 0:n.includes(e),bidders:n,module:r}}))})});let o=Object.values(r).concat([n]).reduce((e,t)=>Object.assign(e,t),{});Object.assign(e,{global:n,bidder:r,combined:o})}()}};return e}(),r=function(){let{mkDelay:e=w.cb}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,w.v6)(),n=(0,w.v6)(),r,i,o=!1;function a(e){return i=J().fork(),null!=r&&r.reject(er),r=(0,w.v6)(),w.U9.race([e,r.promise]).finally(i.startTiming("userId.total"))}let s=M,u=V;function c(e){return function(){if(s===M&&u===V)return e(...arguments)}}function h(){return S.SL.promise.finally(i.startTiming("userId.init.consent"))}let g=a(w.U9.all([f.Gc,t.promise]).then(h).then(c(()=>{eb(s,u)})).then(()=>n.promise.finally(i.startTiming("userId.callbacks.pending"))).then(c(()=>{let e=s.submodules.filter(e=>(0,p.fp)(e.callback));if(e.length)return new w.U9(t=>et(e,t,s))})));return function(){let{refresh:r=!1,submoduleNames:i=null,ready:f=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return f&&!o&&(o=!0,t.resolve(),W>0?n.resolve():l.on(d.qY.AUCTION_END,function t(){l.off(d.qY.AUCTION_END,t),e(F).then(n.resolve)})),r&&o&&(g=a(g.catch(()=>null).then(h).then(c(()=>{let e=eb(s,u.filter(e=>null==i||i.includes(e.submodule.name)),!0).filter(e=>null!=e.callback);if(e.length)return new w.U9(t=>et(e,t,s))})))),g}}({mkDelay:n}),null!=z&&z(),H=[],z=e.getConfig("userSync",e=>{let n=e.userSync;if(n&&(L=n.ppid,n.userIds)){var i;let{autoRefresh:e=!1,retainConfig:o=!0,enforceStorageType:a}=n;G=n.userIds,F=(0,p.Et)(n.syncDelay)?n.syncDelay:_.qh.syncDelay,W=(0,p.Et)(n.auctionDelay)?n.auctionDelay:_.qh.auctionDelay,ek({retainConfig:o,autoRefresh:e}),null===(i=t)||void 0===i||i(),t=(0,k.qB)(I.Ue,"enforceStorageTypeRule",e_(V.map(e=>{let{config:t}=e;return t}),a)),function(e,t){if(e){let n={},r=new Map(t.map(e=>e.aliasName?[e.aliasName,e.name]:[]));Object.keys(e).forEach(t=>{let i=(0,p.cy)(e[t])?[...e[t]].reverse():[];n[t]=i.map(e=>r.has(e)?r.get(e):e)}),Q=n}else Q={};M.refresh(),eT(t)}(n.idPriority,H),r({ready:!0});let s=V.filter(e=>e.refreshIds);s.length&&eg({submoduleNames:s.map(e=>e.submodule.name)})}}),c.Ay.makeBidRequests.after(ea),D.NE.before(es),(0,u.xu)("getUserIds",el),(0,u.xu)("getUserIdsAsEids",eu),(0,u.xu)("getEncryptedEidsForSource",eA(ed)),(0,u.xu)("registerSignalSources",ep),(0,u.xu)("refreshUserIds",eA(eg)),(0,u.xu)("getUserIdsAsync",eA(em)),(0,u.xu)("getUserIdsAsEidBySource",ec)})(s.$W),(0,f.xG)("userId",function(e){e.findRootDomain=O.S,(H||[]).find(t=>t.name===e.name)||(H.push(e),S.o2.register(T.fW,e.name,e.gvlid),ek(),r({refresh:!0,submoduleNames:[e.name]}))},{postInstallAllowed:!0}),(0,a.E)("userId")}},e=>{e.O(0,[60802,37769,40315,51085],()=>e(e.s=57355)),e.O()}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[54314],{65084(e,t,n){n(28157).y.register("userId",{disclosures:{"https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/userId-optout.json":{timestamp:"2026-02-12T16:01:21.043Z",disclosures:[{identifier:"_pbjs_id_optout",type:"cookie",maxAgeSeconds:31536e3,cookieRefresh:!1,purposes:[]},{identifier:"_pbjs_id_optout",type:"web",purposes:[]}]}},components:[{componentType:"prebid",componentName:"userId",disclosureURL:"https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/userId-optout.json"}]})}},e=>{e.O(0,[60802,37769,40315,51085,36784],()=>e(e.s=65084)),e.O()}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[59582],{31608(e,t,n){n(28157).y.register("taboolaBidAdapter",{disclosures:{"https://accessrequest.taboola.com/iab-tcf-v2-disclosure.json":{timestamp:"2026-02-12T16:03:11.428Z",disclosures:[{identifier:"trc_cookie_storage",type:"cookie",maxAgeSeconds:31536e3,cookieRefresh:!0,purposes:[1,2,3,4,5,6,7,8,9,10]},{identifier:"_tb_sess_r",type:"cookie",maxAgeSeconds:1800,cookieRefresh:!0,purposes:[1,5,6,10]},{identifier:"_tb_t_ppg",type:"cookie",maxAgeSeconds:1800,cookieRefresh:!0,purposes:[1,5,6,10]},{identifier:"tb_click_param",type:"cookie",maxAgeSeconds:50,cookieRefresh:!0,purposes:[1,8,10]},{identifier:"taboola global:local-storage-keys",type:"web",maxAgeSeconds:null,purposes:[1]},{identifier:"taboola global:user-id",type:"web",maxAgeSeconds:null,purposes:[1,2,3,4,5,6,7,8,9,10]},{identifier:"taboola global:last-external-referrer",type:"web",maxAgeSeconds:null,purposes:[1,2,3,4,5,6,7,8,9,10]},{identifier:"*:session-data",type:"web",maxAgeSeconds:null,purposes:[1,2,3,4,5,6,7,8,9,10]},{identifier:"taboola global:tblci",type:"web",maxAgeSeconds:null,purposes:[1,3,4,5,6,7,8,9,10]},{identifier:"tbl-exm-history",type:"web",maxAgeSeconds:null,purposes:[1,2,3,4,5,6,7,8,9,10]},{identifier:"tbl-exm-apperance",type:"web",maxAgeSeconds:null,purposes:[1,2,3,4,5,6,7,8,9,10]},{identifier:"trc_cache",type:"web",maxAgeSeconds:null,purposes:[1,2,10]},{identifier:"trc_cache_by_placement",type:"web",maxAgeSeconds:null,purposes:[1,2,10]},{identifier:"tbl-session-referrer",type:"web",maxAgeSeconds:null,purposes:[1,2,3,4,5,6,7,8,9,10]},{identifier:"taboola global:lspb",type:"web",maxAgeSeconds:null,purposes:[1,2,3,4,5,6,7,8,9,10]},{identifier:"tbl_rtus_id",type:"web",maxAgeSeconds:null,purposes:[1,2,3,4,5,6,7,8,9,10]},{identifier:"taboola:shopify:test",type:"web",maxAgeSeconds:null,purposes:[1]},{identifier:"taboola:shopify:enable_debug_logging",type:"web",maxAgeSeconds:null,purposes:[1,10]},{identifier:"taboola:shopify:pixel_allow_checkout_start",type:"web",maxAgeSeconds:null,purposes:[1,3]},{identifier:"taboola:shopify:page_view",type:"web",maxAgeSeconds:null,purposes:[1,2,3,4,5,6,7,8,9,10]},{identifier:"taboola:shopify:add_to_cart",type:"web",maxAgeSeconds:null,purposes:[1,2,3,4,5,6,7,8,9,10]},{identifier:"taboola:shopify:product_view",type:"web",maxAgeSeconds:null,purposes:[1,2,3,4,5,6,7,8,9,10]},{identifier:"taboola:shopify:collection_view",type:"web",maxAgeSeconds:null,purposes:[1,2,3,4,5,6,7,8,9,10]},{identifier:"taboola:shopify:search_submitted",type:"web",maxAgeSeconds:null,purposes:[1,2,3,4,5,6,7,8,9,10]},{identifier:"pixel_allow_checkout_start",type:"web",maxAgeSeconds:null,purposes:[1,2,3,4,5,6,7,8,9,10]},{identifier:"tb_id",type:"web",maxAgeSeconds:null,purposes:[1,2,3,4,5,6,7,8,9,10]},{identifier:"eng_mt.crossSessionsData.SessionsHistory",type:"web",maxAgeSeconds:null,purposes:[1,5,6,10]},{identifier:"eng_mt.numOfTimesMetricsSent",type:"web",maxAgeSeconds:null,purposes:[1,5,6,10]},{identifier:"eng_mt.scrollDepth",type:"web",maxAgeSeconds:null,purposes:[1,5,6,10]},{identifier:"eng_mt.sessionDepth",type:"web",maxAgeSeconds:null,purposes:[1,5,6,10]},{identifier:"eng_mt.sessionStartTime",type:"web",maxAgeSeconds:null,purposes:[1,5,6,10]},{identifier:"eng_mt.timeOnSite",type:"web",maxAgeSeconds:null,purposes:[1,5,6,10]},{identifier:"eng_mt.ver",type:"web",maxAgeSeconds:null,purposes:[1,5,6,10]},{identifier:"cnx_roi",type:"cookie",maxAgeSeconds:2592e3,cookieRefresh:!0,purposes:[1,7,8,10]},{identifier:"__tbwt",type:"web",maxAgeSeconds:null,purposes:[1,2,4,5,6]}]}},components:[{componentType:"bidder",componentName:"taboola",disclosureURL:"https://accessrequest.taboola.com/iab-tcf-v2-disclosure.json"}]})}},e=>{e.O(0,[60802,37769,40315,51085,36784],()=>e(e.s=31608)),e.O()}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[92389],{48191(e,t,n
24){n(28157).y.register("sharedIdSystem",{disclosures:{"https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/sharedId-optout.json":{timestamp:"2026-02-12T16:03:07.268Z",disclosures:[{identifier:"_pubcid_optout",type:"cookie",maxAgeSeconds:31536e3,cookieRefresh:!1,purposes:[]},{identifier:"_pubcid_optout",type:"web",purposes:[]},{identifier:"_pubcid_optout_exp",type:"web",purposes:[]}]}},components:[{componentType:"userId",componentName:"sharedId",disclosureURL:"https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/sharedId-optout.json"},{componentType:"userId",componentName:"pubCommonId",disclosureURL:"https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/sharedId-optout.json",aliasOf:"sharedId"}]})}},e=>{e.O(0,[60802,37769,40315,51085,36784],()=>e(e.s=48191)),e.O()}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[68574],{76528(e,t,n){n(28157).y.register("prebid-core",{disclosures:{"https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/probes.json":{timestamp:"2026-02-12T16:01:21.041Z",disclosures:[{identifier:"_rdc*",type:"cookie",maxAgeSeconds:10,cookieRefresh:!1,purposes:[1]},{identifier:"prebid.cookieTest",type:"web",purposes:[1]}]},"https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/debugging.json":{timestamp:"2026-02-12T16:01:21.041Z",disclosures:[{identifier:"__*_debugging__",type:"web",purposes:[1]}]}},components:[{componentType:"prebid",componentName:"fpdEnrichment",disclosureURL:"https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/probes.json"},{componentType:"prebid",componentName:"storage",disclosureURL:"https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/probes.json"},{componentType:"prebid",componentName:"debugging",disclosureURL:"https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/debugging.json"}]})}},e=>{e.O(0,[60802,37769,40315,51085,36784],()=>e(e.s=76528)),e.O()}]),pbjs.processQueue()},1784:function(){},7663:function(e){!function(){var t={229:function(e){var t,n,r,i=e.exports={};function o(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var l=[],u=!1,c=-1;function d(){u&&r&&(u=!1,r.length?l=r.concat(l):c=-1,l.length&&f())}function f(){if(!u){var e=s(d);u=!0;for(var t=l.length;t;){for(r=l,l=[];++c<t;)r&&r[c].run();c=-1,t=l.length}r=null,u=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function h(){}i.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new p(e,t)),1!==l.length||u||s(f)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=h,i.addListener=h,i.once=h,i.off=h,i.removeListener=h,i.removeAllListeners=h,i.emit=h,i.prependListener=h,i.prependOnceListener=h,i.listeners=function(e){return[]},i.binding=function(e){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw Error("process.chdir is not supported")},i.umask=function(){return 0}}},n={};function r(e){var i=n[e];if(void 0!==i)return i.exports;var o=n[e]={exports:{}},a=!0;try{t[e](o,o.exports,r),a=!1}finally{a&&delete n[e]}return o.exports}r.ab="//";var i=r(229);e.exports=i}()},5152:function(e,t,n){e.exports=n(8864)},9008:function(e,t,n){e.exports=n(7828)},5675:function(e,t,n){e.exports=n(5666)},1664:function(e,t,n){e.exports=n(9577)},1163:function(e,t,n){e.exports=n(9090)},4298:function(e,t,n){e.exports=n(2892)},2459:function(e,t,n){var r=Object.create,i=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,s=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,u=(e,t)=>
24i(e,"name",{value:t,configurable:!0}),c=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of a(t))l.call(e,s)||s===n||i(e,s,{get:()=>t[s],enumerable:!(r=o(t,s))||r.enumerable});return e},d=(e,t,n)=>(n=null!=e?r(s(e)):{},c(!t&&e&&e.__esModule?n:i(n,"default",{value:e,enumerable:!0}),e)),f={};((e,t)=>{for(var n in t)i(e,n,{get:t[n],enumerable:!0})})(f,{default:()=>b,useTopLoader:()=>v}),e.exports=c(i({},"__esModule",{value:!0}),f);var p=d(n(5697)),h=d(n(7294)),g=d(n(4865)),m=d(n(4865)),v=u(()=>({start:()=>m.start(),done:e=>m.done(e),remove:()=>m.remove(),setProgress:e=>m.set(e),inc:e=>m.inc(e),trickle:()=>m.trickle(),isStarted:()=>m.isStarted(),isRendered:()=>m.isRendered(),getPositioningCSS:()=>m.getPositioningCSS()}),"useTopLoader"),y=u(({color:e,height:t,showSpinner:n,crawl:r,crawlSpeed:i,initialPosition:o,easing:a,speed:s,shadow:l,template:c,zIndex:d=1600,showAtBottom:f=!1,showForHashAnchor:p=!0,nonce:m})=>{let v=null!=e?e:"#29d",y=l||void 0===l?l?`box-shadow:${l}`:`box-shadow:0 0 10px ${v},0 0 5px ${v}`:"",b=h.createElement("style",{nonce:m},`#nprogress{pointer-events:none}#nprogress .bar{background:${v};position:fixed;z-index:${d};${f?"bottom: 0;":"top: 0;"}left:0;width:100%;height:${null!=t?t:3}px}#nprogress .peg{display:block;position:absolute;right:0;width:100px;height:100%;${y};opacity:1;-webkit-transform:rotate(3deg) translate(0px,-4px);-ms-transform:rotate(3deg) translate(0px,-4px);transform:rotate(3deg) translate(0px,-4px)}#nprogress .spinner{display:block;position:fixed;z-index:${d};${f?"bottom: 15px;":"top: 15px;"}right:15px}#nprogress .spinner-icon{width:18px;height:18px;box-sizing:border-box;border:2px solid transparent;border-top-color:${v};border-left-color:${v};border-radius:50%;-webkit-animation:nprogress-spinner 400ms linear infinite;animation:nprogress-spinner 400ms linear infinite}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .bar,.nprogress-custom-parent #nprogress .spinner{position:absolute}@-webkit-keyframes nprogress-spinner{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes nprogress-spinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}`),w=u(e=>new URL(e,window.location.href).href,"toAbsoluteURL"),E=u((e,t)=>{let n=new URL(w(e)),r=new URL(w(t));return n.href.split("#")[0]===r.href.split("#")[0]},"isHashAnchor"),O=u((e,t)=>{let n=new URL(w(e)),r=new URL(w(t));return n.hostname.replace(/^www\./,"")===r.hostname.replace(/^www\./,"")},"isSameHostName");return h.useEffect(()=>{let e,t;function l(e,t){let n=new URL(e),r=new URL(t);if(n.hostname===r.hostname&&n.pathname===r.pathname&&n.search===r.search){let e=n.hash,t=r.hash;return e!==t&&n.href.replace(e,"")===r.href.replace(t,"")}return!1}g.configure({showSpinner:null==n||n,trickle:null==r||r,trickleSpeed:null!=i?i:200,minimum:null!=o?o:.08,easing:null!=a?a:"ease",speed:null!=s?s:200,template:null!=c?c:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'}),u(l,"isAnchorOfCurrentUrl");var d,f,h=document.querySelectorAll("html");let m=u(()=>h.forEach(e=>e.classList.remove("nprogress-busy")),"removeNProgressClass");function v(e){for(;e&&"a"!==e.tagName.toLowerCase();)e=e.parentElement;return e}function y(e){try{let t=e.target,n=v(t),r=null==n?void 0:n.href;if(r){let t=window.location.href,i=""!==n.target,o=["tel:","mailto:","sms:","blob:","download:"].some(e=>r.startsWith(e));if(!O(window.location.href,n.href))return;let a=l(t,r)||E(window.location.href,n.href);if(!p&&a)return;r===t||i||o||a||e.ctrlKey||e.metaKey||e.shiftKey||e.altKey||!w(n.href).startsWith("http")?(g.start(),g.done(),m()):g.start()}}catch(e){g.start(),g.done()}}function b(){g.done(),m()}function S(){g.done()}return u(v,"findClosestAnchor"),u(y,"handleClick"),e=(d=window.history).pushState,d.pushState=(...t)=>(g.done(),m(),e.apply(d,t)),t=(f=window.history).replaceState,f.replaceState=(...e)=>(g.done(),m(),t.apply(f,e)),u(b,"handlePageHide"),u(S,"handleBackAndForth"),window.addEventListener("popstate",S),document.addEventListener("click",y),window.addEventListener("pagehide",b),()=>{document.removeEventListener("click",y),window.removeEventListener("pagehide",b),window.removeEventListener("popstate",S)}},[]),b},"NextTopLoader"),b=y;y.propTypes={color:p.string,height:p.number,showSpinner:p.bool,crawl:p.bool,crawlSpeed:p.number,initialPosition:p.number,easing:p.string,
24speed:p.number,template:p.string,shadow:p.oneOfType([p.string,p.bool]),zIndex:p.number,showAtBottom:p.bool};/** 25 * 26 * NextTopLoader 27 * @license MIT 28 * @param {NextTopLoaderProps} props The properties to configure NextTopLoader 29 * @returns {React.JSX.Element} 30 * 31 */},4865:function(e,t,n){var r,i;void 0!==(i="function"==typeof(r=function(){var e,t,n,r={};r.version="0.2.0";var i=r.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function o(e,t,n){return e<t?t:e>n?n:e}r.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(i[t]=n);return this},r.status=null,r.set=function(e){var t=r.isStarted();e=o(e,i.minimum,1),r.status=1===e?null:e;var n=r.render(!t),l=n.querySelector(i.barSelector),u=i.speed,c=i.easing;return n.offsetWidth,a(function(t){var o,a;""===i.positionUsing&&(i.positionUsing=r.getPositioningCSS()),s(l,(o=e,(a="translate3d"===i.positionUsing?{transform:"translate3d("+(-1+o)*100+"%,0,0)"}:"translate"===i.positionUsing?{transform:"translate("+(-1+o)*100+"%,0)"}:{"margin-left":(-1+o)*100+"%"}).transition="all "+u+"ms "+c,a)),1===e?(s(n,{transition:"none",opacity:1}),n.offsetWidth,setTimeout(function(){s(n,{transition:"all "+u+"ms linear",opacity:0}),setTimeout(function(){r.remove(),t()},u)},u)):setTimeout(t,u)}),this},r.isStarted=function(){return"number"==typeof r.status},r.start=function(){r.status||r.set(0);var e=function(){setTimeout(function(){r.status&&(r.trickle(),e())},i.trickleSpeed)};return i.trickle&&e(),this},r.done=function(e){return e||r.status?r.inc(.3+.5*Math.random()).set(1):this},r.inc=function(e){var t=r.status;return t?("number"!=typeof e&&(e=(1-t)*o(Math.random()*t,.1,.95)),t=o(t+e,0,.994),r.set(t)):r.start()},r.trickle=function(){return r.inc(Math.random()*i.trickleRate)},e=0,t=0,r.promise=function(n){return n&&"resolved"!==n.state()&&(0===t&&r.start(),e++,t++,n.always(function(){0==--t?(e=0,r.done()):r.set((e-t)/e)})),this},r.render=function(e){if(r.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=i.template;var n,o=t.querySelector(i.barSelector),a=e?"-100":(-1+(r.status||0))*100,l=document.querySelector(i.parent);return s(o,{transition:"all 0 linear",transform:"translate3d("+a+"%,0,0)"}),!i.showSpinner&&(n=t.querySelector(i.spinnerSelector))&&f(n),l!=document.body&&u(l,"nprogress-custom-parent"),l.appendChild(t),t},r.remove=function(){c(document.documentElement,"nprogress-busy"),c(document.querySelector(i.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&f(e)},r.isRendered=function(){return!!document.getElementById("nprogress")},r.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective" in e?"translate3d":t+"Transform" in e?"translate":"margin"};var a=(n=[],function(e){n.push(e),1==n.length&&function e(){var t=n.shift();t&&t(e)}()}),s=function(){var e=["Webkit","O","Moz","ms"],t={};function n(n,r,i){var o;r=t[o=(o=r).replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(e,t){return t.toUpperCase()})]||(t[o]=function(t){var n=document.body.style;if(t in n)return t;for(var r,i=e.length,o=t.charAt(0).toUpperCase()+t.slice(1);i--;)if((r=e[i]+o)in n)return r;return t}(o)),n.style[r]=i}return function(e,t){var r,i,o=arguments;if(2==o.length)for(r in t)void 0!==(i=t[r])&&t.hasOwnProperty(r)&&n(e,r,i);else n(e,o[1],o[2])}}();function l(e,t){return("string"==typeof e?e:d(e)).indexOf(" "+t+" ")>=0}function u(e,t){var n=d(e),r=n+t;l(n,t)||(e.className=r.substring(1))}function c(e,t){var n,r=d(e);l(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function d(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function f(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return r})?r.call(t,n,t,e):r)&&(e.exports=i)},2703:function(e,t,n){"use strict";var r=n(414);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol
31:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},5697:function(e,t,n){e.exports=n(2703)()},414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},3914:function(e,t,n){"use strict";e.exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=void 0,e.exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,e.exports.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,Object.assign(e.exports,n(7294))},1644:function(e,t,n){"use strict";var r,i;function o(e){return!!e&&e<7}n.d(t,{Ie:function(){return r},Oj:function(){return o}}),(i=r||(r={}))[i.loading=1]="loading",i[i.setVariables=2]="setVariables",i[i.fetchMore=3]="fetchMore",i[i.refetch=4]="refetch",i[i.poll=6]="poll",i[i.ready=7]="ready",i[i.error=8]="error"},990:function(e,t,n){"use strict";n.d(t,{MS:function(){return s},YG:function(){return o},cA:function(){return u},ls:function(){return a}});var r=n(7582);n(8287);var i=n(3154),o=Symbol();function a(e){return!!e.extensions&&Array.isArray(e.extensions[o])}function s(e){return e.hasOwnProperty("graphQLErrors")}var l=function(e){var t=(0,r.ev)((0,r.ev)((0,r.ev)([],e.graphQLErrors,!0),e.clientErrors,!0),e.protocolErrors,!0);return e.networkError&&t.push(e.networkError),t.map(function(e){return(0,i.s)(e)&&e.message||"Error message not found."}).join("\n")},u=function(e){function t(n){var i=n.graphQLErrors,o=n.protocolErrors,a=n.clientErrors,s=n.networkError,u=n.errorMessage,c=n.extraInfo,d=e.call(this,u)||this;return d.name="ApolloError",d.graphQLErrors=i||[],d.protocolErrors=o||[],d.clientErrors=a||[],d.networkError=s||null,d.message=u||l(d),d.extraInfo=c,d.cause=(0,r.ev)((0,r.ev)((0,r.ev)([s],i||[],!0),o||[],!0),a||[],!0).find(function(e){return!!e})||null,d.__proto__=t.prototype,d}return(0,r.ZT)(t,e),t}(Error)},5317:function(e,t,n){"use strict";n.d(t,{K:function(){return l}});var r,i=n(3914),o=n(320),a=n(8287),s=o.aS?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function l(){(0,a.kG)("createContext"in(r||(r=n.t(i,2))),46);var e=i.createContext[s];return e||(Object.defineProperty(i.createContext,s,{value:e=i.createContext({}),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}},8991:function(e,t,n){"use strict";n.d(t,{L:function(){return l},s:function(){return s}});var r=n(9869),i=n(2379),o=new WeakSet;function a(e){!(e.size<=(e.max||-1))&&(o.has(e)||(o.add(e),setTimeout(function(){e.clean(),o.delete(e)},100)))}var s=function(e,t){var n=new r.k(e,t);return n.set=function(e,t){var n=r.k.prototype.set.call(this,e,t);return a(this),n},n},l=function(e,t){var n=new i.e(e,t);return n.set=function(e,t){var n=i.e.prototype.set.call(this,e,t);return a(this),n},n}},8244:function(e,t,n){"use strict";n.d(t,{Kb:function(){return u},q4:function(){return l},su:function(){return s},zP:function(){return a}});var r=n(7582),i=n(6331),o={};function a(e,t){o[e]=t}var s=!1!==globalThis.__DEV__?function(){var e,t,n,a,s;if(!(!1!==globalThis.__DEV__))throw Error("only supported in development mode");return{limits:Object.fromEntries(Object.entries({parser:1e3,canonicalStringify:1e3,print:2e3,"documentTransform.cache":2e3,"queryManager.getDocumentInfo":2e3,"PersistedQueryLink.persistedQueryHashes":2e3,"fragmentRegistry.transform":2e3,"fragmentRegistry.lookup":1e3,"fragmentRegistry.findFragmentSpreads":4e3,"cache.fragmentQueryDocuments":1e3,"removeTypenameFromVariables.getVariableDefinitions":2e3,"inMemoryCache.maybeBroadcastWatch":5e3,"inMemoryCache.executeSelectionSet":5e4,"inMemoryCache.executeSubSelectedArray":1e4}).map(function(e){var t=e[0],n=e[1];return[t,i.Q[t]||n]})),sizes:(0,r.pi)({print:null===(e=o.print)||void 0===e?void 0:e.call(o),parser:null===(t=o.parser)||void 0===t?void 0:t.call(o),canonicalStringify:null===(n=o.canonicalStringify)||void 0===n?void 0:n.call(o),links:function e(t){var n;return t?(0,r.ev)((0,r.ev)([null===(n=null==t?void 0:t.getMemoryInternals)||void 0===n?void 0:n.call(t)],e(null==t?void 0:t.left),!0),e(null==t?void 0:t.right),!0).filter(f):[]}(this.link),queryManager:{getDocumentInfo:this.queryManager.transformCache.size,documentTransforms:p(this.queryManager.documentTransform)}},null===(s=(a=this.cache).getMemoryInternals)||void 0===s?void 0:s.call(a))}}:void 0,l=!1!==globalThis.__DEV__?function(){var e=this.config.fragments;return(0,r.pi)((0,r.pi)({},c.apply(this)),{addTypenameDocumentTransform:p(this.addTypenameTransform),inMemoryCache:{executeSelectionSet:d(this.storeReader.executeSelectionSet),executeSubSelectedArray:d(this.storeReader.executeSubSelectedArray),maybeBroadcastWatch:d(this.maybeBroadcastWatch)},fragmentRegistry:{findFragmentSpreads:d(null==e?void 0:e.findFragmentSpreads),lookup:d(null==e?void 0:e.lookup),transform:d(null==e?void 0:e.transform)}})}:void 0,u=!1!==globalThis.__DEV__?c:void 0;function c(){return{cache:{fragmentQueryDocuments:d(this.getFragmentDoc)}}}function d(e){return e&&"dirtyKey"in e?e.size:void 0}function f(e){return null!=e}function p(e){return(function e(t){return t?(0,r.ev)((0,r.ev)([d(null==t?void 0:t.performWork)],e(null==t?void 0:t.left),!0),e(null==t?void 0:t.right),!0).filter(f):[]})(e).map(function(e){return{cache:e}})}},6331:function(e,t,n){"use strict";n.d(t,{Q:function(){return a}});var r=n(7582),i=n(8287),o=Symbol.for("apollo.cacheSize"),a=(0,r.pi)({},i.CO[o])},1436:function(e,t,n){"use strict";n.d(t,{O:function(){return i},k:function(){return r}});var r=Array.isArray;function i(e){return Array.isArray(e)&&e.length>0}},320:function(e,t,n){"use strict";n.d(t,{DN:function(){return l},JC:function(){return d},Nq:function(){return u},aS:function(){return s},mr:function(){return o},sy:function(){return a}});var r=n(8287),i="ReactNative"==(0,r.wY)(function(){return navigator.product}),o="function"==typeof WeakMap&&!(i&&!global.HermesInternal),a="function"==typeof WeakSet,s="function"==typeof Symbol&&"function"==typeof Symbol.for,l=s&&Symbol.asyncIterator,u="function"==typeof(0,r.wY)(function(){return window.document.createElement}),c=(0,r.wY)(function(){return navigator.userAgent.indexOf("jsdom")>=0})||!1,d=(u||i)&&!c},3712:function(e,t,n){"use strict";function r(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Object.create(null);return e.forEach(function(e){e&&Object.keys(e).forEach(function(t){var r=e[t];void 0!==r&&(n[t]=r)})}),n}n.d(t,{o:function(){return r}})},897:function(e,t,n){"use strict";n.d(t,{X:function(){return i}});var r=new Map;function i(e){var t=r.get(e)||1;return r.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}},8702:function(e,t,n){"use strict";n.d(t,{J:function(){return i}});var r=n(3154);function i(e){if(!1!==globalThis.__DEV__){var t;
31(t=new Set([e])).forEach(function(e){(0,r.s)(e)&&function(e){if(!1!==globalThis.__DEV__&&!Object.isFrozen(e))try{Object.freeze(e)}catch(e){if(e instanceof TypeError)return null;throw e}return e}(e)===e&&Object.getOwnPropertyNames(e).forEach(function(n){(0,r.s)(e[n])&&t.add(e[n])})})}return e}},4012:function(e,t,n){"use strict";n.d(t,{J:function(){return o}});var r=n(7582),i=n(3712);function o(e,t){return(0,i.o)(e,t,t.variables&&{variables:(0,i.o)((0,r.pi)((0,r.pi)({},e&&e.variables),t.variables))})}},3154:function(e,t,n){"use strict";function r(e){return null!==e&&"object"==typeof e}n.d(t,{s:function(){return r}})},3887:function(e,t,n){"use strict";n.d(t,{v:function(){return i}});var r=n(897);function i(e,t){void 0===t&&(t=0);var n=(0,r.X)("stringifyForDisplay");return JSON.stringify(e,function(e,t){return void 0===t?n:t},t).split(JSON.stringify(n)).join("<undefined>")}},8287:function(e,t,n){"use strict";n.d(t,{CO:function(){return g},kG:function(){return y},wY:function(){return h},_K:function(){return b}});var r,i=n(7582),o="Invariant Violation",a=Object.setPrototypeOf,s=void 0===a?function(e,t){return e.__proto__=t,e}:a,l=function(e){function t(n){void 0===n&&(n=o);var r=e.call(this,"number"==typeof n?o+": "+n+" (see https://github.com/apollographql/invariant-packages)":n)||this;return r.framesToPop=1,r.name=o,s(r,t.prototype),r}return(0,i.ZT)(t,e),t}(Error);function u(e,t){if(!e)throw new l(t)}var c=["debug","log","warn","error","silent"],d=c.indexOf("log");function f(e){return function(){if(c.indexOf(e)>=d)return(console[e]||console.log).apply(console,arguments)}}(r=u||(u={})).debug=f("debug"),r.log=f("log"),r.warn=f("warn"),r.error=f("error");var p=n(9379);function h(e){try{return e()}catch(e){}}var g=h(function(){return globalThis})||h(function(){return window})||h(function(){return self})||h(function(){return global})||h(function(){return h.constructor("return this")()}),m=n(3887);function v(e){return function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];if("number"==typeof t){var i=t;(t=O(i))||(t=S(i,n),n=[])}e.apply(void 0,[t].concat(n))}}var y=Object.assign(function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];e||u(e,O(t,n)||S(t,n))},{debug:v(u.debug),log:v(u.log),warn:v(u.warn),error:v(u.error)});function b(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new l(O(e,t)||S(e,t))}var w=Symbol.for("ApolloErrorMessageHandler_"+p.i);function E(e){if("string"==typeof e)return e;try{return(0,m.v)(e,2).slice(0,1e3)}catch(e){return"<non-serializable>"}}function O(e,t){if(void 0===t&&(t=[]),e)return g[w]&&g[w](e,t.map(E))}function S(e,t){if(void 0===t&&(t=[]),e)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:p.i,message:e,args:t.map(E)})))}},9379:function(e,t,n){"use strict";n.d(t,{i:function(){return r}});var r="3.11.5"},2379:function(e,t,n){"use strict";function r(){}n.d(t,{e:function(){return i}});class i{constructor(e=1/0,t=r){this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}has(e){return this.map.has(e)}get(e){let t=this.getNode(e);return t&&t.value}get size(){return this.map.size}getNode(e){let t=this.map.get(e);if(t&&t!==this.newest){let{older:e,newer:n}=t;n&&(n.older=e),e&&(e.newer=n),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=n)}return t}set(e,t){let n=this.getNode(e);return n?n.value=t:(n={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=n),this.newest=n,this.oldest=this.oldest||n,this.map.set(e,n),n.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(e){let t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)}}},9869:function(e,t,n){"use strict";function r(){}n.d(t,{k:function(){return s}});let i="undefined"!=typeof WeakRef?WeakRef:function(e){return{deref:()=>e}}
31,o="undefined"!=typeof WeakMap?WeakMap:Map,a="undefined"!=typeof FinalizationRegistry?FinalizationRegistry:function(){return{register:r,unregister:r}};class s{constructor(e=1/0,t=r){this.max=e,this.dispose=t,this.map=new o,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{let e=this.unfinalizedNodes.values();for(let t=0;t<10024;t++){let t=e.next().value;if(!t)break;this.unfinalizedNodes.delete(t);let n=t.key;delete t.key,t.keyRef=new i(n),this.registry.register(n,t,t)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new a(this.deleteNode.bind(this))}has(e){return this.map.has(e)}get(e){let t=this.getNode(e);return t&&t.value}getNode(e){let t=this.map.get(e);if(t&&t!==this.newest){let{older:e,newer:n}=t;n&&(n.older=e),e&&(e.newer=n),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=n)}return t}set(e,t){let n=this.getNode(e);return n?n.value=t:(n={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=n),this.newest=n,this.oldest=this.oldest||n,this.scheduleFinalization(n),this.map.set(e,n),this.size++,n.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(e){e===this.newest&&(this.newest=e.older),e===this.oldest&&(this.oldest=e.newer),e.newer&&(e.newer.older=e.older),e.older&&(e.older.newer=e.newer),this.size--;let t=e.key||e.keyRef&&e.keyRef.deref();this.dispose(e.value,t),e.keyRef?this.registry.unregister(e):this.unfinalizedNodes.delete(e),t&&this.map.delete(t)}delete(e){let t=this.map.get(e);return!!t&&(this.deleteNode(t),!0)}scheduleFinalization(e){this.unfinalizedNodes.add(e),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}}},20:function(e,t,n){"use strict";n.d(t,{D:function(){return s}});let{toString:r,hasOwnProperty:i}=Object.prototype,o=Function.prototype.toString,a=new Map;function s(e,t){try{return function e(t,n){if(t===n)return!0;let a=r.call(t);if(a!==r.call(n))return!1;switch(a){case"[object Array]":if(t.length!==n.length)break;case"[object Object]":{if(d(t,n))return!0;let r=l(t),o=l(n),a=r.length;if(a!==o.length)return!1;for(let e=0;e<a;++e)if(!i.call(n,r[e]))return!1;for(let i=0;i<a;++i){let o=r[i];if(!e(t[o],n[o]))return!1}return!0}case"[object Error]":return t.name===n.name&&t.message===n.message;case"[object Number]":if(t!=t)return n!=n;case"[object Boolean]":case"[object Date]":return+t==+n;case"[object RegExp]":case"[object String]":return t==`${n}`;case"[object Map]":case"[object Set]":{if(t.size!==n.size)return!1;if(d(t,n))return!0;let r=t.entries(),i="[object Map]"===a;for(;;){let t=r.next();if(t.done)break;let[o,a]=t.value;if(!n.has(o)||i&&!e(a,n.get(o)))return!1}return!0}case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":t=new Uint8Array(t),n=new Uint8Array(n);case"[object DataView]":{let e=t.byteLength;if(e===n.byteLength)for(;e--&&t[e]===n[e];);return -1===e}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{let e=o.call(t);if(e!==o.call(n))return!1;return!function(e,t){let n=e.length-t.length;return n>=0&&e.indexOf(t,n)===n}(e,c)}}return!1}(e,t)}finally{a.clear()}}function l(e){return Object.keys(e).filter(u,e)}function u(e){return void 0!==this[e]}t.Z=s;let c="{ [native code] }";function d(e,t){let n=a.get(e);if(n){if(n.has(t))return!0}else a.set(e,n=new Set);return n.add(t),!1}},7826:function(e,t,n){"use strict";function r(e,t){if(!e)throw Error(t)}n.d(t,{a:function(){return r}})},5821:function(e,t,n){"use strict";function r(e){return function e(t,n){switch(typeof t){case"string":return JSON.stringify(t);case"function":return t.name?`[function ${t.name}]`:"[function]";case"object":return function(t,n){if(null===t)return"null";if(n.includes(t))return"[Circular]";let r=[...n,t];if("function"==typeof t.toJSON){let n=t.toJSON();if(n!==t)return"string"==typeof n?n:e(n,r)}else if(Array.isArray(t))return function(t,n){if(0===t.length)return"[]";if(n.length>2)return"[Array]";let r=Math.min(10,t.length),i=t.length-r,o=[];for(let i=0;i<r;++i)o.push(e(t[i],n));return 1===i?o.push("... 1 more item"):i>1&&o.push(`... ${i} more items`),"["+o.join(", ")+"]"}(t,r);return function(t,n){let r=Object.entries(t);return 0===r.length?"{}":n.length>2?"["+function(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){let t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(t)+"]":"{ "+r.map(([t,r])=>t+": "+e(r,n)).join(", ")+" }"}(t,r)}(t,n);default:return String(t)}}(e,[])}n.d(t,{X:function(){return r}})},2380:function(e,t,n){"use strict";var r,i;n.d(t,{UG:function(){return u},WU:function(){return a},Ye:function(){return o},h8:function(){return s},ku:function(){return r}});class o{constructor(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class a{constructor(e,t,n,r,i,o){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,this.value=o,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}let s={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],Float
31Value:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},l=new Set(Object.keys(s));function u(e){let t=null==e?void 0:e.kind;return"string"==typeof t&&l.has(t)}(i=r||(r={})).QUERY="query",i.MUTATION="mutation",i.SUBSCRIPTION="subscription"},7392:function(e,t,n){"use strict";n.d(t,{LZ:function(){return o},wv:function(){return i}});var r=n(8297);function i(e){var t,n;let i=Number.MAX_SAFE_INTEGER,o=null,a=-1;for(let t=0;t<e.length;++t){let s=e[t],l=function(e){let t=0;for(;t<e.length&&(0,r.FD)(e.charCodeAt(t));)++t;return t}(s);l!==s.length&&(o=null!==(n=o)&&void 0!==n?n:t,a=t,0!==t&&l<i&&(i=l))}return e.map((e,t)=>0===t?e:e.slice(i)).slice(null!==(t=o)&&void 0!==t?t:0,a+1)}function o(e,t){let n=e.replace(/"""/g,'\\"""'),i=n.split(/\r\n|[\n\r]/g),o=1===i.length,a=i.length>1&&i.slice(1).every(e=>0===e.length||(0,r.FD)(e.charCodeAt(0))),s=n.endsWith('\\"""'),l=e.endsWith('"')&&!s,u=e.endsWith("\\"),c=l||u,d=!(null!=t&&t.minimize)&&(!o||e.length>70||c||a||s),f="",p=o&&(0,r.FD)(e.charCodeAt(0));return(d&&!p||a)&&(f+="\n"),f+=n,(d||c)&&(f+="\n"),'"""'+f+'"""'}},8297:function(e,t,n){"use strict";function r(e){return 9===e||32===e}function i(e){return e>=48&&e<=57}function o(e){return e>=97&&e<=122||e>=65&&e<=90}function a(e){return o(e)||95===e}function s(e){return o(e)||i(e)||95===e}n.d(t,{FD:function(){return r},HQ:function(){return s},LQ:function(){return a},X1:function(){return i}})},7359:function(e,t,n){"use strict";var r,i;n.d(t,{h:function(){return r}}),(i=r||(r={})).NAME="Name",i.DOCUMENT="Document",i.OPERATION_DEFINITION="OperationDefinition",i.VARIABLE_DEFINITION="VariableDefinition",i.SELECTION_SET="SelectionSet",i.FIELD="Field",i.ARGUMENT="Argument",i.FRAGMENT_SPREAD="FragmentSpread",i.INLINE_FRAGMENT="InlineFragment",i.FRAGMENT_DEFINITION="FragmentDefinition",i.VARIABLE="Variable",i.INT="IntValue",i.FLOAT="FloatValue",i.STRING="StringValue",i.BOOLEAN="BooleanValue",i.NULL="NullValue",i.ENUM="EnumValue",i.LIST="ListValue",i.OBJECT="ObjectValue",i.OBJECT_FIELD="ObjectField",i.DIRECTIVE="Directive",i.NAMED_TYPE="NamedType",i.LIST_TYPE="ListType",i.NON_NULL_TYPE="NonNullType",i.SCHEMA_DEFINITION="SchemaDefinition",i.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",i.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",i.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",i.FIELD_DEFINITION="FieldDefinition",i.INPUT_VALUE_DEFINITION="InputValueDefinition",i.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",i.UNION_TYPE_DEFINITION="UnionTypeDefinition",i.ENUM_TYPE_DEFINITION="EnumTypeDefinition",i.ENUM_VALUE_DEFINITION="EnumValueDefinition",i.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",i.DIRECTIVE_DEFINITION="DirectiveDefinition",i.SCHEMA_EXTENSION="SchemaExtension",i.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",i.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",i.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",i.UNION_TYPE_EXTENSION="UnionTypeExtension",i.ENUM_TYPE_EXTENSION="EnumTypeExtension",i.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"},7582:function(e,t,n){"use strict";n.d(t,{Jh:function(){return l},ZT:function(){return i},_T:function(){return a},ev:function(){return u},mG:function(){return s},pi:function(){return o}});var r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]}
31)instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function s(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((r=r.apply(e,t||[])).next())})}function l(e,t){var n,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){return function(s){if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}function u(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[9774,179],function(){return t(6840),t(9090)}),_N_E=e.O()}]);
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.