PageSourceSearch

https://www.legabasket.it/_next/static/chunks/2eg8es4dkmrir.js

js legabasket.it collected 2026-09-24 09:21:49 UTC 27,859 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,36241,e=>{"use strict";var t=e.i(91788);e.s(["useCallbackRef",0,function(e,r=[]){let s=(0,t.useRef)(e);return(0,t.useEffect)(()=>{s.current=e}),(0,t.useCallback)((...e)=>s.current?.(...e),r)}])},97325,e=>{"use strict";e.i(91788),e.s(["mergeRefs",0,function(...e){return t=>{e.forEach(e=>{!function(e,t){if(null!=e){if("function"==typeof e)return e(t);try{e.current=t}catch(r){throw Error(`Cannot assign value '${t}' to ref '${e}'`)}}}(e,t)})}}])},41295,e=>{"use strict";var t=e.i(95201),r=e.i(24836),s=e.i(79557),i=e.i(16120);e.s(["useBreakpointValue",0,function(e,a){let n=(0,t.isObject)(a)?a:{fallback:a??"base"},o=(0,s.useBreakpoint)(n),l=(0,i.useTheme)();if(!o)return;let c=Array.from(l.__breakpoints?.keys||[]);return function(e,t,s=r.breakpoints){let i=Object.keys(e).indexOf(t);if(-1!==i)return e[t];let a=s.indexOf(t);for(;a>=0;){let t=s[a];if(e.hasOwnProperty(t)){i=a;break}a-=1}if(-1!==i)return e[s[i]]}(Array.isArray(e)?Object.fromEntries(Object.entries((0,r.arrayToObjectNotation)(e,c)).map(([e,t])=>[e,t])):e,o,c)}],41295)},18228,e=>{"use strict";var t=e.i(91398),r=e.i(28996),s=e.i(70645),i=e.i(91788),a=e.i(58003);let n=e=>(0,t.jsx)(a.chakra.div,{className:"chakra-stack__item",...e,__css:{display:"inline-block",flex:"0 0 auto",minWidth:0,...e.__css}});n.displayName="StackItem";var o=e.i(24836);let l=(0,e.i(16912).forwardRef)((e,l)=>{let{isInline:c,direction:u,align:h,justify:d,spacing:p="0.5rem",wrap:E,children:S,divider:f,className:_,shouldWrapChildren:T,...g}=e,A=c?"row":u??"column",m=(0,i.useMemo)(()=>(function(e){let{spacing:t,direction:r}=e,s={column:{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":(0,o.mapResponsive)(r,e=>s[e])}})({spacing:p,direction:A}),[p,A]),y=!!f,R=!T&&!y,C=(0,i.useMemo)(()=>{let e=(0,r.getValidChildren)(S);return R?e:e.map((r,s)=>{let a=void 0!==r.key?r.key:s,o=s+1===e.length,l=(0,t.jsx)(n,{children:r},a),c=T?l:r;if(!y)return c;let u=(0,i.cloneElement)(f,{__css:m});return(0,t.jsxs)(i.Fragment,{children:[c,o?null:u]},a)})},[f,m,y,R,T,S]),I=(0,s.cx)("chakra-stack",_);return(0,t.jsx)(a.chakra.div,{ref:l,display:"flex",alignItems:h,justifyContent:d,flexDirection:A,flexWrap:E,gap:y?void 0:p,className:I,...g,children:C})});l.displayName="Stack",e.s(["Stack",0,l],18228)},54656,e=>{"use strict";var t=e.i(91398),r=e.i(18228);let s=(0,e.i(16912).forwardRef)((e,s)=>(0,t.jsx)(r.Stack,{align:"center",...e,direction:"column",ref:s}));s.displayName="VStack",e.s(["VStack",0,s])},28996,e=>{"use strict";var t=e.i(91788);e.s(["getValidChildren",0,function(e){return t.Children.toArray(e).filter(e=>(0,t.isValidElement)(e))}])},24836,e=>{"use strict";var t=e.i(95201);let r=Object.freeze(["base","sm","md","lg","xl","2xl"]);e.s(["arrayToObjectNotation",0,function(e,t=r){let s={};return e.forEach((e,r)=>{let i=t[r];null!=e&&(s[i]=e)}),s},"breakpoints",0,r,"mapResponsive",0,function(e,r){return Array.isArray(e)?e.map(e=>null===e?null:r(e)):(0,t.isObject)(e)?Object.keys(e).reduce((t,s)=>(t[s]=r(e[s]),t),{}):null!=e?r(e):null}])},64034,27530,57880,89960,65877,1382,e=>{"use strict";let t;var r=e.i(95184),s=e.i(51075),i=e.i(8216),a=e.i(86253),n=e.i(2435);class o extends a.Subscribable{constructor(e,t){super(),this.client=e,this.options=t,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(t)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.currentQuery.addObserver(this),l(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return c(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return c(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(e,t){let s=this.options,i=this.currentQuery;if(this.options=this.client.defaultQueryOptions(e),(0,r.shallowEqualObjects)(s,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=s.queryKey),this.updateQuery();let a=this.hasListeners();a&&u(this.currentQuery,i,this.options,s)&&this.executeFetch(),this.updateResult(t),a&&(this.currentQuery!==i||this.options.enabled!==s.enabled||this.options.staleTime!==s.staleTime)&&this.updateStaleTimeout();let n=this.computeRefetchInterval();a&&(this.currentQuery!==i||this.options.enabled!==s.enabled||n!==this.currentRefetchInterval)&&this.updateRefetchInterval(n)}getOptimisticResult(e){var t,s,i;let a=this.client.getQueryCache().build(this.client,e),n=this.createResult(a,e);return t=this,s=n,(i=e).keepPreviousData||(void 0!==i.placeholderData?!s.isPlaceholderData:(0,r.shallowEqualObjects)(t.getCurrentResult(),s))||(this.currentResult=n,this.currentResultOptions=this.options,this.currentResultState=this.currentQuery.state),n}getCurrentResult(){return this.currentResult}trackResult(e){let t={};return Object.keys(e).forEach(r=>{Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(r),e[r])})}),t}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch({refetchPage:e,...t}={}){return this.fetch({...t,meta:{refetchPage:e}})}fetchOptimistic(e){let t=this.client.defaultQueryOptions(e),r=this.client.getQueryCache().build(this.client,t);return r.isFetchingOptimistic=!0,r.fetch().then(()=>this.createResult(r,t))}fetch(e){var t;return this.executeFetch({...e,cancelRefetch:null==(t=e.cancelRefetch)||t}).then(()=>(this.updateResult(),this.currentResult))}executeFetch(e){this.updateQuery();let t=this.currentQuery.fetch(this.options,e);return null!=e&&e.throwOnError||(t=t.catch(r.noop)),t}updateStaleTimeout(){if(this.clearStaleTimeout(),r.isServer||this.currentResult.isStale||!(0,r.isValidTimeout)(this.options.staleTime))return;let e=(0,r.timeUntilStale)(this.currentResult.dataUpdatedAt,this.options.staleTime);this.staleTimeoutId=setTimeout(()=>{this.currentResult.isStale||this.updateResult()},e+1)}computeRefetchInterval(){var e;return"function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(e=this.options.refetchInterval)&&e}updateRefetchInterval(e){this.clearRefetchInterval(),this.currentRefetchInterval=e,!r.isServer&&!1!==this.options.enabled&&(0,r.isValidTimeout)(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval(()=>
1{(this.options.refetchIntervalInBackground||i.focusManager.isFocused())&&this.executeFetch()},this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(e,t){let s,i=this.currentQuery,a=this.options,o=this.currentResult,c=this.currentResultState,d=this.currentResultOptions,p=e!==i,E=p?e.state:this.currentQueryInitialState,S=p?this.currentResult:this.previousQueryResult,{state:f}=e,{dataUpdatedAt:_,error:T,errorUpdatedAt:g,fetchStatus:A,status:m}=f,y=!1,R=!1;if(t._optimisticResults){let r=this.hasListeners(),s=!r&&l(e,t),o=r&&u(e,i,t,a);(s||o)&&(A=(0,n.canFetch)(e.options.networkMode)?"fetching":"paused",_||(m="loading")),"isRestoring"===t._optimisticResults&&(A="idle")}if(t.keepPreviousData&&!f.dataUpdatedAt&&null!=S&&S.isSuccess&&"error"!==m)s=S.data,_=S.dataUpdatedAt,m=S.status,y=!0;else if(t.select&&void 0!==f.data)if(o&&f.data===(null==c?void 0:c.data)&&t.select===this.selectFn)s=this.selectResult;else try{this.selectFn=t.select,s=t.select(f.data),s=(0,r.replaceData)(null==o?void 0:o.data,s,t),this.selectResult=s,this.selectError=null}catch(e){this.selectError=e}else s=f.data;if(void 0!==t.placeholderData&&void 0===s&&"loading"===m){let e;if(null!=o&&o.isPlaceholderData&&t.placeholderData===(null==d?void 0:d.placeholderData))e=o.data;else if(e="function"==typeof t.placeholderData?t.placeholderData():t.placeholderData,t.select&&void 0!==e)try{e=t.select(e),this.selectError=null}catch(e){this.selectError=e}void 0!==e&&(m="success",s=(0,r.replaceData)(null==o?void 0:o.data,e,t),R=!0)}this.selectError&&(T=this.selectError,s=this.selectResult,g=Date.now(),m="error");let C="fetching"===A,I="loading"===m,b="error"===m;return{status:m,fetchStatus:A,isLoading:I,isSuccess:"success"===m,isError:b,isInitialLoading:I&&C,data:s,dataUpdatedAt:_,error:T,errorUpdatedAt:g,failureCount:f.fetchFailureCount,failureReason:f.fetchFailureReason,errorUpdateCount:f.errorUpdateCount,isFetched:f.dataUpdateCount>0||f.errorUpdateCount>0,isFetchedAfterMount:f.dataUpdateCount>E.dataUpdateCount||f.errorUpdateCount>E.errorUpdateCount,isFetching:C,isRefetching:C&&!I,isLoadingError:b&&0===f.dataUpdatedAt,isPaused:"paused"===A,isPlaceholderData:R,isPreviousData:y,isRefetchError:b&&0!==f.dataUpdatedAt,isStale:h(e,t),refetch:this.refetch,remove:this.remove}}updateResult(e){let t=this.currentResult,s=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,(0,r.shallowEqualObjects)(s,t))return;this.currentResult=s;let i={cache:!0},a=()=>{if(!t)return!0;let{notifyOnChangeProps:e}=this.options,r="function"==typeof e?e():e;if("all"===r||!r&&!this.trackedProps.size)return!0;let s=new Set(null!=r?r:this.trackedProps);return this.options.useErrorBoundary&&s.add("error"),Object.keys(this.currentResult).some(e=>this.currentResult[e]!==t[e]&&s.has(e))};(null==e?void 0:e.listeners)!==!1&&a()&&(i.listeners=!0),this.notify({...i,...e})}updateQuery(){let e=this.client.getQueryCache().build(this.client,this.options);if(e===this.currentQuery)return;let t=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}onQueryUpdate(e){let t={};"success"===e.type?t.onSuccess=!e.manual:"error"!==e.type||(0,n.isCancelledError)(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()}notify(e){s.notifyManager.batch(()=>{var t,r,s,i,a,n,o,l;e.onSuccess?(null==(t=(r=this.options).onSuccess)||t.call(r,this.currentResult.data),null==(s=(i=this.options).onSettled)||s.call(i,this.currentResult.data,null)):e.onError&&(null==(a=(n=this.options).onError)||a.call(n,this.currentResult.error),null==(o=(l=this.options).onSettled)||o.call(l,void 0,this.currentResult.error)),e.listeners&&this.listeners.forEac
1h(({listener:e})=>{e(this.currentResult)}),e.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})})}}function l(e,t){return!1!==t.enabled&&!e.state.dataUpdatedAt&&("error"!==e.state.status||!1!==t.retryOnMount)||e.state.dataUpdatedAt>0&&c(e,t,t.refetchOnMount)}function c(e,t,r){if(!1!==t.enabled){let s="function"==typeof r?r(e):r;return"always"===s||!1!==s&&h(e,t)}return!1}function u(e,t,r,s){return!1!==r.enabled&&(e!==t||!1===s.enabled)&&(!r.suspense||"error"!==e.state.status)&&h(e,r)}function h(e,t){return e.isStaleByTime(t.staleTime)}e.s(["QueryObserver",0,o],27530);var d=e.i(91788),p=e.i(50241);let E=d.createContext((t=!1,{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t})),S=()=>d.useContext(E);e.s(["useQueryErrorResetBoundary",0,S],57880);var f=e.i(62027);let _=d.createContext(!1),T=()=>d.useContext(_);_.Provider,e.s(["useIsRestoring",0,T],89960);var g=e.i(29558);let A=(e,t)=>{(e.suspense||e.useErrorBoundary)&&!t.isReset()&&(e.retryOnMount=!1)},m=e=>{d.useEffect(()=>{e.clearReset()},[e])},y=({result:e,errorResetBoundary:t,useErrorBoundary:r,query:s})=>e.isError&&!t.isReset()&&!e.isFetching&&(0,g.shouldThrowError)(r,[e.error,s]);e.s(["ensurePreventErrorBoundaryRetry",0,A,"getHasError",0,y,"useClearResetErrorBoundary",0,m],65877);let R=e=>{e.suspense&&("number"!=typeof e.staleTime&&(e.staleTime=1e3),"number"==typeof e.cacheTime&&(e.cacheTime=Math.max(e.cacheTime,1e3)))},C=(e,t)=>e.isLoading&&e.isFetching&&!t,I=(e,t,r)=>(null==e?void 0:e.suspense)&&C(t,r),b=(e,t,r)=>t.fetchOptimistic(e).then(({data:t})=>{null==e.onSuccess||e.onSuccess(t),null==e.onSettled||e.onSettled(t,null)}).catch(t=>{r.clearReset(),null==e.onError||e.onError(t),null==e.onSettled||e.onSettled(void 0,t)});e.s(["ensureStaleTime",0,R,"fetchOptimistic",0,b,"shouldSuspend",0,I,"willFetch",0,C],1382),e.s(["useQuery",0,function(e,t,i){return function(e,t){let r=(0,f.useQueryClient)({context:e.context}),i=T(),a=S(),n=r.defaultQueryOptions(e);
1n._optimisticResults=i?"isRestoring":"optimistic",n.onError&&(n.onError=s.notifyManager.batchCalls(n.onError)),n.onSuccess&&(n.onSuccess=s.notifyManager.batchCalls(n.onSuccess)),n.onSettled&&(n.onSettled=s.notifyManager.batchCalls(n.onSettled)),R(n),A(n,a),m(a);let[o]=d.useState(()=>new t(r,n)),l=o.getOptimisticResult(n);if((0,p.useSyncExternalStore)(d.useCallback(e=>{let t=i?()=>void 0:o.subscribe(s.notifyManager.batchCalls(e));return o.updateResult(),t},[o,i]),()=>o.getCurrentResult(),()=>o.getCurrentResult()),d.useEffect(()=>{o.setOptions(n,{listeners:!1})},[n,o]),I(n,l,i))throw b(n,o,a);if(y({result:l,errorResetBoundary:a,useErrorBoundary:n.useErrorBoundary,query:o.getCurrentQuery()}))throw l.error;return n.notifyOnChangeProps?l:o.trackResult(l)}((0,r.parseQueryArgs)(e,t,i),o)}],64034)},39016,46628,e=>{"use strict";var t=e.i(91788);let r="u">typeof document;e.s(["isBrowser",0,r],46628);let s=r?t.useLayoutEffect:t.useEffect;e.s(["useIsomorphicLayoutEffect",0,s],39016)},60121,(e,t,r)=>{"use strict";var s=e.r(91788),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=s.useState,n=s.useEffect,o=s.useLayoutEffect,l=s.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!i(e,r)}catch(e){return!0}}var u="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),s=a({inst:{value:r,getSnapshot:t}}),i=s[0].inst,u=s[1];return o(function(){i.value=r,i.getSnapshot=t,c(i)&&u({inst:i})},[e,r,t]),n(function(){return c(i)&&u({inst:i}),e(function(){c(i)&&u({inst:i})})},[e]),l(r),r};r.useSyncExternalStore=void 0!==s.useSyncExternalStore?s.useSyncExternalStore:u},90979,(e,t,r)=>{"use strict";e.i(50461),t.exports=e.r(60121)},54254,e=>{"use strict";var t=e.i(91398),r=e.i(58003),s=e.i(16912),i=e.i(44180),a=e.i(70645),n=e.i(41158),o=e.i(91788),l=e.i(36912),c=e.i(29163),u=e.i(36663);let h=(0,s.forwardRef)(function(e,s){let{children:h,colorScheme:d,variant:p,size:E,icon:S,url:f,rel:_,target:T,hasHover:g=!0,isExternal:A,...m}=e,y=(0,c.getIconsListLowercase)();if(h)throw Error("children are not allowed for this component");let R=(0,i.useStyleConfig)("IconButton",{colorScheme:d,variant:p,size:E,hasHover:g}),C=(0,a.cx)("chakra-icon-button",m?.className),I=A?(0,u.checkIsExternal)(f)&&{target:"_blank",rel:"noopener"}:{},b=l.default.camelCase(S)?y[l.default.camelCase(S)]:o.Fragment;return b&&"function"==typeof b?f?(0,t.jsx)(n.default,{legacyBehavior:!0,passHref:!0,href:f,target:T,rel:_,children:(0,t.jsx)(r.chakra.a,{ref:s,__css:R,...I,className:C,...m,children:(0,t.jsx)(b,{w:"auto",h:"auto",fontSize:"unset"})})}):(0,t.jsx)(r.chakra.button,{ref:s,__css:R,className:C,...m,children:(0,t.jsx)(b,{w:"auto",h:"auto",fontSize:"unset"})}):(0,t.jsx)(t.Fragment,{})});e.s(["IconButton",0,h])},53521,96095,e=>{"use strict";var t=e.i(91398),r=e.i(91788),s=e.i(66539),i=e.i(66657),a=e.i(70645),n=e.i(7065),o=e.i(30521),l=e.i(58003),c=e.i(16912),u=e.i(44180);let h=(0,l.chakra)("div",{baseStyle:{boxShadow:"none",backgroundClip:"padding-box",cursor:"default",color:"transparent",pointerEvents:"none",userSelect:"none","&::before, &::after, *":{visibility:"hidden"}}}),d=(0,s.cssVar)("skeleton-start-color"),p=(0,s.cssVar)("skeleton-end-color"),E=(0,n.keyframes)({from:{opacity:0}
1,to:{opacity:1}}),S=(0,n.keyframes)({from:{borderColor:d.reference,background:d.reference},to:{borderColor:p.reference,background:p.reference}}),f=(0,c.forwardRef)((e,s)=>{let n,c,f={...e,fadeDuration:"number"==typeof e.fadeDuration?e.fadeDuration:.4,speed:"number"==typeof e.speed?e.speed:.8},_=(0,u.useStyleConfig)("Skeleton",f),T=(n=(0,r.useRef)(!0),(0,r.useEffect)(()=>{n.current=!1},[]),n.current),{startColor:g="",endColor:A="",isLoaded:m,fadeDuration:y,speed:R,className:C,fitContent:I,animation:b,...v}=(0,i.omitThemingProps)(f),[O,P]=(0,o.useToken)("colors",[g,A]),G=(c=(0,r.useRef)(void 0),(0,r.useEffect)(()=>{c.current=m},[m]),c.current),M=(0,a.cx)("chakra-skeleton",C),H={...O&&{[d.variable]:O},...P&&{[p.variable]:P}};if(m){let e=T||G?"none":`${E} ${y}s`;return(0,t.jsx)(l.chakra.div,{ref:s,className:M,__css:{animation:e},...v})}return(0,t.jsx)(h,{ref:s,className:M,...v,__css:{width:I?"fit-content":void 0,..._,...H,_dark:{..._._dark,...H},animation:b||`${R}s linear infinite alternate ${S}`}})});f.displayName="Skeleton",e.s(["Skeleton",0,f],96095);let _=({size:e="2rem",...r})=>(0,t.jsx)(f,{borderRadius:"full",boxSize:e,...r});_.displayName="SkeletonCircle";var T=e.i(41295);let g=e=>{let{noOfLines:r=3,spacing:s="0.5rem",skeletonHeight:i="0.5rem",className:n,startColor:o,endColor:c,isLoaded:u,fadeDuration:h,speed:d,variant:p,size:E,colorScheme:S,children:_,...g}=e,A=(0,T.useBreakpointValue)("number"==typeof r?[r]:r)||3,m=Array(A).fill(1).map((e,t)=>t+1),y=(0,a.cx)("chakra-skeleton__group",n);return(0,t.jsx)(l.chakra.div,{className:y,...g,children:m.map((e,r)=>{if(u&&r>0)return null;let a=u?null:{mb:e===m.length?"0":s,width:A>1&&e===m.length?"80%":"100%",height:i};return(0,t.jsx)(f,{startColor:o,endColor:c,isLoaded:u,fadeDuration:h,speed:d,variant:p,size:E,colorScheme:S,...a,children:0===r?_:void 0},m.length.toString()+e)})})};g.displayName="SkeletonText";let A={startColor:"primary.500",endColor:"primary.700"};e.s(["Skeleton",0,e=>(0,t.jsx)(f,{...A,borderRadius:4,...e}),"SkeletonCircle",0,e=>(0,t.jsx)(_,{...A,...e}),"SkeletonText",0,e=>(0,t.jsx)(g,{...A,__css:{".chakra-skeleton":{borderRadius:4}},...e})],53521)},80577,e=>{"use strict";var t=e.i(91398),r=e.i(28683),s=e.i(91788),i=e.i(68032);e.s(["AdBanner",0,({ch:e,cb:a,name:n,position:o,...l})=>{let c=(0,s.useRef)(null),{isScriptLoaded:u}=(0,i.useAdsContextValue)(),{sizes:h,slotName:d,divId:p}=(0,s.useMemo)(()=>(e=>{let t,r,{defineSlot:s}=(t=e.match(/googletag\.defineSlot\(([^)]+)\)/),r=e.match(/defineSizeMapping\(([^)]+)\)/),{defineSlot:t?t[1].replace(/\r\n/g,""):null,defineSizeMapping:r?r[1].replace(/\r\n/g,""):null}),i=s?.split(","),a=i?.slice(1,i?.length-1).join();a?.includes("[[[")&&(a=a.replace("[[[","[["));let[n]=i||[],o=i?i[i?.length-1].replace(/'/g,"").trim():"";return{sizes:JSON.parse(a||"[]"),slotName:n?.replace(/'/g,"")||"",divId:o}})(e||"")||{},[e]);return(0,s.useEffect)(()=>{let e;if(!c?.current||!u)return;let t=(e=null,googletag.cmd.push(function(){let t,r=h.sort((e,t)=>t[0]-e[0]).at(-1)||[0,0];e=googletag?.defineSlot(d,r,p);let s=(t=[],[1440,1024,744,560].forEach(e=>{let r=null,s=1/0;h.forEach(([t,i])=>{let a=e-t;a>=0&&a<s&&(s=a,r=[t,i])}),r&&t.push([[e,0],r])}),t),i=googletag?.sizeMapping?.();s.forEach(e=>{let[t,r]=e;i?.addSize?.(t,r)}),i?.addSize?.([0,0],r);let a=i.build?.();e?.defineSizeMapping(a),e?.addService(googletag.pubads()),googletag.pubads().enableSingleRequest(),googletag.pubads().disableInitialLoad(),googletag.enableServices(),e&&(googletag.pubads().refresh([e]),googletag.display(p))}),e);return()=>{t?googletag?.destroySlots?.([t||[]]):googletag?.destroySlots?.()}},[p,d,h,u]),(0,t.jsx)(r.Box,{display:"flex",h:"full",id:`slot-${p}`,justifyContent:"center",overflow:"hidden",w:"full",py:{xl:80,md:40,base:24},...l,children:(0,t.jsx)("div",{id:p,ref:c})},`slot-${p}`)}],80577)},68032,e=>{"use strict";var t=e.i(91398),r=e.i(91788),s=e.i(91492);let i=(0,r.createContext)({isScriptLoaded:!1}),a=({children:e})=>{let[a,n]=(0,r.useState)(!1),o=()=>{n(!0)};return(0,r.useEffect)(()=>{(({src:e,id:t,onLoad:r,options:i})=>{if(document.querySelector(`#${t}`))return;let a=document.createElement("script");a.id=t,a.src=e,(0,s.isObjectNullish)(i)||Object.entries(i||{}
1).forEach(([e,t])=>{a.setAttribute(e,t)}),"function"==typeof r&&(a.onload=r),document.head.appendChild(a)})({src:"https://securepubads.g.doubleclick.net/tag/js/gpt.js",id:"google-tag-ads-script",onLoad:o,options:{async:!0}})},[]),(0,t.jsx)(i.Provider,{value:{isScriptLoaded:a},children:e})};e.s(["AdsWrapper",0,({children:e})=>(0,t.jsx)(a,{children:e}),"useAdsContextValue",0,function(){return(0,r.useContext)(i)}],68032)},96544,37547,e=>{"use strict";var t=e.i(17837),r=e.i(62722),s=e.i(10548);let i={MYLBA:"MYLBA",COPPAITALIA:"COPPAITALIA",LEGA:"LEGA",NEXTGEN:"NEXTGEN",SUPERCOPPA:"SUPERCOPPA",ACCOUNT:"ACCOUNT",CALENDARS:"CALENDARS",COMPETITIONS:"COMPETITIONS",GAMIFICATION:"GAMIFICATION",HOME:"HOME",LBAPODCAST:"LBAPODCAST",LBA_TV:"LBA_TV",MATCHCENTER:"MATCHCENTER",NEWS:"NEWS",ORIGINALS:"ORIGINALS",RECORDS:"RECORDS",ROLES:"ROLES",STATS_PLAYERS_COACHES_TEAMS:"STATS_PLAYERS_COACHES_TEAMS"},a=e=>[r.PAGES_PATHS.TEAMS,r.PAGES_PATHS.COACHES,r.PAGES_PATHS.PLAYERS].some(t=>e.includes(t)),n=e=>[r.PAGES_PATHS.STATISTICS_PLAYERS,r.PAGES_PATHS.STATISTICS_TEAMS].some(t=>e.includes(t)),o=(e,t)=>t&&e?e.filter(({name:e})=>e&&e.includes(t)):[],l=e=>a(e)?i.ROLES:n(e)?i.STATS_PLAYERS_COACHES_TEAMS:void 0;e.s(["ADS_AREAS",0,i,"getBannersByName",0,o,"getCompetitionBannersBySeriesId",0,(e,t)=>{let r={1:"rs",21:"ng",5:"ci",6:"sc"};return e?o(t,r[e]||r[1]):[]},"getGameCenterBanners",0,({sectionName:e,gameStatus:t,banners:r})=>{let i=[];return e&&["play-by-play","mvp"].includes(e)&&i.push(o(r,(0,s.removeSpaces)((0,s.removeHyphens)(e)))),void 0!==t&&i.push(o(r,(0,s.removeSpaces)(`match${t}`))),i.flat()},"getProtagonistsIndexLayoutAdsArea",0,l,"getProtagonistsIndexLayoutBanners",0,({pathname:e,sectionName:t,banners:s})=>{if(e.includes(r.PAGES_PATHS.LA_LEGA))return[];if(a(e)){if(e.includes(r.PAGES_PATHS.TEAMS))return o(s,"teams");if(e.includes(r.PAGES_PATHS.PLAYERS))return o(s,"players");if(e.includes(r.PAGES_PATHS.COACHES))return o(s,"coaches")}if(n(e)){if(e.includes(r.PAGES_PATHS.STATISTICS_PLAYERS))return o(s,"stats_players");let[i,a,n]=t?.split("_")||[];return o(s,"offensive"===n?"stats_teams_off":"stats_teams_def")}return s}],37547);var c=e.i(64034),u=e.i(26392),h=e.i(30559),d=e.i(72876);let p=async e=>{let t=(0,d.getAppUrl)(),{data:r}=await h.default.get(`${t}/api/banners/get-banner`,{params:{area:e}});return r},E=({area:e="HOME",name:t})=>{let r,{data:s}=(r={area:e},(0,c.useQuery)({queryKey:[u.QUERY_KEYS.GET_BANNERS,r?.area||null],queryFn:()=>p(r?.area),...void 0})),i=Object.keys(s?.banners||{}).map(e=>({name:e.toLowerCase().replace("banner_",""),...s?.banners[e]})).filter(e=>!!e&&!!e?.ch);return t?o(i,t):i};e.s(["usePageAds",0,E,"useProtagonistPageAds",0,e=>E({area:l((0,t.usePathname)()),name:e})],96544)},26392,e=>{"use strict";var t,r=((t={}).GET_ACCREDITATIONS="get_accreditations",t.GET_ACCREDITATION_ROLES="get_accreditations_roles",t.GET_ALL_NEWS="get-all-news",t.GET_ALL_YEARS_CHAMPIONSHIPS="get-all-years-championships",t.GET_BADGES="get-badges",t.GET_BANNERS="get-banners",t.GET_CATEGORIES="get-content-categories",t.GET_CHAMPIONSHIPS="get-championships",t.GET_CHAMPIONSHIPS_MATCHES_BY_ID="get-championships-matches-by-id",t.GET_CHAMPIONSHIPS_MATCHES_AVERAGES_BY_ID="get-championships-matches-averages-by-id",t.GET_CHAMPIONSHIPS_MATCHES_PLAY_BY_PLAY="get-championships-matches-play-by-play",t.GET_CHAMPIONSHIPS_MATCHES_PRE_BEST_BY_ID="get-championships-matches-pre-best-by-id",t.GET_CHAMPIONSHIP_CALENDAR_BY_ID="get-championship-calendar-by-id",t.GET_CHAMPIONSHIP_CALENDAR_CUSTOM="get-championship-calendar-custom",t.GET_CHAMPIONSHIP_MATCHES_SCORES_BY_ID="get-championship-matches-scores-by-id",t.GET_CHAMPIONSHIP_MATCHES_SHOTS_BY_ID="get-championship-matches-shots-by-id",t.GET_CHAMPIONSHIP_MATCHES_STATS_BY_ID="get-championship-matches-stats-by-id",t.GET_CHAMPIONSHIP_MATCHES_TEAM_LEAD_BY_ID="get-championship-matches-team-lead-by-id",t.GET_CHAMPIONSHIP_MATCH_BEST_BY_ID="get-championship-match-best-by-id",t.GET_CHAMPIONSHIP_MATCH_RECAP_BY_ID="get-championship-match-recap-by-id",t.GET_CHAMPIONSHIP_PARTNERS="get-championship-partners",t.GET_CHAMPIONSHIP_ROLL_OF_HONOR="get-championship-roll-of-honor",t.GET_CHAMPIONSHIP_STANDINGS="get-championship-standings",t.GET_CHAMPIONSHIP_SUMMARY_TABLE_BY_ID="get-championship-calendar-by-id",t.GET_CLUB="get-club",t.GET_COACHES="get-coaches",t.GET_COACH_ROLES="get-coach-roles",t.GET_COACHES_BY_ID="get-coaches-by-id",t.GET_CONTENT_BY_ID="get-content-by-id",t.GET_CURRENT_YEAR_CHAMPIONSHIPS_BY_SERIES="get-current-year-championships-by-series",t.GET_DISTRICTS="get-districts",t.GET_GAME="get-game",t.GET_GAMES="get-games",t.GET_GAME_RECAP="get-game-recap",t.GET_GAME_STANDING_BY_ID="get-game-standing-by-id",t.GET_HOMEPAGE_SECTIONS="get-homepage-sections",t.GET_LA
1NDING_PAGE="get-landing-page",t.GET_LBA_STAFF="get-lba-staff",t.GET_MATCH_PHOTO_GALLERY="get-match-photo-gallery",t.GET_MATCH_PREVIEW="get-match-preview",t.GET_MENUS="get-menus",t.GET_NEWS="get-news",t.GET_PLAYERS="get-players",t.GET_PLAYERS_MATCHES="get-player-matches",t.GET_PLAYERS_SEASONS="get-players-seasons",t.GET_PLAYERS_STATISTICS="get-players-statistics",t.GET_PLAYERS_VIDEOS="get-players-videos",t.GET_PLAYER_BY_ID="get-player-by-id",t.GET_PLAYER_COUNTRIES="get-player-countries",t.GET_PLAYER_HIGHS="get-player-highs",t.GET_PLAYER_ROLES="get-player-roles",t.GET_PLAYER_STATS="get-player-stats",t.GET_PLAYER_STATS_BY_ID="get-player-stats-by-id",t.GET_RECORDS_PLAYERS="get-records-players",t.GET_RECORDS_TEAMS="get-records-teams",t.GET_SERIE_A_INFO="get-serie-a-info",t.GET_STANDING="get-standing",t.GET_TAGS="get-tags",t.GET_TEAM="get-team",t.GET_TEAMS="get-teams",t.GET_TEAMS_HIGHS="get-teams-highs",t.GET_TEAMS_PLAYERS_STATS="get-teams-players-stats",t.GET_TEAMS_STATISTICS="get-teams-statistics",t.GET_TEAM_HISTORY="get-team-history",t.GET_TEAM_MATCHES_STATS="get-team-matches",t.GET_TEAM_PALMARES="get-team-palmares",t.GET_TEAM_RECORD="get-record",t.GET_TEAM_ROSTER="get-team-roster",t.GET_TEAM_SCHEDULES="get-team-schedules",t.GET_TEAM_STAFF="get-team-staff",t.GET_TEAM_STATISTICS="get-team-statistics",t.GET_TEAM_STATS="get-team-stats",t.GET_TEAM_VIDEOS="get-team-video",t.GET_TOWN_BY_DISTRICT_ID="get-town-by-district-id",t.GET_USER="get-user",t.GET_VIDEOS="get-videos",t.GET_VIDEOS_CATEGORIES="get-videos-categories",t.GET_VIDEO_BY_ID="get-video-by-id",t.GET_MATCH_TABS="get-match-tabs",t.GET_MATCH_MVP="get-match-mvp",t.GET_COUNTRIES="get-countries",t.GET_ICS_CALENDARS="get-ics-calendars",t);e.s(["QUERY_KEYS",()=>r])},82124,e=>{"use strict";var t=e.i(10548);e.s(["getFullName",0,({name:e,surname:r,makeShortName:s=!1,removeAccents:i=!1})=>{if(!e&&!r)return;let a=s?`${e?.substring(0,1)}.`:e,n=`${a} ${r}`;return i?(0,t.removeAccentsFromString)(n):n}])},91492,e=>{"use strict";e.s(["isObjectNullish",0,e=>!Object.keys(e||{}).length])},10548,e=>{"use strict";e.s(["lowerCaseAndHyphenate",0,e=>e?e.trim().replace(/^[^\w\s]+|[^\w\s]+$/g,"").toLowerCase().replace(/[^\w\s]|_/gi," ").replace(/\s+/g,"-"):"","removeAccentsFromString",0,e=>e.normalize("NFD").replace(/[\u0300-\u036f]/g,""),"removeHyphens",0,e=>e.replaceAll("-"," "),"removeSpaces",0,e=>e.replaceAll(" ","")])}]);

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