(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[525],{159:(e,t,n)=>{"use strict";var r=n(20151),o=n(8799),i=n(72549),a=n(29955),s=n(76032),c=n(76126),u=n(61989),l=n(98645);function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(this.entries());try{for(r.s();!(n=r.n()).done;){var i=o(n.value,2),a=i[0],s=i[1];e.call(t,s,a,this)}}catch(e){r.e(e)}finally{r.f()}}},{key:"entries",value:r.mark(function e(){var t,n,o,i;return r.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:t=0,n=Object.keys(this.headers);case 1:if(!(t{"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,{isRequestAPICallableInsideAfter:function(){return c},throwForSearchParamsAccessInUseCache:function(){return s},throwWithStaticGenerationBailoutError:function(){return i},throwWithStaticGenerationBailoutErrorWithDynamicError:function(){return a}});var r=n(82456),o=n(22742);function i(e,t){throw Object.defineProperty(new r.StaticGenBailoutError("Route ".concat(e," couldn't be rendered statically because it used ").concat(t,". See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering")),"__NEXT_ERROR_CODE",{value:"E576",enumerable:!1,configurable:!0})}function a(e,t){throw Object.defineProperty(new r.StaticGenBailoutError("Route ".concat(e,' with `dynamic = "error"` couldn\'t be rendered statically because it used ').concat(t,". See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering")),"__NEXT_ERROR_CODE",{value:"E543",enumerable:!1,configurable:!0})}function s(e,t){var n=Object.defineProperty(Error("Route ".concat(e.route,' used "searchParams" inside "use cache". Accessing dynamic request data inside a cache scope is not supported. If you need some search params inside a cached function await "searchParams" outside of the cached function and pass only the required search params as arguments to the cached function. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache')),"__NEXT_ERROR_CODE",{value:"E779",enumerable:!1,configurable:!0});throw Error.captureStackTrace(n,t),null!=e.invalidDynamicUsageError||(e.invalidDynamicUsageError=n),n}function c(){var e=o.afterTaskAsyncStorage.getStore();return(null==e?void 0:e.rootTaskSpawnPhase)==="action"}},2459:(e,t,n)=>{"use strict";var r=n(72549),o=n(29955),i=n(58527),a=n(76032),s=n(76126),c=n(61989),u=n(98645);function l(e,t,n){return t=s(t),a(e,d()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}function d(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(d=function(){return!!e})()}Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{INTERNALS:function(){return _},NextRequest:function(){return v}});var f=n(72339),p=n(8227),h=n(56620),g=n(14701),_=Symbol("internal request"),v=function(e){function t(e){var n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r(this,t);var a="string"!=typeof e&&"url"in e?e.url:String(e);(0,p.validateURL)(a),o.body&&"half"!==o.duplex&&(o.duplex="half"),n=e instanceof Request?l(this,t,[e,o]):l(this,t,[a,o]);var s=new f.NextURL(a,{headers:(0,p.toNodeOutgoingHttpHeaders)(n.headers),nextConfig:o.nextConfig});return n[_]={cookies:new g.RequestCookies(n.headers),nextUrl:s,url:s.toString()},i(n)}return c(t,e),o(t,[{key:Symbol.for("edge-runtime.inspect.custom"),value:function(){return{cookies:this.cookies,nextUrl:this.nextUrl,url:this.url,bodyUsed:this.bodyUsed,cache:this.cache,credentials:this.credentials,destination:this.destination,headers:Object.fromEntries(this.headers),integrity:this.integrity,keepalive:this.keepalive,method:this.method,mode:this.mode,redirect:this.redirect,referrer:this.referrer,referrerPolicy:this.referrerPolicy,signal:this.signal}}},{key:"cookies",get:function(){return this[_].cookies}},{key:"nextUrl",get:function(){return this[_].nextUrl}},{key:"page",get:function(){throw new h.RemovedPageError}},{key:"ua",get:function(){throw new h.RemovedUAError}},{key:"url",get:function(){return this[_].url}}])}(u(Request))},3433:(e,t,n)=>{"use strict";n.d(t,{eE:()=>U,yS:()=>G});var r,o,i,a,s=n(12135),c=n(78299),u=n(66480),l=n(12187),d=n(85882),f=function(){return(f=Object.assign||function(e){for(var t,n=1,r=arguments.length;nc?"portrait":"landscape"))?!e:e)&&(function(){try{return(null==window?void 0:window.self)!==(null==window?void 0:window.top)}catch(e){return!0}}()||(r=!1,"standalone"in window.navigator&&(r=!0),i=(o=window.navigator.userAgent.toLowerCase())&&/safari/.test(o),o&&/iphone|ipod|ipad/.test(o)?!(!r&&i)&&(!r&&!i||void 0):!(!o||!o.includes("wv"))))&&!!(window.navigator.userAgent.match(/Android/i)||window.navigator.userAgent.match(/webOS/i)||window.navigator.userAgent.match(/iPhone/i)||window.navigator.userAgent.match(/iPod/i)||window.navigator.userAgent.match(/BlackBerry/i)||window.navigator.userAgent.match(/Windows Phone/i)||window.navigator.userAgent.match(/Opera Mini/i)||window.navigator.userAgent.match(/SamsungBrowser/i)||window.navigator.userAgent.match(/IEMobile/i))},m="gzp_loaded_games",E=function(){try{if(!window.localStorage)return null;var e=window.localStorage.getItem(m);if(!e)return{};var t=JSON.parse(e);if(t&&"object"==(void 0===t?"undefined":(0,s._)(t))&&!Array.isArray(t)){for(var n={},r=0,o=Object.entries(t);rt?"portrait":"landscape")?!e:e},T=function(){var e=(0,u.useSearchParams)(),t=h().gameDetails,n=h(),r=e.get("debug"),i=t.screenOrientation==o.Portrait;(0,c.useEffect)(function(){r&&(window._gameplayerData=n);var e,t=document.getElementById(y);(null==(e=null==document?void 0:document.featurePolicy)?void 0:e.allowsFeature("microphone"))&&(t.allow="microphone");var o=function(){var e=!!v(i),t=document.getElementById("gameFrameWrapper");e?null==t||t.setAttribute("style","height: ".concat(document.documentElement.clientWidth,"px transform: rotate(90deg)")):null==t||t.setAttribute("style","transform: none;")};return window.addEventListener("resize",o),function(){window.removeEventListener("resize",o)}},[i])},A=function(){return"undefined"!=typeof performance&&"function"==typeof performance.now?performance.now():Date.now()},I=function(){var e,t,n,o,s,u,l=h(),d=l.gameEvent,p=l.gameDetails,g=l.retryGameCallback,_=l.auth,v=(0,c.useRef)(!1),y=(0,c.useRef)(!1),b=(0,c.useRef)(!1),w=(0,c.useRef)(!1),O=(0,c.useRef)(!1),T=(0,c.useRef)(void 0),I=(0,c.useRef)(A()),R=(0,c.useRef)(!1),N=(0,c.useRef)("na"),P=((u={})[i.GameName]=p.name,u[i.GameCode]=p.code,u[i.GameOrientation]=p.screenOrientation,u),C=(e=h().heartBeatParams,t=(0,c.useRef)(null),n=(0,c.useRef)(null),o=(0,c.useCallback)(function(){t.current&&(clearTimeout(t.current),t.current=null),n.current&&(n.current.close(),n.current=null)},[]),s=(0,c.useCallback)(function(){o();var r="".concat(window.location.protocol,"//").concat(window.location.host).concat("/c/heartbeat");if(e){var i=Object.keys(e).map(function(t){return"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(e[t]))}).join("&");r="".concat(r,"?").concat(i)}t.current=window.setTimeout(function(){n.current=new EventSource(r,{withCredentials:!0}),n.current.onmessage=function(){},n.current.onerror=function(){console.error("SSE connection error")}},5e3)},[e,o]),(0,c.useEffect)(function(){return function(){o()}},[o]),{serverSentEvent:s,stop:o}),D=C.serverSentEvent,x=C.stop;(0,c.useEffect)(function(){var e=function(e){var t,n,o,i,s=e.data,c=s.state,u=s.type,l=s.score,h=s.event;switch(u!==r.Loading||b.current||(N.current=S(p.code),b.current=!0,I.current=A(),T.current||(T.current=window.setTimeout(function(){var e;d.delayed(f(f({},P),((e={})[a.IsFirstLoad]=N.current,e)))},1e4)),d.loading(f(f({},P),((t={})[a.IsFirstLoad]=N.current,t)))),h){case r.Login:_.login();break;case r.Logout:_.logout();break;case r.IsLoggedIn:_.isLoggedIn()}switch(c){case r.Over:v.current||(v.current=!0),d.over(P),O.current=!1,g(!0);break;case r.Loaded:if(y.current)return void console.warn("Game has already fired loaded event once.");"na"===N.current&&(N.current=S(p.code)),d.loaded(f(f({},P),((n={})[a.LoadTime]=(i=I.current,Number(Math.max(0,(A()-i)/1e3).toFixed(2))),n[a.IsFirstLoad]=N.current,n))),D(),T.current&&(window.clearTimeout(T.current),T.current=void 0),y.current||(y.current=!0,function(e){if(null!==E())try{var t=E()||{};t[e]=!0,window.localStorage.setItem(m,JSON.stringify(t))}catch(e){}}(p.code));break;case r.LevelUp:d.levelUp(P);break;case r.Start:R.current||(d.start(P),R.current=!0);break;case r.Playing:y.current&&!v.current?(w.current,w.current=!0,O.current=!1):(O.current||d.retry(P),O.current=!0,w.current=!1),g(!1),(null==d?void 0:d.playing)&&d.playing(f(f({},P),((o={})[a.Score]=l,o)))}};return window.addEventListener("message",e),function(){window.removeEventListener("message",e),x()}},[])},R=function(e,t){var n=e==o.Portrait,r=e==o.Responsive,i=function(){return window.innerHeight>window.innerWidth?"landscape":"portrait"},a=(0,c.useState)(i()),s=a[0],u=a[1],l=(0,c.useState)(!1),d=l[0],f=l[1];return(0,c.useEffect)(function(){if(t&&!r){var e=function(){u(i());var e,r=O(n);f(r),(e=document.getElementById("game"))&&(r&&t?(e.style.height="100dvw !important",e.style.width="100dvh !important",n?(e.style.transform="rotate(-90deg) translate(0px, -100vh)",e.style.transformOrigin="top right"):(e.style.transform="rotate(90deg) translate(0, -100%)",e.style.transformOrigin="top left")):(e.style.height="100%",e.style.width="100%",e.style.transform="none"))};return e(),window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}}},[n,r,t]),{orientation:s,rotateDevice:d}},N=function(){var e,t,n,r,o,i,a,s=h(),u=s.gameDetails,l=s.isMobile,d=s.params,f=s.pubId,p=s.enableRotateSafely,g=s.topBarComponent;T(),I();var _=(e=u.url,t=d.lang,n=d.userJourneyGroup,r=null==d?void 0:d.mode,void 0===t&&(t="en"),w(o=new URLSearchParams(new URL(e).search),"sub"),w(o,"env"),i=t,o.append("id",f),o.append("lang",i),o.append("user-journey-group",n),r&&o.append("mode",r),a=e.split("?")[0],"".concat(a,"?").concat(o.toString())),v=R(u.screenOrientation,p).rotateDevice?null!=g?"styles-module_game_top_bar__Z-Hor":"styles-module_game_rotated__3hdMx":"styles-module_game_not_rotated__ye5l9";return l?c.createElement("div",{className:"styles-module_non_desktop__KLSxs"},c.createElement("iframe",{id:y,className:v,src:_,name:y,title:b,loading:"eager",allowFullScreen:!0})):c.createElement("div",{className:"styles-module_desktop__dTeRq",id:"gameFrameWrapper"},c.createElement("iframe",{id:y,style:{height:"100%",width:"100%"},src:_,name:y,title:b,loading:"eager",allowFullScreen:!0,className:"styles-module_game__FZ0D6"}))};_(".style-module_container__JKLw9{background:transparent;display:flex;flex-direction:column;height:100%;left:0;overflow:hidden;position:absolute;top:0;width:100%}.style-module_iframe_container_desktop__1Sj-c{bottom:0;display:flex;left:0;position:absolute;right:0;top:32px;z-index:1}.style-module_iframe_container_mobile__Oz7JJ{bottom:0;display:flex;left:0;overflow:hidden;position:absolute;right:0;z-index:1}.style-module_top_bar_desktop__-9kgK,.style-module_top_bar_mobile__50eTK{align-items:center;display:flex;height:32px;width:100%;z-index:10}.style-module_top_bar_mobile__50eTK{left:0;position:absolute;top:0}@media (orientation:portrait){.style-module_iframe_container_mobile__Oz7JJ{top:32px}}@media (orientation:landscape){.style-module_iframe_container_mobile__Oz7JJ{left:32px;top:0}.style-module_top_bar_mobile__50eTK{display:flex;flex-direction:column;height:32px;left:0;position:absolute;top:0;transform:rotate(-90deg) translateX(-100%);transform-origin:left top;width:100dvh}}",{insertAt:"top"});var P="style-module_brand_logo__5eANe";_(".style-module_screen_wrapper__j5qXO{--gzp-loading-primary-color:#ffcc5b;--gzp-loading-track-color:hsla(0,0%,100%,.24);--gzp-loading-overlay-opacity:0.85;align-items:center;display:flex;height:100%;inset:0;isolation:isolate;justify-content:center;overflow:hidden;position:absolute;width:100%;z-index:13}.style-module_dark_bg__P1MH4{background-color:#0e0f27}.style-module_background_image__vzhJa{-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;transform:scale(1.02);z-index:-3}.style-module_overlay__oIYSL{background:#121212;inset:-10px;opacity:var(--gzp-loading-overlay-opacity);position:absolute;z-index:-2}.style-module_loading_container__NSJYC{height:100%;justify-content:center;padding:72px 24px 88px;position:relative;text-align:center;z-index:2}.style-module_game_preview__mHvXU,.style-module_loading_container__NSJYC{align-items:center;display:flex;flex-direction:column;width:100%}.style-module_loading_game_name__-epVW{color:#f7f8ff;font-size:20px;font-weight:700;line-height:1.2;margin:0 0 16px;max-width:min(86vw,560px);order:-1}.style-module_loading_game_image__BiZoI{border-radius:8px;box-shadow:0 16px 40px rgba(0,0,0,.28);height:135px;-o-object-fit:cover;object-fit:cover;width:min(72vw,280px)}.style-module_partner_image__PHL-H{border-radius:8px;max-height:180px;-o-object-fit:contain;object-fit:contain;width:min(56vw,210px)}.style-module_cobranding__dc0qD{height:16px;margin-top:10px;-o-object-fit:contain;object-fit:contain;width:128px}.style-module_progress_wrapper__CEPrD{align-items:center;display:flex;flex-direction:column;margin-top:36px;max-width:280px;width:100%}.style-module_percent__kzIAx{color:#f7f8ff;font-size:16px;font-weight:700;line-height:1;margin-top:8px}.style-module_loading_bar_outer__cL52q{background-color:var(--gzp-loading-track-color);border-radius:8px;height:9px;overflow:hidden;width:264px}.style-module_inner_loading_bar__sSssI{background:var(--gzp-loading-primary-color);border-radius:inherit;height:100%;transition:width .4s ease-out}.style-module_brand_logo__5eANe{align-items:center;display:flex;justify-content:center}.style-module_brand_logo_bottom__rJbAX{bottom:28px;left:50%;position:absolute;transform:translateX(-50%);z-index:3}.style-module_brand_logo_inline__nuPt1{display:none}.style-module_brand_logo__5eANe img{max-height:28px;-o-object-fit:contain;object-fit:contain;width:108px}.style-module_partner_logo__xcQVb,.style-module_white_logo__SIWLP{color:#e1e1e1;font-size:8px}.style-module_publisher_id__GnnxR{bottom:8px;color:rgba(247,248,255,.58);font-size:8px;left:50%;line-height:1;position:absolute;transform:translateX(-50%);width:-moz-max-content;width:max-content;z-index:3}@media (min-width:550px){.style-module_loading_game_name__-epVW{font-size:28px;margin-bottom:20px}.style-module_loading_game_image__BiZoI{height:193px;width:min(58vw,400px)}.style-module_progress_wrapper__CEPrD{max-width:400px}.style-module_percent__kzIAx{font-size:24px;margin-top:8px}.style-module_loading_bar_outer__cL52q{width:400px}.style-module_brand_logo_bottom__rJbAX{bottom:40px}.style-module_brand_logo__5eANe img{max-height:36px;width:152px}}@media (max-width:1000px) and (max-height:576px) and (orientation:landscape){.style-module_loading_container__NSJYC{flex-direction:row;gap:0;justify-content:space-around;padding:32px 48px}.style-module_game_preview__mHvXU{flex:0 1 400px;width:min(48vw,400px)}.style-module_loading_game_name__-epVW{font-size:20px;line-height:1.2;margin:16px 0 0;max-width:100%;order:0}.style-module_loading_game_image__BiZoI{flex:0 0 auto;height:min(22vw,180px);width:min(46vw,374px)}.style-module_progress_wrapper__CEPrD{align-items:center;flex:0 1 300px;margin-top:0;max-width:300px;width:min(36vw,300px)}.style-module_partner_image__PHL-H{flex:0 0 auto;width:min(30vw,210px)}.style-module_percent__kzIAx{align-self:center;font-size:16px}.style-module_loading_bar_outer__cL52q{width:min(36vw,300px)}.style-module_brand_logo_bottom__rJbAX{display:none}.style-module_brand_logo_inline__nuPt1{display:flex;margin-bottom:16px}.style-module_brand_logo__5eANe img{max-height:28px;width:108px}}",{insertAt:"top"});var C={exports:{}};!function(){var e={}.hasOwnProperty;function t(){for(var r="",o=0;o{"use strict";var r=n(20151),o=n(29955),i=n(72549);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LRUCache",{enumerable:!0,get:function(){return c}});var a=o(function e(t,n,r){i(this,e),this.prev=null,this.next=null,this.key=t,this.data=n,this.size=r}),s=o(function e(){i(this,e),this.prev=null,this.next=null}),c=o(function e(t,n,r){i(this,e),this.cache=new Map,this.totalSize=0,this.maxSize=t,this.calculateSize=n,this.onEvict=r,this.head=new s,this.tail=new s,this.head.next=this.tail,this.tail.prev=this.head},[{key:"addToHead",value:function(e){e.prev=this.head,e.next=this.head.next,this.head.next.prev=e,this.head.next=e}},{key:"removeNode",value:function(e){e.prev.next=e.next,e.next.prev=e.prev}},{key:"moveToHead",value:function(e){this.removeNode(e),this.addToHead(e)}},{key:"removeTail",value:function(){var e=this.tail.prev;return this.removeNode(e),e}},{key:"set",value:function(e,t){var n,r=null!=(n=null==this.calculateSize?void 0:this.calculateSize.call(this,t))?n:1;if(r<=0)throw Object.defineProperty(Error("LRUCache: calculateSize returned ".concat(r,", but size must be > 0. ")+"Items with size 0 would never be evicted, causing unbounded cache growth."),"__NEXT_ERROR_CODE",{value:"E789",enumerable:!1,configurable:!0});if(r>this.maxSize)return console.warn("Single item size exceeds maxSize"),!1;var o=this.cache.get(e);if(o)o.data=t,this.totalSize=this.totalSize-o.size+r,o.size=r,this.moveToHead(o);else{var i=new a(e,t,r);this.cache.set(e,i),this.addToHead(i),this.totalSize+=r}for(;this.totalSize>this.maxSize&&this.cache.size>0;){var s=this.removeTail();this.cache.delete(s.key),this.totalSize-=s.size,null==this.onEvict||this.onEvict.call(this,s.key,s.data)}return!0}},{key:"has",value:function(e){return this.cache.has(e)}},{key:"get",value:function(e){var t=this.cache.get(e);if(t)return this.moveToHead(t),t.data}},{key:Symbol.iterator,value:r.mark(function e(){var t,n;return r.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:t=this.head.next;case 1:if(!(t&&t!==this.tail)){e.next=8;break}return n=t,e.next=5,[n.key,n.data];case 5:t=t.next,e.next=1;break;case 8:case"end":return e.stop()}},e,this)})},{key:"remove",value:function(e){var t=this.cache.get(e);t&&(this.removeNode(t),this.cache.delete(e),this.totalSize-=t.size)}},{key:"size",get:function(){return this.cache.size}},{key:"currentSize",get:function(){return this.totalSize}}])},6109:(e,t,n)=>{"use strict";var r=n(18143);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 i(e){for(var t=1;t{"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,{ACTION_HEADER:function(){return r},FLIGHT_HEADERS:function(){return d},NEXT_ACTION_NOT_FOUND_HEADER:function(){return m},NEXT_DID_POSTPONE_HEADER:function(){return h},NEXT_HMR_REFRESH_HASH_COOKIE:function(){return c},NEXT_HMR_REFRESH_HEADER:function(){return s},NEXT_IS_PRERENDER_HEADER:function(){return v},NEXT_REWRITTEN_PATH_HEADER:function(){return g},NEXT_REWRITTEN_QUERY_HEADER:function(){return _},NEXT_ROUTER_PREFETCH_HEADER:function(){return i},NEXT_ROUTER_SEGMENT_PREFETCH_HEADER:function(){return a},NEXT_ROUTER_STALE_TIME_HEADER:function(){return p},NEXT_ROUTER_STATE_TREE_HEADER:function(){return o},NEXT_RSC_UNION_QUERY:function(){return f},NEXT_URL:function(){return u},RSC_CONTENT_TYPE_HEADER:function(){return l},RSC_HEADER:function(){return n}});var n="rsc",r="next-action",o="next-router-state-tree",i="next-router-prefetch",a="next-router-segment-prefetch",s="next-hmr-refresh",c="__next_hmr_refresh_hash__",u="next-url",l="text/x-component",d=[n,o,i,s,a],f="_rsc",p="x-nextjs-stale-time",h="x-nextjs-postponed",g="x-nextjs-rewritten-path",_="x-nextjs-rewritten-query",v="x-nextjs-prerender",m="x-nextjs-action-not-found";("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)},7907:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"actionAsyncStorageInstance",{enumerable:!0,get:function(){return r}});let r=(0,n(19214).createAsyncLocalStorage)()},8227:(e,t,n)=>{"use strict";var r=n(55620),o=n(8799);function i(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return a(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw i}}}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length)&&a.push(e.substring(t,e.length))}return a}function l(e){var t={},n=[];if(e){var a,s=i(e.entries());try{for(s.s();!(a=s.n()).done;){var c=o(a.value,2),l=c[0],d=c[1];"set-cookie"===l.toLowerCase()?(n.push.apply(n,r(u(d))),t[l]=1===n.length?n[0]:n):t[l]=d}}catch(e){s.e(e)}finally{s.f()}}return t}function d(e){try{return String(new URL(String(e)))}catch(t){throw Object.defineProperty(Error('URL is malformed "'.concat(String(e),'". Please use only absolute URLs - https://nextjs.org/docs/messages/middleware-relative-urls'),{cause:t}),"__NEXT_ERROR_CODE",{value:"E61",enumerable:!1,configurable:!0})}}function f(e){for(var t=[s.NEXT_QUERY_PARAM_PREFIX,s.NEXT_INTERCEPTION_MARKER_PREFIX],n=0;n{"use strict";function r(e){return void 0===e?"":e.replace(/\|/g,"/")}n.d(t,{A:()=>r})},9285:(e,t,n)=>{"use strict";n.d(t,{$:()=>u});var r=n(84427),o=n(78299),i=n(8555),a=n(93342),s=n(17694),c=n(96510),u=function(e){var t=e.id,n=e.adDemand,u=e.onAdSuccess,l=e.onAdFailed,d=e.onAdTrigger,f=void 0===d?function(){}:d,p=e.timeoutDelay,h=void 0===p?5e3:p,g=e.statId,_=(0,c.Ns)(),v=_.adScripts,m=_.consentState,E=_.adUnits,S=(0,s.r)("yandexDisplay",n),y=S.width,b=S.height,w=null==E?void 0:E.adCodes[n],O="yandex_rtb_".concat(w,"_").concat(t),T=(0,o.useRef)(null),A=(0,o.useRef)(!1),I=function(){T.current&&clearTimeout(T.current)};return(0,o.useEffect)(function(){return f(),T.current=setTimeout(function(){A.current||(A.current=!0,l(n))},h),window.yaContextCb=window.yaContextCb||[],window.yaContextCb.push(function(){window.Ya.Context.AdvManager.render(Object.assign(Object.assign({blockId:w,renderTo:O},g?{statId:g}:{}),{onClose:function(){},onError:function(){A.current||(A.current=!0,l(n)),I()},onRender:function(e){u(n),I()}}))}),function(){return I()}},[]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.y,{adScripts:v,scriptIds:a.mF,scriptCanBeLoaded:m.scriptCanBeLoaded}),(0,r.jsx)("div",{className:"yandex",id:O,style:{width:y?"".concat(y,"px"):void 0,height:b?"".concat(b,"px"):void 0}})]})}},9597:(e,t,n)=>{var r="Expected a function",o=0/0,i=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt,l="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,d="object"==typeof self&&self&&self.Object===Object&&self,f=l||d||Function("return this")(),p=Object.prototype.toString,h=Math.max,g=Math.min,_=function(){return f.Date.now()};function v(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function m(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==p.call(t))return o;if(v(e)){var t,n="function"==typeof e.valueOf?e.valueOf():e;e=v(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var r=s.test(e);return r||c.test(e)?u(e.slice(2),r?2:8):a.test(e)?o:+e}e.exports=function(e,t,n){var o=!0,i=!0;if("function"!=typeof e)throw TypeError(r);return v(n)&&(o="leading"in n?!!n.leading:o,i="trailing"in n?!!n.trailing:i),function(e,t,n){var o,i,a,s,c,u,l=0,d=!1,f=!1,p=!0;if("function"!=typeof e)throw TypeError(r);function E(t){var n=o,r=i;return o=i=void 0,l=t,s=e.apply(r,n)}function S(e){var n=e-u,r=e-l;return void 0===u||n>=t||n<0||f&&r>=a}function y(){var e,n,r,o=_();if(S(o))return b(o);c=setTimeout(y,(e=o-u,n=o-l,r=t-e,f?g(r,a-n):r))}function b(e){return(c=void 0,p&&o)?E(e):(o=i=void 0,s)}function w(){var e,n=_(),r=S(n);if(o=arguments,i=this,u=n,r){if(void 0===c)return l=e=u,c=setTimeout(y,t),d?E(e):s;if(f)return c=setTimeout(y,t),E(u)}return void 0===c&&(c=setTimeout(y,t)),s}return t=m(t)||0,v(n)&&(d=!!n.leading,a=(f="maxWait"in n)?h(m(n.maxWait)||0,t):a,p="trailing"in n?!!n.trailing:p),w.cancel=function(){void 0!==c&&clearTimeout(c),l=0,o=u=i=c=void 0},w.flush=function(){return void 0===c?s:b(_())},w}(e,t,{leading:o,maxWait:t,trailing:i})}},10885:(e,t)=>{"use strict";function n(e,t){var n;if((null==t?void 0:t.host)&&!Array.isArray(t.host))n=t.host.toString().split(":",1)[0];else{if(!e.hostname)return;n=e.hostname}return n.toLowerCase()}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getHostname",{enumerable:!0,get:function(){return n}})},14572:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(12135),o=n(29955),i=n(72549),a=n(76032),s=n(76126),c=n(61989),u=n(98645);function l(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(l=function(){return!!e})()}Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{DynamicServerError:function(){return f},isDynamicServerError:function(){return p}});var d="DYNAMIC_SERVER_USAGE",f=function(e){function t(e){var n,r,o;return i(this,t),r=t,o=["Dynamic server usage: "+e],r=s(r),(n=a(this,l()?Reflect.construct(r,o||[],s(this).constructor):r.apply(this,o))).description=e,n.digest=d,n}return c(t,e),o(t)}(u(Error));function p(e){return(void 0===e?"undefined":r._(e))==="object"&&null!==e&&"digest"in e&&"string"==typeof e.digest&&e.digest===d}("function"==typeof t.default||"object"===r._(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)},14701:(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,{RequestCookies:function(){return r.RequestCookies},ResponseCookies:function(){return r.ResponseCookies},stringifyCookie:function(){return r.stringifyCookie}});var r=n(24060)},16342:e=>{function t(n){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},17307:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workUnitAsyncStorageInstance",{enumerable:!0,get:function(){return r}});let r=(0,n(19214).createAsyncLocalStorage)()},17895:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"connection",{enumerable:!0,get:function(){return u}});var r=n(57843),o=n(95432),i=n(37616),a=n(82456),s=n(31559),c=n(1700);function u(){var e=r.workAsyncStorage.getStore(),t=o.workUnitAsyncStorage.getStore();if(e){if(t&&"after"===t.phase&&!(0,c.isRequestAPICallableInsideAfter)())throw Object.defineProperty(Error("Route ".concat(e.route,' used "connection" inside "after(...)". The `connection()` function is used to indicate the subsequent code must only run when there is an actual Request, but "after(...)" executes after the request, so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/canary/app/api-reference/functions/after')),"__NEXT_ERROR_CODE",{value:"E186",enumerable:!1,configurable:!0});if(e.forceStatic)return Promise.resolve(void 0);if(e.dynamicShouldError)throw Object.defineProperty(new a.StaticGenBailoutError("Route ".concat(e.route,' with `dynamic = "error"` couldn\'t be rendered statically because it used `connection`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering')),"__NEXT_ERROR_CODE",{value:"E562",enumerable:!1,configurable:!0});if(t)switch(t.type){case"cache":var n=Object.defineProperty(Error("Route ".concat(e.route,' used "connection" inside "use cache". The `connection()` function is used to indicate the subsequent code must only run when there is an actual request, but caches must be able to be produced before a request, so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache')),"__NEXT_ERROR_CODE",{value:"E752",enumerable:!1,configurable:!0});throw Error.captureStackTrace(n,u),null!=e.invalidDynamicUsageError||(e.invalidDynamicUsageError=n),n;case"private-cache":var l=Object.defineProperty(Error("Route ".concat(e.route,' used "connection" inside "use cache: private". The `connection()` function is used to indicate the subsequent code must only run when there is an actual navigation request, but caches must be able to be produced before a navigation request, so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache')),"__NEXT_ERROR_CODE",{value:"E753",enumerable:!1,configurable:!0});throw Error.captureStackTrace(l,u),null!=e.invalidDynamicUsageError||(e.invalidDynamicUsageError=l),l;case"unstable-cache":throw Object.defineProperty(Error("Route ".concat(e.route,' used "connection" inside a function cached with "unstable_cache(...)". The `connection()` function is used to indicate the subsequent code must only run when there is an actual Request, but caches must be able to be produced before a Request so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/app/api-reference/functions/unstable_cache')),"__NEXT_ERROR_CODE",{value:"E1",enumerable:!1,configurable:!0});case"prerender":case"prerender-client":case"prerender-runtime":return(0,s.makeHangingPromise)(t.renderSignal,e.route,"`connection()`");case"prerender-ppr":return(0,i.postponeWithTracking)(e.route,"connection",t.dynamicTracking);case"prerender-legacy":return(0,i.throwToInterruptStaticGeneration)("connection",e,t);case"request":return(0,i.trackDynamicDataInDynamicRender)(t),Promise.resolve(void 0)}}(0,o.throwForMissingRequestStore)("connection")}},18208:e=>{function t(){try{var n=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(e.exports=t=function(){return!!n},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},18482:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathSuffix",{enumerable:!0,get:function(){return o}});var r=n(36940);function o(e,t){if(!e.startsWith("/")||!t)return e;var n=(0,r.parsePath)(e);return""+n.pathname+t+n.query+n.hash}},20477:(e,t,n)=>{"use strict";var r=n(18143),o=n(72549),i=n(29955),a=n(76032),s=n(76126),c=n(61989),u=n(98645),l=n(8799);function d(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;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(e.request.headers);try{for(i.s();!(r=i.n()).done;){var a=l(r.value,2),s=a[0],c=a[1];t.set("x-middleware-request-"+s,c),o.push(s)}}catch(e){i.e(e)}finally{i.f()}t.set("x-middleware-override-headers",o.join(","))}}var w=function(e){function t(e){var n,r,i,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o(this,t),n=t,r=[e,c],n=s(n);var u=(i=a(this,p()?Reflect.construct(n,r||[],s(this).constructor):n.apply(this,r))).headers,l=new Proxy(new E.ResponseCookies(u),{get:function(e,t,n){switch(t){case"delete":case"set":return function(){for(var n=arguments.length,r=Array(n),o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removePathPrefix",{enumerable:!0,get:function(){return o}});var r=n(61790);function o(e,t){if(!(0,r.pathHasPrefix)(e,t))return e;var n=e.slice(t.length);return n.startsWith("/")?n:"/"+n}},21344:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return r}});var n=new WeakMap;function r(e,t){if(!t)return{pathname:e};var r,o=n.get(t);o||(o=t.map(function(e){return e.toLowerCase()}),n.set(t,o));var i=e.split("/",2);if(!i[1])return{pathname:e};var a=i[1].toLowerCase(),s=o.indexOf(a);return s<0?{pathname:e}:(r=t[s],{pathname:e=e.slice(r.length+1)||"/",detectedLocale:r})}},22742:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"afterTaskAsyncStorage",{enumerable:!0,get:function(){return r.afterTaskAsyncStorageInstance}});var r=n(60947)},23105:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(77573),o="GZP-FE-AUTH::";t.Logger={info:function(){for(var e=[],t=0;t{"use strict";var r=n(55620),o=n(72549),i=n(29955),a=n(18143),s=n(8799),c=n(81809);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 l(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length)&&a.push(e.substring(t,e.length))}return a}(s));try{for(c.s();!(a=c.n()).done;){var u=a.value,l=S(u);l&&this._parsed.set(l.name,l)}}catch(e){c.e(e)}finally{c.f()}},[{key:"get",value:function(){for(var e=arguments.length,t=Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:{name:"",value:""};return"number"==typeof e.expires&&(e.expires=new Date(e.expires)),e.maxAge&&(e.expires=new Date(Date.now()+1e3*e.maxAge)),(null===e.path||void 0===e.path)&&(e.path="/"),e}(l({name:o,value:i},a))),function(e,t){t.delete("set-cookie");var n,r=d(e);try{for(r.s();!(n=r.n()).done;){var o=s(n.value,2)[1],i=m(o);t.append("set-cookie",i)}}catch(e){r.e(e)}finally{r.f()}}(c,this._headers),this}},{key:"delete",value:function(){for(var e=arguments.length,t=Array(e),n=0;n{"use strict";var r=n(72549),o=n(29955);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ReflectAdapter",{enumerable:!0,get:function(){return i}});var i=o(function e(){r(this,e)},null,[{key:"get",value:function(e,t,n){var r=Reflect.get(e,t,n);return"function"==typeof r?r.bind(e):r}},{key:"set",value:function(e,t,n,r){return Reflect.set(e,t,n,r)}},{key:"has",value:function(e,t){return Reflect.has(e,t)}},{key:"deleteProperty",value:function(e,t){return Reflect.deleteProperty(e,t)}}])},25759:(e,t,n)=>{"use strict";var r=n(18143),o=n(159),i=n(57843),a=n(95432),s=n(37616),c=n(82456),u=n(31559),l=n(69845),d=n(1700),f=n(1418);n(25288);new WeakMap;(0,l.createDedupedByCallsiteServerErrorLoggerDev)(function(e,t){return Object.defineProperty(Error("".concat(e?'Route "'.concat(e,'" '):"This route ","used ").concat(t,". ")+"`headers()` should be awaited before using its value. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis"),"__NEXT_ERROR_CODE",{value:"E277",enumerable:!1,configurable:!0})})},25850:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"formatNextPathnameInfo",{enumerable:!0,get:function(){return s}});var r=n(75736),o=n(84467),i=n(18482),a=n(42169);function s(e){var t=(0,a.addLocale)(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);return(e.buildId||!e.trailingSlash)&&(t=(0,r.removeTrailingSlash)(t)),e.buildId&&(t=(0,i.addPathSuffix)((0,o.addPathPrefix)(t,"/_next/data/"+e.buildId),"/"===e.pathname?"index.json":".json")),t=(0,o.addPathPrefix)(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:(0,i.addPathSuffix)(t,"/"):(0,r.removeTrailingSlash)(t)}},25888:(e,t,n)=>{var r=n(63581)("jsonp");e.exports=function(e,t,n){"function"==typeof t&&(n=t,t={}),t||(t={});var a,s,c=t.prefix||"__jp",u=t.name||c+o++,l=t.param||"callback",d=null!=t.timeout?t.timeout:6e4,f=encodeURIComponent,p=document.getElementsByTagName("script")[0]||document.head;function h(){a.parentNode&&a.parentNode.removeChild(a),window[u]=i,s&&clearTimeout(s)}return d&&(s=setTimeout(function(){h(),n&&n(Error("Timeout"))},d)),window[u]=function(e){r("jsonp got",e),h(),n&&n(null,e)},e+=(~e.indexOf("?")?"&":"?")+l+"="+f(u),r('jsonp req "%s"',e=e.replace("?&","?")),(a=document.createElement("script")).src=e,p.parentNode.insertBefore(a,p),function(){window[u]&&h()}};var o=0;function i(){}},26260:(e,t,n)=>{"use strict";var r=n(91516);Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{atLeastOneTask:function(){return a},scheduleImmediate:function(){return i},scheduleOnNextTick:function(){return o},waitAtLeastOneReactRenderTask:function(){return s}});var o=function(e){Promise.resolve().then(function(){r.nextTick(e)})},i=function(e){setImmediate(e)};function a(){return new Promise(function(e){return i(e)})}function s(){return new Promise(function(e){return setImmediate(e)})}},26323:(e,t,n)=>{"use strict";var r=n(77573),o=n(39319),i=n(23105),a=n(88511),s=n(87939),c=function(){function e(e){this.options=void 0,e&&(this.options=e)}return e.prototype.setClientOptions=function(e){i.Logger.debug("Auth Client Options Updated"),this.options=e},e.prototype.getOptions=function(){if(this.options){var e=this.options,t=e.platform,n=e.pubId,r=e.baseURL;if(!t||""===t)throw Error("platform is required.");if(!n||""===n)throw Error("pubId is required.");if(!r||""===r)throw Error("baseURL is required.");return this.options}i.Logger.error("PubID, Platform, baseURL are required.")},e.prototype.sendOtp=function(e,t){return r.__awaiter(this,void 0,void 0,function(){var n,o,c,u;return r.__generator(this,function(r){switch(r.label){case 0:return(n=this.getOptions())?(o=n.platform,c=n.pubId,[4,a.Network.POST("".concat(n.baseURL,"/v1/sms/send-otp"),{phone:e,csrf:t,pubId:c,platform:o})]):[2,{error:s.ERR_CLIENT_OPTIONS_REQUIRED_RESPONSE.error,data:null}];case 1:return(u=r.sent()).success?(i.Logger.debug("Sending OTP with ",u,n,{phone:e,csrf:t}),[2,{error:null,data:u.data}]):[2,s.sendError(u,null==u?void 0:u.data)]}})})},e.prototype.verifyOtp=function(e,t,n,o){return r.__awaiter(this,void 0,void 0,function(){var c,u,l,d,f;return r.__generator(this,function(r){switch(r.label){case 0:return(c=this.getOptions())?(u=c.pubId,[4,a.Network.POST("".concat(c.baseURL,"/v1/sms/verify-otp"),{phone:e,csrf:n,otp:t,pubId:u,session:o})]):[2,s.ERR_CLIENT_OPTIONS_REQUIRED_RESPONSE];case 1:return d=(l=r.sent()).success,f=l.data,d?(i.Logger.debug("Verifying OTP with ",c,{phone:e,otp:t,csrf:n}),[2,{error:null,data:f}]):[2,s.sendError(l)]}})})},e.prototype.googleLogin=function(e,t){return r.__awaiter(this,void 0,void 0,function(){var n,o,i,c,u,l;return r.__generator(this,function(r){switch(r.label){case 0:return(n=this.getOptions())?(o=n.pubId,i=n.platform,[4,a.Network.POST("".concat(n.baseURL,"/v1/google-login/id-token"),{credential:e,platform:i,pubId:o,domain:t})]):[2,s.ERR_CLIENT_OPTIONS_REQUIRED_RESPONSE];case 1:return u=(c=r.sent()).success,l=c.data,u?[2,{error:null,data:l}]:[2,s.sendError(c)]}})})},e.prototype.getGoogleLoginRedirectURL=function(e){void 0===e&&(e={pubId:null,origin:null});var t=this.getOptions();if(!t)return"";var n=(null==e?void 0:e.pubId)||t.pubId,r=(null==e?void 0:e.origin)||window.location.host;return"".concat(t.baseURL,"/v1/google-login/implicit-flow?pubId=").concat(n,"&origin=").concat(r)},e.prototype.trueCallerCallback=function(e){return r.__awaiter(this,void 0,void 0,function(){var t,n,o,c,u,l;return r.__generator(this,function(r){switch(r.label){case 0:return i.Logger.debug("HITTING AUTH API","".concat(this.options)),(t=this.getOptions())?(n=t.pubId,o=t.platform,[4,a.Network.POST("".concat(t.baseURL,"/v1/truecaller/status"),{request_id:e,platform:o,pubId:n})]):[2,s.ERR_CLIENT_OPTIONS_REQUIRED_RESPONSE];case 1:return u=(c=r.sent()).success,l=c.data,u?[2,{error:null,data:l}]:[2,s.sendError(c)]}})})},e.prototype.logout=function(){return r.__awaiter(this,void 0,void 0,function(){var e,t;return r.__generator(this,function(n){switch(n.label){case 0:return(e=this.getOptions())?[4,a.Network.POST("".concat(e.baseURL,"/v1/logout"),{})]:[2,s.ERR_CLIENT_OPTIONS_REQUIRED_RESPONSE];case 1:return(t=n.sent()).success?(i.Logger.debug("User Signed Out"),[2,{error:null}]):[2,s.sendError(t)]}})})},e.prototype.isAuth=function(){return r.__awaiter(this,void 0,void 0,function(){var e,t,n;return r.__generator(this,function(r){switch(r.label){case 0:return(e=this.getOptions())?[4,a.Network.GET("".concat(e.baseURL,"/v1/is-auth"),{})]:[2,s.ERR_CLIENT_OPTIONS_REQUIRED_RESPONSE];case 1:return n=(t=r.sent()).code===o.API_RESPONSE_CODE.SUCCESS,t.success?[2,{error:null,data:{isLoggedIn:n}}]:[2,s.sendError(t,{isLoggedIn:n})]}})})},e.prototype.whatsAppLogin=function(e){return r.__awaiter(this,void 0,void 0,function(){var t,n,o,i,c;return r.__generator(this,function(r){switch(r.label){case 0:return(t=this.getOptions())?(n=t.pubId,[4,a.Network.POST("".concat(t.baseURL,"/v2/whatsapp/login"),{token:e,pubId:n})]):[2,s.ERR_CLIENT_OPTIONS_REQUIRED_RESPONSE];case 1:return i=(o=r.sent()).success,c=o.data,i?[2,{error:null,data:c}]:[2,s.sendError(o)]}})})},e}();t.UU=function(e){return new c(e)}},28861:e=>{e.exports=function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},31228:(e,t,n)=>{"use strict";n.d(t,{y:()=>r});var r=function(e){var t,n,r,o,i,a,s=null==e?void 0:e.split("|");return 1===s.length?(i="",a=null==e?void 0:e.trim()):(i=null!=(n=null==(t=s[0])?void 0:t.trim())?n:"",a=null!=(o=null==(r=s[1])?void 0:r.trim())?o:""),[i,a]}},31262:e=>{e.exports=function(e){try{return -1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}},e.exports.__esModule=!0,e.exports.default=e.exports},31559:(e,t,n)=>{"use strict";var r=n(29955),o=n(72549),i=n(76032),a=n(76126),s=n(61989),c=n(98645);function u(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(u=function(){return!!e})()}function l(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===d}Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{isHangingPromiseRejectionError:function(){return l},makeDevtoolsIOAwarePromise:function(){return _},makeHangingPromise:function(){return h}});var d="HANGING_PROMISE_REJECTION",f=function(e){function t(e,n){var r,s,c;return o(this,t),s=t,c=["During prerendering, ".concat(n," rejects when the prerender is complete. Typically these errors are handled by React but if you move ").concat(n,' to a different context by using `setTimeout`, `after`, or similar functions you may observe this error and you should handle it in that context. This occurred at route "').concat(e,'".')],s=a(s),(r=i(this,u()?Reflect.construct(s,c||[],a(this).constructor):s.apply(this,c))).route=e,r.expression=n,r.digest=d,r}return s(t,e),r(t)}(c(Error)),p=new WeakMap;function h(e,t,n){if(e.aborted)return Promise.reject(new f(t,n));var r=new Promise(function(r,o){var i=o.bind(null,new f(t,n)),a=p.get(e);if(a)a.push(i);else{var s=[i];p.set(e,s),e.addEventListener("abort",function(){for(var e=0;e{"use strict";var r=n(18143);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 i(e){for(var t=1;t{"use strict";n.d(t,{Wo:()=>w.Wo}),n(84427),n(78299),n(8555),n(93342);var r,o,i,a,s,c,u,l,d,f,p,h,g,_,v,m,E,S=n(63793);(0,S.A)(".styles-module_taboola300x250__XomDi{height:250px;width:300px}.styles-module_taboola320x100__1-dpI{height:100px;width:320px}.styles-module_taboola320x50__Cr6im{height:50px;width:320px}"),n(96510),n(81398),n(6576);var y=n(38153);!function(e){e.FREQUENCY_CAPPED="frequencyCapped",e.OTHER="other",e.VIEWED="viewed",e.DISMISSED="dismissed"}(r||(r={}));var b={PREROLL:"preroll",MIDROLL:"midroll",REWARD:"reward"};(0,y.A)((0,y.A)((0,y.A)({},b.PREROLL,{name:"pre-roll-ad",type:"preroll"}),b.MIDROLL,{name:"mid-roll-ad",type:"next"}),b.REWARD,{name:"rewarded-ad",type:"reward"});var w=n(27982);(0,S.A)(".styles-module_disabledCursor__CMlpv{cursor:not-allowed}.styles-module_showCursor__AxDXB{cursor:pointer}.styles-module_container__ezdvr{backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px);background:#00000080;bottom:0;left:0;position:fixed;right:0;top:0;width:100%;z-index:9999}.styles-module_topBar__F7Fpz{align-items:center;display:flex;flex-direction:row;height:43px;width:100%}.styles-module_topBarText__WXLiK{color:#000;font-size:20px;font-weight:700;margin:auto;text-align:center}.styles-module_topBarTextLeftAligned__rETgG{margin-left:10px}.styles-module_adContainer__ryM3W{align-items:center;display:flex;height:100%;justify-content:center;position:relative;width:100%;z-index:10000}.styles-module_adBox__9FSO4{align-items:center;background-color:#fff;border-radius:10px;display:flex;flex-direction:column;justify-content:space-evenly;min-height:300px;min-width:320px;padding:0 10px 10px;position:relative}.styles-module_closeAdContainer__Gd6ci{display:flex;position:absolute;right:10px}.styles-module_crossArrow__da7mD{height:24px;width:24px}.styles-module_rewardLabel__4IG0x{color:#737373;font-size:12px;font-weight:500}.styles-module_crossArrowSvg__4rN8U,.styles-module_rewardLabel__4IG0x .styles-module_crossArrowSvg__4rN8U{fill:currentColor;color:#595959}.styles-module_placeholder__dF5KT{align-items:center;background-color:#d9d9d9;bottom:10px;display:flex;height:250px;justify-content:center;margin:0 auto;position:absolute;width:300px}.styles-module_placeholderText__jD7sQ{color:#737373;font-size:12px;font-weight:500;text-align:center}.styles-module_showAdPrompt__lfCE2{display:block}.styles-module_hideAdPrompt__iEaon{display:none}"),(0,S.A)(".styles-module_container__tvZFU{background:#000000a1;bottom:0;left:0;position:fixed;right:0;top:0;width:100%;z-index:99999}.styles-module_dialog__6Y9mL h1{font-size:20px;font-weight:700}.styles-module_dialog__6Y9mL p{font-size:14px}.styles-module_box__F2Wym{align-items:center;display:flex;height:100%;justify-content:center;padding:0 40px}.styles-module_dialog__6Y9mL{background-color:#fafafa;border-radius:10px;display:block;max-width:500px;min-height:200px;padding:20px;position:relative;width:100%}.styles-module_actionContainer__aIsgh{bottom:20px;display:flex;gap:2;justify-content:flex-end;position:absolute;right:20px}.styles-module_buttonContained__tM9cd{background:#000;border-radius:10px;color:#fff;font-size:14px;padding:10px 25px}.styles-module_buttonOutlined__S2ECH{border:1px solid #000;border-radius:10px;font-size:14px;margin-right:10px;padding:10px 25px}"),n(96362),n(98321),n(37135),n(94740),n(97537),n(46371),n(64405),n(82108),n(25586),function(e){e[e.Initial=0]="Initial",e[e.Queued=1]="Queued",e[e.Defined=2]="Defined",e[e.Loading=3]="Loading",e[e.Loaded=4]="Loaded",e[e.Empty=5]="Empty"}(o||(o={})),n(20151),n(74824),n(94793);var O=n(67297);!function(e){e.Success="SUCCESS",e.Validation="VALIDATION",e.Unauthorized="UNAUTHORIZED",e.ErrOtpSendSMS001="ERR_OTP_SEND_SMS_001",e.SendSMS002="SEND_SMS_002",e.ErrOtpVerifySMSOtp002="ERR_OTP_VERIFY_SMS_OTP_002",e.DbError="DB_ERROR",e.InternalError="INTERNAL_ERROR",e.ErrRW002="ERR_RW_002",e.Logout="LOGOUT",e.ErrRW010="ERR_RW_010",e.CancelledRequest="CANCELLED_REQUEST"}(i||(i={})),i.InternalError,new O.V(""),n(88902),n(25759),n(37822),n(79693),n(37094),n(47345),n(95404),n(93011),n(75019);var T=n(24159),A=n(64289),I=n(64866);function R(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N(e,t){if(t&&("object"==(0,I.A)(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return R(e)}function P(e){return(P=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function C(e,t){return(C=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function D(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&C(e,t)}var x=n(11296);function k(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(k=function(){return!!e})()}function L(e){var t="function"==typeof Map?new Map:void 0;return(L=function(e){if(null===e||!function(e){try{return -1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return function(e,t,n){if(k())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var o=new(e.bind.apply(e,r));return n&&C(o,n.prototype),o}(e,arguments,P(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),C(n,e)})(e)}function V(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(V=function(){return!!e})()}var M=function(e){function t(e){var n,r,o;return(0,T.A)(this,t),r=t,o=[e],r=P(r),(n=N(this,V()?Reflect.construct(r,o||[],P(this).constructor):r.apply(this,o))).name="InvalidFieldError",n}return D(t,e),(0,A.A)(t)}(L(Error)),U=(0,A.A)(function e(){(0,T.A)(this,e),(0,y.A)(this,"segments",void 0),(0,y.A)(this,"encodedString",null),(0,y.A)(this,"dirty",!1),(0,y.A)(this,"decoded",!0),this.segments=this.initializeSegments()},[{key:"hasField",value:function(e){this.decoded||(this.segments=this.decodeSection(this.encodedString),this.dirty=!1,this.decoded=!0);for(var t=0;t=1)for(n.push(1);e>=2*n[0];)n.unshift(2*n[0]);for(var r="",o=0;o=i?(r+="1",e-=i):r+="0"}if(r.length>t)throw new z("Numeric value '"+e+"' is too large for a bit string length of '"+t+"'");for(;r.length0;)e+="0";for(;e.length%6>0;)e+="0";return e}}],[{key:"getInstance",value:function(){return this.instance}}])}(H);(0,y.A)(q,"instance",new q);var Y=(0,A.A)(function e(){(0,T.A)(this,e)},[{key:"encode",value:function(e,t){for(var n="",r=0;r=1&&(t.push(1),e>=2)){t.push(2);for(var n=2;e>=t[n-1]+t[n-2];)t.push(t[n-1]+t[n-2]),n++}for(var r="1",o=t.length-1;o>=0;o--){var i=t[o];e>=i?(r="1"+r,e-=i):r="0"+r}return r}},{key:"decode",value:function(e){if(!/^[0-1]*$/.test(e)||e.length<2||e.indexOf("11")!==e.length-2)throw new G("Undecodable FibonacciInteger '"+e+"'");for(var t=0,n=[],r=0;r0)||void 0===arguments[0]||arguments[0];(0,T.A)(this,e),(0,y.A)(this,"hardFailIfMissing",void 0),(0,y.A)(this,"validator",void 0),(0,y.A)(this,"value",void 0),this.hardFailIfMissing=t},[{key:"withValidator",value:function(e){return this.validator=e,this}},{key:"hasValue",value:function(){return void 0!==this.value&&null!==this.value}},{key:"getValue",value:function(){return this.value}},{key:"setValue",value:function(e){if(this.validator&&!this.validator.test(e))throw new ee("Invalid value '"+e+"'");this.value=e}},{key:"getHardFailIfMissing",value:function(){return this.hardFailIfMissing}}]);function en(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(en=function(){return!!e})()}var er=function(e){function t(e){var n,r,o;return(0,T.A)(this,t),r=t,o=[e],r=P(r),(n=N(this,en()?Reflect.construct(r,o||[],P(this).constructor):r.apply(this,o))).name="SubstringError",n}return D(t,e),(0,A.A)(t)}(G),eo=(0,A.A)(function e(){(0,T.A)(this,e)},null,[{key:"substring",value:function(e,t,n){if(n>e.length||t<0||t>n)throw new er("Invalid substring indexes "+t+":"+n+" for string of length "+e.length);return e.substring(t,n)}}]);function ei(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ei=function(){return!!e})()}function ea(e,t,n,r){var o=K(P(1&r?e.prototype:e),t,n);return 2&r&&"function"==typeof o?function(e){return o.apply(n,e)}:o}var es=function(e){function t(e){var n,r,o,i=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return(0,T.A)(this,t),n=t,r=[i],n=P(n),(o=N(this,ei()?Reflect.construct(n,r||[],P(this).constructor):n.apply(this,r))).setValue(e),o}return D(t,e),(0,A.A)(t,[{key:"encode",value:function(){try{return J.encode(this.value)}catch(e){throw new z(e)}}},{key:"decode",value:function(e){try{this.value=J.decode(e)}catch(e){throw new G(e)}}},{key:"substring",value:function(e,t){try{for(var n=F.decode(eo.substring(e,t,t+12)),r=t+12,o=0;o2)||void 0===arguments[2]||arguments[2];return(0,T.A)(this,t),r=t,o=[a],r=P(r),i=N(this,ec()?Reflect.construct(r,o||[],P(this).constructor):r.apply(this,o)),(0,y.A)(R(i),"bitStringLength",void 0),i.bitStringLength=e,i.setValue(n),i}return D(t,e),(0,A.A)(t,[{key:"encode",value:function(){try{return F.encode(this.value,this.bitStringLength)}catch(e){throw new z(e)}}},{key:"decode",value:function(e){try{this.value=F.decode(e)}catch(e){throw new G(e)}}},{key:"substring",value:function(e,t){try{return eo.substring(e,t,t+this.bitStringLength)}catch(e){throw new er(e)}}}])}(et),el=(0,A.A)(function e(){(0,T.A)(this,e),(0,y.A)(this,"fields",new Map)},[{key:"containsKey",value:function(e){return this.fields.has(e)}},{key:"put",value:function(e,t){this.fields.set(e,t)}},{key:"get",value:function(e){return this.fields.get(e)}},{key:"getAll",value:function(){return new Map(this.fields)}},{key:"reset",value:function(e){var t=this;this.fields.clear(),e.getAll().forEach(function(e,n){t.fields.set(n,e)})}}]);!function(e){e.ID="Id",e.VERSION="Version",e.SECTION_IDS="SectionIds"}(a||(a={}));var ed=[a.ID,a.VERSION,a.SECTION_IDS],ef=(0,A.A)(function e(){(0,T.A)(this,e),(0,y.A)(this,"fields",void 0),(0,y.A)(this,"encodedString",null),(0,y.A)(this,"dirty",!1),(0,y.A)(this,"decoded",!0),this.fields=this.initializeFields()},[{key:"validate",value:function(){}},{key:"hasField",value:function(e){return this.fields.containsKey(e)}},{key:"getFieldValue",value:function(e){if(this.decoded||(this.decodeSegment(this.encodedString,this.fields),this.dirty=!1,this.decoded=!0),this.fields.containsKey(e))return this.fields.get(e).getValue();throw new M("Invalid field: '"+e+"'")}},{key:"setFieldValue",value:function(e,t){if(this.decoded||(this.decodeSegment(this.encodedString,this.fields),this.dirty=!1,this.decoded=!0),!this.fields.containsKey(e))throw new M(e+" not found");this.fields.get(e).setValue(t),this.dirty=!0}},{key:"toObj",value:function(){for(var e={},t=this.getFieldNames(),n=0;n0&&n.decode(e),n}return D(t,e),(0,A.A)(t,[{key:"getId",value:function(){return t.ID}},{key:"getName",value:function(){return t.NAME}},{key:"getVersion",value:function(){return t.VERSION}},{key:"initializeSegments",value:function(){var e=[];return e.push(new eh),e}},{key:"decodeSection",value:function(e){var t=this.initializeSegments();if(null!=e&&0!==e.length)for(var n=e.split("."),r=0;rr&&t[r].decode(n[r]);return t}},{key:"encodeSection",value:function(e){for(var t=[],n=0;n0;)e+="0";return e}}],[{key:"getInstance",value:function(){return this.instance}}])}(H);(0,y.A)(eb,"instance",new eb);var ew=(0,A.A)(function e(){(0,T.A)(this,e)},null,[{key:"encode",value:function(e){e.sort(function(e,t){return e-t});for(var t=[],n=0;n1)||void 0===arguments[1]||arguments[1];return(0,T.A)(this,t),n=t,r=[i],n=P(n),(o=N(this,eO()?Reflect.construct(n,r||[],P(this).constructor):n.apply(this,r))).setValue(e),o}return D(t,e),(0,A.A)(t,[{key:"encode",value:function(){try{return ew.encode(this.value)}catch(e){throw new z(e)}}},{key:"decode",value:function(e){try{this.value=ew.decode(e)}catch(e){throw new G(e)}}},{key:"substring",value:function(e,t){try{for(var n=F.decode(eo.substring(e,t,t+12)),r=t+12,o=0;o3)||void 0===arguments[3]||arguments[3];return(0,T.A)(this,t),o=t,i=[s],o=P(o),a=N(this,eR()?Reflect.construct(o,i||[],P(this).constructor):o.apply(this,i)),(0,y.A)(R(a),"keyBitStringLength",void 0),(0,y.A)(R(a),"typeBitStringLength",void 0),a.keyBitStringLength=e,a.typeBitStringLength=n,a.setValue(r),a}return D(t,e),(0,A.A)(t,[{key:"encode",value:function(){try{var e=this.value,t="";t+=F.encode(e.length,12);for(var n=0;n1)||void 0===arguments[1]||arguments[1];return(0,T.A)(this,t),n=t,r=[i],n=P(n),(o=N(this,eP()?Reflect.construct(n,r||[],P(this).constructor):n.apply(this,r))).setValue(e),o}return D(t,e),(0,A.A)(t,[{key:"encode",value:function(){try{return Z.encode(this.value)}catch(e){throw new z(e)}}},{key:"decode",value:function(e){try{this.value=Z.decode(e)}catch(e){throw new G(e)}}},{key:"substring",value:function(e,t){try{return eo.substring(e,t,t+1)}catch(e){throw new er(e)}}}])}(et),eD=(0,A.A)(function e(){(0,T.A)(this,e)},null,[{key:"encode",value:function(e){return e?F.encode(Math.round(e.getTime()/100),36):F.encode(0,36)}},{key:"decode",value:function(e){if(!/^[0-1]*$/.test(e)||36!==e.length)throw new G("Undecodable Datetime '"+e+"'");return new Date(100*F.decode(e))}}]);function ex(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ex=function(){return!!e})()}var ek=function(e){function t(e){var n,r,o,i=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return(0,T.A)(this,t),n=t,r=[i],n=P(n),(o=N(this,ex()?Reflect.construct(n,r||[],P(this).constructor):n.apply(this,r))).setValue(e),o}return D(t,e),(0,A.A)(t,[{key:"encode",value:function(){try{return eD.encode(this.value)}catch(e){throw new z(e)}}},{key:"decode",value:function(e){try{this.value=eD.decode(e)}catch(e){throw new G(e)}}},{key:"substring",value:function(e,t){try{return eo.substring(e,t,t+36)}catch(e){throw new er(e)}}}])}(et),eL=(0,A.A)(function e(){(0,T.A)(this,e)},null,[{key:"encode",value:function(e,t){if(e.length>t)throw new z("Too many values '"+e.length+"'");for(var n="",r=0;r1)||void 0===arguments[1]||arguments[1];return(0,T.A)(this,t),n=t,r=[i],n=P(n),o=N(this,eV()?Reflect.construct(n,r||[],P(this).constructor):n.apply(this,r)),(0,y.A)(R(o),"numElements",void 0),o.numElements=e.length,o.setValue(e),o}return D(t,e),(0,A.A)(t,[{key:"encode",value:function(){try{return eL.encode(this.value,this.numElements)}catch(e){throw new z(e)}}},{key:"decode",value:function(e){try{this.value=eL.decode(e)}catch(e){throw new G(e)}}},{key:"substring",value:function(e,t){try{return eo.substring(e,t,t+this.numElements)}catch(e){throw new er(e)}}},{key:"getValue",value:function(){return(0,X.A)(eM(t,"getValue",this,3)([]))}},{key:"setValue",value:function(e){for(var n=(0,X.A)(e),r=n.length;rthis.numElements&&(n=n.slice(0,this.numElements)),eM(t,"setValue",this,3)([n])}}])}(et),ej=(0,A.A)(function e(){(0,T.A)(this,e)},null,[{key:"encode",value:function(e,t){for(;e.length=65))throw new z("Unencodable FixedString '"+e+"'");n+=F.encode(e.charCodeAt(r)-65,6)}}return n}},{key:"decode",value:function(e){if(!/^[0-1]*$/.test(e)||e.length%6!=0)throw new G("Undecodable FixedString '"+e+"'");for(var t="",n=0;n2)||void 0===arguments[2]||arguments[2];return(0,T.A)(this,t),r=t,o=[a],r=P(r),i=N(this,eG()?Reflect.construct(r,o||[],P(this).constructor):r.apply(this,o)),(0,y.A)(R(i),"stringLength",void 0),i.stringLength=e,i.setValue(n),i}return D(t,e),(0,A.A)(t,[{key:"encode",value:function(){try{return ej.encode(this.value,this.stringLength)}catch(e){throw new z(e)}}},{key:"decode",value:function(e){try{this.value=ej.decode(e)}catch(e){throw new G(e)}}},{key:"substring",value:function(e,t){try{return eo.substring(e,t,t+6*this.stringLength)}catch(e){throw new er(e)}}}])}(et);function ez(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ez=function(){return!!e})()}function eF(e,t,n,r){var o=K(P(1&r?e.prototype:e),t,n);return 2&r&&"function"==typeof o?function(e){return o.apply(n,e)}:o}var eH=function(e){function t(e){var n,r,o,i=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return(0,T.A)(this,t),n=t,r=[i],n=P(n),(o=N(this,ez()?Reflect.construct(n,r||[],P(this).constructor):n.apply(this,r))).setValue(e),o}return D(t,e),(0,A.A)(t,[{key:"encode",value:function(){try{var e=this.value.length>0?this.value[this.value.length-1]:0,t=ew.encode(this.value);if(t.length<=e)return F.encode(e,16)+"1"+t;for(var n=[],r=0,o=0;o2)||void 0===arguments[2]||arguments[2];return(0,T.A)(this,t),r=t,o=[a],r=P(r),i=N(this,eY()?Reflect.construct(r,o||[],P(this).constructor):r.apply(this,o)),(0,y.A)(R(i),"getLength",void 0),i.getLength=e,i.setValue(n),i}return D(t,e),(0,A.A)(t,[{key:"encode",value:function(){try{return eL.encode(this.value,this.getLength())}catch(e){throw new z(e)}}},{key:"decode",value:function(e){try{this.value=eL.decode(e)}catch(e){throw new G(e)}}},{key:"substring",value:function(e,t){try{return eo.substring(e,t,t+this.getLength())}catch(e){throw new er(e)}}},{key:"getValue",value:function(){return(0,X.A)(eX(t,"getValue",this,3)([]))}},{key:"setValue",value:function(e){for(var n=this.getLength(),r=(0,X.A)(e),o=r.length;on&&(r=r.slice(0,n)),eX(t,"setValue",this,3)([(0,X.A)(r)])}}])}(et);function eQ(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eQ=function(){return!!e})()}var eZ=function(e){function t(e){var n,r,o;return(0,T.A)(this,t),r=P(r=t),n=N(this,eQ()?Reflect.construct(r,[],P(this).constructor):r.apply(this,o)),(0,y.A)(R(n),"base64UrlEncoder",eb.getInstance()),(0,y.A)(R(n),"bitStringEncoder",Y.getInstance()),e&&n.decode(e),n}return D(t,e),(0,A.A)(t,[{key:"getFieldNames",value:function(){return em}},{key:"initializeFields",value:function(){var e=new el;e.put(s.PUBLISHER_PURPOSES_SEGMENT_TYPE.toString(),new eu(3,3)),e.put(s.PUBLISHER_CONSENTS.toString(),new eU([!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1])),e.put(s.PUBLISHER_LEGITIMATE_INTERESTS.toString(),new eU([!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1]));var t=new eu(6,0);return e.put(s.NUM_CUSTOM_PURPOSES.toString(),t),e.put(s.PUBLISHER_CUSTOM_CONSENTS.toString(),new eK(function(){return t.getValue()},[])),e.put(s.PUBLISHER_CUSTOM_LEGITIMATE_INTERESTS.toString(),new eK(function(){return t.getValue()},[])),e}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new G("Unable to decode TcfEuV2PublisherPurposesSegment '"+e+"'")}}}])}(ef);function eJ(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eJ=function(){return!!e})()}var e$=function(e){function t(e){var n,r,o;return(0,T.A)(this,t),r=P(r=t),n=N(this,eJ()?Reflect.construct(r,[],P(this).constructor):r.apply(this,o)),(0,y.A)(R(n),"base64UrlEncoder",eb.getInstance()),(0,y.A)(R(n),"bitStringEncoder",Y.getInstance()),e&&n.decode(e),n}return D(t,e),(0,A.A)(t,[{key:"getFieldNames",value:function(){return eE}},{key:"initializeFields",value:function(){var e=new el;return e.put(s.VENDORS_ALLOWED_SEGMENT_TYPE.toString(),new eu(3,2)),e.put(s.VENDORS_ALLOWED.toString(),new eH([])),e}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new G("Unable to decode TcfEuV2VendorsAllowedSegment '"+e+"'")}}}])}(ef);function e0(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(e0=function(){return!!e})()}var e1=function(e){function t(e){var n,r,o;return(0,T.A)(this,t),r=P(r=t),n=N(this,e0()?Reflect.construct(r,[],P(this).constructor):r.apply(this,o)),(0,y.A)(R(n),"base64UrlEncoder",eb.getInstance()),(0,y.A)(R(n),"bitStringEncoder",Y.getInstance()),e&&n.decode(e),n}return D(t,e),(0,A.A)(t,[{key:"getFieldNames",value:function(){return eS}},{key:"initializeFields",value:function(){var e=new el;return e.put(s.VENDORS_DISCLOSED_SEGMENT_TYPE.toString(),new eu(3,1)),e.put(s.VENDORS_DISCLOSED.toString(),new eH([])),e}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new G("Unable to decode TcfEuV2VendorsDisclosedSegment '"+e+"'")}}}])}(ef);function e2(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(e2=function(){return!!e})()}function e4(e,t,n,r){var o=K(P(1&r?e.prototype:e),t,n);return 2&r&&"function"==typeof o?function(e){return o.apply(n,e)}:o}var e3=function(e){function t(e){var n,r,o;return(0,T.A)(this,t),r=P(r=t),n=N(this,e2()?Reflect.construct(r,[],P(this).constructor):r.apply(this,o)),e&&e.length>0&&n.decode(e),n}return D(t,e),(0,A.A)(t,[{key:"getId",value:function(){return t.ID}},{key:"getName",value:function(){return t.NAME}},{key:"getVersion",value:function(){return t.VERSION}},{key:"initializeSegments",value:function(){var e=[];return e.push(new eq),e.push(new eZ),e.push(new e$),e.push(new e1),e}},{key:"decodeSection",value:function(e){var t=this.initializeSegments();if(null!=e&&0!==e.length)for(var n=e.split("."),r=0;r="A"&&i<="H")t[0].decode(n[r]);else if(i>="I"&&i<="P")t[3].decode(n[r]);else if(i>="Q"&&i<="X")t[2].decode(n[r]);else{if(!(i>="Y"&&i<="Z"||i>="a"&&i<="f"))throw new G("Unable to decode TcfEuV2 segment '"+o+"'");t[1].decode(n[r])}}}return t}},{key:"encodeSection",value:function(e){var t=[];return e.length>=1&&(t.push(e[0].encode()),this.getFieldValue(s.IS_SERVICE_SPECIFIC)?e.length>=2&&t.push(e[1].encode()):e.length>=2&&(t.push(e[2].encode()),e.length>=3&&t.push(e[3].encode()))),t.join(".")}},{key:"setFieldValue",value:function(e,n){if(e4(t,"setFieldValue",this,3)([e,n]),e!==s.CREATED&&e!==s.LAST_UPDATED){var r=new Date;e4(t,"setFieldValue",this,3)([s.CREATED,r]),e4(t,"setFieldValue",this,3)([s.LAST_UPDATED,r])}}}])}(U);(0,y.A)(e3,"ID",2),(0,y.A)(e3,"VERSION",2),(0,y.A)(e3,"NAME","tcfeuv2"),function(e){e.VERSION="Version",e.CREATED="Created",e.LAST_UPDATED="LastUpdated",e.CMP_ID="CmpId",e.CMP_VERSION="CmpVersion",e.CONSENT_SCREEN="ConsentScreen",e.CONSENT_LANGUAGE="ConsentLanguage",e.VENDOR_LIST_VERSION="VendorListVersion",e.TCF_POLICY_VERSION="TcfPolicyVersion",e.USE_NON_STANDARD_STACKS="UseNonStandardStacks",e.SPECIAL_FEATURE_EXPRESS_CONSENT="SpecialFeatureExpressConsent",e.PUB_PURPOSES_SEGMENT_TYPE="PubPurposesSegmentType",e.PURPOSES_EXPRESS_CONSENT="PurposesExpressConsent",e.PURPOSES_IMPLIED_CONSENT="PurposesImpliedConsent",e.VENDOR_EXPRESS_CONSENT="VendorExpressConsent",e.VENDOR_IMPLIED_CONSENT="VendorImpliedConsent",e.PUB_RESTRICTIONS="PubRestrictions",e.PUB_PURPOSES_EXPRESS_CONSENT="PubPurposesExpressConsent",e.PUB_PURPOSES_IMPLIED_CONSENT="PubPurposesImpliedConsent",e.NUM_CUSTOM_PURPOSES="NumCustomPurposes",e.CUSTOM_PURPOSES_EXPRESS_CONSENT="CustomPurposesExpressConsent",e.CUSTOM_PURPOSES_IMPLIED_CONSENT="CustomPurposesImpliedConsent",e.DISCLOSED_VENDORS_SEGMENT_TYPE="DisclosedVendorsSegmentType",e.DISCLOSED_VENDORS="DisclosedVendors"}(c||(c={}));var e6=[c.VERSION,c.CREATED,c.LAST_UPDATED,c.CMP_ID,c.CMP_VERSION,c.CONSENT_SCREEN,c.CONSENT_LANGUAGE,c.VENDOR_LIST_VERSION,c.TCF_POLICY_VERSION,c.USE_NON_STANDARD_STACKS,c.SPECIAL_FEATURE_EXPRESS_CONSENT,c.PURPOSES_EXPRESS_CONSENT,c.PURPOSES_IMPLIED_CONSENT,c.VENDOR_EXPRESS_CONSENT,c.VENDOR_IMPLIED_CONSENT,c.PUB_RESTRICTIONS],e5=[c.PUB_PURPOSES_SEGMENT_TYPE,c.PUB_PURPOSES_EXPRESS_CONSENT,c.PUB_PURPOSES_IMPLIED_CONSENT,c.NUM_CUSTOM_PURPOSES,c.CUSTOM_PURPOSES_EXPRESS_CONSENT,c.CUSTOM_PURPOSES_IMPLIED_CONSENT],e8=[c.DISCLOSED_VENDORS_SEGMENT_TYPE,c.DISCLOSED_VENDORS];function e9(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(e9=function(){return!!e})()}var e7=function(e){function t(e){var n,r,o;return(0,T.A)(this,t),r=P(r=t),n=N(this,e9()?Reflect.construct(r,[],P(this).constructor):r.apply(this,o)),(0,y.A)(R(n),"base64UrlEncoder",q.getInstance()),(0,y.A)(R(n),"bitStringEncoder",Y.getInstance()),e&&n.decode(e),n}return D(t,e),(0,A.A)(t,[{key:"getFieldNames",value:function(){return e6}},{key:"initializeFields",value:function(){var e=new Date,t=new el;return t.put(c.VERSION.toString(),new eu(6,ta.VERSION)),t.put(c.CREATED.toString(),new ek(e)),t.put(c.LAST_UPDATED.toString(),new ek(e)),t.put(c.CMP_ID.toString(),new eu(12,0)),t.put(c.CMP_VERSION.toString(),new eu(12,0)),t.put(c.CONSENT_SCREEN.toString(),new eu(6,0)),t.put(c.CONSENT_LANGUAGE.toString(),new eB(2,"EN")),t.put(c.VENDOR_LIST_VERSION.toString(),new eu(12,0)),t.put(c.TCF_POLICY_VERSION.toString(),new eu(6,2)),t.put(c.USE_NON_STANDARD_STACKS.toString(),new eC(!1)),t.put(c.SPECIAL_FEATURE_EXPRESS_CONSENT.toString(),new eU([!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1])),t.put(c.PURPOSES_EXPRESS_CONSENT.toString(),new eU([!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1])),t.put(c.PURPOSES_IMPLIED_CONSENT.toString(),new eU([!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1])),t.put(c.VENDOR_EXPRESS_CONSENT.toString(),new eH([])),t.put(c.VENDOR_IMPLIED_CONSENT.toString(),new eH([])),t.put(c.PUB_RESTRICTIONS.toString(),new eN(6,2,[],!1)),t}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new G("Unable to decode TcfCaV1CoreSegment '"+e+"'")}}}])}(ef);function te(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(te=function(){return!!e})()}var tt=function(e){function t(e){var n,r,o;return(0,T.A)(this,t),r=P(r=t),n=N(this,te()?Reflect.construct(r,[],P(this).constructor):r.apply(this,o)),(0,y.A)(R(n),"base64UrlEncoder",q.getInstance()),(0,y.A)(R(n),"bitStringEncoder",Y.getInstance()),e&&n.decode(e),n}return D(t,e),(0,A.A)(t,[{key:"getFieldNames",value:function(){return e5}},{key:"initializeFields",value:function(){var e=new el;e.put(c.PUB_PURPOSES_SEGMENT_TYPE.toString(),new eu(3,3)),e.put(c.PUB_PURPOSES_EXPRESS_CONSENT.toString(),new eU([!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1])),e.put(c.PUB_PURPOSES_IMPLIED_CONSENT.toString(),new eU([!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1]));var t=new eu(6,0);return e.put(c.NUM_CUSTOM_PURPOSES.toString(),t),e.put(c.CUSTOM_PURPOSES_EXPRESS_CONSENT.toString(),new eK(function(){return t.getValue()},[])),e.put(c.CUSTOM_PURPOSES_IMPLIED_CONSENT.toString(),new eK(function(){return t.getValue()},[])),e}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new G("Unable to decode TcfCaV1PublisherPurposesSegment '"+e+"'")}}}])}(ef);function tn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tn=function(){return!!e})()}var tr=function(e){function t(e){var n,r,o;return(0,T.A)(this,t),r=P(r=t),n=N(this,tn()?Reflect.construct(r,[],P(this).constructor):r.apply(this,o)),(0,y.A)(R(n),"base64UrlEncoder",eb.getInstance()),(0,y.A)(R(n),"bitStringEncoder",Y.getInstance()),e&&n.decode(e),n}return D(t,e),(0,A.A)(t,[{key:"getFieldNames",value:function(){return e8}},{key:"initializeFields",value:function(){var e=new el;return e.put(c.DISCLOSED_VENDORS_SEGMENT_TYPE.toString(),new eu(3,1)),e.put(c.DISCLOSED_VENDORS.toString(),new eH([])),e}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new G("Unable to decode HeaderV1CoreSegment '"+e+"'")}}}])}(ef);function to(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(to=function(){return!!e})()}function ti(e,t,n,r){var o=K(P(1&r?e.prototype:e),t,n);return 2&r&&"function"==typeof o?function(e){return o.apply(n,e)}:o}var ta=function(e){function t(e){var n,r,o;return(0,T.A)(this,t),r=P(r=t),n=N(this,to()?Reflect.construct(r,[],P(this).constructor):r.apply(this,o)),e&&e.length>0&&n.decode(e),n}return D(t,e),(0,A.A)(t,[{key:"getId",value:function(){return t.ID}},{key:"getName",value:function(){return t.NAME}},{key:"getVersion",value:function(){return t.VERSION}},{key:"initializeSegments",value:function(){var e=[];return e.push(new e7),e.push(new tt),e.push(new tr),e}},{key:"decodeSection",value:function(e){var t=this.initializeSegments();if(null!=e&&0!==e.length)for(var n=e.split("."),r=0;r="A"&&i<="H")t[0].decode(n[r]);else if(i>="I"&&i<="P")t[2].decode(n[r]);else{if(!(i>="Y"&&i<="Z"||i>="a"&&i<="f"))throw new G("Unable to decode TcfCaV1 segment '"+o+"'");t[1].decode(n[r])}}}return t}},{key:"encodeSection",value:function(e){var t=[];return t.push(e[0].encode()),t.push(e[1].encode()),this.getFieldValue(c.DISCLOSED_VENDORS).length>0&&t.push(e[2].encode()),t.join(".")}},{key:"setFieldValue",value:function(e,n){if(ti(t,"setFieldValue",this,3)([e,n]),e!==c.CREATED&&e!==c.LAST_UPDATED){var r=new Date;ti(t,"setFieldValue",this,3)([c.CREATED,r]),ti(t,"setFieldValue",this,3)([c.LAST_UPDATED,r])}}}])}(U);(0,y.A)(ta,"ID",5),(0,y.A)(ta,"VERSION",1),(0,y.A)(ta,"NAME","tcfcav1");var ts=(0,A.A)(function e(t,n){(0,T.A)(this,e),(0,y.A)(this,"validator",void 0),(0,y.A)(this,"value",null),this.validator=n||new((0,A.A)(function e(){(0,T.A)(this,e)},[{key:"test",value:function(e){return!0}}])),this.setValue(t)},[{key:"hasValue",value:function(){return null!=this.value}},{key:"getValue",value:function(){return this.value}},{key:"setValue",value:function(e){e?this.value=e.charAt(0):e=null}}]),tc=(0,A.A)(function e(t,n){(0,T.A)(this,e),(0,y.A)(this,"validator",void 0),(0,y.A)(this,"value",null),this.validator=n||new((0,A.A)(function e(){(0,T.A)(this,e)},[{key:"test",value:function(e){return!0}}])),this.setValue(t)},[{key:"hasValue",value:function(){return null!=this.value}},{key:"getValue",value:function(){return this.value}},{key:"setValue",value:function(e){this.value=e}}]),tu=(0,A.A)(function e(){(0,T.A)(this,e),(0,y.A)(this,"fields",new Map)},[{key:"containsKey",value:function(e){return this.fields.has(e)}},{key:"put",value:function(e,t){this.fields.set(e,t)}},{key:"get",value:function(e){return this.fields.get(e)}},{key:"getAll",value:function(){return new Map(this.fields)}},{key:"reset",value:function(e){var t=this;this.fields.clear(),e.getAll().forEach(function(e,n){t.fields.set(n,e)})}}]);!function(e){e.VERSION="Version",e.NOTICE="Notice",e.OPT_OUT_SALE="OptOutSale",e.LSPA_COVERED="LspaCovered"}(u||(u={}));var tl=[u.VERSION,u.NOTICE,u.OPT_OUT_SALE,u.LSPA_COVERED];function td(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(td=function(){return!!e})()}var tf=function(e){function t(e){var n,r,o;return(0,T.A)(this,t),r=P(r=t),n=N(this,td()?Reflect.construct(r,[],P(this).constructor):r.apply(this,o)),e&&n.decode(e),n}return D(t,e),(0,A.A)(t,[{key:"getFieldNames",value:function(){return tl}},{key:"initializeFields",value:function(){var e=new((0,A.A)(function e(){(0,T.A)(this,e)},[{key:"test",value:function(e){return"-"===e||"Y"===e||"N"===e}}])),t=new tu;return t.put(u.VERSION,new tc(th.VERSION)),t.put(u.NOTICE,new ts("-",e)),t.put(u.OPT_OUT_SALE,new ts("-",e)),t.put(u.LSPA_COVERED,new ts("-",e)),t}},{key:"encodeSegment",value:function(e){var t="";return t+=e.get(u.VERSION).getValue(),t+=e.get(u.NOTICE).getValue(),t+=e.get(u.OPT_OUT_SALE).getValue(),t+=e.get(u.LSPA_COVERED).getValue()}},{key:"decodeSegment",value:function(e,t){if(null==e||4!=e.length)throw new G("Unable to decode UspV1CoreSegment '"+e+"'");try{t.get(u.VERSION).setValue(parseInt(e.substring(0,1))),t.get(u.NOTICE).setValue(e.charAt(1)),t.get(u.OPT_OUT_SALE).setValue(e.charAt(2)),t.get(u.LSPA_COVERED).setValue(e.charAt(3))}catch(t){throw new G("Unable to decode UspV1CoreSegment '"+e+"'")}}}])}(ef);function tp(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tp=function(){return!!e})()}var th=function(e){function t(e){var n,r,o;return(0,T.A)(this,t),r=P(r=t),n=N(this,tp()?Reflect.construct(r,[],P(this).constructor):r.apply(this,o)),e&&e.length>0&&n.decode(e),n}return D(t,e),(0,A.A)(t,[{key:"getId",value:function(){return t.ID}},{key:"getName",value:function(){return t.NAME}},{key:"getVersion",value:function(){return t.VERSION}},{key:"initializeSegments",value:function(){var e=[];return e.push(new tf),e}},{key:"decodeSection",value:function(e){var t=this.initializeSegments();if(null!=e&&0!==e.length)for(var n=e.split("."),r=0;rr&&t[r].decode(n[r]);return t}},{key:"encodeSection",value:function(e){for(var t=[],n=0;nn)throw new z("Too many values '"+e.length+"'");for(var r="",o=0;ot*n||e.length%t!=0)throw new G("Undecodable FixedIntegerList '"+e+"'");for(;e.lengtht*n&&(e=e.substring(0,t*n));for(var r=[],o=0;o2)||void 0===arguments[2]||arguments[2];return(0,T.A)(this,t),r=t,o=[a],r=P(r),i=N(this,tm()?Reflect.construct(r,o||[],P(this).constructor):r.apply(this,o)),(0,y.A)(R(i),"elementBitStringLength",void 0),(0,y.A)(R(i),"numElements",void 0),i.elementBitStringLength=e,i.numElements=n.length,i.setValue(n),i}return D(t,e),(0,A.A)(t,[{key:"encode",value:function(){try{return tv.encode(this.value,this.elementBitStringLength,this.numElements)}catch(e){throw new z(e)}}},{key:"decode",value:function(e){try{this.value=tv.decode(e,this.elementBitStringLength,this.numElements)}catch(e){throw new G(e)}}},{key:"substring",value:function(e,t){try{return eo.substring(e,t,t+this.elementBitStringLength*this.numElements)}catch(e){throw new er(e)}}},{key:"getValue",value:function(){return(0,X.A)(tE(t,"getValue",this,3)([]))}},{key:"setValue",value:function(e){for(var n=(0,X.A)(e),r=n.length;rthis.numElements&&(n=n.slice(0,this.numElements)),tE(t,"setValue",this,3)([n])}}])}(et);function ty(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ty=function(){return!!e})()}var tb=function(e){function t(e){var n,r,o;return(0,T.A)(this,t),r=P(r=t),n=N(this,ty()?Reflect.construct(r,[],P(this).constructor):r.apply(this,o)),(0,y.A)(R(n),"base64UrlEncoder",q.getInstance()),(0,y.A)(R(n),"bitStringEncoder",Y.getInstance()),e&&n.decode(e),n}return D(t,e),(0,A.A)(t,[{key:"getFieldNames",value:function(){return tg}},{key:"initializeFields",value:function(){var e=new((0,A.A)(function e(){(0,T.A)(this,e)},[{key:"test",value:function(e){return e>=0&&e<=2}}])),t=new((0,A.A)(function e(){(0,T.A)(this,e)},[{key:"test",value:function(e){return e>=1&&e<=2}}])),n=new((0,A.A)(function e(){(0,T.A)(this,e)},[{key:"test",value:function(e){for(var t=0;t2)return!1}return!0}}])),r=new el;return r.put(l.VERSION.toString(),new eu(6,tA.VERSION)),r.put(l.SHARING_NOTICE.toString(),new eu(2,0).withValidator(e)),r.put(l.SALE_OPT_OUT_NOTICE.toString(),new eu(2,0).withValidator(e)),r.put(l.SHARING_OPT_OUT_NOTICE.toString(),new eu(2,0).withValidator(e)),r.put(l.TARGETED_ADVERTISING_OPT_OUT_NOTICE.toString(),new eu(2,0).withValidator(e)),r.put(l.SENSITIVE_DATA_PROCESSING_OPT_OUT_NOTICE.toString(),new eu(2,0).withValidator(e)),r.put(l.SENSITIVE_DATA_LIMIT_USE_NOTICE.toString(),new eu(2,0).withValidator(e)),r.put(l.SALE_OPT_OUT.toString(),new eu(2,0).withValidator(e)),r.put(l.SHARING_OPT_OUT.toString(),new eu(2,0).withValidator(e)),r.put(l.TARGETED_ADVERTISING_OPT_OUT.toString(),new eu(2,0).withValidator(e)),r.put(l.SENSITIVE_DATA_PROCESSING.toString(),new tS(2,[0,0,0,0,0,0,0,0,0,0,0,0]).withValidator(n)),r.put(l.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS.toString(),new tS(2,[0,0]).withValidator(n)),r.put(l.PERSONAL_DATA_CONSENTS.toString(),new eu(2,0).withValidator(e)),r.put(l.MSPA_COVERED_TRANSACTION.toString(),new eu(2,1).withValidator(t)),r.put(l.MSPA_OPT_OUT_OPTION_MODE.toString(),new eu(2,0).withValidator(e)),r.put(l.MSPA_SERVICE_PROVIDER_MODE.toString(),new eu(2,0).withValidator(e)),r}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new G("Unable to decode UsNatCoreSegment '"+e+"'")}}},{key:"validate",value:function(){var e=this.fields.get(l.SHARING_NOTICE).getValue(),t=this.fields.get(l.SHARING_OPT_OUT_NOTICE).getValue(),n=this.fields.get(l.SHARING_OPT_OUT).getValue(),r=this.fields.get(l.SALE_OPT_OUT_NOTICE).getValue(),o=this.fields.get(l.SALE_OPT_OUT).getValue(),i=this.fields.get(l.TARGETED_ADVERTISING_OPT_OUT_NOTICE).getValue(),a=this.fields.get(l.TARGETED_ADVERTISING_OPT_OUT).getValue(),s=this.fields.get(l.MSPA_SERVICE_PROVIDER_MODE).getValue(),c=this.fields.get(l.MSPA_OPT_OUT_OPTION_MODE).getValue(),u=this.fields.get(l.SENSITIVE_DATA_LIMIT_USE_NOTICE).getValue();if(0==e){if(0!=n)throw new ee("Invalid usnat sharing notice / opt out combination: {"+e+" / "+n+"}")}else if(1==e){if(1!=n&&2!=n)throw new ee("Invalid usnat sharing notice / opt out combination: {"+e+" / "+n+"}")}else if(2==e&&1!=n)throw new ee("Invalid usnat sharing notice / opt out combination: {"+e+" / "+n+"}");if(0==t){if(0!=n)throw new ee("Invalid usnat sharing notice / opt out combination: {"+t+" / "+n+"}")}else if(1==t){if(1!=n&&2!=n)throw new ee("Invalid usnat sharing notice / opt out combination: {"+t+" / "+n+"}")}else if(2==t&&1!=n)throw new ee("Invalid usnat sharing notice / opt out combination: {"+t+" / "+n+"}");if(0==r){if(0!=o)throw new ee("Invalid usnat sale notice / opt out combination: {"+r+" / "+o+"}")}else if(1==r){if(1!=o&&2!=o)throw new ee("Invalid usnat sale notice / opt out combination: {"+r+" / "+o+"}")}else if(2==r&&1!=o)throw new ee("Invalid usnat sale notice / opt out combination: {"+r+" / "+o+"}");if(0==i){if(0!=a)throw new ee("Invalid usnat targeted advertising notice / opt out combination: {"+i+" / "+a+"}")}else if(1==i){if(1!=o&&2!=o)throw new ee("Invalid usnat targeted advertising notice / opt out combination: {"+i+" / "+a+"}")}else if(2==i&&1!=o)throw new ee("Invalid usnat targeted advertising notice / opt out combination: {"+i+" / "+a+"}");if(0==s){if(0!=r)throw new ee("Invalid usnat mspa service provider mode / sale opt out notice combination: {"+s+" / "+r+"}");if(0!=t)throw new ee("Invalid usnat mspa service provider mode / sharing opt out notice combination: {"+s+" / "+t+"}");if(0!=u)throw new ee("Invalid usnat mspa service provider mode / sensitive data limit use notice combination: {"+s+" / "+u+"}")}else if(1==s){if(2!=c)throw new ee("Invalid usnat mspa service provider / opt out option modes combination: {"+s+" / "+s+"}");if(0!=r)throw new ee("Invalid usnat mspa service provider mode / sale opt out notice combination: {"+s+" / "+r+"}");if(0!=t)throw new ee("Invalid usnat mspa service provider mode / sharing opt out notice combination: {"+s+" / "+t+"}");if(0!=u)throw new ee("Invalid usnat mspa service provider mode / sensitive data limit use notice combination: {"+s+" / "+u+"}")}else if(2==s&&1!=c)throw new ee("Invalid usnat mspa service provider / opt out option modes combination: {"+s+" / "+c+"}")}}])}(ef);function tw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tw=function(){return!!e})()}var tO=function(e){function t(e){var n,r,o;return(0,T.A)(this,t),r=P(r=t),n=N(this,tw()?Reflect.construct(r,[],P(this).constructor):r.apply(this,o)),(0,y.A)(R(n),"base64UrlEncoder",q.getInstance()),(0,y.A)(R(n),"bitStringEncoder",Y.getInstance()),e&&n.decode(e),n}return D(t,e),(0,A.A)(t,[{key:"getFieldNames",value:function(){return t_}},{key:"initializeFields",value:function(){var e=new el;return e.put(l.GPC_SEGMENT_TYPE.toString(),new eu(2,1)),e.put(l.GPC_SEGMENT_INCLUDED.toString(),new eC(!0)),e.put(l.GPC.toString(),new eC(!1)),e}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new G("Unable to decode UsNatGpcSegment '"+e+"'")}}}])}(ef);function tT(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tT=function(){return!!e})()}var tA=function(e){function t(e){var n,r,o;return(0,T.A)(this,t),r=P(r=t),n=N(this,tT()?Reflect.construct(r,[],P(this).constructor):r.apply(this,o)),e&&e.length>0&&n.decode(e),n}return D(t,e),(0,A.A)(t,[{key:"getId",value:function(){return t.ID}},{key:"getName",value:function(){return t.NAME}},{key:"getVersion",value:function(){return t.VERSION}},{key:"initializeSegments",value:function(){var e=[];return e.push(new tb),e.push(new tO),e}},{key:"decodeSection",value:function(e){var t=this.initializeSegments();if(null!=e&&0!==e.length){var n=e.split(".");n.length>0&&t[0].decode(n[0]),n.length>1?(t[1].setFieldValue(l.GPC_SEGMENT_INCLUDED,!0),t[1].decode(n[1])):t[1].setFieldValue(l.GPC_SEGMENT_INCLUDED,!1)}return t}},{key:"encodeSection",value:function(e){var t=[];return e.length>=1&&(t.push(e[0].encode()),e.length>=2&&!0===e[1].getFieldValue(l.GPC_SEGMENT_INCLUDED)&&t.push(e[1].encode())),t.join(".")}}])}(U);(0,y.A)(tA,"ID",7),(0,y.A)(tA,"VERSION",1),(0,y.A)(tA,"NAME","usnat"),function(e){e.VERSION="Version",e.SALE_OPT_OUT_NOTICE="SaleOptOutNotice",e.SHARING_OPT_OUT_NOTICE="SharingOptOutNotice",e.SENSITIVE_DATA_LIMIT_USE_NOTICE="SensitiveDataLimitUseNotice",e.SALE_OPT_OUT="SaleOptOut",e.SHARING_OPT_OUT="SharingOptOut",e.SENSITIVE_DATA_PROCESSING="SensitiveDataProcessing",e.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS="KnownChildSensitiveDataConsents",e.PERSONAL_DATA_CONSENTS="PersonalDataConsents",e.MSPA_COVERED_TRANSACTION="MspaCoveredTransaction",e.MSPA_OPT_OUT_OPTION_MODE="MspaOptOutOptionMode",e.MSPA_SERVICE_PROVIDER_MODE="MspaServiceProviderMode",e.GPC_SEGMENT_TYPE="GpcSegmentType",e.GPC_SEGMENT_INCLUDED="GpcSegmentIncluded",e.GPC="Gpc"}(d||(d={}));var tI=[d.VERSION,d.SALE_OPT_OUT_NOTICE,d.SHARING_OPT_OUT_NOTICE,d.SENSITIVE_DATA_LIMIT_USE_NOTICE,d.SALE_OPT_OUT,d.SHARING_OPT_OUT,d.SENSITIVE_DATA_PROCESSING,d.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS,d.PERSONAL_DATA_CONSENTS,d.MSPA_COVERED_TRANSACTION,d.MSPA_OPT_OUT_OPTION_MODE,d.MSPA_SERVICE_PROVIDER_MODE],tR=[d.GPC_SEGMENT_TYPE,d.GPC];function tN(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tN=function(){return!!e})()}var tP=function(e){function t(e){var n,r,o;return(0,T.A)(this,t),r=P(r=t),n=N(this,tN()?Reflect.construct(r,[],P(this).constructor):r.apply(this,o)),(0,y.A)(R(n),"base64UrlEncoder",q.getInstance()),(0,y.A)(R(n),"bitStringEncoder",Y.getInstance()),e&&n.decode(e),n}return D(t,e),(0,A.A)(t,[{key:"getFieldNames",value:function(){return tI}},{key:"initializeFields",value:function(){var e=new((0,A.A)(function e(){(0,T.A)(this,e)},[{key:"test",value:function(e){return e>=0&&e<=2}}])),t=new((0,A.A)(function e(){(0,T.A)(this,e)},[{key:"test",value:function(e){return e>=1&&e<=2}}])),n=new((0,A.A)(function e(){(0,T.A)(this,e)},[{key:"test",value:function(e){for(var t=0;t2)return!1}return!0}}])),r=new el;return r.put(d.VERSION.toString(),new eu(6,tk.VERSION)),r.put(d.SALE_OPT_OUT_NOTICE.toString(),new eu(2,0).withValidator(e)),r.put(d.SHARING_OPT_OUT_NOTICE.toString(),new eu(2,0).withValidator(e)),r.put(d.SENSITIVE_DATA_LIMIT_USE_NOTICE.toString(),new eu(2,0).withValidator(e)),r.put(d.SALE_OPT_OUT.toString(),new eu(2,0).withValidator(e)),r.put(d.SHARING_OPT_OUT.toString(),new eu(2,0).withValidator(e)),r.put(d.SENSITIVE_DATA_PROCESSING.toString(),new tS(2,[0,0,0,0,0,0,0,0,0]).withValidator(n)),r.put(d.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS.toString(),new tS(2,[0,0]).withValidator(n)),r.put(d.PERSONAL_DATA_CONSENTS.toString(),new eu(2,0).withValidator(e)),r.put(d.MSPA_COVERED_TRANSACTION.toString(),new eu(2,1).withValidator(t)),r.put(d.MSPA_OPT_OUT_OPTION_MODE.toString(),new eu(2,0).withValidator(e)),r.put(d.MSPA_SERVICE_PROVIDER_MODE.toString(),new eu(2,0).withValidator(e)),r}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new G("Unable to decode UsCaCoreSegment '"+e+"'")}}},{key:"validate",value:function(){var e=this.fields.get(d.SHARING_OPT_OUT_NOTICE).getValue(),t=this.fields.get(d.SHARING_OPT_OUT).getValue(),n=this.fields.get(d.SALE_OPT_OUT_NOTICE).getValue(),r=this.fields.get(d.SALE_OPT_OUT).getValue(),o=this.fields.get(d.MSPA_SERVICE_PROVIDER_MODE).getValue(),i=this.fields.get(d.MSPA_OPT_OUT_OPTION_MODE).getValue(),a=this.fields.get(d.SENSITIVE_DATA_LIMIT_USE_NOTICE).getValue();if(0==e){if(0!=t)throw new ee("Invalid usca sharing notice / opt out combination: {"+e+" / "+t+"}")}else if(1==e){if(1!=t&&2!=t)throw new ee("Invalid usca sharing notice / opt out combination: {"+e+" / "+t+"}")}else if(2==e&&1!=t)throw new ee("Invalid usca sharing notice / opt out combination: {"+e+" / "+t+"}");if(0==n){if(0!=r)throw new ee("Invalid usca sale notice / opt out combination: {"+n+" / "+r+"}")}else if(1==n){if(1!=r&&2!=r)throw new ee("Invalid usca sale notice / opt out combination: {"+n+" / "+r+"}")}else if(2==n&&1!=r)throw new ee("Invalid usca sale notice / opt out combination: {"+n+" / "+r+"}");if(0==o){if(0!=n)throw new ee("Invalid usca mspa service provider mode / sale opt out notice combination: {"+o+" / "+n+"}");if(0!=e)throw new ee("Invalid usca mspa service provider mode / sharing opt out notice combination: {"+o+" / "+e+"}");if(0!=a)throw new ee("Invalid usca mspa service provider mode / sensitive data limit use notice combination: {"+o+" / "+a+"}")}else if(1==o){if(2!=i)throw new ee("Invalid usca mspa service provider / opt out option modes combination: {"+o+" / "+o+"}");if(0!=n)throw new ee("Invalid usca mspa service provider mode / sale opt out notice combination: {"+o+" / "+n+"}");if(0!=e)throw new ee("Invalid usca mspa service provider mode / sharing opt out notice combination: {"+o+" / "+e+"}");if(0!=a)throw new ee("Invalid usca mspa service provider mode / sensitive data limit use notice combination: {"+o+" / "+a+"}")}else if(2==o&&1!=i)throw new ee("Invalid usca mspa service provider / opt out option modes combination: {"+o+" / "+i+"}")}}])}(ef);function tC(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tC=function(){return!!e})()}var tD=function(e){function t(e){var n,r,o;return(0,T.A)(this,t),r=P(r=t),n=N(this,tC()?Reflect.construct(r,[],P(this).constructor):r.apply(this,o)),(0,y.A)(R(n),"base64UrlEncoder",q.getInstance()),(0,y.A)(R(n),"bitStringEncoder",Y.getInstance()),e&&n.decode(e),n}return D(t,e),(0,A.A)(t,[{key:"getFieldNames",value:function(){return tR}},{key:"initializeFields",value:function(){var e=new el;return e.put(d.GPC_SEGMENT_TYPE.toString(),new eu(2,1)),e.put(d.GPC_SEGMENT_INCLUDED.toString(),new eC(!0)),e.put(d.GPC.toString(),new eC(!1)),e}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new G("Unable to decode UsCaGpcSegment '"+e+"'")}}}])}(ef);function tx(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tx=function(){return!!e})()}var tk=function(e){function t(e){var n,r,o;return(0,T.A)(this,t),r=P(r=t),n=N(this,tx()?Reflect.construct(r,[],P(this).constructor):r.apply(this,o)),e&&e.length>0&&n.decode(e),n}return D(t,e),(0,A.A)(t,[{key:"getId",value:function(){return t.ID}},{key:"getName",value:function(){return t.NAME}},{key:"getVersion",value:function(){return t.VERSION}},{key:"initializeSegments",value:function(){var e=[];return e.push(new tP),e.push(new tD),e}},{key:"decodeSection",value:function(e){var t=this.initializeSegments();if(null!=e&&0!==e.length){var n=e.split(".");n.length>0&&t[0].decode(n[0]),n.length>1?(t[1].setFieldValue(d.GPC_SEGMENT_INCLUDED,!0),t[1].decode(n[1])):t[1].setFieldValue(d.GPC_SEGMENT_INCLUDED,!1)}return t}},{key:"encodeSection",value:function(e){var t=[];return e.length>=1&&(t.push(e[0].encode()),e.length>=2&&!0===e[1].getFieldValue(d.GPC_SEGMENT_INCLUDED)&&t.push(e[1].encode())),t.join(".")}}])}(U);(0,y.A)(tk,"ID",8),(0,y.A)(tk,"VERSION",1),(0,y.A)(tk,"NAME","usca"),function(e){e.VERSION="Version",e.SHARING_NOTICE="SharingNotice",e.SALE_OPT_OUT_NOTICE="SaleOptOutNotice",e.TARGETED_ADVERTISING_OPT_OUT_NOTICE="TargetedAdvertisingOptOutNotice",e.SALE_OPT_OUT="SaleOptOut",e.TARGETED_ADVERTISING_OPT_OUT="TargetedAdvertisingOptOut",e.SENSITIVE_DATA_PROCESSING="SensitiveDataProcessing",e.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS="KnownChildSensitiveDataConsents",e.MSPA_COVERED_TRANSACTION="MspaCoveredTransaction",e.MSPA_OPT_OUT_OPTION_MODE="MspaOptOutOptionMode",e.MSPA_SERVICE_PROVIDER_MODE="MspaServiceProviderMode"}(f||(f={}));var tL=[f.VERSION,f.SHARING_NOTICE,f.SALE_OPT_OUT_NOTICE,f.TARGETED_ADVERTISING_OPT_OUT_NOTICE,f.SALE_OPT_OUT,f.TARGETED_ADVERTISING_OPT_OUT,f.SENSITIVE_DATA_PROCESSING,f.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS,f.MSPA_COVERED_TRANSACTION,f.MSPA_OPT_OUT_OPTION_MODE,f.MSPA_SERVICE_PROVIDER_MODE];function tV(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tV=function(){return!!e})()}var tM=function(e){function t(e){var n,r,o;return(0,T.A)(this,t),r=P(r=t),n=N(this,tV()?Reflect.construct(r,[],P(this).constructor):r.apply(this,o)),(0,y.A)(R(n),"base64UrlEncoder",q.getInstance()),(0,y.A)(R(n),"bitStringEncoder",Y.getInstance()),e&&n.decode(e),n}return D(t,e),(0,A.A)(t,[{key:"getFieldNames",value:function(){return tL}},{key:"initializeFields",value:function(){var e=new((0,A.A)(function e(){(0,T.A)(this,e)},[{key:"test",value:function(e){return e>=0&&e<=2}}])),t=new((0,A.A)(function e(){(0,T.A)(this,e)},[{key:"test",value:function(e){return e>=1&&e<=2}}])),n=new((0,A.A)(function e(){(0,T.A)(this,e)},[{key:"test",value:function(e){for(var t=0;t2)return!1}return!0}}])),r=new el;return r.put(f.VERSION.toString(),new eu(6,tj.VERSION)),r.put(f.SHARING_NOTICE.toString(),new eu(2,0).withValidator(e)),r.put(f.SALE_OPT_OUT_NOTICE.toString(),new eu(2,0).withValidator(e)),r.put(f.TARGETED_ADVERTISING_OPT_OUT_NOTICE.toString(),new eu(2,0).withValidator(e)),r.put(f.SALE_OPT_OUT.toString(),new eu(2,0).withValidator(e)),r.put(f.TARGETED_ADVERTISING_OPT_OUT.toString(),new eu(2,0).withValidator(e)),r.put(f.SENSITIVE_DATA_PROCESSING.toString(),new tS(2,[0,0,0,0,0,0,0,0]).withValidator(n)),r.put(f.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS.toString(),new eu(2,0).withValidator(e)),r.put(f.MSPA_COVERED_TRANSACTION.toString(),new eu(2,1).withValidator(t)),r.put(f.MSPA_OPT_OUT_OPTION_MODE.toString(),new eu(2,0).withValidator(e)),r.put(f.MSPA_SERVICE_PROVIDER_MODE.toString(),new eu(2,0).withValidator(e)),r}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new G("Unable to decode UsVaCoreSegment '"+e+"'")}}},{key:"validate",value:function(){var e=this.fields.get(f.SALE_OPT_OUT_NOTICE).getValue(),t=this.fields.get(f.SALE_OPT_OUT).getValue(),n=this.fields.get(f.TARGETED_ADVERTISING_OPT_OUT_NOTICE).getValue(),r=this.fields.get(f.TARGETED_ADVERTISING_OPT_OUT).getValue(),o=this.fields.get(f.MSPA_SERVICE_PROVIDER_MODE).getValue(),i=this.fields.get(f.MSPA_OPT_OUT_OPTION_MODE).getValue();if(0==e){if(0!=t)throw new ee("Invalid usva sale notice / opt out combination: {"+e+" / "+t+"}")}else if(1==e){if(1!=t&&2!=t)throw new ee("Invalid usva sale notice / opt out combination: {"+e+" / "+t+"}")}else if(2==e&&1!=t)throw new ee("Invalid usva sale notice / opt out combination: {"+e+" / "+t+"}");if(0==n){if(0!=r)throw new ee("Invalid usva targeted advertising notice / opt out combination: {"+n+" / "+r+"}")}else if(1==n){if(1!=t&&2!=t)throw new ee("Invalid usva targeted advertising notice / opt out combination: {"+n+" / "+r+"}")}else if(2==n&&1!=t)throw new ee("Invalid usva targeted advertising notice / opt out combination: {"+n+" / "+r+"}");if(0==o){if(0!=e)throw new ee("Invalid usva mspa service provider mode / sale opt out notice combination: {"+o+" / "+e+"}")}else if(1==o){if(2!=i)throw new ee("Invalid usva mspa service provider / opt out option modes combination: {"+o+" / "+o+"}");if(0!=e)throw new ee("Invalid usva mspa service provider mode / sale opt out notice combination: {"+o+" / "+e+"}")}else if(2==o&&1!=i)throw new ee("Invalid usva mspa service provider / opt out option modes combination: {"+o+" / "+i+"}")}}])}(ef);function tU(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tU=function(){return!!e})()}var tj=function(e){function t(e){var n,r,o;return(0,T.A)(this,t),r=P(r=t),n=N(this,tU()?Reflect.construct(r,[],P(this).constructor):r.apply(this,o)),e&&e.length>0&&n.decode(e),n}return D(t,e),(0,A.A)(t,[{key:"getId",value:function(){return t.ID}},{key:"getName",value:function(){return t.NAME}},{key:"getVersion",value:function(){return t.VERSION}},{key:"initializeSegments",value:function(){var e=[];return e.push(new tM),e}},{key:"decodeSection",value:function(e){var t=this.initializeSegments();if(null!=e&&0!==e.length)for(var n=e.split("."),r=0;rr&&t[r].decode(n[r]);return t}},{key:"encodeSection",value:function(e){for(var t=[],n=0;n=0&&e<=2}}])),t=new((0,A.A)(function e(){(0,T.A)(this,e)},[{key:"test",value:function(e){return e>=1&&e<=2}}])),n=new((0,A.A)(function e(){(0,T.A)(this,e)},[{key:"test",value:function(e){for(var t=0;t2)return!1}return!0}}])),r=new el;return r.put(p.VERSION.toString(),new eu(6,tY.VERSION)),r.put(p.SHARING_NOTICE.toString(),new eu(2,0).withValidator(e)),r.put(p.SALE_OPT_OUT_NOTICE.toString(),new eu(2,0).withValidator(e)),r.put(p.TARGETED_ADVERTISING_OPT_OUT_NOTICE.toString(),new eu(2,0).withValidator(e)),r.put(p.SALE_OPT_OUT.toString(),new eu(2,0).withValidator(e)),r.put(p.TARGETED_ADVERTISING_OPT_OUT.toString(),new eu(2,0).withValidator(e)),r.put(p.SENSITIVE_DATA_PROCESSING.toString(),new tS(2,[0,0,0,0,0,0,0]).withValidator(n)),r.put(p.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS.toString(),new eu(2,0).withValidator(e)),r.put(p.MSPA_COVERED_TRANSACTION.toString(),new eu(2,1).withValidator(t)),r.put(p.MSPA_OPT_OUT_OPTION_MODE.toString(),new eu(2,0).withValidator(e)),r.put(p.MSPA_SERVICE_PROVIDER_MODE.toString(),new eu(2,0).withValidator(e)),r}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new G("Unable to decode UsCoCoreSegment '"+e+"'")}}},{key:"validate",value:function(){var e=this.fields.get(p.SALE_OPT_OUT_NOTICE).getValue(),t=this.fields.get(p.SALE_OPT_OUT).getValue(),n=this.fields.get(p.TARGETED_ADVERTISING_OPT_OUT_NOTICE).getValue(),r=this.fields.get(p.TARGETED_ADVERTISING_OPT_OUT).getValue(),o=this.fields.get(p.MSPA_SERVICE_PROVIDER_MODE).getValue(),i=this.fields.get(p.MSPA_OPT_OUT_OPTION_MODE).getValue();if(0==e){if(0!=t)throw new ee("Invalid usco sale notice / opt out combination: {"+e+" / "+t+"}")}else if(1==e){if(1!=t&&2!=t)throw new ee("Invalid usco sale notice / opt out combination: {"+e+" / "+t+"}")}else if(2==e&&1!=t)throw new ee("Invalid usco sale notice / opt out combination: {"+e+" / "+t+"}");if(0==n){if(0!=r)throw new ee("Invalid usco targeted advertising notice / opt out combination: {"+n+" / "+r+"}")}else if(1==n){if(1!=t&&2!=t)throw new ee("Invalid usco targeted advertising notice / opt out combination: {"+n+" / "+r+"}")}else if(2==n&&1!=t)throw new ee("Invalid usco targeted advertising notice / opt out combination: {"+n+" / "+r+"}");if(0==o){if(0!=e)throw new ee("Invalid usco mspa service provider mode / sale opt out notice combination: {"+o+" / "+e+"}")}else if(1==o){if(2!=i)throw new ee("Invalid usco mspa service provider / opt out option modes combination: {"+o+" / "+o+"}");if(0!=e)throw new ee("Invalid usco mspa service provider mode / sale opt out notice combination: {"+o+" / "+e+"}")}else if(2==o&&1!=i)throw new ee("Invalid usco mspa service provider / opt out option modes combination: {"+o+" / "+i+"}")}}])}(ef);function tH(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tH=function(){return!!e})()}var tW=function(e){function t(e){var n,r,o;return(0,T.A)(this,t),r=P(r=t),n=N(this,tH()?Reflect.construct(r,[],P(this).constructor):r.apply(this,o)),(0,y.A)(R(n),"base64UrlEncoder",q.getInstance()),(0,y.A)(R(n),"bitStringEncoder",Y.getInstance()),e&&n.decode(e),n}return D(t,e),(0,A.A)(t,[{key:"getFieldNames",value:function(){return tB}},{key:"initializeFields",value:function(){var e=new el;return e.put(p.GPC_SEGMENT_TYPE.toString(),new eu(2,1)),e.put(p.GPC_SEGMENT_INCLUDED.toString(),new eC(!0)),e.put(p.GPC.toString(),new eC(!1)),e}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new G("Unable to decode UsCoGpcSegment '"+e+"'")}}}])}(ef);function tq(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tq=function(){return!!e})()}var tY=function(e){function t(e){var n,r,o;return(0,T.A)(this,t),r=P(r=t),n=N(this,tq()?Reflect.construct(r,[],P(this).constructor):r.apply(this,o)),e&&e.length>0&&n.decode(e),n}return D(t,e),(0,A.A)(t,[{key:"getId",value:function(){return t.ID}},{key:"getName",value:function(){return t.NAME}},{key:"getVersion",value:function(){return t.VERSION}},{key:"initializeSegments",value:function(){var e=[];return e.push(new tF),e.push(new tW),e}},{key:"decodeSection",value:function(e){var t=this.initializeSegments();if(null!=e&&0!==e.length){var n=e.split(".");n.length>0&&t[0].decode(n[0]),n.length>1?(t[1].setFieldValue(p.GPC_SEGMENT_INCLUDED,!0),t[1].decode(n[1])):t[1].setFieldValue(p.GPC_SEGMENT_INCLUDED,!1)}return t}},{key:"encodeSection",value:function(e){var t=[];return e.length>=1&&(t.push(e[0].encode()),e.length>=2&&!0===e[1].getFieldValue(p.GPC_SEGMENT_INCLUDED)&&t.push(e[1].encode())),t.join(".")}}])}(U);(0,y.A)(tY,"ID",10),(0,y.A)(tY,"VERSION",1),(0,y.A)(tY,"NAME","usco"),function(e){e.VERSION="Version",e.SHARING_NOTICE="SharingNotice",e.SALE_OPT_OUT_NOTICE="SaleOptOutNotice",e.TARGETED_ADVERTISING_OPT_OUT_NOTICE="TargetedAdvertisingOptOutNotice",e.SENSITIVE_DATA_PROCESSING_OPT_OUT_NOTICE="SensitiveDataProcessingOptOutNotice",e.SALE_OPT_OUT="SaleOptOut",e.TARGETED_ADVERTISING_OPT_OUT="TargetedAdvertisingOptOut",e.SENSITIVE_DATA_PROCESSING="SensitiveDataProcessing",e.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS="KnownChildSensitiveDataConsents",e.MSPA_COVERED_TRANSACTION="MspaCoveredTransaction",e.MSPA_OPT_OUT_OPTION_MODE="MspaOptOutOptionMode",e.MSPA_SERVICE_PROVIDER_MODE="MspaServiceProviderMode"}(h||(h={}));var tX=[h.VERSION,h.SHARING_NOTICE,h.SALE_OPT_OUT_NOTICE,h.TARGETED_ADVERTISING_OPT_OUT_NOTICE,h.SENSITIVE_DATA_PROCESSING_OPT_OUT_NOTICE,h.SALE_OPT_OUT,h.TARGETED_ADVERTISING_OPT_OUT,h.SENSITIVE_DATA_PROCESSING,h.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS,h.MSPA_COVERED_TRANSACTION,h.MSPA_OPT_OUT_OPTION_MODE,h.MSPA_SERVICE_PROVIDER_MODE];function tK(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tK=function(){return!!e})()}var tQ=function(e){function t(e){var n,r,o;return(0,T.A)(this,t),r=P(r=t),n=N(this,tK()?Reflect.construct(r,[],P(this).constructor):r.apply(this,o)),(0,y.A)(R(n),"base64UrlEncoder",q.getInstance()),(0,y.A)(R(n),"bitStringEncoder",Y.getInstance()),e&&n.decode(e),n}return D(t,e),(0,A.A)(t,[{key:"getFieldNames",value:function(){return tX}},{key:"initializeFields",value:function(){var e=new((0,A.A)(function e(){(0,T.A)(this,e)},[{key:"test",value:function(e){return e>=0&&e<=2}}])),t=new((0,A.A)(function e(){(0,T.A)(this,e)},[{key:"test",value:function(e){return e>=1&&e<=2}}])),n=new((0,A.A)(function e(){(0,T.A)(this,e)},[{key:"test",value:function(e){for(var t=0;t2)return!1}return!0}}])),r=new el;return r.put(h.VERSION.toString(),new eu(6,tJ.VERSION)),r.put(h.SHARING_NOTICE.toString(),new eu(2,0).withValidator(e)),r.put(h.SALE_OPT_OUT_NOTICE.toString(),new eu(2,0).withValidator(e)),r.put(h.TARGETED_ADVERTISING_OPT_OUT_NOTICE.toString(),new eu(2,0).withValidator(e)),r.put(h.SENSITIVE_DATA_PROCESSING_OPT_OUT_NOTICE.toString(),new eu(2,0).withValidator(e)),r.put(h.SALE_OPT_OUT.toString(),new eu(2,0).withValidator(e)),r.put(h.TARGETED_ADVERTISING_OPT_OUT.toString(),new eu(2,0).withValidator(e)),r.put(h.SENSITIVE_DATA_PROCESSING.toString(),new tS(2,[0,0,0,0,0,0,0,0]).withValidator(n)),r.put(h.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS.toString(),new eu(2,0).withValidator(e)),r.put(h.MSPA_COVERED_TRANSACTION.toString(),new eu(2,1).withValidator(t)),r.put(h.MSPA_OPT_OUT_OPTION_MODE.toString(),new eu(2,0).withValidator(e)),r.put(h.MSPA_SERVICE_PROVIDER_MODE.toString(),new eu(2,0).withValidator(e)),r}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new G("Unable to decode UsUtCoreSegment '"+e+"'")}}},{key:"validate",value:function(){var e=this.fields.get(h.SALE_OPT_OUT_NOTICE).getValue(),t=this.fields.get(h.SALE_OPT_OUT).getValue(),n=this.fields.get(h.TARGETED_ADVERTISING_OPT_OUT_NOTICE).getValue(),r=this.fields.get(h.TARGETED_ADVERTISING_OPT_OUT).getValue(),o=this.fields.get(h.MSPA_SERVICE_PROVIDER_MODE).getValue(),i=this.fields.get(h.MSPA_OPT_OUT_OPTION_MODE).getValue();if(0==e){if(0!=t)throw new ee("Invalid usut sale notice / opt out combination: {"+e+" / "+t+"}")}else if(1==e){if(1!=t&&2!=t)throw new ee("Invalid usut sale notice / opt out combination: {"+e+" / "+t+"}")}else if(2==e&&1!=t)throw new ee("Invalid usut sale notice / opt out combination: {"+e+" / "+t+"}");if(0==n){if(0!=r)throw new ee("Invalid usut targeted advertising notice / opt out combination: {"+n+" / "+r+"}")}else if(1==n){if(1!=t&&2!=t)throw new ee("Invalid usut targeted advertising notice / opt out combination: {"+n+" / "+r+"}")}else if(2==n&&1!=t)throw new ee("Invalid usut targeted advertising notice / opt out combination: {"+n+" / "+r+"}");if(0==o){if(0!=e)throw new ee("Invalid usut mspa service provider mode / sale opt out notice combination: {"+o+" / "+e+"}")}else if(1==o){if(2!=i)throw new ee("Invalid usut mspa service provider / opt out option modes combination: {"+o+" / "+o+"}");if(0!=e)throw new ee("Invalid usut mspa service provider mode / sale opt out notice combination: {"+o+" / "+e+"}")}else if(2==o&&1!=i)throw new ee("Invalid usut mspa service provider / opt out option modes combination: {"+o+" / "+i+"}")}}])}(ef);function tZ(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tZ=function(){return!!e})()}var tJ=function(e){function t(e){var n,r,o;return(0,T.A)(this,t),r=P(r=t),n=N(this,tZ()?Reflect.construct(r,[],P(this).constructor):r.apply(this,o)),e&&e.length>0&&n.decode(e),n}return D(t,e),(0,A.A)(t,[{key:"getId",value:function(){return t.ID}},{key:"getName",value:function(){return t.NAME}},{key:"getVersion",value:function(){return t.VERSION}},{key:"initializeSegments",value:function(){var e=[];return e.push(new tQ),e}},{key:"decodeSection",value:function(e){var t=this.initializeSegments();if(null!=e&&0!==e.length)for(var n=e.split("."),r=0;rr&&t[r].decode(n[r]);return t}},{key:"encodeSection",value:function(e){for(var t=[],n=0;n=0&&e<=2}}])),t=new((0,A.A)(function e(){(0,T.A)(this,e)},[{key:"test",value:function(e){return e>=1&&e<=2}}])),n=new((0,A.A)(function e(){(0,T.A)(this,e)},[{key:"test",value:function(e){for(var t=0;t2)return!1}return!0}}])),r=new el;return r.put(g.VERSION.toString(),new eu(6,t5.VERSION)),r.put(g.SHARING_NOTICE.toString(),new eu(2,0).withValidator(e)),r.put(g.SALE_OPT_OUT_NOTICE.toString(),new eu(2,0).withValidator(e)),r.put(g.TARGETED_ADVERTISING_OPT_OUT_NOTICE.toString(),new eu(2,0).withValidator(e)),r.put(g.SALE_OPT_OUT.toString(),new eu(2,0).withValidator(e)),r.put(g.TARGETED_ADVERTISING_OPT_OUT.toString(),new eu(2,0).withValidator(e)),r.put(g.SENSITIVE_DATA_PROCESSING.toString(),new tS(2,[0,0,0,0,0,0,0,0]).withValidator(n)),r.put(g.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS.toString(),new tS(2,[0,0,0]).withValidator(n)),r.put(g.MSPA_COVERED_TRANSACTION.toString(),new eu(2,1).withValidator(t)),r.put(g.MSPA_OPT_OUT_OPTION_MODE.toString(),new eu(2,0).withValidator(e)),r.put(g.MSPA_SERVICE_PROVIDER_MODE.toString(),new eu(2,0).withValidator(e)),r}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new G("Unable to decode UsCtCoreSegment '"+e+"'")}}},{key:"validate",value:function(){var e=this.fields.get(g.SALE_OPT_OUT_NOTICE).getValue(),t=this.fields.get(g.SALE_OPT_OUT).getValue(),n=this.fields.get(g.TARGETED_ADVERTISING_OPT_OUT_NOTICE).getValue(),r=this.fields.get(g.TARGETED_ADVERTISING_OPT_OUT).getValue(),o=this.fields.get(g.MSPA_SERVICE_PROVIDER_MODE).getValue(),i=this.fields.get(g.MSPA_OPT_OUT_OPTION_MODE).getValue();if(0==e){if(0!=t)throw new ee("Invalid usct sale notice / opt out combination: {"+e+" / "+t+"}")}else if(1==e){if(1!=t&&2!=t)throw new ee("Invalid usct sale notice / opt out combination: {"+e+" / "+t+"}")}else if(2==e&&1!=t)throw new ee("Invalid usct sale notice / opt out combination: {"+e+" / "+t+"}");if(0==n){if(0!=r)throw new ee("Invalid usct targeted advertising notice / opt out combination: {"+n+" / "+r+"}")}else if(1==n){if(1!=t&&2!=t)throw new ee("Invalid usct targeted advertising notice / opt out combination: {"+n+" / "+r+"}")}else if(2==n&&1!=t)throw new ee("Invalid usct targeted advertising notice / opt out combination: {"+n+" / "+r+"}");if(0==o){if(0!=e)throw new ee("Invalid usct mspa service provider mode / sale opt out notice combination: {"+o+" / "+e+"}")}else if(1==o){if(2!=i)throw new ee("Invalid usct mspa service provider / opt out option modes combination: {"+o+" / "+o+"}");if(0!=e)throw new ee("Invalid usct mspa service provider mode / sale opt out notice combination: {"+o+" / "+e+"}")}else if(2==o&&1!=i)throw new ee("Invalid usct mspa service provider / opt out option modes combination: {"+o+" / "+i+"}")}}])}(ef);function t4(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(t4=function(){return!!e})()}var t3=function(e){function t(e){var n,r,o;return(0,T.A)(this,t),r=P(r=t),n=N(this,t4()?Reflect.construct(r,[],P(this).constructor):r.apply(this,o)),(0,y.A)(R(n),"base64UrlEncoder",q.getInstance()),(0,y.A)(R(n),"bitStringEncoder",Y.getInstance()),e&&n.decode(e),n}return D(t,e),(0,A.A)(t,[{key:"getFieldNames",value:function(){return t0}},{key:"initializeFields",value:function(){var e=new el;return e.put(g.GPC_SEGMENT_TYPE.toString(),new eu(2,1)),e.put(g.GPC_SEGMENT_INCLUDED.toString(),new eC(!0)),e.put(g.GPC.toString(),new eC(!1)),e}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new G("Unable to decode UsCtGpcSegment '"+e+"'")}}}])}(ef);function t6(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(t6=function(){return!!e})()}var t5=function(e){function t(e){var n,r,o;return(0,T.A)(this,t),r=P(r=t),n=N(this,t6()?Reflect.construct(r,[],P(this).constructor):r.apply(this,o)),e&&e.length>0&&n.decode(e),n}return D(t,e),(0,A.A)(t,[{key:"getId",value:function(){return t.ID}},{key:"getName",value:function(){return t.NAME}},{key:"getVersion",value:function(){return t.VERSION}},{key:"initializeSegments",value:function(){var e=[];return e.push(new t2),e.push(new t3),e}},{key:"decodeSection",value:function(e){var t=this.initializeSegments();if(null!=e&&0!==e.length){var n=e.split(".");n.length>0&&t[0].decode(n[0]),n.length>1?(t[1].setFieldValue(g.GPC_SEGMENT_INCLUDED,!0),t[1].decode(n[1])):t[1].setFieldValue(g.GPC_SEGMENT_INCLUDED,!1)}return t}},{key:"encodeSection",value:function(e){var t=[];return e.length>=1&&(t.push(e[0].encode()),e.length>=2&&!0===e[1].getFieldValue(g.GPC_SEGMENT_INCLUDED)&&t.push(e[1].encode())),t.join(".")}}])}(U);(0,y.A)(t5,"ID",12),(0,y.A)(t5,"VERSION",1),(0,y.A)(t5,"NAME","usct"),function(e){e.VERSION="Version",e.PROCESSING_NOTICE="ProcessingNotice",e.SALE_OPT_OUT_NOTICE="SaleOptOutNotice",e.TARGETED_ADVERTISING_OPT_OUT_NOTICE="TargetedAdvertisingOptOutNotice",e.SALE_OPT_OUT="SaleOptOut",e.TARGETED_ADVERTISING_OPT_OUT="TargetedAdvertisingOptOut",e.SENSITIVE_DATA_PROCESSING="SensitiveDataProcessing",e.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS="KnownChildSensitiveDataConsents",e.ADDITIONAL_DATA_PROCESSING_CONSENT="AdditionalDataProcessingConsent",e.MSPA_COVERED_TRANSACTION="MspaCoveredTransaction",e.MSPA_OPT_OUT_OPTION_MODE="MspaOptOutOptionMode",e.MSPA_SERVICE_PROVIDER_MODE="MspaServiceProviderMode"}(_||(_={}));var t8=[_.VERSION,_.PROCESSING_NOTICE,_.SALE_OPT_OUT_NOTICE,_.TARGETED_ADVERTISING_OPT_OUT_NOTICE,_.SALE_OPT_OUT,_.TARGETED_ADVERTISING_OPT_OUT,_.SENSITIVE_DATA_PROCESSING,_.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS,_.ADDITIONAL_DATA_PROCESSING_CONSENT,_.MSPA_COVERED_TRANSACTION,_.MSPA_OPT_OUT_OPTION_MODE,_.MSPA_SERVICE_PROVIDER_MODE];function t9(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(t9=function(){return!!e})()}var t7=function(e){function t(e){var n,r,o;return(0,T.A)(this,t),r=P(r=t),n=N(this,t9()?Reflect.construct(r,[],P(this).constructor):r.apply(this,o)),(0,y.A)(R(n),"base64UrlEncoder",q.getInstance()),(0,y.A)(R(n),"bitStringEncoder",Y.getInstance()),e&&n.decode(e),n}return D(t,e),(0,A.A)(t,[{key:"getFieldNames",value:function(){return t8}},{key:"initializeFields",value:function(){var e=new((0,A.A)(function e(){(0,T.A)(this,e)},[{key:"test",value:function(e){return e>=0&&e<=2}}])),t=new((0,A.A)(function e(){(0,T.A)(this,e)},[{key:"test",value:function(e){return e>=1&&e<=2}}])),n=new((0,A.A)(function e(){(0,T.A)(this,e)},[{key:"test",value:function(e){for(var t=0;t2)return!1}return!0}}])),r=new el;return r.put(_.VERSION.toString(),new eu(6,nt.VERSION)),r.put(_.PROCESSING_NOTICE.toString(),new eu(2,0).withValidator(e)),r.put(_.SALE_OPT_OUT_NOTICE.toString(),new eu(2,0).withValidator(e)),r.put(_.TARGETED_ADVERTISING_OPT_OUT_NOTICE.toString(),new eu(2,0).withValidator(e)),r.put(_.SALE_OPT_OUT.toString(),new eu(2,0).withValidator(e)),r.put(_.TARGETED_ADVERTISING_OPT_OUT.toString(),new eu(2,0).withValidator(e)),r.put(_.SENSITIVE_DATA_PROCESSING.toString(),new tS(2,[0,0,0,0,0,0,0,0]).withValidator(n)),r.put(_.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS.toString(),new tS(2,[0,0,0]).withValidator(n)),r.put(_.ADDITIONAL_DATA_PROCESSING_CONSENT.toString(),new eu(2,0).withValidator(e)),r.put(_.MSPA_COVERED_TRANSACTION.toString(),new eu(2,1).withValidator(t)),r.put(_.MSPA_OPT_OUT_OPTION_MODE.toString(),new eu(2,0).withValidator(e)),r.put(_.MSPA_SERVICE_PROVIDER_MODE.toString(),new eu(2,0).withValidator(e)),r}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new G("Unable to decode UsFlCoreSegment '"+e+"'")}}},{key:"validate",value:function(){var e=this.fields.get(_.SALE_OPT_OUT_NOTICE).getValue(),t=this.fields.get(_.SALE_OPT_OUT).getValue(),n=this.fields.get(_.TARGETED_ADVERTISING_OPT_OUT_NOTICE).getValue(),r=this.fields.get(_.TARGETED_ADVERTISING_OPT_OUT).getValue(),o=this.fields.get(_.MSPA_SERVICE_PROVIDER_MODE).getValue(),i=this.fields.get(_.MSPA_OPT_OUT_OPTION_MODE).getValue();if(0==e){if(0!=t)throw new ee("Invalid usva sale notice / opt out combination: {"+e+" / "+t+"}")}else if(1==e){if(1!=t&&2!=t)throw new ee("Invalid usva sale notice / opt out combination: {"+e+" / "+t+"}")}else if(2==e&&1!=t)throw new ee("Invalid usva sale notice / opt out combination: {"+e+" / "+t+"}");if(0==n){if(0!=r)throw new ee("Invalid usva targeted advertising notice / opt out combination: {"+n+" / "+r+"}")}else if(1==n){if(1!=t&&2!=t)throw new ee("Invalid usva targeted advertising notice / opt out combination: {"+n+" / "+r+"}")}else if(2==n&&1!=t)throw new ee("Invalid usva targeted advertising notice / opt out combination: {"+n+" / "+r+"}");if(0==o){if(0!=e)throw new ee("Invalid usva mspa service provider mode / sale opt out notice combination: {"+o+" / "+e+"}")}else if(1==o){if(2!=i)throw new ee("Invalid usva mspa service provider / opt out option modes combination: {"+o+" / "+o+"}");if(0!=e)throw new ee("Invalid usva mspa service provider mode / sale opt out notice combination: {"+o+" / "+e+"}")}else if(2==o&&1!=i)throw new ee("Invalid usva mspa service provider / opt out option modes combination: {"+o+" / "+i+"}")}}])}(ef);function ne(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ne=function(){return!!e})()}var nt=function(e){function t(e){var n,r,o;return(0,T.A)(this,t),r=P(r=t),n=N(this,ne()?Reflect.construct(r,[],P(this).constructor):r.apply(this,o)),e&&e.length>0&&n.decode(e),n}return D(t,e),(0,A.A)(t,[{key:"getId",value:function(){return t.ID}},{key:"getName",value:function(){return t.NAME}},{key:"getVersion",value:function(){return t.VERSION}},{key:"initializeSegments",value:function(){var e=[];return e.push(new t7),e}},{key:"decodeSection",value:function(e){var t=this.initializeSegments();if(null!=e&&0!==e.length)for(var n=e.split("."),r=0;rr&&t[r].decode(n[r]);return t}},{key:"encodeSection",value:function(e){for(var t=[],n=0;n=0&&e<=2}}])),t=new((0,A.A)(function e(){(0,T.A)(this,e)},[{key:"test",value:function(e){return e>=1&&e<=2}}])),n=new((0,A.A)(function e(){(0,T.A)(this,e)},[{key:"test",value:function(e){for(var t=0;t2)return!1}return!0}}])),r=new el;return r.put(v.VERSION.toString(),new eu(6,nu.VERSION)),r.put(v.SHARING_NOTICE.toString(),new eu(2,0).withValidator(e)),r.put(v.SALE_OPT_OUT_NOTICE.toString(),new eu(2,0).withValidator(e)),r.put(v.TARGETED_ADVERTISING_OPT_OUT_NOTICE.toString(),new eu(2,0).withValidator(e)),r.put(v.SALE_OPT_OUT.toString(),new eu(2,0).withValidator(e)),r.put(v.TARGETED_ADVERTISING_OPT_OUT.toString(),new eu(2,0).withValidator(e)),r.put(v.SENSITIVE_DATA_PROCESSING.toString(),new tS(2,[0,0,0,0,0,0,0,0]).withValidator(n)),r.put(v.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS.toString(),new tS(2,[0,0,0]).withValidator(n)),r.put(v.ADDITIONAL_DATA_PROCESSING_CONSENT.toString(),new eu(2,0).withValidator(e)),r.put(v.MSPA_COVERED_TRANSACTION.toString(),new eu(2,1).withValidator(t)),r.put(v.MSPA_OPT_OUT_OPTION_MODE.toString(),new eu(2,0).withValidator(e)),r.put(v.MSPA_SERVICE_PROVIDER_MODE.toString(),new eu(2,0).withValidator(e)),r}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new G("Unable to decode UsMtCoreSegment '"+e+"'")}}},{key:"validate",value:function(){var e=this.fields.get(v.SALE_OPT_OUT_NOTICE).getValue(),t=this.fields.get(v.SALE_OPT_OUT).getValue(),n=this.fields.get(v.TARGETED_ADVERTISING_OPT_OUT_NOTICE).getValue(),r=this.fields.get(v.TARGETED_ADVERTISING_OPT_OUT).getValue(),o=this.fields.get(v.MSPA_SERVICE_PROVIDER_MODE).getValue(),i=this.fields.get(v.MSPA_OPT_OUT_OPTION_MODE).getValue();if(0==e){if(0!=t)throw new ee("Invalid usct sale notice / opt out combination: {"+e+" / "+t+"}")}else if(1==e){if(1!=t&&2!=t)throw new ee("Invalid usct sale notice / opt out combination: {"+e+" / "+t+"}")}else if(2==e&&1!=t)throw new ee("Invalid usct sale notice / opt out combination: {"+e+" / "+t+"}");if(0==n){if(0!=r)throw new ee("Invalid usct targeted advertising notice / opt out combination: {"+n+" / "+r+"}")}else if(1==n){if(1!=t&&2!=t)throw new ee("Invalid usct targeted advertising notice / opt out combination: {"+n+" / "+r+"}")}else if(2==n&&1!=t)throw new ee("Invalid usct targeted advertising notice / opt out combination: {"+n+" / "+r+"}");if(0==o){if(0!=e)throw new ee("Invalid usct mspa service provider mode / sale opt out notice combination: {"+o+" / "+e+"}")}else if(1==o){if(2!=i)throw new ee("Invalid usct mspa service provider / opt out option modes combination: {"+o+" / "+o+"}");if(0!=e)throw new ee("Invalid usct mspa service provider mode / sale opt out notice combination: {"+o+" / "+e+"}")}else if(2==o&&1!=i)throw new ee("Invalid usct mspa service provider / opt out option modes combination: {"+o+" / "+i+"}")}}])}(ef);function na(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(na=function(){return!!e})()}var ns=function(e){function t(e){var n,r,o;return(0,T.A)(this,t),r=P(r=t),n=N(this,na()?Reflect.construct(r,[],P(this).constructor):r.apply(this,o)),(0,y.A)(R(n),"base64UrlEncoder",q.getInstance()),(0,y.A)(R(n),"bitStringEncoder",Y.getInstance()),e&&n.decode(e),n}return D(t,e),(0,A.A)(t,[{key:"getFieldNames",value:function(){return nr}},{key:"initializeFields",value:function(){var e=new el;return e.put(v.GPC_SEGMENT_TYPE.toString(),new eu(2,1)),e.put(v.GPC_SEGMENT_INCLUDED.toString(),new eC(!0)),e.put(v.GPC.toString(),new eC(!1)),e}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new G("Unable to decode UsMtGpcSegment '"+e+"'")}}}])}(ef);function nc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(nc=function(){return!!e})()}var nu=function(e){function t(e){var n,r,o;return(0,T.A)(this,t),r=P(r=t),n=N(this,nc()?Reflect.construct(r,[],P(this).constructor):r.apply(this,o)),e&&e.length>0&&n.decode(e),n}return D(t,e),(0,A.A)(t,[{key:"getId",value:function(){return t.ID}},{key:"getName",value:function(){return t.NAME}},{key:"getVersion",value:function(){return t.VERSION}},{key:"initializeSegments",value:function(){var e=[];return e.push(new ni),e.push(new ns),e}},{key:"decodeSection",value:function(e){var t=this.initializeSegments();if(null!=e&&0!==e.length){var n=e.split(".");n.length>0&&t[0].decode(n[0]),n.length>1?(t[1].setFieldValue(v.GPC_SEGMENT_INCLUDED,!0),t[1].decode(n[1])):t[1].setFieldValue(v.GPC_SEGMENT_INCLUDED,!1)}return t}},{key:"encodeSection",value:function(e){var t=[];return e.length>=1&&(t.push(e[0].encode()),e.length>=2&&!0===e[1].getFieldValue(v.GPC_SEGMENT_INCLUDED)&&t.push(e[1].encode())),t.join(".")}}])}(U);(0,y.A)(nu,"ID",14),(0,y.A)(nu,"VERSION",1),(0,y.A)(nu,"NAME","usmt"),function(e){e.VERSION="Version",e.PROCESSING_NOTICE="ProcessingNotice",e.SALE_OPT_OUT_NOTICE="SaleOptOutNotice",e.TARGETED_ADVERTISING_OPT_OUT_NOTICE="TargetedAdvertisingOptOutNotice",e.SALE_OPT_OUT="SaleOptOut",e.TARGETED_ADVERTISING_OPT_OUT="TargetedAdvertisingOptOut",e.SENSITIVE_DATA_PROCESSING="SensitiveDataProcessing",e.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS="KnownChildSensitiveDataConsents",e.ADDITIONAL_DATA_PROCESSING_CONSENT="AdditionalDataProcessingConsent",e.MSPA_COVERED_TRANSACTION="MspaCoveredTransaction",e.MSPA_OPT_OUT_OPTION_MODE="MspaOptOutOptionMode",e.MSPA_SERVICE_PROVIDER_MODE="MspaServiceProviderMode",e.GPC_SEGMENT_TYPE="GpcSegmentType",e.GPC_SEGMENT_INCLUDED="GpcSegmentIncluded",e.GPC="Gpc"}(m||(m={}));var nl=[m.VERSION,m.PROCESSING_NOTICE,m.SALE_OPT_OUT_NOTICE,m.TARGETED_ADVERTISING_OPT_OUT_NOTICE,m.SALE_OPT_OUT,m.TARGETED_ADVERTISING_OPT_OUT,m.SENSITIVE_DATA_PROCESSING,m.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS,m.ADDITIONAL_DATA_PROCESSING_CONSENT,m.MSPA_COVERED_TRANSACTION,m.MSPA_OPT_OUT_OPTION_MODE,m.MSPA_SERVICE_PROVIDER_MODE],nd=[m.GPC_SEGMENT_TYPE,m.GPC];function nf(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(nf=function(){return!!e})()}var np=function(e){function t(e){var n,r,o;return(0,T.A)(this,t),r=P(r=t),n=N(this,nf()?Reflect.construct(r,[],P(this).constructor):r.apply(this,o)),(0,y.A)(R(n),"base64UrlEncoder",q.getInstance()),(0,y.A)(R(n),"bitStringEncoder",Y.getInstance()),e&&n.decode(e),n}return D(t,e),(0,A.A)(t,[{key:"getFieldNames",value:function(){return nl}},{key:"initializeFields",value:function(){var e=new((0,A.A)(function e(){(0,T.A)(this,e)},[{key:"test",value:function(e){return e>=0&&e<=2}}])),t=new((0,A.A)(function e(){(0,T.A)(this,e)},[{key:"test",value:function(e){return e>=1&&e<=2}}])),n=new((0,A.A)(function e(){(0,T.A)(this,e)},[{key:"test",value:function(e){for(var t=0;t2)return!1}return!0}}])),r=new el;return r.put(m.VERSION.toString(),new eu(6,nv.VERSION)),r.put(m.PROCESSING_NOTICE.toString(),new eu(2,0).withValidator(e)),r.put(m.SALE_OPT_OUT_NOTICE.toString(),new eu(2,0).withValidator(e)),r.put(m.TARGETED_ADVERTISING_OPT_OUT_NOTICE.toString(),new eu(2,0).withValidator(e)),r.put(m.SALE_OPT_OUT.toString(),new eu(2,0).withValidator(e)),r.put(m.TARGETED_ADVERTISING_OPT_OUT.toString(),new eu(2,0).withValidator(e)),r.put(m.SENSITIVE_DATA_PROCESSING.toString(),new tS(2,[0,0,0,0,0,0,0,0,0,0,0]).withValidator(n)),r.put(m.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS.toString(),new tS(2,[0,0,0]).withValidator(n)),r.put(m.ADDITIONAL_DATA_PROCESSING_CONSENT.toString(),new eu(2,0).withValidator(e)),r.put(m.MSPA_COVERED_TRANSACTION.toString(),new eu(2,1).withValidator(t)),r.put(m.MSPA_OPT_OUT_OPTION_MODE.toString(),new eu(2,0).withValidator(e)),r.put(m.MSPA_SERVICE_PROVIDER_MODE.toString(),new eu(2,0).withValidator(e)),r}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new G("Unable to decode UsOrCoreSegment '"+e+"'")}}},{key:"validate",value:function(){var e=this.fields.get(m.SALE_OPT_OUT_NOTICE).getValue(),t=this.fields.get(m.SALE_OPT_OUT).getValue(),n=this.fields.get(m.TARGETED_ADVERTISING_OPT_OUT_NOTICE).getValue(),r=this.fields.get(m.TARGETED_ADVERTISING_OPT_OUT).getValue(),o=this.fields.get(m.MSPA_SERVICE_PROVIDER_MODE).getValue(),i=this.fields.get(m.MSPA_OPT_OUT_OPTION_MODE).getValue();if(0==e){if(0!=t)throw new ee("Invalid usct sale notice / opt out combination: {"+e+" / "+t+"}")}else if(1==e){if(1!=t&&2!=t)throw new ee("Invalid usct sale notice / opt out combination: {"+e+" / "+t+"}")}else if(2==e&&1!=t)throw new ee("Invalid usct sale notice / opt out combination: {"+e+" / "+t+"}");if(0==n){if(0!=r)throw new ee("Invalid usct targeted advertising notice / opt out combination: {"+n+" / "+r+"}")}else if(1==n){if(1!=t&&2!=t)throw new ee("Invalid usct targeted advertising notice / opt out combination: {"+n+" / "+r+"}")}else if(2==n&&1!=t)throw new ee("Invalid usct targeted advertising notice / opt out combination: {"+n+" / "+r+"}");if(0==o){if(0!=e)throw new ee("Invalid usct mspa service provider mode / sale opt out notice combination: {"+o+" / "+e+"}")}else if(1==o){if(2!=i)throw new ee("Invalid usct mspa service provider / opt out option modes combination: {"+o+" / "+o+"}");if(0!=e)throw new ee("Invalid usct mspa service provider mode / sale opt out notice combination: {"+o+" / "+e+"}")}else if(2==o&&1!=i)throw new ee("Invalid usct mspa service provider / opt out option modes combination: {"+o+" / "+i+"}")}}])}(ef);function nh(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(nh=function(){return!!e})()}var ng=function(e){function t(e){var n,r,o;return(0,T.A)(this,t),r=P(r=t),n=N(this,nh()?Reflect.construct(r,[],P(this).constructor):r.apply(this,o)),(0,y.A)(R(n),"base64UrlEncoder",q.getInstance()),(0,y.A)(R(n),"bitStringEncoder",Y.getInstance()),e&&n.decode(e),n}return D(t,e),(0,A.A)(t,[{key:"getFieldNames",value:function(){return nd}},{key:"initializeFields",value:function(){var e=new el;return e.put(m.GPC_SEGMENT_TYPE.toString(),new eu(2,1)),e.put(m.GPC_SEGMENT_INCLUDED.toString(),new eC(!0)),e.put(m.GPC.toString(),new eC(!1)),e}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new G("Unable to decode UsOrGpcSegment '"+e+"'")}}}])}(ef);function n_(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(n_=function(){return!!e})()}var nv=function(e){function t(e){var n,r,o;return(0,T.A)(this,t),r=P(r=t),n=N(this,n_()?Reflect.construct(r,[],P(this).constructor):r.apply(this,o)),e&&e.length>0&&n.decode(e),n}return D(t,e),(0,A.A)(t,[{key:"getId",value:function(){return t.ID}},{key:"getName",value:function(){return t.NAME}},{key:"getVersion",value:function(){return t.VERSION}},{key:"initializeSegments",value:function(){var e=[];return e.push(new np),e.push(new ng),e}},{key:"decodeSection",value:function(e){var t=this.initializeSegments();if(null!=e&&0!==e.length){var n=e.split(".");n.length>0&&t[0].decode(n[0]),n.length>1?(t[1].setFieldValue(m.GPC_SEGMENT_INCLUDED,!0),t[1].decode(n[1])):t[1].setFieldValue(m.GPC_SEGMENT_INCLUDED,!1)}return t}},{key:"encodeSection",value:function(e){var t=[];return e.length>=1&&(t.push(e[0].encode()),e.length>=2&&!0===e[1].getFieldValue(m.GPC_SEGMENT_INCLUDED)&&t.push(e[1].encode())),t.join(".")}}])}(U);(0,y.A)(nv,"ID",15),(0,y.A)(nv,"VERSION",1),(0,y.A)(nv,"NAME","usor"),function(e){e.VERSION="Version",e.PROCESSING_NOTICE="ProcessingNotice",e.SALE_OPT_OUT_NOTICE="SaleOptOutNotice",e.TARGETED_ADVERTISING_OPT_OUT_NOTICE="TargetedAdvertisingOptOutNotice",e.SALE_OPT_OUT="SaleOptOut",e.TARGETED_ADVERTISING_OPT_OUT="TargetedAdvertisingOptOut",e.SENSITIVE_DATA_PROCESSING="SensitiveDataProcessing",e.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS="KnownChildSensitiveDataConsents",e.ADDITIONAL_DATA_PROCESSING_CONSENT="AdditionalDataProcessingConsent",e.MSPA_COVERED_TRANSACTION="MspaCoveredTransaction",e.MSPA_OPT_OUT_OPTION_MODE="MspaOptOutOptionMode",e.MSPA_SERVICE_PROVIDER_MODE="MspaServiceProviderMode",e.GPC_SEGMENT_TYPE="GpcSegmentType",e.GPC_SEGMENT_INCLUDED="GpcSegmentIncluded",e.GPC="Gpc"}(E||(E={}));var nm=[E.VERSION,E.PROCESSING_NOTICE,E.SALE_OPT_OUT_NOTICE,E.TARGETED_ADVERTISING_OPT_OUT_NOTICE,E.SALE_OPT_OUT,E.TARGETED_ADVERTISING_OPT_OUT,E.SENSITIVE_DATA_PROCESSING,E.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS,E.ADDITIONAL_DATA_PROCESSING_CONSENT,E.MSPA_COVERED_TRANSACTION,E.MSPA_OPT_OUT_OPTION_MODE,E.MSPA_SERVICE_PROVIDER_MODE],nE=[E.GPC_SEGMENT_TYPE,E.GPC];function nS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(nS=function(){return!!e})()}var ny=function(e){function t(e){var n,r,o;return(0,T.A)(this,t),r=P(r=t),n=N(this,nS()?Reflect.construct(r,[],P(this).constructor):r.apply(this,o)),(0,y.A)(R(n),"base64UrlEncoder",q.getInstance()),(0,y.A)(R(n),"bitStringEncoder",Y.getInstance()),e&&n.decode(e),n}return D(t,e),(0,A.A)(t,[{key:"getFieldNames",value:function(){return nm}},{key:"initializeFields",value:function(){var e=new((0,A.A)(function e(){(0,T.A)(this,e)},[{key:"test",value:function(e){return e>=0&&e<=2}}])),t=new((0,A.A)(function e(){(0,T.A)(this,e)},[{key:"test",value:function(e){return e>=1&&e<=2}}])),n=new((0,A.A)(function e(){(0,T.A)(this,e)},[{key:"test",value:function(e){for(var t=0;t2)return!1}return!0}}])),r=new el;return r.put(E.VERSION.toString(),new eu(6,nT.VERSION)),r.put(E.PROCESSING_NOTICE.toString(),new eu(2,0).withValidator(e)),r.put(E.SALE_OPT_OUT_NOTICE.toString(),new eu(2,0).withValidator(e)),r.put(E.TARGETED_ADVERTISING_OPT_OUT_NOTICE.toString(),new eu(2,0).withValidator(e)),r.put(E.SALE_OPT_OUT.toString(),new eu(2,0).withValidator(e)),r.put(E.TARGETED_ADVERTISING_OPT_OUT.toString(),new eu(2,0).withValidator(e)),r.put(E.SENSITIVE_DATA_PROCESSING.toString(),new tS(2,[0,0,0,0,0,0,0,0]).withValidator(n)),r.put(E.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS.toString(),new eu(2,0).withValidator(e)),r.put(E.ADDITIONAL_DATA_PROCESSING_CONSENT.toString(),new eu(2,0).withValidator(e)),r.put(E.MSPA_COVERED_TRANSACTION.toString(),new eu(2,1).withValidator(t)),r.put(E.MSPA_OPT_OUT_OPTION_MODE.toString(),new eu(2,0).withValidator(e)),r.put(E.MSPA_SERVICE_PROVIDER_MODE.toString(),new eu(2,0).withValidator(e)),r}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new G("Unable to decode UsTxCoreSegment '"+e+"'")}}},{key:"validate",value:function(){var e=this.fields.get(E.SALE_OPT_OUT_NOTICE).getValue(),t=this.fields.get(E.SALE_OPT_OUT).getValue(),n=this.fields.get(E.TARGETED_ADVERTISING_OPT_OUT_NOTICE).getValue(),r=this.fields.get(E.TARGETED_ADVERTISING_OPT_OUT).getValue(),o=this.fields.get(E.MSPA_SERVICE_PROVIDER_MODE).getValue(),i=this.fields.get(E.MSPA_OPT_OUT_OPTION_MODE).getValue();if(0==e){if(0!=t)throw new ee("Invalid usct sale notice / opt out combination: {"+e+" / "+t+"}")}else if(1==e){if(1!=t&&2!=t)throw new ee("Invalid usct sale notice / opt out combination: {"+e+" / "+t+"}")}else if(2==e&&1!=t)throw new ee("Invalid usct sale notice / opt out combination: {"+e+" / "+t+"}");if(0==n){if(0!=r)throw new ee("Invalid usct targeted advertising notice / opt out combination: {"+n+" / "+r+"}")}else if(1==n){if(1!=t&&2!=t)throw new ee("Invalid usct targeted advertising notice / opt out combination: {"+n+" / "+r+"}")}else if(2==n&&1!=t)throw new ee("Invalid usct targeted advertising notice / opt out combination: {"+n+" / "+r+"}");if(0==o){if(0!=e)throw new ee("Invalid usct mspa service provider mode / sale opt out notice combination: {"+o+" / "+e+"}")}else if(1==o){if(2!=i)throw new ee("Invalid usct mspa service provider / opt out option modes combination: {"+o+" / "+o+"}");if(0!=e)throw new ee("Invalid usct mspa service provider mode / sale opt out notice combination: {"+o+" / "+e+"}")}else if(2==o&&1!=i)throw new ee("Invalid usct mspa service provider / opt out option modes combination: {"+o+" / "+i+"}")}}])}(ef);function nb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(nb=function(){return!!e})()}var nw=function(e){function t(e){var n,r,o;return(0,T.A)(this,t),r=P(r=t),n=N(this,nb()?Reflect.construct(r,[],P(this).constructor):r.apply(this,o)),(0,y.A)(R(n),"base64UrlEncoder",q.getInstance()),(0,y.A)(R(n),"bitStringEncoder",Y.getInstance()),e&&n.decode(e),n}return D(t,e),(0,A.A)(t,[{key:"getFieldNames",value:function(){return nE}},{key:"initializeFields",value:function(){var e=new el;return e.put(E.GPC_SEGMENT_TYPE.toString(),new eu(2,1)),e.put(E.GPC_SEGMENT_INCLUDED.toString(),new eC(!0)),e.put(E.GPC.toString(),new eC(!1)),e}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new G("Unable to decode UsTxGpcSegment '"+e+"'")}}}])}(ef);function nO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(nO=function(){return!!e})()}var nT=function(e){function t(e){var n,r,o;return(0,T.A)(this,t),r=P(r=t),n=N(this,nO()?Reflect.construct(r,[],P(this).constructor):r.apply(this,o)),e&&e.length>0&&n.decode(e),n}return D(t,e),(0,A.A)(t,[{key:"getId",value:function(){return t.ID}},{key:"getName",value:function(){return t.NAME}},{key:"getVersion",value:function(){return t.VERSION}},{key:"initializeSegments",value:function(){var e=[];return e.push(new ny),e.push(new nw),e}},{key:"decodeSection",value:function(e){var t=this.initializeSegments();if(null!=e&&0!==e.length){var n=e.split(".");n.length>0&&t[0].decode(n[0]),n.length>1?(t[1].setFieldValue(E.GPC_SEGMENT_INCLUDED,!0),t[1].decode(n[1])):t[1].setFieldValue(E.GPC_SEGMENT_INCLUDED,!1)}return t}},{key:"encodeSection",value:function(e){var t=[];return e.length>=1&&(t.push(e[0].encode()),e.length>=2&&!0===e[1].getFieldValue(E.GPC_SEGMENT_INCLUDED)&&t.push(e[1].encode())),t.join(".")}}])}(U);(0,y.A)(nT,"ID",16),(0,y.A)(nT,"VERSION",1),(0,y.A)(nT,"NAME","ustx");var nA=(0,A.A)(function e(){(0,T.A)(this,e)});(0,y.A)(nA,"SECTION_ID_NAME_MAP",new Map([[e3.ID,e3.NAME],[ta.ID,ta.NAME],[th.ID,th.NAME],[tA.ID,tA.NAME],[tk.ID,tk.NAME],[tj.ID,tj.NAME],[tY.ID,tY.NAME],[tJ.ID,tJ.NAME],[t5.ID,t5.NAME],[nt.ID,nt.NAME],[nu.ID,nu.NAME],[nv.ID,nv.NAME],[nT.ID,nT.NAME]])),(0,y.A)(nA,"SECTION_ORDER",[e3.NAME,ta.NAME,th.NAME,tA.NAME,tk.NAME,tj.NAME,tY.NAME,tJ.NAME,t5.NAME,nt.NAME,nu.NAME,nv.NAME,nT.NAME]),n(4530),n(44187),n(31428),n(4207),function(e){e.allowIcannDomains,e.allowPrivateDomains,e.detectIp,e.extractHostname,e.mixedInputs,e.validHosts,e.validateHostname}({}),(0,S.A)('.style-module_shimmer_placeholder__OPdgP{background-color:var(--gzp-loader-bg-color);height:200px;overflow:hidden;position:relative;width:100%}.style-module_shimmer_placeholder__OPdgP:before{animation:style-module_shimmer__psiXX 1.5s infinite;background:linear-gradient(90deg,transparent,hsla(0,0%,100%,.2),transparent);content:"";height:100%;left:-150%;position:absolute;top:0;width:100%}@keyframes style-module_shimmer__psiXX{to{transform:translateX(200%)}}'),n(76875)},37094:(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,{ImageResponse:function(){return r.ImageResponse},NextRequest:function(){return o.NextRequest},NextResponse:function(){return i.NextResponse},URLPattern:function(){return s.URLPattern},after:function(){return c.after},connection:function(){return u.connection},unstable_rootParams:function(){return l.unstable_rootParams},userAgent:function(){return a.userAgent},userAgentFromString:function(){return a.userAgentFromString}});var r=n(65645),o=n(2459),i=n(20477),a=n(6109),s=n(39024),c=n(37302),u=n(17895),l=n(85332)},37302:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){Object.keys(e).forEach(function(n){"default"===n||Object.prototype.hasOwnProperty.call(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[n]}})})}(n(48048),t)},37616:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(96659),o=n(12135),i=n(55620);Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{Postpone:function(){return N},PreludeState:function(){return Q},abortAndThrowOnSynchronousRequestDataAccess:function(){return A},abortOnSynchronousPlatformIOAccess:function(){return O},accessedDynamicData:function(){return M},annotateDynamicAccess:function(){return z},consumeDynamicAccess:function(){return U},createDynamicTrackingState:function(){return v},createDynamicValidationState:function(){return m},createHangingInputAbortSignal:function(){return B},createRenderInBrowserAbortSignal:function(){return G},delayUntilRuntimeStage:function(){return $},formatDynamicAPIAccesses:function(){return j},getFirstDynamicReason:function(){return E},isDynamicPostpone:function(){return D},isPrerenderInterruptedError:function(){return V},logDisallowedDynamicError:function(){return Z},markCurrentScopeAsDynamic:function(){return S},postponeWithTracking:function(){return P},throwIfDisallowedDynamic:function(){return J},throwToInterruptStaticGeneration:function(){return y},trackAllowedDynamicAccess:function(){return K},trackDynamicDataInDynamicRender:function(){return b},trackSynchronousPlatformIOAccessInDev:function(){return T},trackSynchronousRequestDataAccessInDev:function(){return R},useDynamicRouteParams:function(){return F},warnOnSyncDynamicError:function(){return I}});var a=function(e){return e&&e.__esModule?e:{default:e}}(n(78299)),s=n(14572),c=n(82456),u=n(95432),l=n(57843),d=n(31559),f=n(53268),p=n(26260),h=n(80045),g=n(1418),_="function"==typeof a.default.unstable_postpone;function v(e){return{isDebugDynamicAccesses:e,dynamicAccesses:[],syncDynamicErrorWithStack:null}}function m(){return{hasSuspenseAboveBody:!1,hasDynamicMetadata:!1,hasDynamicViewport:!1,hasAllowedDynamic:!1,dynamicErrors:[]}}function E(e){var t;return null==(t=e.dynamicAccesses[0])?void 0:t.expression}function S(e,t,n){if(t)switch(t.type){case"cache":case"unstable-cache":case"private-cache":return}if(!e.forceDynamic&&!e.forceStatic){if(e.dynamicShouldError)throw Object.defineProperty(new c.StaticGenBailoutError("Route ".concat(e.route,' with `dynamic = "error"` couldn\'t be rendered statically because it used `').concat(n,"`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering")),"__NEXT_ERROR_CODE",{value:"E553",enumerable:!1,configurable:!0});if(t)switch(t.type){case"prerender-ppr":return P(e.route,n,t.dynamicTracking);case"prerender-legacy":t.revalidate=0;var r=Object.defineProperty(new s.DynamicServerError("Route ".concat(e.route," couldn't be rendered statically because it used ").concat(n,". See more info here: https://nextjs.org/docs/messages/dynamic-server-error")),"__NEXT_ERROR_CODE",{value:"E550",enumerable:!1,configurable:!0});throw e.dynamicUsageDescription=n,e.dynamicUsageStack=r.stack,r}}}function y(e,t,n){var r=Object.defineProperty(new s.DynamicServerError("Route ".concat(t.route," couldn't be rendered statically because it used `").concat(e,"`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error")),"__NEXT_ERROR_CODE",{value:"E558",enumerable:!1,configurable:!0});throw n.revalidate=0,t.dynamicUsageDescription=e,t.dynamicUsageStack=r.stack,r}function b(e){switch(e.type){case"cache":case"unstable-cache":case"private-cache":return}}function w(e,t,n){var r=L("Route ".concat(e," needs to bail out of prerendering at this point because it used ").concat(t,"."));n.controller.abort(r);var o=n.dynamicTracking;o&&o.dynamicAccesses.push({stack:o.isDebugDynamicAccesses?Error().stack:void 0,expression:t})}function O(e,t,n,r){var o=r.dynamicTracking;w(e,t,r),o&&null===o.syncDynamicErrorWithStack&&(o.syncDynamicErrorWithStack=n)}function T(e){e.prerenderPhase=!1}function A(e,t,n,r){if(!1===r.controller.signal.aborted){w(e,t,r);var o=r.dynamicTracking;o&&null===o.syncDynamicErrorWithStack&&(o.syncDynamicErrorWithStack=n)}throw L("Route ".concat(e," needs to bail out of prerendering at this point because it used ").concat(t,"."))}function I(e){e.syncDynamicErrorWithStack&&console.error(e.syncDynamicErrorWithStack)}var R=T;function N(e){var t=e.reason,n=e.route,r=u.workUnitAsyncStorage.getStore();P(n,t,r&&"prerender-ppr"===r.type?r.dynamicTracking:null)}function P(e,t,n){(function(){if(!_)throw Object.defineProperty(Error("Invariant: React.unstable_postpone is not defined. This suggests the wrong version of React was loaded. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E224",enumerable:!1,configurable:!0})})(),n&&n.dynamicAccesses.push({stack:n.isDebugDynamicAccesses?Error().stack:void 0,expression:t}),a.default.unstable_postpone(C(e,t))}function C(e,t){return"Route ".concat(e," needs to bail out of prerendering at this point because it used ").concat(t,". ")+"React throws this special object to indicate where. It should not be caught by your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error"}function D(e){return(void 0===e?"undefined":o._(e))==="object"&&null!==e&&"string"==typeof e.message&&x(e.message)}function x(e){return e.includes("needs to bail out of prerendering at this point because it used")&&e.includes("Learn more: https://nextjs.org/docs/messages/ppr-caught-error")}if(!1===x(C("%%%","^^^")))throw Object.defineProperty(Error("Invariant: isDynamicPostpone misidentified a postpone reason. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E296",enumerable:!1,configurable:!0});var k="NEXT_PRERENDER_INTERRUPTED";function L(e){var t=Object.defineProperty(Error(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return t.digest=k,t}function V(e){return(void 0===e?"undefined":o._(e))==="object"&&null!==e&&e.digest===k&&"name"in e&&"message"in e&&r._(e,Error)}function M(e){return e.length>0}function U(e,t){var n;return(n=e.dynamicAccesses).push.apply(n,i(t.dynamicAccesses)),e.dynamicAccesses}function j(e){return e.filter(function(e){return"string"==typeof e.stack&&e.stack.length>0}).map(function(e){var t=e.expression,n=e.stack;return n=n.split("\n").slice(4).filter(function(e){return!(e.includes("node_modules/next/")||e.includes(" ()")||e.includes(" (node:"))}).join("\n"),"Dynamic API Usage Debug - ".concat(t,":\n").concat(n)})}function G(){var e=new AbortController;return e.abort(Object.defineProperty(new h.BailoutToCSRError("Render in Browser"),"__NEXT_ERROR_CODE",{value:"E721",enumerable:!1,configurable:!0})),e.signal}function B(e){switch(e.type){case"prerender":case"prerender-runtime":var t=new AbortController;if(e.cacheSignal)e.cacheSignal.inputReady().then(function(){t.abort()});else{var n=(0,u.getRuntimeStagePromise)(e);n?n.then(function(){return(0,p.scheduleOnNextTick)(function(){return t.abort()})}):(0,p.scheduleOnNextTick)(function(){return t.abort()})}return t.signal;case"prerender-client":case"prerender-ppr":case"prerender-legacy":case"request":case"cache":case"private-cache":case"unstable-cache":return}}function z(e,t){var n=t.dynamicTracking;n&&n.dynamicAccesses.push({stack:n.isDebugDynamicAccesses?Error().stack:void 0,expression:e})}function F(e){var t=l.workAsyncStorage.getStore(),n=u.workUnitAsyncStorage.getStore();if(t&&n)switch(n.type){case"prerender-client":case"prerender":var r=n.fallbackRouteParams;r&&r.size>0&&a.default.use((0,d.makeHangingPromise)(n.renderSignal,t.route,e));break;case"prerender-ppr":var o=n.fallbackRouteParams;if(o&&o.size>0)return P(t.route,e,n.dynamicTracking);break;case"prerender-runtime":throw Object.defineProperty(new g.InvariantError("`".concat(e,"` was called during a runtime prerender. Next.js should be preventing ").concat(e," from being included in server components statically, but did not in this case.")),"__NEXT_ERROR_CODE",{value:"E771",enumerable:!1,configurable:!0});case"cache":case"private-cache":throw Object.defineProperty(new g.InvariantError("`".concat(e,"` was called inside a cache scope. Next.js should be preventing ").concat(e," from being included in server components statically, but did not in this case.")),"__NEXT_ERROR_CODE",{value:"E745",enumerable:!1,configurable:!0})}}var H=/\n\s+at Suspense \(\)/,W=new RegExp("\\n\\s+at Suspense \\(\\)(?:(?!\\n\\s+at (?:".concat("body|div|main|section|article|aside|header|footer|nav|form|p|span|h1|h2|h3|h4|h5|h6",") \\(\\))[\\s\\S])*?\\n\\s+at ").concat(f.ROOT_LAYOUT_BOUNDARY_NAME," \\([^\\n]*\\)")),q=new RegExp("\\n\\s+at ".concat(f.METADATA_BOUNDARY_NAME,"[\\n\\s]")),Y=new RegExp("\\n\\s+at ".concat(f.VIEWPORT_BOUNDARY_NAME,"[\\n\\s]")),X=new RegExp("\\n\\s+at ".concat(f.OUTLET_BOUNDARY_NAME,"[\\n\\s]"));function K(e,t,n,r){if(!X.test(t)){if(q.test(t)){n.hasDynamicMetadata=!0;return}if(Y.test(t)){n.hasDynamicViewport=!0;return}if(W.test(t)){n.hasAllowedDynamic=!0,n.hasSuspenseAboveBody=!0;return}else if(H.test(t)){n.hasAllowedDynamic=!0;return}else{if(r.syncDynamicErrorWithStack)return void n.dynamicErrors.push(r.syncDynamicErrorWithStack);var o,i,a,s=(o='Route "'.concat(e.route,'": A component accessed data, headers, params, searchParams, or a short-lived cache without a Suspense boundary nor a "use cache" above it. See more info: https://nextjs.org/docs/messages/next-prerender-missing-suspense'),i=t,(a=Object.defineProperty(Error(o),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})).stack=a.name+": "+o+i,a);return void n.dynamicErrors.push(s)}}}var Q=function(e){return e[e.Full=0]="Full",e[e.Empty=1]="Empty",e[e.Errored=2]="Errored",e}({});function Z(e,t){console.error(t),e.dev||(e.hasReadableErrorStacks?console.error('To get a more detailed stack trace and pinpoint the issue, start the app in development mode by running `next dev`, then open "'.concat(e.route,'" in your browser to investigate the error.')):console.error('To get a more detailed stack trace and pinpoint the issue, try one of the following:\n - Start the app in development mode by running `next dev`, then open "'.concat(e.route,'" in your browser to investigate the error.\n - Rerun the production build with `next build --debug-prerender` to generate better stack traces.')))}function J(e,t,n,r){if(0!==t){if(!n.hasSuspenseAboveBody){if(r.syncDynamicErrorWithStack)throw Z(e,r.syncDynamicErrorWithStack),new c.StaticGenBailoutError;var o=n.dynamicErrors;if(o.length>0){for(var i=0;i{"use strict";var r=n(72549),o=n(29955),i=n(95432),a=n(57843),s=n(37616),c=n(69845),u=n(82456),l=n(14572),d=n(1418);n(25288);new WeakMap,o(function e(t){r(this,e),this._provider=t},[{key:"isEnabled",get:function(){return null!==this._provider&&this._provider.isEnabled}},{key:"enable",value:function(){f("draftMode().enable()",this.enable),null!==this._provider&&this._provider.enable()}},{key:"disable",value:function(){f("draftMode().disable()",this.disable),null!==this._provider&&this._provider.disable()}}]);function f(e,t){var n=a.workAsyncStorage.getStore(),r=i.workUnitAsyncStorage.getStore();if(n){if((null==r?void 0:r.phase)==="after")throw Object.defineProperty(Error("Route ".concat(n.route,' used "').concat(e,'" inside `after`. The enabled status of draftMode can be read inside `after` but you cannot enable or disable draftMode. See more info here: https://nextjs.org/docs/app/api-reference/functions/after')),"__NEXT_ERROR_CODE",{value:"E348",enumerable:!1,configurable:!0});if(n.dynamicShouldError)throw Object.defineProperty(new u.StaticGenBailoutError("Route ".concat(n.route,' with `dynamic = "error"` couldn\'t be rendered statically because it used `').concat(e,"`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering")),"__NEXT_ERROR_CODE",{value:"E553",enumerable:!1,configurable:!0});if(r)switch(r.type){case"cache":case"private-cache":var o=Object.defineProperty(Error("Route ".concat(n.route,' used "').concat(e,'" inside "use cache". The enabled status of draftMode can be read in caches but you must not enable or disable draftMode inside a cache. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache')),"__NEXT_ERROR_CODE",{value:"E246",enumerable:!1,configurable:!0});throw Error.captureStackTrace(o,t),null!=n.invalidDynamicUsageError||(n.invalidDynamicUsageError=o),o;case"unstable-cache":throw Object.defineProperty(Error("Route ".concat(n.route,' used "').concat(e,'" inside a function cached with "unstable_cache(...)". The enabled status of draftMode can be read in caches but you must not enable or disable draftMode inside a cache. See more info here: https://nextjs.org/docs/app/api-reference/functions/unstable_cache')),"__NEXT_ERROR_CODE",{value:"E259",enumerable:!1,configurable:!0});case"prerender":case"prerender-runtime":var c=Object.defineProperty(Error("Route ".concat(n.route," used ").concat(e," without first calling `await connection()`. See more info here: https://nextjs.org/docs/messages/next-prerender-sync-headers")),"__NEXT_ERROR_CODE",{value:"E126",enumerable:!1,configurable:!0});return(0,s.abortAndThrowOnSynchronousRequestDataAccess)(n.route,e,c,r);case"prerender-client":var f="`draftMode`";throw Object.defineProperty(new d.InvariantError("".concat(f," must not be used within a client component. Next.js should be preventing ").concat(f," from being included in client components statically, but did not in this case.")),"__NEXT_ERROR_CODE",{value:"E693",enumerable:!1,configurable:!0});case"prerender-ppr":return(0,s.postponeWithTracking)(n.route,e,r.dynamicTracking);case"prerender-legacy":r.revalidate=0;var p=Object.defineProperty(new l.DynamicServerError("Route ".concat(n.route," couldn't be rendered statically because it used `").concat(e,"`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error")),"__NEXT_ERROR_CODE",{value:"E558",enumerable:!1,configurable:!0});throw n.dynamicUsageDescription=e,n.dynamicUsageStack=p.stack,p;case"request":(0,s.trackDynamicDataInDynamicRender)(r)}}}(0,c.createDedupedByCallsiteServerErrorLoggerDev)(function(e,t){return Object.defineProperty(Error("".concat(e?'Route "'.concat(e,'" '):"This route ","used ").concat(t,". ")+"`draftMode()` should be awaited before using its value. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis"),"__NEXT_ERROR_CODE",{value:"E377",enumerable:!1,configurable:!0})})},39024:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"URLPattern",{enumerable:!0,get:function(){return n}});var n="undefined"==typeof URLPattern?void 0:URLPattern},39319:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.API_RESPONSE_CODE=void 0,(n=t.API_RESPONSE_CODE||(t.API_RESPONSE_CODE={})).SUCCESS="SUCCESS",n.VALIDATION="VALIDATION",n.UNAUTHORIZED="UNAUTHORIZED",n.ERR_OTP_SEND_SMS_001="ERR_OTP_SEND_SMS_001",n.SEND_SMS_002="SEND_SMS_002",n.ERR_OTP_VERIFY_SMS_OTP_002="ERR_OTP_VERIFY_SMS_OTP_002",n.DB_ERROR="DB_ERROR",n.INTERNAL_ERROR="INTERNAL_ERROR",n.ERR_RW_002="ERR_RW_002",n.LOGOUT="LOGOUT",n.ERR_RW_010="ERR_RW_010",n.CANCELLED_REQUEST="CANCELLED_REQUEST";var n,r,o,i,a,s={data:{},success:!1,code:t.API_RESPONSE_CODE.INTERNAL_ERROR,version:"0"};t.TRUECALLER_FAILURE_CODE=void 0,(r=t.TRUECALLER_FAILURE_CODE||(t.TRUECALLER_FAILURE_CODE={})).PENDING="TRUE_CALLER_RESPONSE_PENDING",r.INTERNAL_ERROR="INTERNAL_ERROR",r.INVALID_PHONE="TRUE_CALLER_RESPONSE_ANOTHER_ACCOUNT",r.USER_REJECTED="TRUE_CALLER_RESPONSE_USER_REJECTED",t.OTP_FAILURE_CODE=void 0,(o=t.OTP_FAILURE_CODE||(t.OTP_FAILURE_CODE={})).INVALID_PHONE="INVALID_PHONE",o.ERROR_VERIFY_CSRF="ERROR_VERIFY_CSRF",o.INVALID_OTP="INVALID_OTP",o.INCORRECT_OTP="INCORRECT_OTP",o.RETRY_COUNT_EXCEEDED="RETRY_COUNT_EXCEEDED",t.GOOGLE_FAILURE_CODE=void 0,(i=t.GOOGLE_FAILURE_CODE||(t.GOOGLE_FAILURE_CODE={})).INVALID_TOKEN="ERR_GOOGLE_LOGIN_01",i.INVALID_SIGNATURE="ERR_GOOGLE_LOGIN_02",i.IMPLICIT_ERROR="INTERNAL_ERROR_GOOGLE_LOGIN",t.TrueCallerStatus=void 0,(a=t.TrueCallerStatus||(t.TrueCallerStatus={})).NOT_STARTED="NOT_STARTED",a.INITIATED="INITIATED",a.PENDING="PENDING",a.SUCCESS="SUCCESS",a.FAILED="FAILED",a.CANCELLED="CANCELLED",t.FAILED_REQUEST=s},42169:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return i}});var r=n(84467),o=n(61790);function i(e,t,n,i){if(!t||t===n)return e;var a=e.toLowerCase();return!i&&((0,o.pathHasPrefix)(a,"/api")||(0,o.pathHasPrefix)(a,"/"+t.toLowerCase()))?e:(0,r.addPathPrefix)(e,"/"+t)}},43270:(e,t,n)=>{"use strict";n.d(t,{P:()=>r.P});var r=n(46371)},43286:(e,t,n)=>{"use strict";var r=n(72549),o=n(29955),i=n(76032),a=n(76126),s=n(61989),c=n(98645);function u(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return l(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n{"use strict";n.d(t,{wY:()=>g});var r=n(11296),o={"300x250":"","320x100":"","320x50":"","160x600":"","728x90":"","970x90":"","970x250":"","300x600":""},i={pubmatic:"pubmaticBidAdapter",rubicon:"rubiconBidAdapter",appnexus:"appnexusBidAdapter",smartyads:"smartyadsBidAdapter",ogury:"oguryBidAdapter",openx:"openxBidAdapter",oms:"omsBidAdapter",rise:"riseBidAdapter",onetag:"onetagBidAdapter",kueezrtb:"kueezRtbBidAdapter"},a={params:{org:"65801592cf5bf90001aeb013"},adCodes:Object.assign({},o)},s={params:{publisherId:"21135"},adCodes:Object.assign({},o)},c={params:{pubId:"76c402e9a93328a"},adCodes:Object.assign({},o)},u={params:{cId:"65a90fbc3893695daa0258ce",pId:"65lk7c192882r0011813fn9"},adCodes:Object.assign({},o)},l={quizzop:{pubmaticBidAdapter:{params:{publisherId:"159719",siteId:"976618"},adCodes:Object.assign(Object.assign({},o),{"300x250":"Quizzop_Display_Prebid_300x250","320x100":"Quizzop_Display_Prebid_320x100","320x50":"Quizzop_Display_Prebid_320x50","160x600":"Quizzop_Display_Prebid_160x600","728x90":"Quizzop_Display_Prebid_728x90","970x90":"Quizzop_Display_Prebid_970x90","970x250":"Quizzop_Display_Prebid_970x250","300x600":"Quizzop_Display_Prebid_300x600"})},openxBidAdapter:{params:{delDomain:"advergame-d.openx.net"},adCodes:Object.assign(Object.assign({},o),{"300x250":"558907509","320x100":"558907510","320x50":"558907511","160x600":"558907508","728x90":"558907512"})},rubiconBidAdapter:{params:{accountId:25242,siteId:466626,position:"btf"},adCodes:{"300x600":4068261,"300x250":2750054,"320x100":2750056,"320x50":4068263,"970x250":4068265,"160x600":4068267,"728x90":4068269,"970x90":4068271}},appnexusBidAdapter:{params:{},adCodes:Object.assign(Object.assign({},o),{"300x250":0x1f9ee94,"320x100":0x1f9ee96,"320x50":0x1f9ee96,"728x90":0x1f9ee97})},smartyadsBidAdapter:{params:{accountid:"20775",traffic:"banner",host:"prebid"},adCodes:Object.assign(Object.assign({},o),{"300x250":"8194","320x50":"8195","320x100":"8196","728x90":"8197","300x600":"8198","970x250":"8200","160x600":"8201"})},omsBidAdapter:s,riseBidAdapter:a,onetagBidAdapter:c},gamezop:{pubmaticBidAdapter:{params:{publisherId:"159719",siteId:"1229340"},adCodes:Object.assign(Object.assign({},o),{"300x250":"Gamezop_Display_Prebid_300x250","320x100":"Gamezop_Display_Prebid_320x100","320x50":"Gamezop_Display_Prebid_320x50","160x600":"Gamezop_Display_Prebid_160x600","728x90":"Gamezop_Display_Prebid_728x90"})},openxBidAdapter:{params:{delDomain:"advergame-d.openx.net"},adCodes:Object.assign(Object.assign({},o),{"300x250":"558907504","320x100":"558907505","320x50":"558907506","160x600":"558907503","728x90":"558907507"})},rubiconBidAdapter:{params:{accountId:25242,siteId:466624,position:"btf"},adCodes:{"300x600":4069251,"300x250":4069245,"320x100":4069247,"320x50":4069253,"970x250":4069249,"160x600":4069255,"728x90":4069259,"970x90":4069257}},appnexusBidAdapter:{params:{},adCodes:Object.assign(Object.assign({},o),{"300x250":0x1ee017f,"320x100":0x1f9ee8a,"320x50":0x1f9ee8a,"728x90":0x1f9ee83})},riseBidAdapter:a,onetagBidAdapter:c},astrozop:{pubmaticBidAdapter:{params:{publisherId:"159719",siteId:"1211898"},adCodes:Object.assign(Object.assign({},o),{"300x250":"Astrozop_Display_Prebid_300x250","320x100":"Astrozop_Display_Prebid_320x100","320x50":"Astrozop_Display_Prebid_320x50","160x600":"Astrozop_Display_Prebid_160x600","728x90":"Astrozop_Display_Prebid_728x90","970x90":"Astrozop_Display_Prebid_970x90","970x250":"Astrozop_Display_Prebid_970x250","300x600":"Astrozop_Display_Prebid_300x600"})},openxBidAdapter:{params:{delDomain:"advergame-d.openx.net"},adCodes:Object.assign(Object.assign({},o),{"300x250":"560703411","320x100":"560703413","320x50":"560703414","160x600":"560703412","728x90":"560703415"})},rubiconBidAdapter:{params:{accountId:25242,siteId:551938,position:"btf"},adCodes:{"300x250":4068237,"728x90":4068239,"320x50":4068241,"320x100":4068243,"970x90":4068245,"160x600":4068247,"970x250":4068249,"300x600":4068251}},appnexusBidAdapter:{params:{},adCodes:Object.assign(Object.assign({},o),{"300x250":0x1f9eeb8,"320x100":0x1f9eebe,"320x50":0x1f9eebe,"728x90":0x1f9eeb9})},smartyadsBidAdapter:{params:{accountid:"20775",traffic:"banner",host:"prebid"},adCodes:Object.assign(Object.assign({},o),{"300x250":"8202","320x50":"8203","320x100":"8204","728x90":"8205","300x600":"8206","970x250":"8208","160x600":"8209"})},oguryBidAdapter:{params:{assetKey:"OGY-DEBCA09D3E0D"},adCodes:Object.assign(Object.assign({},o),{"300x250":"wm-hb-iart-astroz-adver-cnt2uqqfbzzq","320x50":"wm-hb-stdb-astroz-adver-fgeyqiirq02r","728x90":"wd-hb-stdb-astroz-adver-sy0lap6cj2k7","970x250":"wd-hb-stdb-astroz-adver-sy0lap6cj2k7"})},omsBidAdapter:s,riseBidAdapter:a,onetagBidAdapter:c},criczop:{pubmaticBidAdapter:{params:{publisherId:"159719",siteId:"1226584"},adCodes:Object.assign(Object.assign({},o),{"300x250":"Criczop_Display_Prebid_300x250","320x100":"Criczop_Display_Prebid_320x100","320x50":"Criczop_Display_Prebid_320x50","160x600":"Criczop_Display_Prebid_160x600","728x90":"Criczop_Display_Prebid_728x90","970x90":"Criczop_Display_Prebid_970x90","970x250":"Criczop_Display_Prebid_970x250","300x600":"Criczop_Display_Prebid_300x600"})},rubiconBidAdapter:{params:{accountId:25242,siteId:550544,position:"btf"},adCodes:{"300x250":3438428,"320x100":3438430,"320x50":3438430,"728x90":4068183,"970x90":4068187,"160x600":4068193,"970x250":4068195,"300x600":4068197}},appnexusBidAdapter:{params:{},adCodes:Object.assign(Object.assign({},o),{"300x250":0x1f9eec1,"320x100":0x1f9eec4,"320x50":0x1f9eec4,"728x90":0x1f9eec5})},smartyadsBidAdapter:{params:{accountid:"20775",traffic:"banner",host:"prebid"},adCodes:Object.assign(Object.assign({},o),{"300x250":"8210","320x50":"8211","320x100":"8212","728x90":"8213","300x600":"8215","970x250":"8217","160x600":"8218"})},oguryBidAdapter:{params:{assetKey:"OGY-635F42F109EF"},adCodes:Object.assign(Object.assign({},o),{"300x250":"wm-hb-iart-criczo-adver-3uhqwgrueaws","320x50":"wm-hb-stdb-criczo-adver-q8fyq0vndhgu","728x90":"wd-hb-stdb-criczo-adver-zbwuwhi6updk","970x250":"wd-hb-stdb-criczo-adver-zbwuwhi6updk"})},omsBidAdapter:s,riseBidAdapter:a,onetagBidAdapter:c},quizzopLite:{},gamezopAstro:{},gamezopComet:{},gamezopEnterprise:{},eventsCricketZone:{},feedzop:{omsBidAdapter:s,riseBidAdapter:a,onetagBidAdapter:c}},d={smartyadsBidAdapter:{params:{accountid:"20775",traffic:"banner",host:"prebid"},adCodes:Object.assign(Object.assign({},o),{"300x250":"9753","320x50":"9754","320x100":"9755","728x90":"9756","300x600":"9757","970x250":"9759","160x600":"9760"})},openxBidAdapter:{params:{delDomain:"advergame-d.openx.net"},adCodes:Object.assign(Object.assign({},o),{"320x50":"564201288","728x90":"564201287","300x250":"564201285"})},rubiconBidAdapter:{params:{accountId:25242,siteId:612247,position:"btf"},adCodes:{"300x250":4055891,"320x100":4055889,"970x250":4055887,"300x600":4068109,"320x50":4068111,"160x600":4068117,"970x90":4068119,"728x90":4068121}},omsBidAdapter:s,riseBidAdapter:a,kueezRtbBidAdapter:u,onetagBidAdapter:c};Object.entries(l).reduce(function(e,t){var n=(0,r.A)(t,2),o=n[0],i=n[1];try{e[o]=Object.entries(i).reduce(function(e,t){var n=(0,r.A)(t,2),o=n[0],i=n[1];return e[o]=i.params,e},{})}catch(t){e[o]={}}return e},{}),Object.entries(l).reduce(function(e,t){var n=(0,r.A)(t,2),o=n[0],i=n[1];try{e[o]=Object.entries(i).reduce(function(e,t){var n=(0,r.A)(t,2),o=n[0],i=n[1];return e[o]=i.adCodes,e},{})}catch(t){e[o]={}}return e},{});var f=["ogury"],p={quizzop:"quizzop",quizzopLite:"quizzop",gamezop:"gamezop",gamezopAstro:"gamezop",gamezopComet:"gamezop",gamezopEnterprise:"gamezop",astrozop:"astrozop",criczop:"criczop",eventsCricketZone:"eventsCricketZone",feedzop:"feedzop"},h=function(e,t){var n=p[e]||e,r=function(e,r){var o,i,a,s,c;try{return t?(null==(i=null==(o=d[e])?void 0:o.adCodes)?void 0:i[r])||"":(null==(c=null==(s=null==(a=l[n])?void 0:a[e])?void 0:s.adCodes)?void 0:c[r])||""}catch(e){return""}},o=function(e){var r,o,i;try{return t?(null==(r=d[e])?void 0:r.params)||{}:(null==(i=null==(o=l[n])?void 0:o[e])?void 0:i.params)||{}}catch(e){return{}}};return{pubmatic:function(e){return Object.assign(Object.assign({},o("pubmaticBidAdapter")),{adSlot:r("pubmaticBidAdapter",e)})},openx:function(e){return Object.assign(Object.assign({},o("openxBidAdapter")),{unit:r("openxBidAdapter",e)})},rubicon:function(e){return Object.assign(Object.assign({},o("rubiconBidAdapter")),{siteId:o("rubiconBidAdapter").siteId,accountId:o("rubiconBidAdapter").accountId,zoneId:r("rubiconBidAdapter",e)})},appnexus:function(e){return{placement_id:r("appnexusBidAdapter",e)}},ogury:function(e){return Object.assign(Object.assign({},o("oguryBidAdapter")),{adUnitId:r("oguryBidAdapter",e)})},smartyads:function(e){return Object.assign(Object.assign({},o("smartyadsBidAdapter")),{sourceid:r("smartyadsBidAdapter",e)})},kueezrtb:function(){return Object.assign({},o("kueezRtbBidAdapter"))},oms:function(){return Object.assign({},o("omsBidAdapter"))},rise:function(){return Object.assign({},o("riseBidAdapter"))},onetag:function(){return Object.assign({},o("onetagBidAdapter"))}}};function g(e,t,n,o,a,s){var c,u,l,d,p,g,v,m,E,S,y=t[0]||[],b=(0,r.A)(y,2),w=b[0],O=void 0===w?300:w,T=b[1],A=void 0===T?250:T,I=[],R=new Set(null!=(S=null==(E=null==a?void 0:a.prebid)?void 0:E.adaptor)?S:[]),N=Object.entries(i).filter(function(e){var t=(0,r.A)(e,2)[1];return R.has(t)}).map(function(e){return(0,r.A)(e,1)[0]}),P=(l=(u=_(O,A)).is300x250Ad,d=u.is320x100Ad,p=u.is320x50Ad,g=u.is160x600Ad,v=u.is728x90Ad,l?"300x250":d?"320x100":p?"320x50":g?"160x600":v?"728x90":"300x250"),C=h(e,s);I.push({code:n,mediaTypes:{banner:{sizes:t}},bids:(m=[],Object.keys(C).forEach(function(e){f.includes(e)||N.includes(e)&&m.push({bidder:e,params:C[e](P)})}),m)});var D=(c=[],f.forEach(function(e){N.includes(e)&&c.push({bidder:e,params:C[e]("300x250")})}),c),x=_(O,A),k=x.is320x100Ad,L=x.is320x50Ad;return k||L||!(D.length>0)||I.push({code:n,mediaTypes:{banner:{sizes:[[1,1]]}},bids:D}),I}function _(e,t){return{is300x250Ad:300===e&&250===t||336===e&&280===t,is320x100Ad:320===e&&100===t||300===e&&100===t||320===e&&50===t||1===e&&1===t||300===e&&50===t,is320x50Ad:320===e&&100===t||300===e&&100===t||320===e&&50===t||1===e&&1===t||300===e&&50===t,is160x600Ad:(160===e||300===e)&&600===t,is728x90Ad:728===e&&90===t||970===e&&90===t||970===e&&250===t}}},44526:(e,t)=>{"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,{bgBlack:function(){return R},bgBlue:function(){return D},bgCyan:function(){return k},bgGreen:function(){return P},bgMagenta:function(){return x},bgRed:function(){return N},bgWhite:function(){return L},bgYellow:function(){return C},black:function(){return m},blue:function(){return b},bold:function(){return d},cyan:function(){return T},dim:function(){return f},gray:function(){return I},green:function(){return S},hidden:function(){return _},inverse:function(){return g},italic:function(){return p},magenta:function(){return w},purple:function(){return O},red:function(){return E},reset:function(){return l},strikethrough:function(){return v},underline:function(){return h},white:function(){return A},yellow:function(){return y}});var n,r,o=null!=(n=null==(r=globalThis)?void 0:r.process)?n:{},i=o.env,a=o.stdout,s=i&&!i.NO_COLOR&&(i.FORCE_COLOR||(null==a?void 0:a.isTTY)&&!i.CI&&"dumb"!==i.TERM),c=function(e,t,n,r){var o=e.substring(0,r)+n,i=e.substring(r+t.length),a=i.indexOf(t);return~a?o+c(i,t,n,a):o+i},u=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e;return s?function(r){var o=""+r,i=o.indexOf(t,e.length);return~i?e+c(o,t,n,i)+t:e+o+t}:String},l=s?function(e){return"\x1b[0m".concat(e,"\x1b[0m")}:String,d=u("\x1b[1m","\x1b[22m","\x1b[22m\x1b[1m"),f=u("\x1b[2m","\x1b[22m","\x1b[22m\x1b[2m"),p=u("\x1b[3m","\x1b[23m"),h=u("\x1b[4m","\x1b[24m"),g=u("\x1b[7m","\x1b[27m"),_=u("\x1b[8m","\x1b[28m"),v=u("\x1b[9m","\x1b[29m"),m=u("\x1b[30m","\x1b[39m"),E=u("\x1b[31m","\x1b[39m"),S=u("\x1b[32m","\x1b[39m"),y=u("\x1b[33m","\x1b[39m"),b=u("\x1b[34m","\x1b[39m"),w=u("\x1b[35m","\x1b[39m"),O=u("\x1b[38;2;173;127;168m","\x1b[39m"),T=u("\x1b[36m","\x1b[39m"),A=u("\x1b[37m","\x1b[39m"),I=u("\x1b[90m","\x1b[39m"),R=u("\x1b[40m","\x1b[49m"),N=u("\x1b[41m","\x1b[49m"),P=u("\x1b[42m","\x1b[49m"),C=u("\x1b[43m","\x1b[49m"),D=u("\x1b[44m","\x1b[49m"),x=u("\x1b[45m","\x1b[49m"),k=u("\x1b[46m","\x1b[49m"),L=u("\x1b[47m","\x1b[49m")},45858:(e,t,n)=>{"use strict";var r=n(64673),o=n(75079),i=n(71980),a=n(16342),s=n(56287),c=n(54823);function u(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(u=function(){return!!e})()}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"InvariantError",{enumerable:!0,get:function(){return l}});var l=function(e){function t(e,n){var r,s,c;return o(this,t),s=t,c=["Invariant: "+(e.endsWith(".")?e:e+".")+" This is a bug in Next.js.",n],s=a(s),(r=i(this,u()?Reflect.construct(s,c||[],a(this).constructor):s.apply(this,c))).name="InvariantError",r}return s(t,e),r(t)}(c(Error))},46371:(e,t,n)=>{"use strict";n.d(t,{P:()=>m});var r=n(38153),o=n(84427),i=n(78299),a=n(12135),s=n(11296),c=n(10509),u=n(31228),l=n(81398),d=n(96510),f=n(27833),p=function(e){var t=e.id,n=e.sizes,r=e.dfpCode,i=e.targetingArguments,p=e.hbEnabled,h=e.customParams,g=e.prebidEnabled,_=e.apsEnabled,v=(0,d.Ns)().consentState,m="gpt-ad-trigger-"+t,E=(0,u.y)(r||"300x250"),S=(0,s.A)(E,2),y=S[0],b=S[1],w=n&&Array.isArray(n)&&n.length>0?"object"!=(0,a._)(n[0])?"".concat(JSON.stringify(n)):n.reduce(function(e,t,r){return e+"[".concat(t,"]").concat(r0&&(P(e,!0),t.skipFallback=!0,I.current-=1),u&&u(t)}else l&&l(),I.current=g.YW},[]),D=(0,i.useCallback)(function(e){e.slot.getSlotElementId()===a&&d&&d()},[]);(0,i.useEffect)(function(){return A.current||(A.current=!0,window.googletag.cmd.push(function(){window.googletag.display(a),window.googletag.pubads().addEventListener("slotRenderEnded",C)}),window.googletag.cmd.push(function(){var e;null==(e=null==window?void 0:window.googletag)||e.pubads().addEventListener("slotRequested",D),window.googletag.pubads().addEventListener("impressionViewable",P)})),function(){var e;(null==(e=null==window?void 0:window.googletag)?void 0:e.pubads)&&(window.googletag.pubads().removeEventListener("slotRenderEnded",C),window.googletag.pubads().removeEventListener("slotRequested",D),window.googletag.pubads().removeEventListener("impressionViewable",P))}},[]);var x=(0,i.useMemo)(function(){return Object.assign(Object.assign({},w),(0,r.A)({"experiment-group":String((0,h.r)(1,10))},g.WS,T.refreshAd?"true-first-request":"false"))},[]);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(c.default,{id:"gpt-cmd",dangerouslySetInnerHTML:{__html:"\n window.googletag = window.googletag || {};\n window.googletag.cmd = window.googletag.cmd || [];\n "}}),(0,o.jsx)(p,{hbEnabled:void 0===f||f,apsEnabled:void 0===m||m,prebidEnabled:void 0===E||E,width:t,height:n,id:a,dfpCode:s,sizes:S,targetingArguments:y,customParams:x}),(0,o.jsx)("div",{className:"flex justify-center items-center",children:(0,o.jsx)("div",{id:a,style:{minHeight:n},className:"flex justify-center items-center"})})]})}},48048:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"after",{enumerable:!0,get:function(){return o}});var r=n(57843);function o(e){var t=r.workAsyncStorage.getStore();if(!t)throw Object.defineProperty(Error("`after` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context"),"__NEXT_ERROR_CODE",{value:"E468",enumerable:!1,configurable:!0});return t.afterContext.after(e)}},49918:(e,t,n)=>{var r=n(18208),o=n(91394);e.exports=function(e,t,n){if(r())return Reflect.construct.apply(null,arguments);var i=[null];i.push.apply(i,t);var a=new(e.bind.apply(e,i));return n&&o(a,n.prototype),a},e.exports.__esModule=!0,e.exports.default=e.exports},49978:(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,{bootstrap:function(){return c},error:function(){return l},event:function(){return h},info:function(){return p},prefixes:function(){return i},ready:function(){return f},trace:function(){return g},wait:function(){return u},warn:function(){return d},warnOnce:function(){return v}});var r=n(44526),o=n(4837),i={wait:(0,r.white)((0,r.bold)("○")),error:(0,r.red)((0,r.bold)("⨯")),warn:(0,r.yellow)((0,r.bold)("⚠")),ready:"▲",info:(0,r.white)((0,r.bold)(" ")),event:(0,r.green)((0,r.bold)("✓")),trace:(0,r.magenta)((0,r.bold)("\xbb"))},a={log:"log",warn:"warn",error:"error"};function s(e){for(var t,n=arguments.length,r=Array(n>1?n-1:0),o=1;o{"use strict";var r=n(72549),o=n(29955);Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{bindSnapshot:function(){return u},createAsyncLocalStorage:function(){return c},createSnapshot:function(){return l}});var i=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0}),a=o(function e(){r(this,e)},[{key:"disable",value:function(){throw i}},{key:"getStore",value:function(){}},{key:"run",value:function(){throw i}},{key:"exit",value:function(){throw i}},{key:"enterWith",value:function(){throw i}}],[{key:"bind",value:function(e){return e}}]),s="undefined"!=typeof globalThis&&globalThis.AsyncLocalStorage;function c(){return s?new s:new a}function u(e){return s?s.bind(e):a.bind(e)}function l(){return s?s.snapshot():function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r{"use strict";n.d(t,{N:()=>r.Ns});var r=n(96510)},53773:(e,t,n)=>{"use strict";n.d(t,{A:()=>ek});var r={};n.r(r),n.d(r,{EmailIcon:()=>V,EmailShareButton:()=>eu,FacebookIcon:()=>v,FacebookMessengerIcon:()=>L,FacebookMessengerShareButton:()=>ec,FacebookShareButton:()=>H,FacebookShareCount:()=>em,GabIcon:()=>M,GabShareButton:()=>el,GithubIcon:()=>G,HatenaIcon:()=>k,HatenaShareButton:()=>es,HatenaShareCount:()=>ev,InstagramIcon:()=>U,InstapaperIcon:()=>x,InstapaperShareButton:()=>ea,LineIcon:()=>m,LineShareButton:()=>W,LinkedinIcon:()=>I,LinkedinShareButton:()=>ee,LivejournalIcon:()=>P,LivejournalShareButton:()=>er,MailruIcon:()=>N,MailruShareButton:()=>en,OKShareCount:()=>ep,PinterestIcon:()=>E,PinterestShareButton:()=>q,PinterestShareCount:()=>eh,PocketIcon:()=>D,PocketShareButton:()=>ei,RedditIcon:()=>S,RedditShareButton:()=>Y,SpotifyIcon:()=>j,TelegramIcon:()=>y,TelegramShareButton:()=>X,TumblrIcon:()=>b,TumblrShareButton:()=>K,TumblrShareCount:()=>eg,TwitterIcon:()=>w,TwitterShareButton:()=>Q,VKIcon:()=>R,VKShareButton:()=>et,VKShareCount:()=>e_,ViberIcon:()=>O,ViberShareButton:()=>Z,WeiboIcon:()=>T,WeiboShareButton:()=>J,WhatsappIcon:()=>A,WhatsappShareButton:()=>$,WorkplaceIcon:()=>C,WorkplaceShareButton:()=>eo});var o=n(38153),i=n(11296),a=n(84427),s=n(96659),c=n(12135),u=n(78299),l=n(25888),d=n.n(l),f=function(e,t){return(f=Object.setPrototypeOf||(0,s._)({__proto__:[]},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 p(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}f(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var h=function(){return(h=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function _(e){return function(t){var n=t.bgStyle,r=void 0===n?{}:n,o=t.borderRadius,i=void 0===o?0:o,a=t.iconFillColor,s=t.round,c=t.size,l=void 0===c?64:c,d=g(t,["bgStyle","borderRadius","iconFillColor","round","size"]);return u.createElement("svg",h({viewBox:"0 0 64 64",width:l,height:l},d),s?u.createElement("circle",{cx:"32",cy:"32",r:"31",fill:e.color,style:r}):u.createElement("rect",{width:"64",height:"64",rx:i,ry:i,fill:e.color,style:r}),u.createElement("path",{d:e.path,fill:void 0===a?"white":a}))}}"function"==typeof SuppressedError&&SuppressedError;var v=_({color:"#3b5998",name:"facebook",path:"M34.1,47V33.3h4.6l0.7-5.3h-5.3v-3.4c0-1.5,0.4-2.6,2.6-2.6l2.8,0v-4.8c-0.5-0.1-2.2-0.2-4.1-0.2 c-4.1,0-6.9,2.5-6.9,7V28H24v5.3h4.6V47H34.1z"}),m=_({color:"#00b800",name:"line",path:"M52.62 30.138c0 3.693-1.432 7.019-4.42 10.296h.001c-4.326 4.979-14 11.044-16.201 11.972-2.2.927-1.876-.591-1.786-1.112l.294-1.765c.069-.527.142-1.343-.066-1.865-.232-.574-1.146-.872-1.817-1.016-9.909-1.31-17.245-8.238-17.245-16.51 0-9.226 9.251-16.733 20.62-16.733 11.37 0 20.62 7.507 20.62 16.733zM27.81 25.68h-1.446a.402.402 0 0 0-.402.401v8.985c0 .221.18.4.402.4h1.446a.401.401 0 0 0 .402-.4v-8.985a.402.402 0 0 0-.402-.401zm9.956 0H36.32a.402.402 0 0 0-.402.401v5.338L31.8 25.858a.39.39 0 0 0-.031-.04l-.002-.003-.024-.025-.008-.007a.313.313 0 0 0-.032-.026.255.255 0 0 1-.021-.014l-.012-.007-.021-.012-.013-.006-.023-.01-.013-.005-.024-.008-.014-.003-.023-.005-.017-.002-.021-.003-.021-.002h-1.46a.402.402 0 0 0-.402.401v8.985c0 .221.18.4.402.4h1.446a.401.401 0 0 0 .402-.4v-5.337l4.123 5.568c.028.04.063.072.101.099l.004.003a.236.236 0 0 0 .025.015l.012.006.019.01a.154.154 0 0 1 .019.008l.012.004.028.01.005.001a.442.442 0 0 0 .104.013h1.446a.4.4 0 0 0 .401-.4v-8.985a.402.402 0 0 0-.401-.401zm-13.442 7.537h-3.93v-7.136a.401.401 0 0 0-.401-.401h-1.447a.4.4 0 0 0-.401.401v8.984a.392.392 0 0 0 .123.29c.072.068.17.111.278.111h5.778a.4.4 0 0 0 .401-.401v-1.447a.401.401 0 0 0-.401-.401zm21.429-5.287c.222 0 .401-.18.401-.402v-1.446a.401.401 0 0 0-.401-.402h-5.778a.398.398 0 0 0-.279.113l-.005.004-.006.008a.397.397 0 0 0-.111.276v8.984c0 .108.043.206.112.278l.005.006a.401.401 0 0 0 .284.117h5.778a.4.4 0 0 0 .401-.401v-1.447a.401.401 0 0 0-.401-.401h-3.93v-1.519h3.93c.222 0 .401-.18.401-.402V29.85a.401.401 0 0 0-.401-.402h-3.93V27.93h3.93z"}),E=_({color:"#cb2128",name:"pinterest",path:"M32,16c-8.8,0-16,7.2-16,16c0,6.6,3.9,12.2,9.6,14.7c0-1.1,0-2.5,0.3-3.7 c0.3-1.3,2.1-8.7,2.1-8.7s-0.5-1-0.5-2.5c0-2.4,1.4-4.1,3.1-4.1c1.5,0,2.2,1.1,2.2,2.4c0,1.5-0.9,3.7-1.4,5.7 c-0.4,1.7,0.9,3.1,2.5,3.1c3,0,5.1-3.9,5.1-8.5c0-3.5-2.4-6.1-6.7-6.1c-4.9,0-7.9,3.6-7.9,7.7c0,1.4,0.4,2.4,1.1,3.1 c0.3,0.3,0.3,0.5,0.2,0.9c-0.1,0.3-0.3,1-0.3,1.3c-0.1,0.4-0.4,0.6-0.8,0.4c-2.2-0.9-3.3-3.4-3.3-6.1c0-4.5,3.8-10,11.4-10 c6.1,0,10.1,4.4,10.1,9.2c0,6.3-3.5,11-8.6,11c-1.7,0-3.4-0.9-3.9-2c0,0-0.9,3.7-1.1,4.4c-0.3,1.2-1,2.5-1.6,3.4 c1.4,0.4,3,0.7,4.5,0.7c8.8,0,16-7.2,16-16C48,23.2,40.8,16,32,16z"}),S=_({color:"#ff4500",name:"reddit",path:"m 52.8165,31.942362 c 0,-2.4803 -2.0264,-4.4965 -4.5169,-4.4965 -1.2155,0 -2.3171,0.4862 -3.128,1.2682 -3.077,-2.0247 -7.2403,-3.3133 -11.8507,-3.4782 l 2.5211,-7.9373 6.8272,1.5997 -0.0102,0.0986 c 0,2.0281 1.6575,3.6771 3.6958,3.6771 2.0366,0 3.6924,-1.649 3.6924,-3.6771 0,-2.0281 -1.6575,-3.6788 -3.6924,-3.6788 -1.564,0 -2.8968,0.9758 -3.4357,2.3443 l -7.3593,-1.7255 c -0.3213,-0.0782 -0.6477,0.1071 -0.748,0.4233 L 32,25.212062 c -4.8246,0.0578 -9.1953,1.3566 -12.41,3.4425 -0.8058,-0.7446 -1.8751,-1.2104 -3.0583,-1.2104 -2.4905,0 -4.5152,2.0179 -4.5152,4.4982 0,1.649 0.9061,3.0787 2.2389,3.8607 -0.0884,0.4794 -0.1462,0.9639 -0.1462,1.4569 0,6.6487 8.1736,12.0581 18.2223,12.0581 10.0487,0 18.224,-5.4094 18.224,-12.0581 0,-0.4658 -0.0493,-0.9248 -0.1275,-1.377 1.4144,-0.7599 2.3885,-2.2304 2.3885,-3.9406 z m -29.2808,3.0872 c 0,-1.4756 1.207,-2.6775 2.6894,-2.6775 1.4824,0 2.6877,1.2019 2.6877,2.6775 0,1.4756 -1.2053,2.6758 -2.6877,2.6758 -1.4824,0 -2.6894,-1.2002 -2.6894,-2.6758 z m 15.4037,7.9373 c -1.3549,1.3481 -3.4816,2.0043 -6.5008,2.0043 l -0.0221,-0.0051 -0.0221,0.0051 c -3.0209,0 -5.1476,-0.6562 -6.5008,-2.0043 -0.2465,-0.2448 -0.2465,-0.6443 0,-0.8891 0.2465,-0.2465 0.6477,-0.2465 0.8942,0 1.105,1.0999 2.9393,1.6337 5.6066,1.6337 l 0.0221,0.0051 0.0221,-0.0051 c 2.6673,0 4.5016,-0.5355 5.6066,-1.6354 0.2465,-0.2465 0.6477,-0.2448 0.8942,0 0.2465,0.2465 0.2465,0.6443 0,0.8908 z m -0.3213,-5.2615 c -1.4824,0 -2.6877,-1.2002 -2.6877,-2.6758 0,-1.4756 1.2053,-2.6775 2.6877,-2.6775 1.4824,0 2.6877,1.2019 2.6877,2.6775 0,1.4756 -1.2053,2.6758 -2.6877,2.6758 z"}),y=_({color:"#37aee2",name:"telegram",path:"m45.90873,15.44335c-0.6901,-0.0281 -1.37668,0.14048 -1.96142,0.41265c-0.84989,0.32661 -8.63939,3.33986 -16.5237,6.39174c-3.9685,1.53296 -7.93349,3.06593 -10.98537,4.24067c-3.05012,1.1765 -5.34694,2.05098 -5.4681,2.09312c-0.80775,0.28096 -1.89996,0.63566 -2.82712,1.72788c-0.23354,0.27218 -0.46884,0.62161 -0.58825,1.10275c-0.11941,0.48114 -0.06673,1.09222 0.16682,1.5716c0.46533,0.96052 1.25376,1.35737 2.18443,1.71383c3.09051,0.99037 6.28638,1.93508 8.93263,2.8236c0.97632,3.44171 1.91401,6.89571 2.84116,10.34268c0.30554,0.69185 0.97105,0.94823 1.65764,0.95525l-0.00351,0.03512c0,0 0.53908,0.05268 1.06412,-0.07375c0.52679,-0.12292 1.18879,-0.42846 1.79109,-0.99212c0.662,-0.62161 2.45836,-2.38812 3.47683,-3.38552l7.6736,5.66477l0.06146,0.03512c0,0 0.84989,0.59703 2.09312,0.68132c0.62161,0.04214 1.4399,-0.07726 2.14229,-0.59176c0.70766,-0.51626 1.1765,-1.34683 1.396,-2.29506c0.65673,-2.86224 5.00979,-23.57745 5.75257,-27.00686l-0.02107,0.08077c0.51977,-1.93157 0.32837,-3.70159 -0.87096,-4.74991c-0.60054,-0.52152 -1.2924,-0.7498 -1.98425,-0.77965l0,0.00176zm-0.2072,3.29069c0.04741,0.0439 0.0439,0.0439 0.00351,0.04741c-0.01229,-0.00351 0.14048,0.2072 -0.15804,1.32576l-0.01229,0.04214l-0.00878,0.03863c-0.75858,3.50668 -5.15554,24.40802 -5.74203,26.96472c-0.08077,0.34417 -0.11414,0.31959 -0.09482,0.29852c-0.1756,-0.02634 -0.50045,-0.16506 -0.52679,-0.1756l-13.13468,-9.70175c4.4988,-4.33199 9.09945,-8.25307 13.744,-12.43229c0.8218,-0.41265 0.68483,-1.68573 -0.29852,-1.70681c-1.04305,0.24584 -1.92279,0.99564 -2.8798,1.47502c-5.49971,3.2626 -11.11882,6.13186 -16.55882,9.49279c-2.792,-0.97105 -5.57873,-1.77704 -8.15298,-2.57601c2.2336,-0.89555 4.00889,-1.55579 5.75608,-2.23009c3.05188,-1.1765 7.01687,-2.7042 10.98537,-4.24067c7.94051,-3.06944 15.92667,-6.16346 16.62028,-6.43037l0.05619,-0.02283l0.05268,-0.02283c0.19316,-0.0878 0.30378,-0.09658 0.35471,-0.10009c0,0 -0.01756,-0.05795 -0.00351,-0.04566l-0.00176,0zm-20.91715,22.0638l2.16687,1.60145c-0.93418,0.91311 -1.81743,1.77353 -2.45485,2.38812l0.28798,-3.98957"}),b=_({color:"#2c4762",name:"tumblr",path:"M39.2,41c-0.6,0.3-1.6,0.5-2.4,0.5c-2.4,0.1-2.9-1.7-2.9-3v-9.3h6v-4.5h-6V17c0,0-4.3,0-4.4,0 c-0.1,0-0.2,0.1-0.2,0.2c-0.3,2.3-1.4,6.4-5.9,8.1v3.9h3V39c0,3.4,2.5,8.1,9,8c2.2,0,4.7-1,5.2-1.8L39.2,41z"}),w=_({color:"#000000",name:"twitter",path:"M 41.116 18.375 h 4.962 l -10.8405 12.39 l 12.753 16.86 H 38.005 l -7.821 -10.2255 L 21.235 47.625 H 16.27 l 11.595 -13.2525 L 15.631 18.375 H 25.87 l 7.0695 9.3465 z m -1.7415 26.28 h 2.7495 L 24.376 21.189 H 21.4255 z"}),O=_({color:"#7C529E",name:"viber",path:"m31.0,12.3c9.0,0.2 16.4,6.2 18.0,15.2c0.2,1.5 0.3,3.0 0.4,4.6a1.0,1.0 0 0 1 -0.8,1.2l-0.1,0a1.1,1.1 0 0 1 -1.0,-1.2l0,0c-0.0,-1.2 -0.1,-2.5 -0.3,-3.8a16.1,16.1 0 0 0 -13.0,-13.5c-1.0,-0.1 -2.0,-0.2 -3.0,-0.3c-0.6,-0.0 -1.4,-0.1 -1.6,-0.8a1.1,1.1 0 0 1 0.9,-1.2l0.6,0l0.0,-0.0zm10.6,39.2a19.9,19.9 0 0 1 -2.1,-0.6c-6.9,-2.9 -13.2,-6.6 -18.3,-12.2a47.5,47.5 0 0 1 -7.0,-10.7c-0.8,-1.8 -1.6,-3.7 -2.4,-5.6c-0.6,-1.7 0.3,-3.4 1.4,-4.7a11.3,11.3 0 0 1 3.7,-2.8a2.4,2.4 0 0 1 3.0,0.7a39.0,39.0 0 0 1 4.7,6.5a3.1,3.1 0 0 1 -0.8,4.2c-0.3,0.2 -0.6,0.5 -1.0,0.8a3.3,3.3 0 0 0 -0.7,0.7a2.1,2.1 0 0 0 -0.1,1.9c1.7,4.9 4.7,8.7 9.7,10.8a5.0,5.0 0 0 0 2.5,0.6c1.5,-0.1 2.0,-1.8 3.1,-2.7a2.9,2.9 0 0 1 3.5,-0.1c1.1,0.7 2.2,1.4 3.3,2.2a37.8,37.8 0 0 1 3.1,2.4a2.4,2.4 0 0 1 0.7,3.0a10.4,10.4 0 0 1 -4.4,4.8a10.8,10.8 0 0 1 -1.9,0.6c-0.7,-0.2 0.6,-0.2 0,0l0.0,0l0,-0.0zm3.1,-21.4a4.2,4.2 0 0 1 -0.0,0.6a1.0,1.0 0 0 1 -1.9,0.1a2.7,2.7 0 0 1 -0.1,-0.8a10.9,10.9 0 0 0 -1.4,-5.5a10.2,10.2 0 0 0 -4.2,-4.0a12.3,12.3 0 0 0 -3.4,-1.0c-0.5,-0.0 -1.0,-0.1 -1.5,-0.2a0.9,0.9 0 0 1 -0.9,-1.0l0,-0.1a0.9,0.9 0 0 1 0.9,-0.9l0.1,0a14.1,14.1 0 0 1 5.9,1.5a11.9,11.9 0 0 1 6.5,9.3c0,0.1 0.0,0.3 0.0,0.5c0,0.4 0.0,0.9 0.0,1.5l0,0l0.0,0.0zm-5.6,-0.2a1.1,1.1 0 0 1 -1.2,-0.9l0,-0.1a11.3,11.3 0 0 0 -0.2,-1.4a4.0,4.0 0 0 0 -1.5,-2.3a3.9,3.9 0 0 0 -1.2,-0.5c-0.5,-0.1 -1.1,-0.1 -1.6,-0.2a1.0,1.0 0 0 1 -0.8,-1.1l0,0l0,0a1.0,1.0 0 0 1 1.1,-0.8c3.4,0.2 6.0,2.0 6.3,6.2a2.8,2.8 0 0 1 0,0.8a0.8,0.8 0 0 1 -0.8,0.7l0,0l0.0,-0.0z"}),T=_({color:"#CD201F",name:"weibo",path:"M40.9756152,15.0217119 C40.5000732,15.0546301 39.9999314,15.1204666 39.5325878,15.2192213 C38.6634928,15.4085016 38.0977589,16.2643757 38.2863368,17.1284787 C38.4667163,18.0008129 39.3194143,18.5686519 40.1885094,18.3793715 C42.8613908,17.8115326 45.7720411,18.6427174 47.7316073,20.8153207 C49.6911735,22.996153 50.2077122,25.975254 49.3714112,28.5840234 C49.1008441,29.4316684 49.5763861,30.3533789 50.4208857,30.6249537 C51.2653852,30.8965286 52.1754769,30.4192153 52.4542425,29.5715703 C53.6349013,25.9011885 52.9133876,21.7699494 50.1585171,18.7085538 C48.0923641,16.4042776 45.2063093,15.1533848 42.3530505,15.0217119 C41.8775084,14.9970227 41.4511594,14.9887937 40.9756152,15.0217119 Z M27.9227762,19.8277737 C24.9957268,20.140498 20.863421,22.4365431 17.2312548,26.0822378 C13.2711279,30.0571148 11,34.2871065 11,37.9328012 C11,44.9032373 19.8713401,49.125 28.5786978,49.125 C39.9917329,49.125 47.600423,42.4261409 47.600423,37.1427636 C47.600423,33.9496952 44.9603397,32.1638816 42.549827,31.4149913 C41.9594976,31.2339421 41.5167516,31.1434164 41.8283133,30.3616079 C42.5006339,28.66632 42.6236176,27.1932286 41.8939054,26.1480742 C40.5328692,24.1894405 36.7203236,24.2881952 32.448635,26.0822378 C32.448635,26.0822378 31.1203949,26.6912261 31.4647526,25.6213825 C32.1206742,23.4981576 32.0304845,21.712342 31.0056075,20.6836478 C30.2840938,19.9512176 29.2510184,19.6878718 27.9227762,19.8277737 Z M42.0906819,20.6836478 C41.6233383,20.6589586 41.1723917,20.716566 40.7132466,20.8153207 C39.9671353,20.9716828 39.4997917,21.7781784 39.6637721,22.5270687 C39.8277525,23.275959 40.5574647,23.7450433 41.303576,23.5804521 C42.1972686,23.3911718 43.2057485,23.6380596 43.8616701,24.3704897 C44.5175916,25.1029198 44.6733735,26.0657797 44.3864073,26.9381118 C44.1486363,27.6705419 44.5093932,28.4770397 45.2391054,28.7156963 C45.9688176,28.9461239 46.780521,28.5922524 47.0100936,27.8598223 C47.584026,26.0740087 47.2396661,24.0248493 45.8950269,22.5270687 C44.886547,21.4078489 43.4845162,20.7494842 42.0906819,20.6836478 Z M29.496988,29.9665891 C35.3100922,30.1723275 39.9917329,33.0691319 40.3852858,37.0769272 C40.8362324,41.6607904 35.5970585,45.9319315 28.6442899,46.6232144 C21.6915214,47.3144973 15.6488446,44.154347 15.197898,39.5787128 C14.7469514,34.9948495 20.059916,30.7237084 27.004486,30.0324256 C27.8735831,29.950131 28.6688875,29.9336709 29.496988,29.9665891 Z M25.5614586,34.3776322 C23.183744,34.5916017 20.9372116,35.9577073 19.9205332,37.9328012 C18.5348994,40.6238672 19.9041362,43.6029661 23.0689567,44.582284 C26.340366,45.5945202 30.1857056,44.0638213 31.5303448,41.1587879 C32.8503864,38.3195909 31.1613894,35.3734082 27.9227762,34.5751416 C27.1438688,34.3776322 26.356763,34.3035667 25.5614586,34.3776322 Z M24.052839,38.7228388 C24.3316067,38.7310678 24.5857748,38.8215935 24.8399449,38.9203482 C25.8648218,39.3400561 26.1845841,40.4428158 25.5614586,41.4221338 C24.9219361,42.3932227 23.5690963,42.8623069 22.5442194,42.4096807 C21.5357395,41.9652856 21.2487754,40.8542948 21.8882979,39.9078951 C22.3638421,39.2001542 23.2247386,38.7146097 24.052839,38.7228388 Z"}),A=_({color:"#25D366",name:"whatsapp",path:"m42.32286,33.93287c-0.5178,-0.2589 -3.04726,-1.49644 -3.52105,-1.66732c-0.4712,-0.17346 -0.81554,-0.2589 -1.15987,0.2589c-0.34175,0.51004 -1.33075,1.66474 -1.63108,2.00648c-0.30032,0.33658 -0.60064,0.36247 -1.11327,0.12945c-0.5178,-0.2589 -2.17994,-0.80259 -4.14759,-2.56312c-1.53269,-1.37217 -2.56312,-3.05503 -2.86603,-3.57283c-0.30033,-0.5178 -0.03366,-0.80259 0.22524,-1.06149c0.23301,-0.23301 0.5178,-0.59547 0.7767,-0.90616c0.25372,-0.31068 0.33657,-0.5178 0.51262,-0.85437c0.17088,-0.36246 0.08544,-0.64725 -0.04402,-0.90615c-0.12945,-0.2589 -1.15987,-2.79613 -1.58964,-3.80584c-0.41424,-1.00971 -0.84142,-0.88027 -1.15987,-0.88027c-0.29773,-0.02588 -0.64208,-0.02588 -0.98382,-0.02588c-0.34693,0 -0.90616,0.12945 -1.37736,0.62136c-0.4712,0.5178 -1.80194,1.76053 -1.80194,4.27186c0,2.51134 1.84596,4.945 2.10227,5.30747c0.2589,0.33657 3.63497,5.51458 8.80262,7.74113c1.23237,0.5178 2.1903,0.82848 2.94111,1.08738c1.23237,0.38836 2.35599,0.33657 3.24402,0.20712c0.99159,-0.15534 3.04985,-1.24272 3.47963,-2.45956c0.44013,-1.21683 0.44013,-2.22654 0.31068,-2.45955c-0.12945,-0.23301 -0.46601,-0.36247 -0.98382,-0.59548m-9.40068,12.84407l-0.02589,0c-3.05503,0 -6.08417,-0.82849 -8.72495,-2.38189l-0.62136,-0.37023l-6.47252,1.68286l1.73463,-6.29129l-0.41424,-0.64725c-1.70875,-2.71846 -2.6149,-5.85116 -2.6149,-9.07706c0,-9.39809 7.68934,-17.06155 17.15993,-17.06155c4.58253,0 8.88029,1.78642 12.11655,5.02268c3.23625,3.21036 5.02267,7.50812 5.02267,12.06476c-0.0078,9.3981 -7.69712,17.06155 -17.14699,17.06155m14.58906,-31.58846c-3.93529,-3.80584 -9.1133,-5.95471 -14.62789,-5.95471c-11.36055,0 -20.60848,9.2065 -20.61625,20.52564c0,3.61684 0.94757,7.14565 2.75211,10.26282l-2.92557,10.63564l10.93337,-2.85309c3.0136,1.63108 6.4052,2.4958 9.85634,2.49839l0.01037,0c11.36574,0 20.61884,-9.2091 20.62403,-20.53082c0,-5.48093 -2.14111,-10.64081 -6.03239,-14.51915"}),I=_({color:"#007fb1",name:"linkedin",path:"M20.4,44h5.4V26.6h-5.4V44z M23.1,18c-1.7,0-3.1,1.4-3.1,3.1c0,1.7,1.4,3.1,3.1,3.1 c1.7,0,3.1-1.4,3.1-3.1C26.2,19.4,24.8,18,23.1,18z M39.5,26.2c-2.6,0-4.4,1.4-5.1,2.8h-0.1v-2.4h-5.2V44h5.4v-8.6 c0-2.3,0.4-4.5,3.2-4.5c2.8,0,2.8,2.6,2.8,4.6V44H46v-9.5C46,29.8,45,26.2,39.5,26.2z"}),R=_({color:"#45668e",name:"vk",path:"M44.94,44.84h-0.2c-2.17-.36-3.66-1.92-4.92-3.37C39.1,40.66,38,38.81,36.7,39c-1.85.3-.93,3.52-1.71,4.9-0.62,1.11-3.29.91-5.12,0.71-5.79-.62-8.75-3.77-11.35-7.14A64.13,64.13,0,0,1,11.6,26a10.59,10.59,0,0,1-1.51-4.49C11,20.7,12.56,21,14.11,21c1.31,0,3.36-.29,4.32.2C19,21.46,19.57,23,20,24a37.18,37.18,0,0,0,3.31,5.82c0.56,0.81,1.41,2.35,2.41,2.14s1.06-2.63,1.1-4.18c0-1.77,0-4-.5-4.9S25,22,24.15,21.47c0.73-1.49,2.72-1.63,5.12-1.63,2,0,4.84-.23,5.62,1.12s0.25,3.85.2,5.71c-0.06,2.09-.41,4.25,1,5.21,1.09-.12,1.68-1.2,2.31-2A28,28,0,0,0,41.72,24c0.44-1,.91-2.65,1.71-3,1.21-.47,3.15-0.1,4.92-0.1,1.46,0,4.05-.41,4.52.61,0.39,0.85-.75,3-1.1,3.57a61.88,61.88,0,0,1-4.12,5.61c-0.58.78-1.78,2-1.71,3.27,0.05,0.94,1,1.67,1.71,2.35a33.12,33.12,0,0,1,3.92,4.18c0.47,0.62,1.5,2,1.4,2.76C52.66,45.81,46.88,44.24,44.94,44.84Z"}),N=_({color:"#168DE2",name:"mailru",path:"M39.7107745,17 C41.6619755,17 43.3204965,18.732852 43.3204965,21.0072202 C43.3204965,23.2815885 41.7595357,25.0144404 39.7107745,25.0144404 C37.7595732,25.0144404 36.1010522,23.2815885 36.1010522,21.0072202 C36.1010522,18.732852 37.7595732,17 39.7107745,17 Z M24.3938451,17 C26.3450463,17 28.0035672,18.732852 28.0035672,21.0072202 C28.0035672,23.2815885 26.4426063,25.0144404 24.3938451,25.0144404 C22.4426439,25.0144404 20.7841229,23.2815885 20.7841229,21.0072202 C20.7841229,18.732852 22.4426439,17 24.3938451,17 Z M51.9057817,43.4259928 C51.7106617,44.0758123 51.4179815,44.6173285 50.9301812,44.9422383 C50.637501,45.1588448 50.2472607,45.267148 49.8570205,45.267148 C49.07654,45.267148 48.3936197,44.833935 48.0033795,44.0758123 L46.2472985,40.7184115 L45.759498,41.2599278 C42.5400162,44.9422383 37.466893,47 32.0035297,47 C26.5401664,47 21.5646034,44.9422383 18.2475614,41.2599278 L17.7597611,40.7184115 L16.00368,44.0758123 C15.6134398,44.833935 14.9305194,45.267148 14.1500389,45.267148 C13.7597986,45.267148 13.3695584,45.1588448 13.0768782,44.9422383 C12.0037176,44.2924187 11.7110374,42.7761733 12.2963978,41.5848375 L16.7841605,33.0288807 C17.1744007,32.270758 17.8573211,31.8375453 18.6378016,31.8375453 C19.0280418,31.8375453 19.4182821,31.9458485 19.7109623,32.1624548 C20.7841229,32.8122743 21.0768031,34.3285197 20.4914427,35.5198555 L20.1012025,36.2779783 L20.2963226,36.602888 C22.4426439,39.9602888 27.0279667,42.234657 31.9059697,42.234657 C36.7839727,42.234657 41.3692955,40.068592 43.5156167,36.602888 L43.7107367,36.2779783 L43.3204965,35.6281587 C43.0278165,35.0866425 42.9302562,34.436823 43.1253765,33.7870035 C43.3204965,33.137184 43.6131767,32.5956678 44.100977,32.270758 C44.3936572,32.0541515 44.7838975,31.9458485 45.1741377,31.9458485 C45.9546182,31.9458485 46.6375385,32.3790613 47.0277787,33.137184 L51.5155415,41.6931408 C52.003342,42.234657 52.100902,42.8844765 51.9057817,43.4259928 Z"}),P=_({color:"#21A5D8",name:"livejournal",path:"M18.3407821,28.1764706 L21.9441341,31.789916 L33.0055865,42.882353 C33.0055865,42.882353 33.0893855,42.9663866 33.0893855,42.9663866 L46.6648046,47 C46.6648046,47 46.6648046,47 46.7486034,47 C46.8324022,47 46.8324022,47 46.9162012,46.9159664 C47,46.8319327 47,46.8319327 47,46.7478991 L42.9776536,33.1344537 C42.9776536,33.1344537 42.9776536,33.1344537 42.8938548,33.0504202 L31.1620111,21.3697479 L31.1620111,21.3697479 L28.1452514,18.2605042 C27.3072626,17.4201681 26.5530726,17 25.7150838,17 C24.2905028,17 23.0335195,18.3445378 21.5251397,19.8571429 C21.273743,20.1092437 20.9385475,20.4453781 20.6871508,20.697479 C20.3519553,21.0336134 20.1005586,21.2857143 19.849162,21.5378151 C18.3407821,22.9663866 17.0837989,24.2268908 17,25.7394958 C17.0837989,26.4957983 17.5027933,27.3361345 18.3407821,28.1764706 Z M39.9012319,39.6134454 C39.7336341,39.4453781 39.4822374,37.6806724 40.2364275,36.8403362 C40.9906174,36.0840337 41.6610084,36 42.1638017,36 C42.3313995,36 42.4989973,36 42.5827961,36 L44.8453659,43.5630253 L43.5883828,44.8235295 L36.0464833,42.5546218 C35.9626843,42.2184874 35.8788855,41.2100841 36.8844722,40.2016807 C37.2196676,39.8655463 37.8900587,39.6134454 38.5604498,39.6134454 C39.147042,39.6134454 39.5660364,39.7815126 39.5660364,39.7815126 C39.6498353,39.8655463 39.8174331,39.8655463 39.8174331,39.7815126 C39.9850307,39.7815126 39.9850307,39.697479 39.9012319,39.6134454 Z"}),C=_({color:"#3b3d4a",name:"workplace",path:"M34.019,10.292c0.21,0.017,0.423,0.034,0.636,0.049 c3.657,0.262,6.976,1.464,9.929,3.635c3.331,2.448,5.635,5.65,6.914,9.584c0.699,2.152,0.983,4.365,0.885,6.623 c-0.136,3.171-1.008,6.13-2.619,8.867c-0.442,0.75-0.908,1.492-1.495,2.141c-0.588,0.651-1.29,1.141-2.146,1.383 c-1.496,0.426-3.247-0.283-3.961-1.642c-0.26-0.494-0.442-1.028-0.654-1.548c-1.156-2.838-2.311-5.679-3.465-8.519 c-0.017-0.042-0.037-0.082-0.065-0.145c-0.101,0.245-0.192,0.472-0.284,0.698c-1.237,3.051-2.475,6.103-3.711,9.155 c-0.466,1.153-1.351,1.815-2.538,2.045c-1.391,0.267-2.577-0.154-3.496-1.247c-0.174-0.209-0.31-0.464-0.415-0.717 c-2.128-5.22-4.248-10.442-6.37-15.665c-0.012-0.029-0.021-0.059-0.036-0.104c0.054-0.003,0.103-0.006,0.15-0.006 c1.498-0.001,2.997,0,4.495-0.004c0.12-0.001,0.176,0.03,0.222,0.146c1.557,3.846,3.117,7.691,4.679,11.536 c0.018,0.046,0.039,0.091,0.067,0.159c0.273-0.673,0.536-1.32,0.797-1.968c1.064-2.627,2.137-5.25,3.19-7.883 c0.482-1.208,1.376-1.917,2.621-2.135c1.454-0.255,2.644,0.257,3.522,1.449c0.133,0.18,0.229,0.393,0.313,0.603 c1.425,3.495,2.848,6.991,4.269,10.488c0.02,0.047,0.04,0.093,0.073,0.172c0.196-0.327,0.385-0.625,0.559-0.935 c0.783-1.397,1.323-2.886,1.614-4.461c0.242-1.312,0.304-2.634,0.187-3.962c-0.242-2.721-1.16-5.192-2.792-7.38 c-2.193-2.939-5.086-4.824-8.673-5.625c-1.553-0.346-3.124-0.405-4.705-0.257c-3.162,0.298-6.036,1.366-8.585,3.258 c-3.414,2.534-5.638,5.871-6.623,10.016c-0.417,1.76-0.546,3.547-0.384,5.348c0.417,4.601,2.359,8.444,5.804,11.517 c2.325,2.073,5.037,3.393,8.094,3.989c1.617,0.317,3.247,0.395,4.889,0.242c1-0.094,1.982-0.268,2.952-0.529 c0.04-0.01,0.081-0.018,0.128-0.028c0,1.526,0,3.047,0,4.586c-0.402,0.074-0.805,0.154-1.21,0.221 c-0.861,0.14-1.728,0.231-2.601,0.258c-0.035,0.002-0.071,0.013-0.108,0.021c-0.493,0-0.983,0-1.476,0 c-0.049-0.007-0.1-0.018-0.149-0.022c-0.315-0.019-0.629-0.033-0.945-0.058c-1.362-0.105-2.702-0.346-4.017-0.716 c-3.254-0.914-6.145-2.495-8.66-4.752c-2.195-1.971-3.926-4.29-5.176-6.963c-1.152-2.466-1.822-5.057-1.993-7.774 c-0.014-0.226-0.033-0.451-0.05-0.676c0-0.502,0-1.003,0-1.504c0.008-0.049,0.02-0.099,0.022-0.148 c0.036-1.025,0.152-2.043,0.338-3.052c0.481-2.616,1.409-5.066,2.8-7.331c2.226-3.625,5.25-6.386,9.074-8.254 c2.536-1.24,5.217-1.947,8.037-2.126c0.23-0.015,0.461-0.034,0.691-0.051C33.052,10.292,33.535,10.292,34.019,10.292z"}),D=_({color:"#EF3F56",name:"pocket",path:"M41.084 29.065l-7.528 7.882a2.104 2.104 0 0 1-1.521.666 2.106 2.106 0 0 1-1.522-.666l-7.528-7.882c-.876-.914-.902-2.43-.065-3.384.84-.955 2.228-.987 3.1-.072l6.015 6.286 6.022-6.286c.88-.918 2.263-.883 3.102.071.841.938.82 2.465-.06 3.383l-.015.002zm6.777-10.976C47.463 16.84 46.361 16 45.14 16H18.905c-1.2 0-2.289.82-2.716 2.044-.125.363-.189.743-.189 1.125v10.539l.112 2.096c.464 4.766 2.73 8.933 6.243 11.838.06.053.125.102.19.153l.04.033c1.882 1.499 3.986 2.514 6.259 3.014a14.662 14.662 0 0 0 6.13.052c.118-.042.235-.065.353-.087.03 0 .065-.022.098-.042a15.395 15.395 0 0 0 6.011-2.945l.039-.045.18-.153c3.502-2.902 5.765-7.072 6.248-11.852L48 29.674v-10.52c0-.366-.041-.728-.161-1.08l.022.015z"}),x=_({color:"#1F1F1F",name:"instapaper",path:"M35.688 43.012c0 2.425.361 2.785 3.912 3.056V48H24.401v-1.932c3.555-.27 3.912-.63 3.912-3.056V20.944c0-2.379-.36-2.785-3.912-3.056V16H39.6v1.888c-3.55.27-3.912.675-3.912 3.056v22.068h.001z"}),k=_({color:"#009ad9",name:"hatena",path:"M 36.164062 33.554688 C 34.988281 32.234375 33.347656 31.5 31.253906 31.34375 C 33.125 30.835938 34.476562 30.09375 35.335938 29.09375 C 36.191406 28.09375 36.609375 26.78125 36.609375 25.101562 C 36.628906 23.875 36.332031 22.660156 35.75 21.578125 C 35.160156 20.558594 34.292969 19.71875 33.253906 19.160156 C 32.304688 18.640625 31.175781 18.265625 29.847656 18.042969 C 28.523438 17.824219 26.195312 17.730469 22.867188 17.730469 L 14.769531 17.730469 L 14.769531 47.269531 L 23.113281 47.269531 C 26.46875 47.269531 28.886719 47.15625 30.367188 46.929688 C 31.851562 46.695312 33.085938 46.304688 34.085938 45.773438 C 35.289062 45.148438 36.28125 44.179688 36.933594 42.992188 C 37.597656 41.796875 37.933594 40.402344 37.933594 38.816406 C 37.933594 36.621094 37.347656 34.867188 36.164062 33.554688 Z M 22.257812 24.269531 L 23.984375 24.269531 C 25.988281 24.269531 27.332031 24.496094 28.015625 24.945312 C 28.703125 25.402344 29.042969 26.183594 29.042969 27.285156 C 29.042969 28.390625 28.664062 29.105469 27.9375 29.550781 C 27.210938 29.992188 25.84375 30.199219 23.855469 30.199219 L 22.257812 30.199219 Z M 29.121094 41.210938 C 28.328125 41.691406 26.976562 41.925781 25.078125 41.925781 L 22.257812 41.925781 L 22.257812 35.488281 L 25.195312 35.488281 C 27.144531 35.488281 28.496094 35.738281 29.210938 36.230469 C 29.925781 36.726562 30.304688 37.582031 30.304688 38.832031 C 30.304688 40.078125 29.914062 40.742188 29.105469 41.222656 Z M 29.121094 41.210938 M 46.488281 39.792969 C 44.421875 39.792969 42.742188 41.46875 42.742188 43.535156 C 42.742188 45.605469 44.421875 47.28125 46.488281 47.28125 C 48.554688 47.28125 50.230469 45.605469 50.230469 43.535156 C 50.230469 41.46875 48.554688 39.792969 46.488281 39.792969 Z M 46.488281 39.792969 M 43.238281 17.730469 L 49.738281 17.730469 L 49.738281 37.429688 L 43.238281 37.429688 Z M 43.238281 17.730469 "}),L=_({color:"#2196F3",name:"facebookmessenger",path:"M 53.066406 21.871094 C 52.667969 21.339844 51.941406 21.179688 51.359375 21.496094 L 37.492188 29.058594 L 28.867188 21.660156 C 28.339844 21.207031 27.550781 21.238281 27.054688 21.730469 L 11.058594 37.726562 C 10.539062 38.25 10.542969 39.09375 11.0625 39.613281 C 11.480469 40.027344 12.121094 40.121094 12.640625 39.839844 L 26.503906 32.28125 L 35.136719 39.679688 C 35.667969 40.132812 36.457031 40.101562 36.949219 39.609375 L 52.949219 23.613281 C 53.414062 23.140625 53.464844 22.398438 53.066406 21.871094 Z M 53.066406 21.871094"}),V=_({color:"#7f7f7f",name:"email",path:"M17,22v20h30V22H17z M41.1,25L32,32.1L22.9,25H41.1z M20,39V26.6l12,9.3l12-9.3V39H20z"}),M=_({color:"#00d178",name:"gab",path:"m17.0506,23.97457l5.18518,0l0,14.23933c0,6.82699 -3.72695,10.09328 -9.33471,10.09328c-2.55969,0 -4.82842,-0.87286 -6.22084,-2.0713l2.07477,-3.88283c1.19844,0.81051 2.33108,1.29543 3.85511,1.29543c2.75366,0 4.44049,-1.97432 4.44049,-4.82149l0,-0.87286c-1.16728,1.39242 -2.81947,2.0713 -4.63446,2.0713c-4.44048,0 -7.81068,-3.68885 -7.81068,-8.28521c0,-4.59289 3.37019,-8.28174 7.81068,-8.28174c1.81499,0 3.46718,0.67888 4.63446,2.0713l0,-1.55521zm-3.62997,11.39217c1.97777,0 3.62997,-1.6522 3.62997,-3.62652c0,-1.97432 -1.6522,-3.62305 -3.62997,-3.62305c-1.97778,0 -3.62997,1.64873 -3.62997,3.62305c0,1.97432 1.65219,3.62652 3.62997,3.62652zm25.7077,4.13913l-5.18518,0l0,-1.29197c-1.00448,1.13264 -2.3969,1.81152 -4.21188,1.81152c-3.62997,0 -5.63893,-2.52504 -5.63893,-5.4034c0,-4.27076 5.251,-5.85715 9.78846,-4.49937c-0.09698,-1.39241 -0.9733,-2.39343 -2.78829,-2.39343c-1.26426,0 -2.72248,0.48492 -3.62997,1.00102l-1.5552,-3.72003c1.19844,-0.77587 3.40136,-1.55174 5.96452,-1.55174c3.78931,0 7.25648,2.13365 7.25648,7.95962l0,8.08777zm-5.18518,-6.14809c-2.42806,-0.77587 -4.66563,-0.3533 -4.66563,1.36124c0,1.00101 0.84168,1.6799 1.84616,1.6799c1.20191,0 2.56315,-0.96984 2.81947,-3.04115zm13.00626,-17.66495l0,9.83695c1.16727,-1.39242 2.81946,-2.0713 4.63445,-2.0713c4.44048,0 7.81068,3.68885 7.81068,8.28174c0,4.59636 -3.37019,8.28521 -7.81068,8.28521c-1.81499,0 -3.46718,-0.67888 -4.63445,-2.0713l0,1.55174l-5.18519,0l0,-23.81304l5.18519,0zm3.62997,19.67391c1.97777,0 3.62997,-1.6522 3.62997,-3.62652c0,-1.97432 -1.6522,-3.62305 -3.62997,-3.62305c-1.97778,0 -3.62997,1.64873 -3.62997,3.62305c0,1.97432 1.65219,3.62652 3.62997,3.62652zm0,0"}),U=_({color:"#e94475",name:"instagram",path:"M 39.88,25.89 C 40.86,25.89 41.65,25.10 41.65,24.12 41.65,23.14 40.86,22.35 39.88,22.35 38.90,22.35 38.11,23.14 38.11,24.12 38.11,25.10 38.90,25.89 39.88,25.89 Z M 32.00,24.42 C 27.82,24.42 24.42,27.81 24.42,32.00 24.42,36.19 27.82,39.58 32.00,39.58 36.18,39.58 39.58,36.18 39.58,32.00 39.58,27.82 36.18,24.42 32.00,24.42 Z M 32.00,36.92 C 29.28,36.92 27.08,34.72 27.08,32.00 27.08,29.28 29.28,27.08 32.00,27.08 34.72,27.08 36.92,29.28 36.92,32.00 36.92,34.72 34.72,36.92 32.00,36.92 Z M 32.00,19.90 C 35.94,19.90 36.41,19.92 37.96,19.99 39.41,20.05 40.19,20.29 40.71,20.50 41.40,20.77 41.89,21.08 42.41,21.60 42.92,22.12 43.24,22.61 43.51,23.30 43.71,23.82 43.95,24.60 44.02,26.04 44.09,27.60 44.11,28.06 44.11,32.01 44.11,35.95 44.09,36.41 44.02,37.97 43.95,39.41 43.71,40.19 43.51,40.71 43.24,41.40 42.92,41.90 42.41,42.41 41.89,42.93 41.40,43.25 40.71,43.51 40.19,43.71 39.41,43.96 37.96,44.02 36.41,44.09 35.94,44.11 32.00,44.11 28.06,44.11 27.59,44.09 26.04,44.02 24.59,43.96 23.81,43.72 23.29,43.51 22.60,43.24 22.11,42.93 21.59,42.41 21.08,41.90 20.76,41.40 20.49,40.71 20.29,40.19 20.05,39.41 19.98,37.97 19.91,36.41 19.89,35.95 19.89,32.01 19.89,28.06 19.91,27.60 19.98,26.04 20.05,24.60 20.29,23.82 20.49,23.30 20.76,22.61 21.08,22.12 21.59,21.60 22.11,21.08 22.60,20.76 23.29,20.50 23.81,20.30 24.59,20.05 26.04,19.99 27.59,19.91 28.06,19.90 32.00,19.90 Z M 32.00,17.24 C 27.99,17.24 27.49,17.26 25.91,17.33 24.34,17.40 23.27,17.65 22.33,18.01 21.36,18.39 20.54,18.90 19.72,19.72 18.90,20.54 18.39,21.37 18.01,22.33 17.65,23.27 17.40,24.34 17.33,25.92 17.26,27.49 17.24,27.99 17.24,32.00 17.24,36.01 17.26,36.51 17.33,38.09 17.40,39.66 17.65,40.73 18.01,41.67 18.39,42.65 18.90,43.47 19.72,44.29 20.54,45.11 21.37,45.61 22.33,45.99 23.27,46.36 24.34,46.61 25.92,46.68 27.49,46.75 27.99,46.77 32.01,46.77 36.02,46.77 36.52,46.75 38.09,46.68 39.66,46.61 40.74,46.36 41.68,45.99 42.65,45.62 43.47,45.11 44.29,44.29 45.11,43.47 45.62,42.64 46.00,41.67 46.36,40.74 46.61,39.66 46.68,38.09 46.75,36.51 46.77,36.01 46.77,32.00 46.77,27.99 46.75,27.49 46.68,25.91 46.61,24.34 46.36,23.27 46.00,22.33 45.62,21.35 45.11,20.53 44.29,19.71 43.47,18.89 42.65,18.39 41.68,18.01 40.74,17.64 39.67,17.39 38.09,17.32 36.51,17.26 36.01,17.24 32.00,17.24 Z"}),j=_({color:"#2EBD59",name:"spotify",path:"M32,16c-8.8,0-16,7.2-16,16c0,8.8,7.2,16,16,16c8.8,0,16-7.2,16-16C48,23.2,40.8,16,32,16 M39.3,39.1c-0.3,0.5-0.9,0.6-1.4,0.3c-3.8-2.3-8.5-2.8-14.1-1.5c-0.5,0.1-1.1-0.2-1.2-0.7c-0.1-0.5,0.2-1.1,0.8-1.2 c6.1-1.4,11.3-0.8,15.5,1.8C39.5,38,39.6,38.6,39.3,39.1 M41.3,34.7c-0.4,0.6-1.1,0.8-1.7,0.4c-4.3-2.6-10.9-3.4-15.9-1.9 c-0.7,0.2-1.4-0.2-1.6-0.8c-0.2-0.7,0.2-1.4,0.8-1.6c5.8-1.8,13-0.9,18,2.1C41.5,33.4,41.7,34.1,41.3,34.7 M41.5,30.2 c-5.2-3.1-13.7-3.3-18.6-1.9c-0.8,0.2-1.6-0.2-1.9-1c-0.2-0.8,0.2-1.6,1-1.9c5.7-1.7,15-1.4,21,2.1c0.7,0.4,0.9,1.3,0.5,2.1 C43.1,30.4,42.2,30.6,41.5,30.2"}),G=_({color:"#24292e",name:"github",path:"M32,16c-8.8,0-16,7.2-16,16c0,7.1,4.6,13.1,10.9,15.2 c0.8,0.1,1.1-0.3,1.1-0.8c0-0.4,0-1.4,0-2.7c-4.5,1-5.4-2.1-5.4-2.1c-0.7-1.8-1.8-2.3-1.8-2.3c-1.5-1,0.1-1,0.1-1 c1.6,0.1,2.5,1.6,2.5,1.6c1.4,2.4,3.7,1.7,4.7,1.3c0.1-1,0.6-1.7,1-2.1c-3.6-0.4-7.3-1.8-7.3-7.9c0-1.7,0.6-3.2,1.6-4.3 c-0.2-0.4-0.7-2,0.2-4.2c0,0,1.3-0.4,4.4,1.6c1.3-0.4,2.6-0.5,4-0.5c1.4,0,2.7,0.2,4,0.5c3.1-2.1,4.4-1.6,4.4-1.6 c0.9,2.2,0.3,3.8,0.2,4.2c1,1.1,1.6,2.5,1.6,4.3c0,6.1-3.7,7.5-7.3,7.9c0.6,0.5,1.1,1.5,1.1,3c0,2.1,0,3.9,0,4.4 c0,0.4,0.3,0.9,1.1,0.8C43.4,45.1,48,39.1,48,32C48,23.2,40.8,16,32,16z"});function B(e){var t=Object.entries(e).filter(function(e){return null!=e[1]}).map(function(e){var t=e[0],n=e[1];return"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(String(n)))});return t.length>0?"?".concat(t.join("&")):""}var z=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.openShareDialog=function(e){var n=t.props,r=n.onShareWindowClose,o=n.windowHeight,i=void 0===o?400:o,a=n.windowPosition,s=n.windowWidth,c=void 0===s?550:s,u=n.blankTarget;!function(e,t,n,r){var o,i=t.height,a=t.width,s=g(t,["height","width"]),c=h({height:i,width:a,location:"no",toolbar:"no",status:"no",directories:"no",menubar:"no",scrollbars:"yes",resizable:"no",centerscreen:"yes",chrome:"yes"},s);if(o=n?window.open(e,"_blank"):window.open(e,"",Object.keys(c).map(function(e){return"".concat(e,"=").concat(c[e])}).join(", ")),r)var u=window.setInterval(function(){try{(null===o||o.closed)&&(window.clearInterval(u),r(o))}catch(e){console.error(e)}},1e3)}(e,h({height:i,width:c},"windowCenter"===(void 0===a?"windowCenter":a)?{left:window.outerWidth/2+(window.screenX||window.screenLeft||0)-c/2,top:window.outerHeight/2+(window.screenY||window.screenTop||0)-i/2}:{top:(window.screen.height-i)/2,left:(window.screen.width-c)/2}),void 0!==u&&u,r)},t.handleClick=function(e){var n,r,o;return n=void 0,r=void 0,o=function(){var t,n,r,o,i,a,s,u,l;return function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(c){var u=[s,c];if(n)throw TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,r=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){a=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]0?i.join(","):void 0,related:s.length>0?s.join(","):void 0})},function(e){return{hashtags:e.hashtags,title:e.title,via:e.via,related:e.related}},{windowWidth:550,windowHeight:400}),Z=F("viber",function(e,t){var n=t.title,r=t.separator;return"viber://forward"+B({text:n?n+r+e:e})},function(e){return{title:e.title,separator:e.separator||" "}},{windowWidth:660,windowHeight:460}),J=F("weibo",function(e,t){return"http://service.weibo.com/share/share.php"+B({url:e,title:t.title,pic:t.image})},function(e){return{title:e.title,image:e.image}},{windowWidth:660,windowHeight:550,windowPosition:"screenCenter"}),$=F("whatsapp",function(e,t){var n=t.title,r=t.separator;return"https://"+(/(android|iphone|ipad|mobile)/i.test(navigator.userAgent)?"api":"web")+".whatsapp.com/send"+B({text:n?n+r+e:e})},function(e){return{title:e.title,separator:e.separator||" "}},{windowWidth:550,windowHeight:400}),ee=F("linkedin",function(e,t){return"https://linkedin.com/sharing/share-offsite"+B({url:e,mini:"true",title:t.title,summary:t.summary,source:t.source})},function(e){return{title:e.title,summary:e.summary,source:e.source}},{windowWidth:750,windowHeight:600}),et=F("vk",function(e,t){return"https://vk.com/share.php"+B({url:e,title:t.title,image:t.image,noparse:+!!t.noParse,no_vk_links:+!!t.noVkLinks})},function(e){return{title:e.title,image:e.image,noParse:e.noParse,noVkLinks:e.noVkLinks}},{windowWidth:660,windowHeight:460}),en=F("mailru",function(e,t){return"https://connect.mail.ru/share"+B({url:e,title:t.title,description:t.description,image_url:t.imageUrl})},function(e){return{title:e.title,description:e.description,imageUrl:e.imageUrl}},{windowWidth:660,windowHeight:460}),er=F("livejournal",function(e,t){return"https://www.livejournal.com/update.bml"+B({subject:t.title,event:t.description})},function(e){return{title:e.title,description:e.description}},{windowWidth:660,windowHeight:460}),eo=F("workplace",function(e,t){return"https://work.facebook.com/sharer.php"+B({u:e,quote:t.quote,hashtag:t.hashtag})},function(e){return{quote:e.quote,hashtag:e.hashtag}},{windowWidth:550,windowHeight:400}),ei=F("pocket",function(e,t){return"https://getpocket.com/save"+B({url:e,title:t.title})},function(e){return{title:e.title}},{windowWidth:500,windowHeight:500}),ea=F("instapaper",function(e,t){return"http://www.instapaper.com/hello2"+B({url:e,title:t.title,description:t.description})},function(e){return{title:e.title,description:e.description}},{windowWidth:500,windowHeight:500,windowPosition:"windowCenter"}),es=F("hatena",function(e,t){var n=t.title;return"http://b.hatena.ne.jp/add?mode=confirm&url=".concat(e,"&title=").concat(n)},function(e){return{title:e.title}},{windowWidth:660,windowHeight:460,windowPosition:"windowCenter"}),ec=F("facebookmessenger",function(e,t){var n=t.appId;return"https://www.facebook.com/dialog/send"+B({link:e,redirect_uri:t.redirectUri||e,app_id:n,to:t.to})},function(e){return{appId:e.appId,redirectUri:e.redirectUri,to:e.to}},{windowWidth:1e3,windowHeight:820}),eu=F("email",function(e,t){var n=t.subject,r=t.body,o=t.separator;return"mailto:"+B({subject:n,body:r?r+o+e:e})},function(e){return{subject:e.subject,body:e.body,separator:e.separator||" "}},{openShareDialogOnClick:!1,onClick:function(e,t){window.location.href=t}}),el=F("gab",function(e,t){return"https://gab.com/compose"+B({url:e,text:t.title})},function(e){return{title:e.title}},{windowWidth:660,windowHeight:640,windowPosition:"windowCenter"}),ed=function(e){function t(t){var n=e.call(this,t)||this;return n._isMounted=!1,n.state={count:0,isLoading:!1},n}return p(t,e),t.prototype.componentDidMount=function(){this._isMounted=!0,this.updateCount(this.props.url,this.props.appId,this.props.appSecret)},t.prototype.componentDidUpdate=function(e){this.props.url!==e.url&&this.updateCount(this.props.url,this.props.appId,this.props.appSecret)},t.prototype.componentWillUnmount=function(){this._isMounted=!1},t.prototype.updateCount=function(e,t,n){var r=this;this.setState({isLoading:!0}),this.props.getCount(e,function(e){r._isMounted&&r.setState({count:e,isLoading:!1})},t,n)},t.prototype.render=function(){var e=this.state,t=e.count,n=e.isLoading,r=this.props,o=r.children,i=r.className;return r.getCount,u.createElement("span",{className:i},!n&&void 0!==t&&(void 0===o?function(e){return e}:o)(t))},t}(u.Component);function ef(e){var t=function(t){return u.createElement(ed,h({getCount:e},t))};return t.displayName="ShareCount(".concat(e.name,")"),t}var ep=ef(function(e,t){window.OK||(window.OK={Share:{count:function(e,t){window.OK.callbacks[e](t)}},callbacks:[]});var n=window.OK.callbacks.length;return window.ODKL={updateCount:function(e,t){var n=""===e?0:parseInt(e.replace("react-share-",""),10);window.OK.callbacks[n](""===t?void 0:parseInt(t,10))}},window.OK.callbacks.push(t),d()("https://connect.ok.ru/dk"+B({"st.cmd":"extLike",uid:"react-share-".concat(n),ref:e}))}),eh=ef(function(e,t){d()("https://api.pinterest.com/v1/urls/count.json"+B({url:e}),function(e,n){t(!e&&n?n.count:void 0)})}),eg=ef(function(e,t){return d()("https://api.tumblr.com/v2/share/stats"+B({url:e}),function(e,n){t(!e&&n&&n.response?n.response.note_count:void 0)})}),e_=ef(function(e,t){window.VK||(window.VK={}),window.VK.Share={count:function(e,t){return window.VK.callbacks[e](t)}},window.VK.callbacks=[];var n=window.VK.callbacks.length;return window.VK.callbacks.push(t),d()("https://vk.com/share.php"+B({act:"count",index:n,url:e}))}),ev=ef(function(e,t){d()("https://bookmark.hatenaapis.com/count/entry"+B({url:e}),function(e,n){t(e?void 0:n)})}),em=ef(function(e,t,n,r){var o="https://graph.facebook.com/?id=".concat(e,"&fields=engagement&access_token=").concat(n,"|").concat(r);d()(o,function(e,n){t(!e&&n&&n.engagement?n.engagement.share_count:void 0)})}),eE=n(85882);function eS(){for(var e,t,n=0,r="",o=arguments.length;n1||e(function(e,o){o.trackMouse&&!n&&(document.addEventListener(eI,r),document.addEventListener(eR,u));var i=n?t.touches[0]:t,a=eN([i.clientX,i.clientY],o.rotationAngle);return o.onTouchStartOrOnMouseDown&&o.onTouchStartOrOnMouseDown({event:t}),Object.assign(Object.assign(Object.assign({},e),eA),{initial:a.slice(),xy:a,start:t.timeStamp||0})})},r=function(t){e(function(e,n){var r="touches"in t;if(r&&t.touches.length>1)return e;if(t.timeStamp-e.start>n.swipeDuration)return e.swiping?Object.assign(Object.assign({},e),{swiping:!1}):e;var o=r?t.touches[0]:t,a=eN([o.clientX,o.clientY],n.rotationAngle),s=(0,i.A)(a,2),c=s[0],u=s[1],l=c-e.xy[0],d=u-e.xy[1],f=Math.abs(l),p=Math.abs(d),h=(t.timeStamp||0)-e.start,g=Math.sqrt(f*f+p*p)/(h||1),_=f>p?l>0?"Right":"Left":d>0?"Down":"Up",v="number"==typeof n.delta?n.delta:n.delta[_.toLowerCase()]||eT.delta;if(f1&&void 0!==arguments[1]?arguments[1]:{},n=t.target,r=void 0===n?document.body:n;if("string"!=typeof e)throw TypeError("Expected parameter `text` to be a `string`, got `".concat(void 0===e?"undefined":(0,c._)(e),"`."));var o=document.createElement("textarea"),i=document.activeElement;o.value=e,o.setAttribute("readonly",""),o.style.contain="strict",o.style.position="absolute",o.style.left="-9999px",o.style.fontSize="12pt";var a=document.getSelection(),s=a.rangeCount>0&&a.getRangeAt(0);r.append(o),o.select(),o.selectionStart=0,o.selectionEnd=e.length;try{document.execCommand("copy")}catch(e){}o.remove(),s&&(a.removeAllRanges(),a.addRange(s)),i&&i.focus()})(t.url),s(!1)},children:[(0,a.jsx)(eO,{}),(0,a.jsx)("span",{className:eb.text,children:"Copy"})]}),eD.map(function(e){var n=ex[e]||e,o=r["".concat(n,"ShareButton")],i=r["".concat(n,"Icon")];return(0,a.jsxs)(o,{url:t.url,blankTarget:!0,onClick:function(){return s(!1)},children:[(0,a.jsx)(i,{round:!0}),(0,a.jsx)("span",{className:eb.text,children:e})]},e)})]})]})]})):null;return p?(0,eE.createPortal)(S,document.body):null}},54486:(e,t,n)=>{var r;function o(e){function n(){if(n.enabled){var e=+new Date;n.diff=e-(r||e),n.prev=r,n.curr=e,r=e;for(var o=Array(arguments.length),i=0;i{var r=n(16342),o=n(91394),i=n(31262),a=n(49918);function s(t){var n="function"==typeof Map?new Map:void 0;return e.exports=s=function(e){if(null===e||!i(e))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return a(e,arguments,r(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),o(t,e)},e.exports.__esModule=!0,e.exports.default=e.exports,s(t)}e.exports=s,e.exports.__esModule=!0,e.exports.default=e.exports},56287:(e,t,n)=>{var r=n(91394);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},56620:(e,t,n)=>{"use strict";var r=n(29955),o=n(72549),i=n(76032),a=n(76126),s=n(61989),c=n(98645);function u(e,t,n){return t=a(t),i(e,l()?Reflect.construct(t,n||[],a(e).constructor):t.apply(e,n))}function l(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(l=function(){return!!e})()}Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{PageSignatureError:function(){return d},RemovedPageError:function(){return f},RemovedUAError:function(){return p}});var d=function(e){function t(e){var n=e.page;return o(this,t),u(this,t,['The middleware "'.concat(n,"\" accepts an async API directly with the form:\n \n export function middleware(request, event) {\n return NextResponse.redirect('/new-location')\n }\n \n Read more: https://nextjs.org/docs/messages/middleware-new-signature\n ")])}return s(t,e),r(t)}(c(Error)),f=function(e){function t(){return o(this,t),u(this,t,["The request.page has been deprecated in favour of `URLPattern`.\n Read more: https://nextjs.org/docs/messages/middleware-request-page\n "])}return s(t,e),r(t)}(c(Error)),p=function(e){function t(){return o(this,t),u(this,t,["The request.ua has been removed in favour of `userAgent` function.\n Read more: https://nextjs.org/docs/messages/middleware-parse-user-agent\n "])}return s(t,e),r(t)}(c(Error))},57413:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"afterTaskAsyncStorageInstance",{enumerable:!0,get:function(){return r}});var r=(0,n(50134).createAsyncLocalStorage)()},62195:(e,t)=>{"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){c=!0,a=e},f:function(){try{s||null==r.return||r.return()}finally{if(c)throw a}}}}(e);try{for(i.s();!(o=i.n()).done;){var a,s,c=o.value,u=null==(a=c.domain)?void 0:a.split(":",1)[0].toLowerCase();if(t===u||r===c.defaultLocale.toLowerCase()||(null==(s=c.locales)?void 0:s.some(function(e){return e.toLowerCase()===r})))return c}}catch(e){i.e(e)}finally{i.f()}}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"detectDomainLocale",{enumerable:!0,get:function(){return r}})},62525:e=>{function t(e,t,n){if(!(e0){var a=e;if(!((a=String(a)).length>100)){var s=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(a);if(s){var c=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*c;case"days":case"day":case"d":return 864e5*c;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*c;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*c;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*c;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:break}}}return}if("number"===i&&!1===isNaN(e)){return n.long?t(r=e,864e5,"day")||t(r,36e5,"hour")||t(r,6e4,"minute")||t(r,1e3,"second")||r+" ms":(o=e)>=864e5?Math.round(o/864e5)+"d":o>=36e5?Math.round(o/36e5)+"h":o>=6e4?Math.round(o/6e4)+"m":o>=1e3?Math.round(o/1e3)+"s":o+"ms"}throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},63581:(e,t,n)=>{var r=n(91516);function o(){var e;try{e=t.storage.debug}catch(e){}return!e&&void 0!==r&&"env"in r&&(e=r.env.DEBUG),e}(t=e.exports=n(54486)).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},t.formatArgs=function(e){var n=this.useColors;if(e[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+e[0]+(n?"%c ":" ")+"+"+t.humanize(this.diff),n){var r="color: "+this.color;e.splice(1,0,r,"color: inherit");var o=0,i=0;e[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&(o++,"%c"===e&&(i=o))}),e.splice(i,0,r)}},t.save=function(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(e){}},t.load=o,t.useColors=function(){return!!window.process&&"renderer"===window.process.type||"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),t.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},t.enable(o())},64673:(e,t,n)=>{var r=n(91124);function o(e,t){for(var n=0;n{"use strict";function n(){throw Object.defineProperty(Error('ImageResponse moved from "next/server" to "next/og" since Next.js 14, please import from "next/og" instead'),"__NEXT_ERROR_CODE",{value:"E183",enumerable:!1,configurable:!0})}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageResponse",{enumerable:!0,get:function(){return n}})},69845:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createDedupedByCallsiteServerErrorLoggerDev",{enumerable:!0,get:function(){return c}});var r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(78299));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}var i={current:null},a="function"==typeof r.cache?r.cache:function(e){return e},s=console.warn;function c(e){return function(){var t=e.apply(void 0,arguments);s(t)}}a(function(e){try{s(i.current)}finally{i.current=null}})},71980:(e,t,n)=>{var r=n(87208).default,o=n(28861);e.exports=function(e,t){if(t&&("object"==r(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return o(e)},e.exports.__esModule=!0,e.exports.default=e.exports},72339:(e,t,n)=>{"use strict";var r=n(72549),o=n(29955);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NextURL",{enumerable:!0,get:function(){return f}});var i=n(62195),a=n(25850),s=n(10885),c=n(81777),u=/(?!^https?:\/\/)(127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}|\[::1\]|localhost)/;function l(e,t){return new URL(String(e).replace(u,"localhost"),t&&String(t).replace(u,"localhost"))}var d=Symbol("NextURLInternal"),f=function(){function e(t,n,o){var i,a;r(this,e),"object"==typeof n&&"pathname"in n||"string"==typeof n?(i=n,a=o||{}):a=o||n||{},this[d]={url:l(t,null!=i?i:a.base),options:a,basePath:""},this.analyze()}return o(e,[{key:"analyze",value:function(){var e,t,n,r,o,a,u,l=(0,c.getNextPathnameInfo)(this[d].url.pathname,{nextConfig:this[d].options.nextConfig,parseData:!0,i18nProvider:this[d].options.i18nProvider}),f=(0,s.getHostname)(this[d].url,this[d].options.headers);this[d].domainLocale=this[d].options.i18nProvider?this[d].options.i18nProvider.detectDomainLocale(f):(0,i.detectDomainLocale)(null==(r=this[d].options.nextConfig)||null==(n=r.i18n)?void 0:n.domains,f);var p=(null==(o=this[d].domainLocale)?void 0:o.defaultLocale)||(null==(u=this[d].options.nextConfig)||null==(a=u.i18n)?void 0:a.defaultLocale);this[d].url.pathname=l.pathname,this[d].defaultLocale=p,this[d].basePath=null!=(e=l.basePath)?e:"",this[d].buildId=l.buildId,this[d].locale=null!=(t=l.locale)?t:p,this[d].trailingSlash=l.trailingSlash}},{key:"formatPathname",value:function(){return(0,a.formatNextPathnameInfo)({basePath:this[d].basePath,buildId:this[d].buildId,defaultLocale:this[d].options.forceLocale?void 0:this[d].defaultLocale,locale:this[d].locale,pathname:this[d].url.pathname,trailingSlash:this[d].trailingSlash})}},{key:"formatSearch",value:function(){return this[d].url.search}},{key:"buildId",get:function(){return this[d].buildId},set:function(e){this[d].buildId=e}},{key:"locale",get:function(){var e;return null!=(e=this[d].locale)?e:""},set:function(e){var t,n;if(!this[d].locale||!(null==(n=this[d].options.nextConfig)||null==(t=n.i18n)?void 0:t.locales.includes(e)))throw Object.defineProperty(TypeError('The NextURL configuration includes no locale "'.concat(e,'"')),"__NEXT_ERROR_CODE",{value:"E597",enumerable:!1,configurable:!0});this[d].locale=e}},{key:"defaultLocale",get:function(){return this[d].defaultLocale}},{key:"domainLocale",get:function(){return this[d].domainLocale}},{key:"searchParams",get:function(){return this[d].url.searchParams}},{key:"host",get:function(){return this[d].url.host},set:function(e){this[d].url.host=e}},{key:"hostname",get:function(){return this[d].url.hostname},set:function(e){this[d].url.hostname=e}},{key:"port",get:function(){return this[d].url.port},set:function(e){this[d].url.port=e}},{key:"protocol",get:function(){return this[d].url.protocol},set:function(e){this[d].url.protocol=e}},{key:"href",get:function(){var e=this.formatPathname(),t=this.formatSearch();return"".concat(this.protocol,"//").concat(this.host).concat(e).concat(t).concat(this.hash)},set:function(e){this[d].url=l(e),this.analyze()}},{key:"origin",get:function(){return this[d].url.origin}},{key:"pathname",get:function(){return this[d].url.pathname},set:function(e){this[d].url.pathname=e}},{key:"hash",get:function(){return this[d].url.hash},set:function(e){this[d].url.hash=e}},{key:"search",get:function(){return this[d].url.search},set:function(e){this[d].url.search=e}},{key:"password",get:function(){return this[d].url.password},set:function(e){this[d].url.password=e}},{key:"username",get:function(){return this[d].url.username},set:function(e){this[d].url.username=e}},{key:"basePath",get:function(){return this[d].basePath},set:function(e){this[d].basePath=e.startsWith("/")?e:"/".concat(e)}},{key:"toString",value:function(){return this.href}},{key:"toJSON",value:function(){return this.href}},{key:Symbol.for("edge-runtime.inspect.custom"),value:function(){return{href:this.href,origin:this.origin,protocol:this.protocol,username:this.username,password:this.password,host:this.host,hostname:this.hostname,port:this.port,pathname:this.pathname,search:this.search,searchParams:this.searchParams,hash:this.hash}}},{key:"clone",value:function(){return new e(String(this),this[d].options)}}])}()},74824:(e,t,n)=>{"use strict";n.d(t,{s:()=>o});var r=n(96659);function o(e,t,n,o){return new(n||(n=Promise))(function(i,a){function s(e){try{u(o.next(e))}catch(e){a(e)}}function c(e){try{u(o.throw(e))}catch(e){a(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,(0,r._)(t,n)?t:new n(function(e){e(t)})).then(s,c)}u((o=o.apply(e,t||[])).next())})}"function"==typeof SuppressedError&&SuppressedError},75079:e=>{e.exports=function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},76875:(e,t,n)=>{"use strict";n.d(t,{Z:()=>_});var r=n(84427),o=n(10509),i=function(e){var t=e.apsInit,n=e.strategy;return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(o.default,{async:!0,id:"aps-initialization",strategy:n,dangerouslySetInnerHTML:{__html:'\n function initializeApstag() { \n function q(c, r) {\n window.apstag._Q.push([c, r]);\n }\n \n window.apstag = {\n init: function () {\n q("i", arguments);\n },\n fetchBids: function () {\n q("f", arguments);\n },\n setDisplayBids: function () {},\n targetingKeys: function () {\n return [];\n },\n _Q: [],\n };\n \n window.apstag.init('.concat(JSON.stringify(t),")\n }\n if (!window?.apstag) {\n initializeApstag()\n }")}},"aps-initialization")})},a=n(81398),s=!1,c=function(e){var t=e.getPbjsBidSlots,n=e.consentState;return(0,r.jsx)(o.default,{id:"gpt-global-config",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:"".concat(!s&&(s=!0,window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push(function(){var e=window.googletag.display;window.googletag.display=function(){var r=arguments.length<=0?void 0:arguments[0];if(e(arguments.length<=0?void 0:arguments[0]),(0,a.i_)(r).hbEnabled){var o=t(r);(0,a.il)(r,o,n)}}}),!0))}})},u=n(93342),l=n(92687),d=n(96510),f=n(69033),p=n(44187),h=n(8555),g={pubID:"98ff8409-7b8a-47fb-863e-c441e9f08c7c",adServer:"googletag"},_=function(e){var t=e.apsInit,n=e.strategy,o=e.apsEnabled,a=e.prebidEnabled,s=e.isUmoGames,_=(0,d.Ns)(),v=_.location,m=_.adScripts,E=_.consentState,S=_.product,y=_.adUnits;return t||(t=g),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c,{getPbjsBidSlots:function(e){var t=(0,f.M)(e);if(!t)return[];var n=t.getAdUnitPath(),r=t.getSizes().map(function(e){return[e.width,e.height]}),o=v.country;return(0,p.wY)(S,r,n,o,(null==y?void 0:y.headerBidding)||{prebid:{adaptor:[]}},s)},consentState:E}),o?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(h.y,{adScripts:m,scriptIds:u.Vd,scriptCanBeLoaded:E.scriptCanBeLoaded}),(0,r.jsx)(i,{strategy:void 0===n?"afterInteractive":n,apsInit:t})]}):(0,r.jsx)(r.Fragment,{}),a?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(h.y,{adScripts:m,scriptIds:u.$W,scriptCanBeLoaded:E.scriptCanBeLoaded}),(0,r.jsx)(l.A,{isGDPRNation:v.isGDPRNation})]}):(0,r.jsx)(r.Fragment,{})]})}},77573:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(96659);Object.defineProperty(t,"__esModule",{value:!0}),t.__assign=function(){return t.__assign=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&o[o.length-1])&&(6===c[0]||2===c[0])){a=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]{"use strict";n.d(t,{Ms:()=>i,i_:()=>c,il:()=>o});var r=new(n(67297)).V("[Header Bidding]");function o(e,t,n){var r,o,a,s,u,l,d,f={adserverRequestSent:!1,aps:!1,prebid:!1};function p(){f.aps&&f.prebid&&h()}function h(){!0!==f.adserverRequestSent&&(f.adserverRequestSent=!0,window.googletag.cmd.push(function(){var t=i(e);n.gdprConsentDenied||googletag.pubads().refresh([t])}))}a=(o=i(e)).getAdUnitPath(),s=o.getSizes().map(function(e){return[e.width,e.height]}),l=(u=c(e)).apsEnabled,d=u.prebidEnabled,l&&(null==(r=window.apstag)||r.fetchBids({slots:[{slotID:e,slotName:a,sizes:s}],timeout:750},function(e){window.googletag.cmd.push(function(){window.apstag.setDisplayBids(),f.aps=!0,p()})})),window.pbjs=window.pbjs||{},window.pbjs.que=window.pbjs.que||[],d&&window.pbjs.que.push(function(){window.pbjs.removeAdUnit(),window.pbjs.addAdUnits(t),window.pbjs.requestBids({timeout:750,bidsBackHandler:function(e){window.googletag.cmd.push(function(){window.pbjs.setPAAPIConfigForGPT&&window.pbjs.setPAAPIConfigForGPT(),window.pbjs.setTargetingForGPTAsync&&window.pbjs.setTargetingForGPTAsync(),f.prebid=!0,p()})}})}),window.setTimeout(function(){h()},850)}function i(e){return window.googletag.pubads().getSlots().find(function(t){return t.getSlotElementId()===e})}function a(e){return"true"===e.toLowerCase()}function s(e){return!e||e.length<1?null:e[0]}function c(e){var t={prebidEnabled:!1,apsEnabled:!1,hbEnabled:!1};try{var n=i(e);if(!n)return t;var o=n.getTargetingMap(),c=s(o.gzp_enable_hb),u=s(o.prebidEnabled),l=s(o.apsEnabled);return t={prebidEnabled:a(u),apsEnabled:a(l),hbEnabled:a(c)}}catch(n){return r.error("Header Bidding Error: Failed to check slot bidding status",{id:e,error:n}),t}}},81777:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getNextPathnameInfo",{enumerable:!0,get:function(){return a}});var r=n(21344),o=n(20834),i=n(61790);function a(e,t){var n=null!=(f=t.nextConfig)?f:{},a=n.basePath,s=n.i18n,c=n.trailingSlash,u={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):c};a&&(0,i.pathHasPrefix)(u.pathname,a)&&(u.pathname=(0,o.removePathPrefix)(u.pathname,a),u.basePath=a);var l=u.pathname;if(u.pathname.startsWith("/_next/data/")&&u.pathname.endsWith(".json")){var d=u.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/");u.buildId=d[0],l="index"!==d[1]?"/"+d.slice(1).join("/"):"/",!0===t.parseData&&(u.pathname=l)}if(s){var f,p,h=t.i18nProvider?t.i18nProvider.analyze(u.pathname):(0,r.normalizeLocalePath)(u.pathname,s.locales);u.locale=h.detectedLocale,u.pathname=null!=(p=h.pathname)?p:u.pathname,!h.detectedLocale&&u.buildId&&(h=t.i18nProvider?t.i18nProvider.analyze(l):(0,r.normalizeLocalePath)(l,s.locales)).detectedLocale&&(u.locale=h.detectedLocale)}return u}},82108:(e,t,n)=>{"use strict";n.d(t,{C:()=>o});var r=n(97537);function o(e){return""===e?"":r.SM[e]}},82456:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(12135),o=n(29955),i=n(72549),a=n(76032),s=n(76126),c=n(61989),u=n(98645);function l(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(l=function(){return!!e})()}Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{StaticGenBailoutError:function(){return f},isStaticGenBailoutError:function(){return p}});var d="NEXT_STATIC_GEN_BAILOUT",f=function(e){function t(){i(this,t);for(var e,n,r,o=arguments.length,c=Array(o),u=0;u{"use strict";n.d(t,{GamInterstitialScript:()=>p});var r=n(38153),o=n(9157),i=n(78299),a=n(97537),s=n(93016),c=n(27982),u=n(38447),l=n(99093),d=n(64405),f=n(27833),p=function(e){var t=e.adSpot,n=e.adUnit,p=e.product,h=e.customParams,g=e.triggerOnNavBar,_=void 0===g||g,v=e.triggerOnWindowHide,m=void 0===v||v,E=e.consentState,S=(0,i.useRef)(!1),y=(0,r.A)((0,r.A)((0,r.A)({},c.cV.AD_DEMAND_SOURCE,"gamInterstitial"),c.cV.AD_SPOT,t),c.cV.ADS_SDK_VERSION,l.r),b=function(e){return new s.A({name:e,data:Object.assign(Object.assign({},y),e===c.Wo.AD_REQUESTED&&(0,r.A)({},c.cV.IS_AD_BLOCKED,(0,u.b)()))}).dispatch()};return(0,i.useEffect)(function(){if(!S.current){var e;(0,d.GZ)()||(n&&(window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],googletag.cmd.push(function(){(e=googletag.defineOutOfPageSlot((0,o.A)(n),googletag.enums.OutOfPageFormat.INTERSTITIAL))&&(e.setConfig({targeting:(0,f.V)({pos:t,productVersion:a.SM[p],customParams:h})}),googletag.pubads().addEventListener("slotRequested",function(t){e===t.slot&&b(c.Wo.AD_REQUESTED)}),googletag.pubads().addEventListener("slotOnload",function(t){e===t.slot&&b(c.Wo.AD_LOADED)}),googletag.pubads().addEventListener("slotRenderEnded",function(t){e===t.slot&&t.isEmpty&&b(c.Wo.AD_FAILED)}),googletag.pubads().addEventListener("impressionViewable",function(t){e===t.slot&&b(c.Wo.AD_VIEWED)}),e.addService(googletag.pubads()).setConfig({interstitial:{triggers:{navBar:_,unhideWindow:m}}}),googletag.pubads().disableInitialLoad(),googletag.enableServices(),googletag.display(e),E.gdprConsentDenied||googletag.pubads().refresh([e]))})),S.current=!0)}},[]),null}},84495:(e,t,n)=>{var r=n(87208).default;e.exports=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},85332:(e,t,n)=>{"use strict";var r=n(20151),o=n(18143),i=n(33935);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}Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getRootParam:function(){return m},unstable_rootParams:function(){return _}});var s=n(1418),c=n(37616),u=n(57843),l=n(95432),d=n(31559),f=n(93962),p=n(89312),h=n(49978),g=new WeakMap;function _(){return v.apply(this,arguments)}function v(){return(v=i(r.mark(function e(){var t,n;return r.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if((0,h.warnOnce)("`unstable_rootParams()` is deprecated and will be removed in an upcoming major release. Import specific root params from `next/root-params` instead."),t=u.workAsyncStorage.getStore()){e.next=4;break}throw Object.defineProperty(new s.InvariantError("Missing workStore in unstable_rootParams"),"__NEXT_ERROR_CODE",{value:"E615",enumerable:!1,configurable:!0});case 4:if(n=l.workUnitAsyncStorage.getStore()){e.next=7;break}throw Object.defineProperty(Error("Route ".concat(t.route," used `unstable_rootParams()` in Pages Router. This API is only available within App Router.")),"__NEXT_ERROR_CODE",{value:"E641",enumerable:!1,configurable:!0});case 7:e.t0=n.type,e.next="cache"===e.t0||"unstable-cache"===e.t0?10:"prerender"===e.t0||"prerender-client"===e.t0||"prerender-ppr"===e.t0||"prerender-legacy"===e.t0?11:"private-cache"===e.t0||"prerender-runtime"===e.t0||"request"===e.t0?12:13;break;case 10:throw Object.defineProperty(Error("Route ".concat(t.route,' used `unstable_rootParams()` inside `"use cache"` or `unstable_cache`. Support for this API inside cache scopes is planned for a future version of Next.js.')),"__NEXT_ERROR_CODE",{value:"E642",enumerable:!1,configurable:!0});case 11:return e.abrupt("return",function(e,t,n){switch(n.type){case"prerender-client":var r="`unstable_rootParams`";throw Object.defineProperty(new s.InvariantError("".concat(r," must not be used within a client component. Next.js should be preventing ").concat(r," from being included in client components statically, but did not in this case.")),"__NEXT_ERROR_CODE",{value:"E693",enumerable:!1,configurable:!0});case"prerender":var i=n.fallbackRouteParams;if(i){for(var u in e)if(i.has(u)){var l=g.get(e);if(l)return l;var p=(0,d.makeHangingPromise)(n.renderSignal,t.route,"`unstable_rootParams`");return g.set(e,p),p}}break;case"prerender-ppr":var h=n.fallbackRouteParams;if(h){for(var _ in e)if(h.has(_))return function(e,t,n,r){var i=g.get(e);if(i)return i;var s=function(e){for(var t=1;t{var r;!function(){var o={226:function(o,i){!function(a,s){"use strict";var c="function",u="undefined",l="object",d="string",f="major",p="model",h="name",g="type",_="vendor",v="version",m="architecture",E="console",S="mobile",y="tablet",b="smarttv",w="wearable",O="embedded",T="Amazon",A="Apple",I="ASUS",R="BlackBerry",N="Browser",P="Chrome",C="Firefox",D="Google",x="Huawei",k="Microsoft",L="Motorola",V="Opera",M="Samsung",U="Sharp",j="Sony",G="Xiaomi",B="Zebra",z="Facebook",F="Chromium OS",H="Mac OS",W=function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n},q=function(e){for(var t={},n=0;n0?2===i.length?typeof i[1]==c?this[i[0]]=i[1].call(this,u):this[i[0]]=i[1]:3===i.length?typeof i[1]!==c||i[1].exec&&i[1].test?this[i[0]]=u?u.replace(i[1],i[2]):void 0:this[i[0]]=u?i[1].call(this,u,i[2]):void 0:4===i.length&&(this[i[0]]=u?i[3].call(this,u.replace(i[1],i[2])):s):this[i]=u||s;d+=2}},Z=function(e,t){for(var n in t)if(typeof t[n]===l&&t[n].length>0){for(var r=0;r2&&(e[p]="iPad",e[g]=y),e},this.getEngine=function(){var e={};return e[h]=s,e[v]=s,Q.call(e,r,i.engine),e},this.getOS=function(){var e={};return e[h]=s,e[v]=s,Q.call(e,r,i.os),E&&!e[h]&&o&&"Unknown"!=o.platform&&(e[h]=o.platform.replace(/chrome os/i,F).replace(/macos/i,H)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(e){return r=typeof e===d&&e.length>350?K(e,350):e,this},this.setUA(r),this};ee.VERSION="1.0.35",ee.BROWSER=q([h,v,f]),ee.CPU=q([m]),ee.DEVICE=q([p,_,g,E,S,b,y,w,O]),ee.ENGINE=ee.OS=q([h,v]),typeof i!==u?(o.exports&&(i=o.exports=ee),i.UAParser=ee):n.amdO?void 0===(r=(function(){return ee}).call(t,n,t,e))||(e.exports=r):typeof a!==u&&(a.UAParser=ee);var et=typeof a!==u&&(a.jQuery||a.Zepto);if(et&&!et.ua){var en=new ee;et.ua=en.getResult(),et.ua.get=function(){return en.getUA()},et.ua.set=function(e){en.setUA(e);var t=en.getResult();for(var n in t)et.ua[n]=t[n]}}}(window)}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={exports:{}},r=!0;try{o[e].call(n.exports,n,n.exports,a),r=!1}finally{r&&delete i[e]}return n.exports}a.ab="//",e.exports=a(226)}()},87208:e=>{function t(n){return e.exports=t="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.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},87939:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ERR_CLIENT_GET_WHATSAPP_INTENT_FAILED_RESPONSE={error:{message:"Getting the WhatsApp Intent failed",code:"GET_WHATSAPP_INTENT_FAILED"}},t.ERR_CLIENT_OPTIONS_REQUIRED_RESPONSE={error:{message:"Client Options are required.",code:"ERR_CLIENT_OPTIONS_REQUIRED"}},t.sendError=function(e,t){return{error:{message:JSON.stringify(e.data),code:e.code},data:t||void 0}}},88366:(e,t,n)=>{"use strict";n.d(t,{M:()=>M});var r,o,i=n(58211),a=n(78299),s=n(82108),c=n(6576),u=n(27982),l=n(94740),d=n(39332),f={NONE:"none",DISPLAY_ADS:["gamDisplayInterstitial","gamDisplayRewarded","mgidDisplayInterstitial","mgidDisplayRewarded","inuxuDisplayInterstitial","inuxuDisplayRewarded","taboolaDisplayInterstitial","taboolaDisplayRewarded","adsenseDisplayInterstitial","adsenseDisplayRewarded"],GAM_MANUAL_INTERSTITIAL_ADS:"gamManualInterstitial",GAM_REWARDED_ADS:"gamRewarded",YANDEX_REWARDED:"yandexRewarded",YANDEX_INTERSTITIAL:"yandexInterstitial",GAM_VAST:"gamVast",PARTNER_AD:"partnerAd"},p=n(38153),h=n(93016),g=n(38447),_=n(99093),v=function(e,t,n){if(!n.includes("Display")){var r=(0,p.A)((0,p.A)((0,p.A)({},u.cV.AD_DEMAND_SOURCE,n),u.cV.AD_SPOT,t),u.cV.ADS_SDK_VERSION,_.r);return e===u.Wo.AD_REQUESTED&&(r[u.cV.IS_AD_BLOCKED]=(0,g.b)()),new h.A({name:e,data:r}).dispatch()}},m=n(9157),E=n(27833);!function(e){e[e.Initial=0]="Initial",e[e.Queued=1]="Queued",e[e.Defined=2]="Defined",e[e.Loading=3]="Loading",e[e.Loaded=4]="Loaded",e[e.Empty=5]="Empty"}(r||(r={}));var S={timeout:2e3,recurse:!0},y=function(){var e=(0,d.H)().getAdSpotState,t=(0,a.useRef)(null),n=(0,a.useRef)(null),o=(0,a.useRef)(r.Initial),i=(0,a.useRef)(!1),s=(0,a.useRef)(null),c=(0,a.useRef)(void 0);function l(e,a){var s,l;o.current!==r.Queued&&o.current!==r.Defined&&o.current!==r.Loading&&o.current!==r.Loaded&&(o.current=r.Queued,window.googletag=null!=(s=window.googletag)?s:{},window.googletag.cmd=null!=(l=window.googletag.cmd)?l:[],googletag.cmd.push(function(){!function(e,a){var s=e.adCode,l=e.adSpot,d=e.product,p=e.additionalParams;function h(e){e.slot===t.current&&(null==a||a(u.Wo.AD_REQUESTED))}function g(e){e.slot===t.current&&(null==a||a(u.Wo.AD_VIEWED))}function _(e){e.slot===t.current&&e.isEmpty&&(o.current=r.Empty)}function v(e){t.current===e.slot&&(n.current=e,o.current=r.Loaded,null==a||a(u.Wo.AD_LOADED),i.current&&f({adCode:s,adSpot:l,product:d,additionalParams:p},a,{timeout:S.timeout,recurse:!1}))}function y(){var e,i;t.current&&t.current===(null==(e=n.current)?void 0:e.slot)&&(null==a||a(u.Wo.AD_SESSION_CLOSED),null==(i=c.current)||i.call(c),googletag.destroySlots([t.current]),t.current=null,o.current=r.Initial)}t.current=googletag.defineOutOfPageSlot((0,m.A)(s),googletag.enums.OutOfPageFormat.GAME_MANUAL_INTERSTITIAL),t.current&&(o.current=r.Defined,t.current.addService(googletag.pubads()),googletag.pubads().disableInitialLoad(),t.current.setConfig({targeting:(0,E.V)({pos:l,productVersion:d,customParams:p})}),c.current=function(){googletag.cmd.push(function(){googletag.pubads().removeEventListener("slotRequested",h),googletag.pubads().removeEventListener("gameManualInterstitialSlotReady",v),googletag.pubads().removeEventListener("gameManualInterstitialSlotClosed",y),googletag.pubads().removeEventListener("slotRenderEnded",_),googletag.pubads().removeEventListener("impressionViewable",g)})},googletag.pubads().addEventListener("slotRequested",h),googletag.pubads().addEventListener("gameManualInterstitialSlotReady",v),googletag.pubads().addEventListener("gameManualInterstitialSlotClosed",y),googletag.pubads().addEventListener("slotRenderEnded",_),googletag.pubads().addEventListener("impressionViewable",g))}(e,a),googletag.enableServices(),o.current=r.Loading,t.current&&googletag.pubads().refresh([t.current])}))}function f(a,d){var h,g=arguments.length>2&&void 0!==arguments[2]?arguments[2]:S,_=g.timeout,v=g.recurse;if(t.current||o.current!==r.Defined){if((o.current===r.Initial||o.current===r.Queued)&&!i.current&&(void 0===v||v))return l(a,d),i.current=!0,void(s.current=window.setTimeout(function(){f(a,d,{timeout:_,recurse:!1}),i.current=!1},_));if(o.current===r.Empty)return t.current&&(googletag.destroySlots([t.current]),t.current=null),p(),null==d||d(u.Wo.AD_FAILED),e(a.adSpot).isPreloadActive=!1,void(null==(h=c.current)||h.call(c));if(o.current===r.Loading)return null==d||d(u.Wo.FREQUENCY_CAPPED),void(e(a.adSpot).isPreloadActive=!1);o.current===r.Loaded&&n.current&&(p(),n.current.makeGameManualInterstitialVisible())}else null==d||d(u.Wo.NOT_SUPPORTED)}function p(){i.current=!1,s.current&&(window.clearTimeout(s.current),s.current=null),o.current=r.Initial}return(0,a.useEffect)(function(){return function(){p(),t.current&&(googletag.destroySlots([t.current]),t.current=null)}},[]),{preloadGMIAd:l,requestGMIAd:f}},b=function(e,t){try{var n=null,r=null;window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[];var o=function(){googletag.pubads().removeEventListener("slotRequested",i),googletag.pubads().removeEventListener("rewardedSlotReady",a),googletag.pubads().removeEventListener("rewardedSlotGranted",s),googletag.pubads().removeEventListener("rewardedSlotClosed",l),googletag.pubads().removeEventListener("slotRenderEnded",d)},i=function(e){e.slot===n&&(null==t||t(u.Wo.AD_REQUESTED))},a=function(e){e.slot===n&&e.makeRewardedVisible()},s=function(e){e.slot===n&&(r=e.payload)},l=function(e){e.slot===n&&(r?(null==t||t(u.Wo.AD_VIEWED),r=null,googletag.destroySlots([n])):null==t||t(u.Wo.AD_DISMISSED),o())},d=function(e){e.slot===n&&(e.isEmpty&&o(),null==t||t(e.isEmpty?u.Wo.AD_FAILED:u.Wo.AD_LOADED))};googletag.cmd.push(function(){(n=googletag.defineOutOfPageSlot((0,m.A)(e.adCode),googletag.enums.OutOfPageFormat.REWARDED))?(googletag.pubads().disableInitialLoad(),n.addService(googletag.pubads()),googletag.pubads().addEventListener("slotRequested",i),googletag.pubads().addEventListener("rewardedSlotReady",a),googletag.pubads().addEventListener("rewardedSlotGranted",s),googletag.pubads().addEventListener("rewardedSlotClosed",l),googletag.pubads().addEventListener("slotRenderEnded",d),n.setConfig({targeting:(0,E.V)({pos:e.adSpot,productVersion:e.productVersion,customParams:e.customParams})}),googletag.enableServices(),googletag.pubads().refresh([n])):null==t||t(u.Wo.NOT_SUPPORTED)})}catch(e){c.V.error("triggerGPTAdError",e)}},w=n(64405),O=function(e,t){var n=e.statId,r=e.adToRender,o=e.adCodes["yandex".concat("yandexRewarded"===r?"Rewarded":"Interstitial").concat((0,w.Fr)()?"Mobile":"Desktop")]||null;if(!o)return null;try{window.yaContextCb=window.yaContextCb||[],null==t||t(u.Wo.AD_REQUESTED);var i=function(e,o){var i=Object.assign(Object.assign({blockId:e,platform:o,type:"yandexRewarded"===r?"rewarded":"fullscreen"},n?{statId:n}:{}),{onError:function(){return null==t?void 0:t(u.Wo.AD_FAILED)},onRender:function(){return null==t?void 0:t(u.Wo.AD_LOADED)}});"yandexRewarded"===r?i.onRewarded=function(e){return null==t?void 0:t(e?u.Wo.AD_VIEWED:u.Wo.AD_DISMISSED)}:i.onClose=function(){return null==t?void 0:t(u.Wo.AD_VIEWED)},window.Ya.Context.AdvManager.render(i)},a="desktop"===window.Ya.Context.AdvManager.getPlatform()?"desktop":"touch";window.yaContextCb.push(function(){i(o,a)})}catch(e){c.V.error("triggerYandexFullscreenAdError",e)}},T=n(24159),A=n(64289),I=n(63793),R={"vast-overlay-fullscreen":"vast-styles-module_vast-overlay-fullscreen__V7wJc","vast-overlay-container":"vast-styles-module_vast-overlay-container__uFB1L","vast-video-element":"vast-styles-module_vast-video-element__hd7tV","vast-ad-container":"vast-styles-module_vast-ad-container__uU-wF","vast-ad-controls":"vast-styles-module_vast-ad-controls__NUqG-",hidden:"vast-styles-module_hidden__PMCuz","vast-progress-container":"vast-styles-module_vast-progress-container__QFwXB","vast-playing-ad-text":"vast-styles-module_vast-playing-ad-text__y0e-z","vast-progress-bar":"vast-styles-module_vast-progress-bar__oyg55","vast-controls-row":"vast-styles-module_vast-controls-row__EVFVA","vast-controls-left":"vast-styles-module_vast-controls-left__QP1hJ","vast-time-display":"vast-styles-module_vast-time-display__nZY6a"};(0,I.A)(".vast-styles-module_vast-overlay-fullscreen__V7wJc{align-items:center;background:transparent;display:flex;height:100vh;justify-content:center;left:0;position:fixed;top:0;width:100vw;z-index:9999}.vast-styles-module_vast-overlay-container__uFB1L{align-items:center;background:transparent;display:flex;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%;z-index:50}.vast-styles-module_vast-video-element__hd7tV{height:100%;-o-object-fit:contain;object-fit:contain;width:100%}.vast-styles-module_vast-ad-container__uU-wF{height:100%;left:0;position:absolute;top:0;width:100%}.vast-styles-module_vast-ad-controls__NUqG-{bottom:0;left:0;opacity:1;position:absolute;right:0;transition:opacity .3s ease,visibility 0ms linear 0ms;visibility:visible;width:98%;z-index:100}.vast-styles-module_vast-ad-controls__NUqG-.vast-styles-module_hidden__PMCuz{opacity:0;pointer-events:none;visibility:hidden}.vast-styles-module_vast-progress-container__QFwXB{background:hsla(220,9%,46%,.5);border-radius:9999px;cursor:pointer;height:4px;overflow:hidden;width:100%}.vast-styles-module_vast-playing-ad-text__y0e-z{color:#fff;font-family:roboto,sans-serif;font-size:14px;padding-left:.75rem;text-shadow:-1px -1px 0 rgba(0,0,0,.8),1px -1px 0 rgba(0,0,0,.8),-1px 1px 0 rgba(0,0,0,.8),1px 1px 0 rgba(0,0,0,.8),0 0 3px rgba(0,0,0,.8)}.vast-styles-module_vast-progress-container__QFwXB:hover .vast-styles-module_vast-progress-bar__oyg55{height:8px}.vast-styles-module_vast-progress-bar__oyg55{background:linear-gradient(to right,var(--zop-primary-background,#a855f7),var(--zop-primary-foreground--hover,#ec4899));height:6px;transition:width .3s ease;width:0}.vast-styles-module_vast-controls-row__EVFVA{align-items:center;display:flex;justify-content:space-between;padding-bottom:.5rem;padding-right:.75rem;width:-moz-fit-content;width:fit-content}.vast-styles-module_vast-controls-row__EVFVA>*+*{margin-left:1rem}.vast-styles-module_vast-controls-left__QP1hJ{align-items:center;display:flex}.vast-styles-module_vast-controls-left__QP1hJ>*+*{margin-left:.75rem}.vast-styles-module_vast-control-button__xlS9B{align-items:center;background:transparent;border:none;color:#fff;cursor:pointer;display:flex;justify-content:center;padding:.25rem;transition:color .2s ease}.vast-styles-module_vast-control-button__xlS9B:hover{color:var(--zop-primary-foreground--hover,#c084fc)}.vast-styles-module_vast-time-display__nZY6a{color:#fff;font-family:roboto,sans-serif;font-size:14px;min-width:40px;text-shadow:-1px -1px 0 rgba(0,0,0,.8),1px -1px 0 rgba(0,0,0,.8),-1px 1px 0 rgba(0,0,0,.8),1px 1px 0 rgba(0,0,0,.8),0 0 3px rgba(0,0,0,.8)}");var N=(0,A.A)(function e(t,n){(0,T.A)(this,e),this.progressBar=null,this.controlsElement=null,this.controlsHideTimer=null,this.adsManager=null,this.overlayContainer=t,this.videoElement=n},[{key:"create",value:function(){this.controlsElement=document.createElement("div"),this.controlsElement.id="vast-ad-controls",this.controlsElement.className=R["vast-ad-controls"],this.controlsElement.classList.add(R.hidden),this.createControlsRow(),this.createProgressBar(),this.overlayContainer.appendChild(this.controlsElement)}},{key:"createProgressBar",value:function(){if(this.controlsElement){var e=document.createElement("div");e.className=R["vast-progress-container"],this.progressBar=document.createElement("div"),this.progressBar.id="vast-progress-bar",this.progressBar.className=R["vast-progress-bar"],e.appendChild(this.progressBar),this.controlsElement.appendChild(e)}}},{key:"createControlsRow",value:function(){if(this.controlsElement){var e=document.createElement("div");e.className=R["vast-controls-row"];var t=document.createElement("div");t.className=R["vast-controls-left"],t.appendChild(this.createPlayingAdText()),t.appendChild(this.createTimeDisplay()),e.appendChild(t),this.controlsElement.appendChild(e)}}},{key:"createPlayingAdText",value:function(){var e=document.createElement("span");return e.id="vast-playing-ad-text",e.className=R["vast-playing-ad-text"],e.textContent="Playing ad",e}},{key:"createTimeDisplay",value:function(){var e=document.createElement("span");return e.id="vast-time-display",e.className=R["vast-time-display"],e.textContent="0:00",e}},{key:"setAdsManager",value:function(e){this.adsManager=e}},{key:"setMuted",value:function(e){this.videoElement.muted=e,this.adsManager&&this.adsManager.setVolume(+!e)}},{key:"update",value:function(e,t){if(this.controlsElement){var n,r=this.controlsElement.querySelector("#vast-progress-bar");r&&(r.style.width="".concat(t>0?e/t*100:0,"%"));var o=this.controlsElement.querySelector("#vast-time-display");o&&(o.textContent=(n=Math.max(0,t-e))<0||isNaN(n)?"0:00":"".concat(Math.floor(n/60),":").concat(Math.floor(n%60).toString().padStart(2,"0")))}}},{key:"show",value:function(){var e=this;this.controlsElement&&(this.controlsElement.classList.remove(R.hidden),this.controlsHideTimer&&clearTimeout(this.controlsHideTimer),this.controlsHideTimer=setTimeout(function(){e.controlsElement&&e.controlsElement.classList.add(R.hidden)},3e3))}},{key:"destroy",value:function(){this.controlsHideTimer&&(clearTimeout(this.controlsHideTimer),this.controlsHideTimer=null),this.controlsElement=null,this.adsManager=null,this.progressBar=null}}]),P=(0,A.A)(function e(t){var n=this;(0,T.A)(this,e),this.overlayContainer=null,this.videoElement=null,this.adContainer=null,this.controlsManager=null,this.onMouseMove=function(){var e;null==(e=n.controlsManager)||e.show()},this.containerId=t},[{key:"create",value:function(){var e=this.containerId?document.getElementById(this.containerId):null;this.overlayContainer=document.createElement("div"),this.overlayContainer.id="vast-fullscreen-overlay",e?this.setupContainerMode(e):(this.containerId&&console.warn('[OverlayManager] Container element with id "'.concat(this.containerId,'" was not found in the DOM. Falling back to fullscreen mode.')),this.setupFullscreenMode()),this.createVideoElement(),this.createAdContainer(),this.overlayContainer&&this.videoElement&&(this.controlsManager=new N(this.overlayContainer,this.videoElement),this.controlsManager.create())}},{key:"enableMouseInteraction",value:function(){this.overlayContainer&&(this.overlayContainer.addEventListener("mousemove",this.onMouseMove),this.overlayContainer.addEventListener("click",this.onMouseMove))}},{key:"setupContainerMode",value:function(e){this.overlayContainer&&(this.overlayContainer.className=R["vast-overlay-container"],e.appendChild(this.overlayContainer))}},{key:"setupFullscreenMode",value:function(){this.overlayContainer&&(this.overlayContainer.className=R["vast-overlay-fullscreen"],document.body.appendChild(this.overlayContainer))}},{key:"createVideoElement",value:function(){this.overlayContainer&&(this.videoElement=document.createElement("video"),this.videoElement.id="vast-video-element",this.videoElement.className=R["vast-video-element"],this.videoElement.playsInline=!0,this.overlayContainer.appendChild(this.videoElement))}},{key:"createAdContainer",value:function(){this.overlayContainer&&(this.adContainer=document.createElement("div"),this.adContainer.id="vast-ad-container",this.adContainer.className=R["vast-ad-container"],this.overlayContainer.appendChild(this.adContainer))}},{key:"getVideoElement",value:function(){return this.videoElement}},{key:"getAdContainer",value:function(){return this.adContainer}},{key:"getControlsManager",value:function(){return this.controlsManager}},{key:"destroy",value:function(){var e,t;this.overlayContainer&&(this.overlayContainer.removeEventListener("mousemove",this.onMouseMove),this.overlayContainer.removeEventListener("click",this.onMouseMove)),(null==(e=this.overlayContainer)?void 0:e.parentNode)&&this.overlayContainer.parentNode.removeChild(this.overlayContainer),null==(t=this.controlsManager)||t.destroy(),this.controlsManager=null,this.overlayContainer=null,this.videoElement=null,this.adContainer=null}}]),C=n(11296),D=n(31228),x=(0,A.A)(function e(){(0,T.A)(this,e)},null,[{key:"build",value:function(e,t){var n=new window.google.ima.AdsRequest,r=null==t?void 0:t.adCode,o=(0,D.y)(r||"300x250"),i=(0,C.A)(o,2),a=i[0],s=i[1];return n.adTagUrl="https://pubads.g.doubleclick.net/gampad/ads?iu=/".concat(a,"/").concat(s,"&sz=640x480|640x360|400x300&cust_params=").concat(new URLSearchParams(e).toString().replace(/=/g,"%3D").replace(/&/g,"%26").replace(/,/g,"%2C"),"&ciu_szs=300x250%2C728x90&gdfp_req=1&output=vast&unviewed_position_start=1&env=vp&impl=s&plcmt=1&vpmute=0&ott_placement=5&vpa=auto&description_url=").concat(location.origin+location.pathname||"https://gamezop.com","&correlator="),n.linearAdSlotWidth=window.innerWidth,n.linearAdSlotHeight=window.innerHeight,n.nonLinearAdSlotWidth=window.innerWidth,n.nonLinearAdSlotHeight=150,n}}]);(o||(o={})).GAMEZOP_ASTRO_PREROLL="gamezopAstroPreroll";var k=[o.GAMEZOP_ASTRO_PREROLL],L=(0,A.A)(function e(t,n,r,o){var i=this;(0,T.A)(this,e),this.adsManager=null,this.adDisplayContainer=null,this.adsLoader=null,this.adLoadTimer=null,this.initializeRetryTimer=null,this.initializeRetried=!1,this.pendingCustomParams=null,this.hasRequestedAd=!1,this.containerResizeObserver=null,this.retryDuration=3e3,this.onAdError=function(e){var t=e.getError();if(!t)return c.V.error("VAST:: Ad error: Unknown error"),i.cleanup(),void i.callback(u.Wo.AD_FAILED);c.V.error("VAST:: Ad error: ".concat(t.getMessage()),{code:t.getErrorCode(),adSpot:i.vastProps.adSpot}),i.cleanup(),i.callback(u.Wo.AD_FAILED)},this.onAdLoaded=function(e){var t=e.getAd();t?(c.V.log("VAST:: Ad loaded: ".concat(t.getTitle()),{duration:t.getDuration(),adSpot:i.vastProps.adSpot}),i.callback(u.Wo.AD_LOADED),i.adLoadTimer&&(clearTimeout(i.adLoadTimer),i.adLoadTimer=null)):c.V.warn("VAST:: Ad loaded but no ad object")},this.onAdsManagerLoaded=function(e){var t=i.overlayManager.getVideoElement();if(t){var n,r=(n=i.vastProps.adSpot,k.includes(n));c.V.log("VAST:: Ads Manager loaded",{adSpot:i.vastProps.adSpot});var o=new window.google.ima.AdsRenderingSettings;o.enablePreloading=!0,o.restoreCustomPlaybackStateOnAdBreakComplete=!0,i.adsManager=e.getAdsManager(t,o);var a=i.overlayManager.getControlsManager();a&&(a.setAdsManager(i.adsManager),a.setMuted(r)),i.registerEventListeners();try{var s=i.vastProps.containerId?t.clientWidth||640:window.innerWidth,l=i.vastProps.containerId?t.clientHeight||480:window.innerHeight,d=i.vastProps.containerId?window.google.ima.ViewMode.NORMAL:window.google.ima.ViewMode.FULLSCREEN;i.adsManager.init(s,l,d),i.adsManager.start(),i.setupResizeListener()}catch(e){c.V.error("VAST:: Error starting VAST ads",{error:e.message,adSpot:i.vastProps.adSpot}),i.cleanup(),i.callback(u.Wo.AD_FAILED)}}},this.overlayManager=t,this.vastProps=n,this.callback=r,this.loadTimeout=o},[{key:"initialize",value:function(){var e,t=this,n=this.overlayManager.getAdContainer(),r=this.overlayManager.getVideoElement();if(!(null==(e=window.google)?void 0:e.ima)||!n||!r)return this.initializeRetried?(c.V.error("VAST:: Cannot initialize VAST ads - SDK not available after retry"),this.hasRequestedAd||this.callback(u.Wo.AD_REQUESTED),console.log("VAST:: SDK not available after retry, failing ad request"),void this.callback(u.Wo.AD_FAILED)):(c.V.error("VAST:: Cannot initialize VAST ads - missing dependencies, retrying in ".concat(this.retryDuration/1e3," seconds")),this.initializeRetried=!0,this.initializeRetryTimer&&clearTimeout(this.initializeRetryTimer),void(this.initializeRetryTimer=setTimeout(function(){t.initializeRetryTimer=null,t.initialize()},this.retryDuration)));if(c.V.log("VAST:: Initializing VAST IMA SDK",{adSpot:this.vastProps.adSpot}),this.adDisplayContainer=new window.google.ima.AdDisplayContainer(n,r),this.adsLoader=new window.google.ima.AdsLoader(this.adDisplayContainer),this.adsLoader.addEventListener(window.google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,this.onAdsManagerLoaded),this.adsLoader.addEventListener(window.google.ima.AdErrorEvent.Type.AD_ERROR,this.onAdError),this.pendingCustomParams){var o=this.pendingCustomParams;this.pendingCustomParams=null,this.performAdsRequest(o)}}},{key:"requestAds",value:function(e){if(this.hasRequestedAd=!0,this.callback(u.Wo.AD_REQUESTED),!this.adsLoader)return c.V.log("VAST adsLoader not initialized yet, waiting for initialize retry"),void(this.pendingCustomParams=e);this.performAdsRequest(e)}},{key:"performAdsRequest",value:function(e){var t,n,r=this;if(!(null==(t=window.google)?void 0:t.ima)||!this.adsLoader)return c.V.error("VAST:: Cannot request VAST ads - SDK not ready after retry"),void this.callback(u.Wo.AD_FAILED);try{null==(n=this.adDisplayContainer)||n.initialize();var o=x.build(e,this.vastProps);c.V.log("VAST:: Requesting VAST ads",{adSpot:this.vastProps.adSpot,tagUrl:o.adTagUrl}),this.adsLoader.requestAds(o),this.adLoadTimer=setTimeout(function(){c.V.warn("VAST:: Ad loading timeout",{adSpot:r.vastProps.adSpot}),r.cleanup(),r.callback(u.Wo.AD_FAILED)},this.loadTimeout)}catch(e){c.V.error("VAST:: Error requesting VAST ads",{error:e.message,adSpot:this.vastProps.adSpot}),this.cleanup(),this.callback(u.Wo.AD_FAILED)}}},{key:"registerEventListeners",value:function(){var e=this;if(this.adsManager){var t=window.google.ima.AdEvent.Type,n=this.overlayManager.getControlsManager();this.adsManager.addEventListener(t.LOADED,this.onAdLoaded),this.adsManager.addEventListener(t.STARTED,function(){c.V.log("VAST:: Ad started",{adSpot:e.vastProps.adSpot}),null==n||n.show(),e.overlayManager.enableMouseInteraction(),e.adLoadTimer&&(clearTimeout(e.adLoadTimer),e.adLoadTimer=null)}),this.adsManager.addEventListener(t.AD_PROGRESS,function(e){var t,r,o=e.getAdData(),i=null!=(t=null==o?void 0:o.currentTime)?t:0,a=null!=(r=null==o?void 0:o.duration)?r:0;null==n||n.update(i,a)}),this.adsManager.addEventListener(t.IMPRESSION,function(){e.callback(u.Wo.AD_VIEWED)}),this.adsManager.addEventListener(t.COMPLETE,function(){e.cleanup(),e.callback(u.Wo.AD_SESSION_CLOSED)}),this.adsManager.addEventListener(t.SKIPPED,function(){e.cleanup(),e.callback(u.Wo.AD_DISMISSED)}),this.adsManager.addEventListener(t.USER_CLOSE,function(){e.cleanup(),e.callback(u.Wo.AD_DISMISSED)}),this.adsManager.addEventListener(t.CLICK,function(){}),this.adsManager.addEventListener(window.google.ima.AdErrorEvent.Type.AD_ERROR,this.onAdError)}}},{key:"setupResizeListener",value:function(){var e=this,t=this.overlayManager.getVideoElement();t&&"undefined"!=typeof ResizeObserver&&(this.containerResizeObserver=new ResizeObserver(function(){e.handleResize()}),this.containerResizeObserver.observe(t))}},{key:"handleResize",value:function(){if(this.adsManager){var e=this.overlayManager.getVideoElement();if(e){c.V.log("VAST:: Ad container resized",{adSpot:this.vastProps.adSpot});try{var t=this.vastProps.containerId?e.clientWidth||640:window.innerWidth,n=this.vastProps.containerId?e.clientHeight||480:window.innerHeight;this.adsManager.resize(t,n),c.V.log("VAST:: Ad player resized",{width:t,height:n,adSpot:this.vastProps.adSpot})}catch(e){c.V.error("VAST:: Error resizing ad player",{error:e.message,adSpot:this.vastProps.adSpot})}}}}},{key:"cleanup",value:function(){this.adLoadTimer&&(clearTimeout(this.adLoadTimer),this.adLoadTimer=null),this.initializeRetryTimer&&(clearTimeout(this.initializeRetryTimer),this.initializeRetryTimer=null),this.containerResizeObserver&&(this.containerResizeObserver.disconnect(),this.containerResizeObserver=null),this.adsManager&&(this.adsManager.destroy(),this.adsManager=null),this.adsLoader&&(this.adsLoader.destroy(),this.adsLoader=null),this.adDisplayContainer&&(this.adDisplayContainer.destroy(),this.adDisplayContainer=null),this.overlayManager.destroy()}}]),V=function(e,t){try{var n=new P(e.containerId),r=new L(n,e,t,5e3);n.create(),r.initialize(),setTimeout(function(){var t=(0,E.V)(Object.assign({pos:e.adSpot,productVersion:e.productVersion},e.customParams&&{customParams:e.customParams}));r.requestAds(t)},100)}catch(n){c.V.error("Unexpected error in VAST ad",{error:n.message,adSpot:e.adSpot}),t(u.Wo.AD_FAILED)}},M=function(e){var t,n,r,o,p,h=e.adSpot,g=e.options,_=(0,d.H)(),m=_.adUnitData,E=_.product,S=_.consentState,w=_.domain,T=_.setAdNetwork,A=_.getAdSpotState,I=_.setShowDisplayAd,R=_.setAdOptions,N=_.triggerLoader,P=_.closeLoader,C=_.setContainerId,D=Object.assign(Object.assign({},null!=(t=null==g?void 0:g.customParams)?t:{}),{domain:w}),x=y(),k=x.preloadGMIAd,L=x.requestGMIAd,M=A(h),U=null==(r=null==(n=null==m?void 0:m.adUnits)?void 0:n.adSpotDemandSourceMap)?void 0:r[h],j=null==(o=null==m?void 0:m.adConfig)?void 0:o.propertyId,G=null==(p=null==m?void 0:m.adUnits)?void 0:p.adCodes,B=function(e){e&&T(function(t){return t.includes(e)?t:[].concat((0,i.A)(t),[e])})},z=function(){var e,t;M.currentDemand=null==U?void 0:U.primaryDemandSource,M.fallbackDemand=(0,i.A)(null!=(e=null==U?void 0:U.fallbackDemandSource)?e:[]),M.adToRender=null!=(t=null==U?void 0:U.primaryDemandSource)?t:null},F=function(){M.timeoutRef&&(clearTimeout(M.timeoutRef),M.timeoutRef=null)},H=function(e){var t;null==(t=M.sendCallbackRef)||t.call(M,u.Wo.AD_SESSION_CLOSED,h,e),M.isSessionActive=!1,M.isPreloadActive=!1,P(h)},W=function(e,t){var n,r=M.fallbackDemand.shift();if(r){M.currentDemand=r,B((0,l.tA)(r));var o=f.DISPLAY_ADS.includes(e),i=f.DISPLAY_ADS.includes(r);o&&!i?(I(h,!1),setTimeout(function(){return K(r)},200)):K(r)}else null==(n=M.sendCallbackRef)||n.call(M,u.Wo.ALL_ADS_FAILED,h,e,t),I(h,!1),c.V.log("All ads failed - resetting state",{adSpot:h}),H(e),z()},q=function(e,t){var n;null==(n=M.sendCallbackRef)||n.call(M,u.Wo.AD_FAILED,h,e,t),v(u.Wo.AD_FAILED,h,e),W(e)},Y=function(e){M.timeoutRef=setTimeout(function(){q(e,{message:"Ad load timeout"})},5e3)},X=function(e,t){var n,r,o,i,a,s;switch(e){case u.Wo.AD_REQUESTED:null==(n=M.sendCallbackRef)||n.call(M,e,h,t),v(e,h,t);break;case u.Wo.AD_LOADED:null==(r=M.sendCallbackRef)||r.call(M,e,h,t),v(e,h,t),P(h),F();break;case u.Wo.AD_VIEWED:null==(o=M.sendCallbackRef)||o.call(M,e,h,t),v(e,h,t),P(h),F(),t===f.GAM_MANUAL_INTERSTITIAL_ADS||t===f.GAM_VAST||t.includes("Display")||H(t);break;case u.Wo.AD_DISMISSED:null==(i=M.sendCallbackRef)||i.call(M,e,h,t),v(e,h,t),H(t),z();break;case u.Wo.FREQUENCY_CAPPED:null==(a=M.sendCallbackRef)||a.call(M,u.Wo.AD_FAILED,h,t,"ad failed triggered due to frequency event received"),W(t);break;case u.Wo.AD_FAILED:F(),q(t);break;case u.Wo.AD_DELAYED:null==(s=M.sendCallbackRef)||s.call(M,u.Wo.AD_FAILED,h,t,"ad failed triggered due to ad-delayed event received");break;case u.Wo.AD_SESSION_CLOSED:H(t),z();break;default:c.V.info("Unhandled ad event: ".concat(e),{adSpot:h,ad:t})}},K=function(e){var t;if(M.adToRender=e,f.DISPLAY_ADS.includes(e))return(null==g?void 0:g.showLoader)&&(C(h,null==g?void 0:g.containerId),N(h)),Y(e),void I(h,!0);if(f.GAM_MANUAL_INTERSTITIAL_ADS.includes(e))return(null==g?void 0:g.showLoader)&&N(h),void L({adCode:null!=(t=null==G?void 0:G.gamManualInterstitial)?t:"",additionalParams:D,product:E,adSpot:h},function(t){return X(t,e)});if(f.GAM_REWARDED_ADS.includes(e))return(null==g?void 0:g.showLoader)&&N(h),Y(e),void b({adCode:null==G?void 0:G.gamManualInterstitial,customParams:D,productVersion:(0,s.C)(E),adSpot:h},function(t){return X(t,e)});if(e===f.YANDEX_REWARDED||e===f.YANDEX_INTERSTITIAL){if(!G)return;return(null==g?void 0:g.showLoader)&&N(h),Y(e),void O({statId:j,adToRender:e,adCodes:G},function(t){return X(t,e)})}if(e===f.GAM_VAST)return(null==g?void 0:g.showLoader)&&(C(h,null==g?void 0:g.containerId),N(h)),Y(e),void V({adCode:null==G?void 0:G.gamVast,customParams:null==g?void 0:g.customParams,productVersion:(0,s.C)(E),containerId:null==g?void 0:g.containerId,adSpot:h},function(t){return X(t,e)});e===f.PARTNER_AD&&(window.partnerAdRender=X,window.partnerAdTypes={adSpot:h,adToRender:e},window.runPartnerAd&&window.runPartnerAd(function(t){X(t,e)}))},Q=function(e,t){var n,r=M.currentDemand;if(t){if(M.isSessionActive||M.isPreloadActive)return}else if(M.isSessionActive)return;r&&S.scriptCanBeLoaded&&r!==f.NONE?(t||(M.isSessionActive=!0,e(u.Wo.AD_SESSION_START,h,r)),M.sendCallbackRef=e,M.handleAdEvent=X,t?(M.isPreloadActive=!0,M.adToRender=r,f.GAM_MANUAL_INTERSTITIAL_ADS.includes(r)&&k({adCode:null!=(n=null==G?void 0:G.gamManualInterstitial)?n:"",additionalParams:D,product:E,adSpot:h},function(e){return X(e,r)})):K(r)):e(u.Wo.AD_SESSION_CLOSED,h,null!=r?r:"none")};(0,a.useEffect)(function(){m&&h?(R(h,g),z(),B((0,l.tA)(null==U?void 0:U.primaryDemandSource))):c.V.error("Ad config or adSpot missing",{adUnitData:m,adSpot:h})},[]);var Z=(0,a.useCallback)(function(e){Q(e,!0)},[]);return{triggerAd:(0,a.useCallback)(function(e){Q(e,!1)},[]),preloadAd:Z}}},88511:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(77573),o=n(23105),i=n(39319);t.Network={GET:function(e,t){return r.__awaiter(this,void 0,void 0,function(){var n,a;return r.__generator(this,function(r){switch(r.label){case 0:n={method:"GET",headers:t,credentials:"include"},r.label=1;case 1:return r.trys.push([1,4,,5]),[4,fetch("".concat(e),n)];case 2:return[4,r.sent().json()];case 3:return[2,r.sent()];case 4:return a=r.sent(),o.Logger.error("get() :: ".concat(a)),[2,i.FAILED_REQUEST];case 5:return[2]}})})},POST:function(e,t,n){return r.__awaiter(this,void 0,void 0,function(){var a,s;return r.__generator(this,function(c){switch(c.label){case 0:return c.trys.push([0,3,,4]),a={method:"POST",headers:r.__assign({"Content-Type":"application/json"},n),body:JSON.stringify(t),credentials:"include"},[4,fetch("".concat(e),a)];case 1:return[4,c.sent().json()];case 2:return[2,c.sent()];case 3:return s=c.sent(),o.Logger.error("post() :: ".concat(s)),[2,i.FAILED_REQUEST];case 4:return[2]}})})}}},88902:(e,t,n)=>{"use strict";n(12135);n(18143);var r=n(43286),o=n(14701),i=n(57843),a=n(95432),s=n(37616),c=n(82456),u=n(31559),l=n(69845),d=n(1700),f=n(1418);n(25288);new WeakMap;(0,l.createDedupedByCallsiteServerErrorLoggerDev)(function(e,t){return Object.defineProperty(Error("".concat(e?'Route "'.concat(e,'" '):"This route ","used ").concat(t,". ")+"`cookies()` should be awaited before using its value. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis"),"__NEXT_ERROR_CODE",{value:"E223",enumerable:!1,configurable:!0})})},89312:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"actionAsyncStorage",{enumerable:!0,get:function(){return r.actionAsyncStorageInstance}});var r=n(7907)},90124:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r.Z});var r=n(76875);n(81398)},91124:(e,t,n)=>{var r=n(87208).default,o=n(84495);e.exports=function(e){var t=o(e,"string");return"symbol"==r(t)?t:t+""},e.exports.__esModule=!0,e.exports.default=e.exports},91394:e=>{function t(n,r){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},94740:(e,t,n)=>{"use strict";n.d(t,{tA:()=>i});var r=n(11296),o={gam:"gam",mgid:"mgid",inuxu:"inuxu",yandex:"yandex",adsense:"adsense",taboola:"taboola",partnerAd:"partnerAd"},i=function(e){if(!e)return null;var t,n=Object.entries(o).find(function(t){var n=(0,r.A)(t,1)[0];return 0===e.indexOf(n)});return null!=(t=null==n?void 0:n[1])?t:null}},95432:(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,{getCacheSignal:function(){return h},getDraftModeProviderForCacheScope:function(){return p},getHmrRefreshHash:function(){return l},getPrerenderResumeDataCache:function(){return c},getRenderResumeDataCache:function(){return u},getRuntimeStagePromise:function(){return g},getServerComponentsHmrCache:function(){return f},isHmrRefresh:function(){return d},throwForMissingRequestStore:function(){return a},throwInvariantForMissingStore:function(){return s},workUnitAsyncStorage:function(){return r.workUnitAsyncStorageInstance}});var r=n(17307),o=n(6698),i=n(45858);function a(e){throw Object.defineProperty(Error("`".concat(e,"` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context")),"__NEXT_ERROR_CODE",{value:"E251",enumerable:!1,configurable:!0})}function s(){throw Object.defineProperty(new i.InvariantError("Expected workUnitAsyncStorage to have a store."),"__NEXT_ERROR_CODE",{value:"E696",enumerable:!1,configurable:!0})}function c(e){switch(e.type){case"prerender":case"prerender-runtime":case"prerender-ppr":case"prerender-client":return e.prerenderResumeDataCache;case"prerender-legacy":case"request":case"cache":case"private-cache":case"unstable-cache":return null;default:return e}}function u(e){switch(e.type){case"request":return e.renderResumeDataCache;case"prerender":case"prerender-runtime":case"prerender-client":if(e.renderResumeDataCache)return e.renderResumeDataCache;case"prerender-ppr":return e.prerenderResumeDataCache;case"cache":case"private-cache":case"unstable-cache":case"prerender-legacy":return null;default:return e}}function l(e,t){if(e.dev)switch(t.type){case"cache":case"private-cache":case"prerender":case"prerender-runtime":return t.hmrRefreshHash;case"request":var n;return null==(n=t.cookies.get(o.NEXT_HMR_REFRESH_HASH_COOKIE))?void 0:n.value}}function d(e,t){var n;if(e.dev)switch(t.type){case"cache":case"private-cache":case"request":return null!=(n=t.isHmrRefresh)&&n}return!1}function f(e,t){if(e.dev)switch(t.type){case"cache":case"private-cache":case"request":return t.serverComponentsHmrCache}}function p(e,t){if(e.isDraftMode)switch(t.type){case"cache":case"private-cache":case"unstable-cache":case"prerender-runtime":case"request":return t.draftMode}}function h(e){switch(e.type){case"prerender":case"prerender-client":case"prerender-runtime":return e.cacheSignal;case"prerender-ppr":case"prerender-legacy":case"request":case"cache":case"private-cache":case"unstable-cache":return null;default:return e}}function g(e){switch(e.type){case"prerender-runtime":case"private-cache":return e.runtimeStagePromise;case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":case"request":case"cache":case"unstable-cache":return null;default:return e}}},96510:(e,t,n)=>{"use strict";n.d(t,{Ns:()=>i}),n(84427);var r=n(78299);n(93176);var o=(0,r.createContext)({adConfig:null,adUnits:null,adScripts:[],priceConversion:{},product:"",location:{city:"",country:"",region:"",isGDPRNation:!1},consentState:{gdprConsentDenied:!1,restrictDataProcessing:!1,consentType:"personalized",scriptCanBeLoaded:!0},updateConsentState:function(){},triggerLoader:function(){},closeLoader:function(){},isLoaderOpen:!1});function i(){return(0,r.useContext)(o)}},98321:(e,t,n)=>{"use strict";n.d(t,{p:()=>u});var r=n(84427),o=n(78299),i=n(17694),a=n(93342),s=n(96510),c=n(8555),u=function(e){var t=e.adDemand,n=e.propertyId,u=e.onAdSuccess,l=e.onAdFailed,d=e.onAdTrigger,f=void 0===d?function(){}:d,p=e.adSpot,h=(0,s.Ns)(),g=h.adScripts,_=h.consentState,v=h.adUnits,m=(0,i.r)("mgidDisplay",t),E=m.width,S=m.height,y="mg-ad-".concat(p),b=null==v?void 0:v.adCodes[t],w=(0,o.useRef)(null),O=(0,o.useRef)(!1),T=(0,o.useRef)(!1),A=(0,o.useRef)(!1),I=(0,o.useRef)(!1),R=function(){w.current&&(clearInterval(w.current),w.current=null)},N=function(){var e,n;O.current||((e=window)[n="_mgq"]=e[n]||[],e[n].push(["_mgc.load"]),O.current=!0,f(),function(){if(!w.current){var e=0;w.current=setInterval(function(){if(!T.current)return void R();var n,r=document.getElementById(y);(null==(n=null==r?void 0:r.shadowRoot)?void 0:n.querySelector(".mgbox"))&&!A.current?(R(),A.current=!0,u(t)):++e>=9&&!I.current&&(R(),I.current=!0,l(t))},500)}}())};return(0,o.useEffect)(function(){T.current=!0;var e=setTimeout(N,500);return function(){T.current=!1,clearTimeout(e),R()}},[]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c.y,{adScripts:g,scriptIds:a.gy,scriptCanBeLoaded:_.scriptCanBeLoaded}),(0,r.jsx)("div",{style:{minHeight:"".concat(S,"px"),width:"".concat(E,"px")},id:y,"data-type":"_mgwidget","data-widget-id":b,"data-src-id":n})]})}}}]);