;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="dc0ad136-c018-277d-5178-d389f8f75038")}catch(e){}}(); (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,824677,19681,441934,335023,778549,56095,518684,87640,e=>{"use strict";let t;var r=e.i(658593),s=e.i(867568);e.i(461307);var i=e.i(79728),n=e.i(449145),a=e.i(590258),o=class extends a.Removable{#e;#t;#r;#s;#i;#n;#a;constructor(e){super(),this.#a=!1,this.#n=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#s=e.client,this.#r=this.#s.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#e=c(this.options),this.state=e.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#i?.promise}setOptions(e){if(this.options={...this.#n,...e},this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){let e=c(this.options);void 0!==e.data&&(this.setState(u(e.data,e.dataUpdatedAt)),this.#e=e)}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#r.remove(this)}setData(e,t){let r=(0,i.replaceData)(this.state.data,e,this.options);return this.#o({data:r,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),r}setState(e,t){this.#o({type:"setState",state:e,setStateOptions:t})}cancel(e){let t=this.#i?.promise;return this.#i?.cancel(e),t?t.then(i.noop).catch(i.noop):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#e)}isActive(){return this.observers.some(e=>!1!==(0,i.resolveEnabled)(e.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===i.skipToken||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>"static"===(0,i.resolveStaleTime)(e.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(e=0){return void 0===this.state.data||"static"!==e&&(!!this.state.isInvalidated||!(0,i.timeUntilStale)(this.state.dataUpdatedAt,e))}onFocus(){let e=this.observers.find(e=>e.shouldFetchOnWindowFocus());e?.refetch({cancelRefetch:!1}),this.#i?.continue()}onOnline(){let e=this.observers.find(e=>e.shouldFetchOnReconnect());e?.refetch({cancelRefetch:!1}),this.#i?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#r.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#i&&(this.#a?this.#i.cancel({revert:!0}):this.#i.cancelRetry()),this.scheduleGc()),this.#r.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#o({type:"invalidate"})}async fetch(e,t){let r;if("idle"!==this.state.fetchStatus&&this.#i?.status()!=="rejected"){if(void 0!==this.state.data&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#i)return this.#i.continueRetry(),this.#i.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let s=new AbortController,a=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#a=!0,s.signal)})},o=()=>{let e,r=(0,i.ensureQueryFn)(this.options,t),s=(a(e={client:this.#s,queryKey:this.queryKey,meta:this.meta}),e);return(this.#a=!1,this.options.persister)?this.options.persister(r,s,this):r(s)},l=(a(r={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#s,state:this.state,fetchFn:o}),r);this.options.behavior?.onFetch(l,this),this.#t=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==l.fetchOptions?.meta)&&this.#o({type:"fetch",meta:l.fetchOptions?.meta}),this.#i=(0,n.createRetryer)({initialPromise:t?.initialPromise,fn:l.fetchFn,onCancel:e=>{e instanceof n.CancelledError&&e.revert&&this.setState({...this.#t,fetchStatus:"idle"}),s.abort()},onFail:(e,t)=>{this.#o({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#o({type:"pause"})},onContinue:()=>{this.#o({type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0});try{let e=await this.#i.start();if(void 0===e)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#r.config.onSuccess?.(e,this),this.#r.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof n.CancelledError){if(e.silent)return this.#i.promise;else if(e.revert){if(void 0===this.state.data)throw e;return this.state.data}}throw this.#o({type:"error",error:e}),this.#r.config.onError?.(e,this),this.#r.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#o(e){let t=t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,...l(t.data,this.options),fetchMeta:e.meta??null};case"success":let r={...t,...u(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#t=e.manual?r:void 0,r;case"error":let s=e.error;return{...t,error:s,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}};this.state=t(this.state),s.notifyManager.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#r.notify({query:this,type:"updated",action:e})})}};function l(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:(0,n.canFetch)(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}function u(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function c(e){let t="function"==typeof e.initialData?e.initialData():e.initialData,r=void 0!==t,s=r?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?s??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}e.s(["Query",0,o,"fetchState",0,l],19681);var h=e.i(189470),d=e.i(242148),f=e.i(931493),p=class extends h.Subscribable{constructor(e,t){super(),this.options=t,this.#s=e,this.#l=null,this.#u=(0,d.pendingThenable)(),this.bindMethods(),this.setOptions(t)}#s;#c=void 0;#h=void 0;#d=void 0;#f;#p;#u;#l;#y;#v;#m;#b;#g;#S;#R=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#c.addObserver(this),y(this.#c,this.options)?this.#w():this.updateResult(),this.#O())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return v(this.#c,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return v(this.#c,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#_(),this.#C(),this.#c.removeObserver(this)}setOptions(e){let t=this.options,r=this.#c;if(this.options=this.#s.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof(0,i.resolveEnabled)(this.options.enabled,this.#c))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#E(),this.#c.setOptions(this.options),t._defaulted&&!(0,i.shallowEqualObjects)(this.options,t)&&this.#s.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#c,observer:this});let s=this.hasListeners();s&&m(this.#c,r,this.options,t)&&this.#w(),this.updateResult(),s&&(this.#c!==r||(0,i.resolveEnabled)(this.options.enabled,this.#c)!==(0,i.resolveEnabled)(t.enabled,this.#c)||(0,i.resolveStaleTime)(this.options.staleTime,this.#c)!==(0,i.resolveStaleTime)(t.staleTime,this.#c))&&this.#T();let n=this.#I();s&&(this.#c!==r||(0,i.resolveEnabled)(this.options.enabled,this.#c)!==(0,i.resolveEnabled)(t.enabled,this.#c)||n!==this.#S)&&this.#Q(n)}getOptimisticResult(e){var t,r;let s=this.#s.getQueryCache().build(this.#s,e),n=this.createResult(s,e);return t=this,r=n,(0,i.shallowEqualObjects)(t.getCurrentResult(),r)||(this.#d=n,this.#p=this.options,this.#f=this.#c.state),n}getCurrentResult(){return this.#d}trackResult(e,t){return new Proxy(e,{get:(e,r)=>(this.trackProp(r),t?.(r),"promise"===r&&(this.trackProp("data"),this.options.experimental_prefetchInRender||"pending"!==this.#u.status||this.#u.reject(Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(e,r))})}trackProp(e){this.#R.add(e)}getCurrentQuery(){return this.#c}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=this.#s.defaultQueryOptions(e),r=this.#s.getQueryCache().build(this.#s,t);return r.fetch().then(()=>this.createResult(r,t))}fetch(e){return this.#w({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#d))}#w(e){this.#E();let t=this.#c.fetch(this.options,e);return e?.throwOnError||(t=t.catch(i.noop)),t}#T(){this.#_();let e=(0,i.resolveStaleTime)(this.options.staleTime,this.#c);if(i.isServer||this.#d.isStale||!(0,i.isValidTimeout)(e))return;let t=(0,i.timeUntilStale)(this.#d.dataUpdatedAt,e);this.#b=f.timeoutManager.setTimeout(()=>{this.#d.isStale||this.updateResult()},t+1)}#I(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#c):this.options.refetchInterval)??!1}#Q(e){this.#C(),this.#S=e,!i.isServer&&!1!==(0,i.resolveEnabled)(this.options.enabled,this.#c)&&(0,i.isValidTimeout)(this.#S)&&0!==this.#S&&(this.#g=f.timeoutManager.setInterval(()=>{(this.options.refetchIntervalInBackground||r.focusManager.isFocused())&&this.#w()},this.#S))}#O(){this.#T(),this.#Q(this.#I())}#_(){this.#b&&(f.timeoutManager.clearTimeout(this.#b),this.#b=void 0)}#C(){this.#g&&(f.timeoutManager.clearInterval(this.#g),this.#g=void 0)}createResult(e,t){let r,s=this.#c,n=this.options,a=this.#d,o=this.#f,u=this.#p,c=e!==s?e.state:this.#h,{state:h}=e,f={...h},p=!1;if(t._optimisticResults){let r=this.hasListeners(),i=!r&&y(e,t),a=r&&m(e,s,t,n);(i||a)&&(f={...f,...l(h.data,e.options)}),"isRestoring"===t._optimisticResults&&(f.fetchStatus="idle")}let{error:v,errorUpdatedAt:g,status:S}=f;r=f.data;let R=!1;if(void 0!==t.placeholderData&&void 0===r&&"pending"===S){let e;a?.isPlaceholderData&&t.placeholderData===u?.placeholderData?(e=a.data,R=!0):e="function"==typeof t.placeholderData?t.placeholderData(this.#m?.state.data,this.#m):t.placeholderData,void 0!==e&&(S="success",r=(0,i.replaceData)(a?.data,e,t),p=!0)}if(t.select&&void 0!==r&&!R)if(a&&r===o?.data&&t.select===this.#y)r=this.#v;else try{this.#y=t.select,r=t.select(r),r=(0,i.replaceData)(a?.data,r,t),this.#v=r,this.#l=null}catch(e){this.#l=e}this.#l&&(v=this.#l,r=this.#v,g=Date.now(),S="error");let w="fetching"===f.fetchStatus,O="pending"===S,_="error"===S,C=O&&w,E=void 0!==r,T={status:S,fetchStatus:f.fetchStatus,isPending:O,isSuccess:"success"===S,isError:_,isInitialLoading:C,isLoading:C,data:r,dataUpdatedAt:f.dataUpdatedAt,error:v,errorUpdatedAt:g,failureCount:f.fetchFailureCount,failureReason:f.fetchFailureReason,errorUpdateCount:f.errorUpdateCount,isFetched:f.dataUpdateCount>0||f.errorUpdateCount>0,isFetchedAfterMount:f.dataUpdateCount>c.dataUpdateCount||f.errorUpdateCount>c.errorUpdateCount,isFetching:w,isRefetching:w&&!O,isLoadingError:_&&!E,isPaused:"paused"===f.fetchStatus,isPlaceholderData:p,isRefetchError:_&&E,isStale:b(e,t),refetch:this.refetch,promise:this.#u,isEnabled:!1!==(0,i.resolveEnabled)(t.enabled,e)};if(this.options.experimental_prefetchInRender){let t=void 0!==T.data,r="error"===T.status&&!t,i=e=>{r?e.reject(T.error):t&&e.resolve(T.data)},n=()=>{i(this.#u=T.promise=(0,d.pendingThenable)())},a=this.#u;switch(a.status){case"pending":e.queryHash===s.queryHash&&i(a);break;case"fulfilled":(r||T.data!==a.value)&&n();break;case"rejected":r&&T.error===a.reason||n()}}return T}updateResult(){let e=this.#d,t=this.createResult(this.#c,this.options);if(this.#f=this.#c.state,this.#p=this.options,void 0!==this.#f.data&&(this.#m=this.#c),(0,i.shallowEqualObjects)(t,e))return;this.#d=t;let r=()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,r="function"==typeof t?t():t;if("all"===r||!r&&!this.#R.size)return!0;let s=new Set(r??this.#R);return this.options.throwOnError&&s.add("error"),Object.keys(this.#d).some(t=>this.#d[t]!==e[t]&&s.has(t))};this.#F({listeners:r()})}#E(){let e=this.#s.getQueryCache().build(this.#s,this.options);if(e===this.#c)return;let t=this.#c;this.#c=e,this.#h=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#O()}#F(e){s.notifyManager.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#d)}),this.#s.getQueryCache().notify({query:this.#c,type:"observerResultsUpdated"})})}};function y(e,t){return!1!==(0,i.resolveEnabled)(t.enabled,e)&&void 0===e.state.data&&("error"!==e.state.status||!1!==t.retryOnMount)||void 0!==e.state.data&&v(e,t,t.refetchOnMount)}function v(e,t,r){if(!1!==(0,i.resolveEnabled)(t.enabled,e)&&"static"!==(0,i.resolveStaleTime)(t.staleTime,e)){let s="function"==typeof r?r(e):r;return"always"===s||!1!==s&&b(e,t)}return!1}function m(e,t,r,s){return(e!==t||!1===(0,i.resolveEnabled)(s.enabled,e))&&(!r.suspense||"error"!==e.state.status)&&b(e,r)}function b(e,t){return!1!==(0,i.resolveEnabled)(t.enabled,e)&&e.isStaleByTime((0,i.resolveStaleTime)(t.staleTime,e))}e.s(["QueryObserver",0,p],441934);var g=e.i(687652),S=e.i(995316);e.i(318008);var R=g.createContext((t=!1,{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t})),w=()=>g.useContext(R);e.s(["useQueryErrorResetBoundary",0,w],335023);var O=(e,t,r)=>{let s=r?.state.error&&"function"==typeof e.throwOnError?(0,i.shouldThrowError)(e.throwOnError,[r.state.error,r]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||s)&&!t.isReset()&&(e.retryOnMount=!1)},_=e=>{g.useEffect(()=>{e.clearReset()},[e])},C=({result:e,errorResetBoundary:t,throwOnError:r,query:s,suspense:n})=>e.isError&&!t.isReset()&&!e.isFetching&&s&&(n&&void 0===e.data||(0,i.shouldThrowError)(r,[e.error,s]));e.s(["ensurePreventErrorBoundaryRetry",0,O,"getHasError",0,C,"useClearResetErrorBoundary",0,_],778549);var E=g.createContext(!1),T=()=>g.useContext(E);E.Provider,e.s(["useIsRestoring",0,T],56095);var I=e=>{if(e.suspense){let t=e=>"static"===e?e:Math.max(e??1e3,1e3),r=e.staleTime;e.staleTime="function"==typeof r?(...e)=>t(r(...e)):t(r),"number"==typeof e.gcTime&&(e.gcTime=Math.max(e.gcTime,1e3))}},Q=(e,t)=>e.isLoading&&e.isFetching&&!t,F=(e,t)=>e?.suspense&&t.isPending,U=(e,t,r)=>t.fetchOptimistic(e).catch(()=>{r.clearReset()});function D(e,t,r){let n=T(),a=w(),o=(0,S.useQueryClient)(r),l=o.defaultQueryOptions(e);o.getDefaultOptions().queries?._experimental_beforeQuery?.(l);let u=o.getQueryCache().get(l.queryHash);l._optimisticResults=n?"isRestoring":"optimistic",I(l),O(l,a,u),_(a);let c=!o.getQueryCache().get(l.queryHash),[h]=g.useState(()=>new t(o,l)),d=h.getOptimisticResult(l),f=!n&&!1!==e.subscribed;if(g.useSyncExternalStore(g.useCallback(e=>{let t=f?h.subscribe(s.notifyManager.batchCalls(e)):i.noop;return h.updateResult(),t},[h,f]),()=>h.getCurrentResult(),()=>h.getCurrentResult()),g.useEffect(()=>{h.setOptions(l)},[l,h]),F(l,d))throw U(l,h,a);if(C({result:d,errorResetBoundary:a,throwOnError:l.throwOnError,query:u,suspense:l.suspense}))throw d.error;if(o.getDefaultOptions().queries?._experimental_afterQuery?.(l,d),l.experimental_prefetchInRender&&!i.isServer&&Q(d,n)){let e=c?U(l,h,a):u?.promise;e?.catch(i.noop).finally(()=>{h.updateResult()})}return l.notifyOnChangeProps?d:h.trackResult(d)}e.s(["ensureSuspenseTimers",0,I,"fetchOptimistic",0,U,"shouldSuspend",0,F,"willFetch",0,Q],518684),e.s(["useBaseQuery",0,D],87640),e.s(["useQuery",0,function(e,t){return D(e,p,t)}],824677)},264916,e=>{"use strict";var t=e.i(35203),r=e.i(824677);function s(){window.location.href="/logout"}function i(){return null}e.s(["default",0,function(){let e,n,a,o=(0,t.c)(17);o[0]===Symbol.for("react.memo_cache_sentinel")?(e={queryKey:["currentUser"],queryFn:i,enabled:!1,gcTime:1/0},o[0]=e):e=o[0];let{data:l}=(0,r.useQuery)(e),u=!!l,c=l?.isTnsAdmin??!1,h=l?.isGcoAdmin??!1,d=l?.shortName??"",f=l?.authenticationToken??null;o[1]!==d?(n=d?d[0]?.toUpperCase():"",o[1]=d,o[2]=n):n=o[2];let p=l?.id??null,y=l?.photoExists?l.photo:null,v=l?.isEligibleForTrial??!1,m=l?.isSubscriber??!1,b=c||h,g=l?.isTrialUser??!1,S=l?.login??null;return o[3]!==h||o[4]!==u||o[5]!==c||o[6]!==d||o[7]!==f||o[8]!==n||o[9]!==p||o[10]!==y||o[11]!==v||o[12]!==m||o[13]!==b||o[14]!==g||o[15]!==S?(a={authenticationToken:f,firstInitial:n,id:p,imageSrc:y,isEligibleForTrial:v,isGcoAdmin:h,isLoggedIn:u,isSubscriber:m,isTnsAdmin:c,isTnsOrGcoAdmin:b,isTrialUser:g,logout:s,name:d,username:S},o[3]=h,o[4]=u,o[5]=c,o[6]=d,o[7]=f,o[8]=n,o[9]=p,o[10]=y,o[11]=v,o[12]=m,o[13]=b,o[14]=g,o[15]=S,o[16]=a):a=o[16],a}])},943292,e=>{"use strict";let t=[],r=null,s=!1,i={userId:null,docId:null,browserId:null},n=null,a=0,o=null,l=new Set;async function u(){try{return"10000000-1000-4000-8000-100000000000".replace(/[018]/g,e=>(e^crypto.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16))}catch(e){console.warn("crypto UUID failed, falling back to API",e);try{let e=await fetch("/api/internal/uuid");return(await e.json())[0]||null}catch{return null}}}async function c(){return n||(o||(o=u().then(e=>(n=e,e))),o)}async function h(e){let t=await c(),r={events:e,location:location.href,product:"slideshare",page_view_id:t,event_group_id:String(a++),referrer:document.referrer||null,browser_id:i.browserId,doc_id:i.docId,user_id:i.userId,request_id:"u"=10||n)&&d(),r||(r=setTimeout(()=>{r=null,d()},1e3)),s||(document.addEventListener("visibilitychange",()=>{"hidden"===document.visibilityState&&d()}),s=!0)}let p={activity:"actions",export:"actions",social_shares:"views",view_sources:"views"};e.s(["buildAnalyticsUrl",0,function(e,t){if(!t)return`/${e}/analytics`;let[r,s]=t.slice(1).split("?"),i=r.split("/").filter(Boolean),n=new URLSearchParams;if(i[0]){let e=p[i[0]]??i[0];n.set("tab",e)}i[1]&&"all"!==i[1]&&n.set("slideshow",i[1]),s&&new URLSearchParams(s).forEach((e,t)=>n.set(t,e));let a=n.toString();return`/${e}/analytics${a?`?${a}`:""}`},"configureLogger",0,function({userId:e,docId:t,browserId:r}){i={userId:e,docId:t,browserId:r}},"logEvent",0,f,"logEventOncePerPageView",0,function(e,t=null){l.has(e)||(l.add(e),f(e,t))},"logUploadFlowEvent",0,function(e,t={}){e&&f("upload_flow_event",{action:e,...t})},"resetPageViewId",0,function(){n=null,o=null,a=0,l=new Set}])},355412,e=>{"use strict";var t=e.i(35203),r=e.i(687652);let s=new Map;e.s(["default",0,function(e,i){let n,a,o=(0,t.c)(4),l=void 0!==i&&i;o[0]!==e?(n=function(e){let t=s.get(e);if(t)return t;let r=window.matchMedia(e),i=r.matches,n=new Set,a=e=>{if(i!==e.matches)for(let t of(i=e.matches,n))t()};return r.addEventListener("change",a),t={subscribe:e=>(n.add(e),()=>n.delete(e)),getSnapshot:()=>i,teardown:()=>r.removeEventListener("change",a)},s.set(e,t),t}(e),o[0]=e,o[1]=n):n=o[1];let{subscribe:u,getSnapshot:c}=n;return o[2]!==l?(a=()=>l,o[2]=l,o[3]=a):a=o[3],(0,r.useSyncExternalStore)(u,c,a)}])},405456,308881,819285,e=>{"use strict";var t=e.i(35203),r=e.i(318008),s=e.i(687652);let i={isMobile:!1,isBot:!1,htmlClass:"is-desktop"},n=s.default.createContext(i),a=()=>(0,s.useContext)(n);e.s(["DeviceProvider",0,e=>{let s,a=(0,t.c)(3),{device:o,children:l}=e,u=o??i;return a[0]!==l||a[1]!==u?(s=(0,r.jsx)(n.Provider,{value:u,children:l}),a[0]=l,a[1]=u,a[2]=s):s=a[2],s},"useDevice",0,a],308881);let o={xSmall:360,small:576,medium:768,large:992,xLarge:1280,xxL:1440,jumbo:1920},l=e=>`(min-width: ${o[e]}px)`;e.s(["minWidth",0,l],819285);var u=e.i(355412);e.s(["default",0,function(e,r){let s,i=(0,t.c)(2),n=a();i[0]!==r?(s=l(r),i[0]=r,i[1]=s):s=i[1];let o=(0,u.default)(s,!n.isMobile);return"atLeast"===e?o:!o}],405456)},445934,e=>{"use strict";e.s(["default",0,function(){return new Promise(e=>{window.scheduler?.yield?window.scheduler.yield().then(e):"function"==typeof requestIdleCallback?requestIdleCallback(e,{timeout:900}):"function"==typeof requestAnimationFrame?requestAnimationFrame(e):setTimeout(e,0)})}])},415706,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"LoadableContext",{enumerable:!0,get:function(){return s}});let s=e.r(2879)._(e.r(687652)).default.createContext(null)},921469,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return d}});let s=e.r(2879)._(e.r(687652)),i=e.r(415706),n=[],a=[],o=!1;function l(e){let t=e(),r={loading:!0,loaded:null,error:null};return r.promise=t.then(e=>(r.loading=!1,r.loaded=e,e)).catch(e=>{throw r.loading=!1,r.error=e,e}),r}class u{constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}}function c(t){return function(t,r){let l=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},r),c=null;function h(){if(!c){let e=new u(t,l);c={getCurrentValue:e.getCurrentValue.bind(e),subscribe:e.subscribe.bind(e),retry:e.retry.bind(e),promise:e.promise.bind(e)}}return c.promise()}if("u"typeof window){let t=l.webpack&&"function"==typeof e.t.resolveWeak?l.webpack():l.modules;t&&a.push(e=>{for(let r of t)if(e.includes(r))return h()})}function d(e,t){let r;h(),(r=s.default.useContext(i.LoadableContext))&&Array.isArray(l.modules)&&l.modules.forEach(e=>{r(e)});let n=s.default.useSyncExternalStore(c.subscribe,c.getCurrentValue,c.getCurrentValue);return s.default.useImperativeHandle(t,()=>({retry:c.retry}),[]),s.default.useMemo(()=>{var t;return n.loading||n.error?s.default.createElement(l.loading,{isLoading:n.loading,pastDelay:n.pastDelay,timedOut:n.timedOut,error:n.error,retry:c.retry}):n.loaded?s.default.createElement((t=n.loaded)&&t.default?t.default:t,e):null},[e,n])}return d.preload=()=>h(),d.displayName="LoadableComponent",s.default.forwardRef(d)}(l,t)}function h(e,t){let r=[];for(;e.length;){let s=e.pop();r.push(s(t))}return Promise.all(r).then(()=>{if(e.length)return h(e,t)})}c.preloadAll=()=>new Promise((e,t)=>{h(n).then(e,t)}),c.preloadReady=(e=[])=>new Promise(t=>{let r=()=>(o=!0,t());h(a,e).then(r,r)}),"u">typeof window&&(window.__NEXT_PRELOADREADY=c.preloadReady);let d=c},292617,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s={default:function(){return h},noSSR:function(){return c}};for(var i in s)Object.defineProperty(r,i,{enumerable:!0,get:s[i]});let n=e.r(2879),a=e.r(318008);e.r(687652);let o=n._(e.r(921469)),l="u"(0,a.jsx)(r,{error:null,isLoading:!0,pastDelay:!1,timedOut:!1})}function h(e,t){let r=o.default,s={loading:({error:e,isLoading:t,pastDelay:r})=>null};e instanceof Promise?s.loader=()=>e:"function"==typeof e?s.loader=e:"object"==typeof e&&(s={...s,...e});let i=(s={...s,...t}).loader;return(s.loadableGenerated&&(s={...s,...s.loadableGenerated},delete s.loadableGenerated),"boolean"!=typeof s.ssr||s.ssr)?r({...s,loader:()=>null!=i?i().then(u):Promise.resolve(u(()=>null))}):(delete s.webpack,delete s.modules,c(r,s))}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},961685,(e,t,r)=>{t.exports=e.r(292617)},823749,e=>{"use strict";var t=e.i(318008),r=e.i(35203),s=e.i(961685),i=e.i(687652),n=e.i(445934);e.s(["default",0,function(e,a){let o=(0,s.default)(e,{ssr:!1,...a});return function(e){let s,l,u,c=(0,r.c)(6),[h,d]=(0,i.useState)(!1);if(c[0]===Symbol.for("react.memo_cache_sentinel")?(s=()=>{(0,n.default)().then(()=>{(0,i.startTransition)(()=>d(!0))})},l=[],c[0]=s,c[1]=l):(s=c[0],l=c[1]),(0,i.useEffect)(s,l),!h){let t;return c[2]!==e?(t=a?.loading?.(e)??null,c[2]=e,c[3]=t):t=c[3],t}return c[4]!==e?(u=(0,t.jsx)(o,{...e}),c[4]=e,c[5]=u):u=c[5],u}}])},62304,e=>{"use strict";var t=e.i(318008),r=e.i(35203),s=e.i(687652),i=e.i(823749),n=e.i(851871);function a(e){let i,a,l,u,c,h,d,f,p,y,v,m,b,g,S,R,w,O,_,C,E,T=(0,r.c)(57),{children:I,className:Q,content:F,position:U,trigger:D,type:P,onOpenChange:x,isOpen:k}=e,M=void 0===Q?"":Q,A=void 0===U?"bottom":U,q=void 0===D?"click":D,j=void 0===x?o:x,L=void 0!==k&&k,B=(0,s.useId)(),N=(0,s.useRef)(null),G=(0,s.useRef)(null),K=(0,s.useRef)(null),V=(0,s.useRef)(!1),H=(0,s.useRef)(!1),[W,$]=(0,s.useState)(!0),[z,J]=(0,s.useState)(!1),X=B.replace(/:/g,""),Y=`--popover-${X}`,Z=!0!==W;T[0]!==A||T[1]!==Z?(i={enabled:Z,anchorRef:G,popperRef:N,placement:A},T[0]=A,T[1]=Z,T[2]=i):i=T[2],(0,n.default)(i),T[3]===Symbol.for("react.memo_cache_sentinel")?(a=()=>{$(CSS.supports("anchor-name","--foo-bar"))},l=[],T[3]=a,T[4]=l):(a=T[3],l=T[4]),(0,s.useEffect)(a,l),T[5]!==j?(u=()=>{let e=N.current;if(!e)return;let t=e=>{let t="open"===e.newState;H.current=t,j(t),V.current=!0};return e.addEventListener("toggle",t),()=>{e.removeEventListener("toggle",t)}},c=[j],T[5]=j,T[6]=u,T[7]=c):(u=T[6],c=T[7]),(0,s.useEffect)(u,c),T[8]===Symbol.for("react.memo_cache_sentinel")?(h=function(){V.current=!0,J(!0)},T[8]=h):h=T[8];let ee=h;T[9]===Symbol.for("react.memo_cache_sentinel")?(d=function(){J(!1)},T[9]=d):d=T[9];let et=d;T[10]!==L?(f=()=>{let e=N.current;e&&(L&&!H.current&&(V.current=!0,e.showPopover?.()),V.current&&!L&&H.current&&e.hidePopover?.())},p=[L],T[10]=L,T[11]=f,T[12]=p):(f=T[11],p=T[12]),(0,s.useEffect)(f,p),T[13]!==z?(y=()=>{let e=N.current;if(e){if(z)clearTimeout(K.current),H.current||e.showPopover?.();else{if(!V.current)return;K.current=setTimeout(()=>{let e=N.current;e&&H.current&&e.hidePopover?.()},100)}return()=>{clearTimeout(K.current)}}},v=[z],T[13]=z,T[14]=y,T[15]=v):(y=T[14],v=T[15]),(0,s.useEffect)(y,v),T[16]!==I?.props?(m=I?.props||{},T[16]=I?.props,T[17]=m):m=T[17];let er=m;T[18]!==er||T[19]!==q?(b=e=>{("hover"===q||"focus"===q)&&"Enter"===e.key&&(e.preventDefault(),er.onClick?.(e))},T[18]=er,T[19]=q,T[20]=b):b=T[20];let es=b;T[21]!==er||T[22]!==q?(g="click"===q&&!er["aria-haspopup"]&&{"aria-haspopup":"dialog"},T[21]=er,T[22]=q,T[23]=g):g=T[23],T[24]!==Y||T[25]!==er.style?(S={...er.style,anchorName:Y},T[24]=Y,T[25]=er.style,T[26]=S):S=T[26];let ei="hover"===q?ee:void 0,en="hover"===q?et:void 0,ea="hover"===q||"focus"===q?ee:void 0,eo="focus"===q?et:void 0;T[27]!==es||T[28]!==q?(R=("hover"===q||"focus"===q)&&{onKeyDown:es},T[27]=es,T[28]=q,T[29]=R):R=T[29],T[30]!==er.onClick||T[31]!==B||T[32]!==g||T[33]!==S||T[34]!==ei||T[35]!==en||T[36]!==ea||T[37]!==eo||T[38]!==R?(w={...g,"aria-controls":B,popoverTarget:B,style:S,onMouseEnter:ei,onMouseLeave:en,onFocus:ea,onBlur:eo,onClick:er.onClick,...R},T[30]=er.onClick,T[31]=B,T[32]=g,T[33]=S,T[34]=ei,T[35]=en,T[36]=ea,T[37]=eo,T[38]=R,T[39]=w):w=T[39];let el=w;if(!I)return null;T[40]!==I||T[41]!==el?(O=s.default.cloneElement(I,el),T[40]=I,T[41]=el,T[42]=O):O=T[42],T[43]!==Y?(_={positionAnchor:Y},T[43]=Y,T[44]=_):_=T[44];let eu="hover"===q?ee:void 0,ec="hover"===q?et:void 0;return T[45]!==M||T[46]!==F||T[47]!==B||T[48]!==A||T[49]!==_||T[50]!==eu||T[51]!==ec||T[52]!==P?(C=(0,t.jsx)("div",{className:M,id:B,ref:N,popover:P,"data-popover-position":A,style:_,onMouseEnter:eu,onMouseLeave:ec,children:F}),T[45]=M,T[46]=F,T[47]=B,T[48]=A,T[49]=_,T[50]=eu,T[51]=ec,T[52]=P,T[53]=C):C=T[53],T[54]!==O||T[55]!==C?(E=(0,t.jsxs)(t.Fragment,{children:[O,C]}),T[54]=O,T[55]=C,T[56]=E):E=T[56],E}function o(){}let l=(0,i.default)(()=>e.A(241536));function u(){}e.s(["default",0,function(e){let i,n,o,c,h,d,f,p=(0,r.c)(24),{children:y,className:v,content:m,position:b,trigger:g,type:S,onOpenChange:R,isOpen:w}=e,O=void 0===v?"":v,_=void 0===b?"bottom":b,C=void 0===g?"click":g,E=void 0===S?"auto":S,T=void 0===R?u:R,I=void 0!==w&&w,[Q,F]=(0,s.useState)(!0),[U,D]=(0,s.useState)(null),P=function(){let e,t,i=(0,r.c)(2),[n,a]=(0,s.useState)(!1);return i[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>{a(!0)},t=[],i[0]=e,i[1]=t):(e=i[0],t=i[1]),(0,s.useEffect)(e,t),n}();p[0]!==m||p[1]!==P?(i=()=>{if(!P||!m)return void D(null);let e="function"==typeof m?m():m;e?.then?e.then(D):D(e)},p[0]=m,p[1]=P,p[2]=i):i=p[2];let x=i;p[3]!==x||p[4]!==U?(n=()=>{U&&x()},p[3]=x,p[4]=U,p[5]=n):n=p[5],p[6]!==m?(o=[m],p[6]=m,p[7]=o):o=p[7],(0,s.useEffect)(n,o),p[8]!==x||p[9]!==U||p[10]!==T?(c=e=>{e&&!U&&x(),T(e)},p[8]=x,p[9]=U,p[10]=T,p[11]=c):c=p[11];let k=c;p[12]===Symbol.for("react.memo_cache_sentinel")?(h=()=>{F(CSS.supports?.("selector(:popover-open)")??!1)},d=[],p[12]=h,p[13]=d):(h=p[12],d=p[13]),(0,s.useEffect)(h,d);let M=Q?a:l;return p[14]!==M||p[15]!==y||p[16]!==O||p[17]!==k||p[18]!==I||p[19]!==U||p[20]!==_||p[21]!==C||p[22]!==E?(f=(0,t.jsx)(M,{content:U,className:O,position:_,trigger:C,type:E,onOpenChange:k,isOpen:I,children:y}),p[14]=M,p[15]=y,p[16]=O,p[17]=k,p[18]=I,p[19]=U,p[20]=_,p[21]=C,p[22]=E,p[23]=f):f=p[23],f}],62304)},667082,e=>{"use strict";var t=e.i(318008),r=e.i(35203),s=e.i(197649),i=e.i(325333),n=e.i(15683),a=e.i(160199);e.s(["default",0,function(e){let o,l,u,c,h,d,f,p,y,v,m,b,g,S,R=(0,r.c)(28);R[0]!==e?({className:c,ref:l,size:h,icon:o,isSelected:d,withImageIcon:f,withMagicBorder:p,withMagicRotate:y,disabled:v,loading:m,...u}=e,R[0]=e,R[1]=o,R[2]=l,R[3]=u,R[4]=c,R[5]=h,R[6]=d,R[7]=f,R[8]=p,R[9]=y,R[10]=v,R[11]=m):(o=R[1],l=R[2],u=R[3],c=R[4],h=R[5],d=R[6],f=R[7],p=R[8],y=R[9],v=R[10],m=R[11]);let w=void 0===c?"":c,O=void 0===h?"medium":h,_=void 0!==d&&d,C=void 0!==f&&f,E=void 0!==p&&p,T=void 0!==y&&y,I=void 0!==v&&v,Q=void 0!==m&&m;R[12]!==w||R[13]!==E||R[14]!==T?(b=(0,s.default)(a.default.icon,w,{[a.default.rotate]:T,[a.default.magic]:E}),R[12]=w,R[13]=E,R[14]=T,R[15]=b):b=R[15];let F=b,U=C?"image":"mask";return R[16]!==o||R[17]!==U?(g=(0,t.jsx)(i.default,{name:o,variant:U}),R[16]=o,R[17]=U,R[18]=g):g=R[18],R[19]!==F||R[20]!==I||R[21]!==_||R[22]!==Q||R[23]!==l||R[24]!==u||R[25]!==O||R[26]!==g?(S=(0,t.jsx)(n.default,{ref:l,className:F,variant:"primary",appearance:"outlined",icon:g,isSelected:_,size:O,disabled:I,loading:Q,...u}),R[19]=F,R[20]=I,R[21]=_,R[22]=Q,R[23]=l,R[24]=u,R[25]=O,R[26]=g,R[27]=S):S=R[27],S}])}]); //# debugId=dc0ad136-c018-277d-5178-d389f8f75038 //# sourceMappingURL=0trth.szbfofz.js.map