PageSourceSearch

https://www.acdd.com/_next/static/chunks/5164-d624b8e174fd647b.js

js acdd.com collected 2026-10-02 12:14:21 UTC 19,865 bytes, 25 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5164],{18516:function(e,t,n){n.d(t,{S:function(){return g}});var r=n(80498),i=n(12882);let a={Swatch:"Swatch",File:"File",Typography:"Typography",PagePathnameSlice:"PagePathnameSlice",GlobalElement:"GlobalElement",LocalizedGlobalElement:"LocalizedGlobalElement",Table:"Table",Snippet:"Snippet",Page:"Page",Site:"Site"};var o=n(1979),l=n(27855);function u(e={Swatch:[],File:[],Typography:[],PagePathnameSlice:[],GlobalElement:[],Table:[],Snippet:[],Page:[],Site:[],LocalizedGlobalElement:[]}){return new Map(Object.entries(e).map(([e,t])=>[e,new Map(t.map(({id:e,value:t})=>[e,t]))]))}function c(e,t,n){let r=e.get(t)?.get(n);return r?.__typename===t?r:null}let s=function(e=u(),t){switch(t.type){case l.MF.API_RESOURCE_FULFILLED:{let{resourceType:n,resourceId:r,resource:i}=t.payload;return new Map(e).set(n,new Map(e.get(n)).set(r,i))}case l.MF.CHANGE_API_RESOURCE:{let n=c(e,t.payload.resource.__typename,t.payload.resource.id);if((0,o.Z)(n,t.payload.resource))return e;return new Map(e).set(t.payload.resource.__typename,new Map(e.get(t.payload.resource.__typename)).set(t.payload.resource.id,t.payload.resource))}case l.MF.EVICT_API_RESOURCE:{let[n,r]=t.payload.id.split(":");if(!(n in a))return e;let i=new Map(e.get(n));return i.delete(r)?new Map(e).set(n,i):e}default:return e}};async function f(e){let t=await fetch(e,{headers:{"Content-Type":"application/json"}});if(404===t.status)return null;if(!t.ok)throw Error(t.statusText);if(t.headers.get("content-type")?.includes("application/json")!==!0)throw Error(`Expected JSON response from "${e}" but got "${t.headers.get("content-type")}"`);return t.json()}function d(e,t,n){return async(r,i)=>{let o;let u=i();if(u.get(e)?.has(t))return c(u,e,t);switch(e){case a.Swatch:o=await f(`/api/makeswift/swatches/${t}`);break;case a.File:o=await f(`/api/makeswift/files/${t}`);break;case a.Typography:o=await f(`/api/makeswift/typographies/${t}`);break;case a.GlobalElement:o=await f(`/api/makeswift/global-elements/${t}`);break;case a.LocalizedGlobalElement:if(null==n)throw Error("Locale is required to fetch LocalizedGlobalElement");o=await f(`/api/makeswift/localized-global-elements/${t}/${n}`);break;case a.PagePathnameSlice:{let e=new URL(`/api/makeswift/page-pathname-slices/${t}`,"http://n");null!=n&&e.searchParams.set("locale",n.toString()),o=await f(e.pathname+e.search);break}case a.Table:o=await f(`/api/makeswift/tables/${t}`);break;default:o=null}return r((0,l.ng)(e,t,o)),o}}class p{endpoint;constructor(e){this.endpoint=e}async request(e,t={}){let n=await fetch(this.endpoint,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({query:e,variables:t})});if(!n.ok&&400!==n.status)throw Error(`${n.status} ${n.statusText}`);let r=await n.json();if(null!=r.errors)throw console.error(r),Error("GraphQL response contains errors, check the console.");return r.data}}let h=`
2  mutation CreateTableRecord($input: CreateTableRecordInput!) {
3    createTableRecord(input: $input) {
4      tableRecord {
5        id
6      }
7    }
8  }
9`;class g{graphqlClient;makeswiftApiClient;subscribe;localizedResourcesMap;locale;constructor({uri:e,cacheData:t,localizedResourcesMap:n={},locale:a}){this.graphqlClient=new p(e),this.makeswiftApiClient=function({serializedState:e}){return(0,r.MT)(s,u(e),(0,r.md)(i.Z))}({serializedState:t}),this.subscribe=this.makeswiftApiClient.subscribe,this.localizedResourcesMap=new Map(Object.entries(n)),this.locale=a}readSwatch(e){return c(this.makeswiftApiClient.getState(),a.Swatch,e)}async fetchSwatch(e){return await this.makeswiftApiClient.dispatch(d(a.Swatch,e))}readFile(e){return c(this.makeswiftApiClient.getState(),a.File,e)}async fetchFile(e){return await this.makeswiftApiClient.dispatch(d(a.File,e))}readTypography(e){return c(this.makeswiftApiClient.getState(),a.Typography,e)}async fetchTypography(e){return await this.makeswiftApiClient.dispatch(d(a.Typography,e))}readGlobalElement(e){return c(this.makeswiftApiClient.getState(),a.GlobalElement,e)}async fetchGlobalElement(e){return await this.makeswiftApiClient.dispatch(d(a.GlobalElement,e))}readLocalizedGlobalElement(e){let t=this.getLocalizedResourceId(e);return null==t?null:c(this.makeswiftApiClient.getState(),a.LocalizedGlobalElement,t)}async fetchLocalizedGlobalElement(e){let t=this.locale;if(null==t||null===this.getLocalizedResourceId(e))return null;let n=this.readLocalizedGlobalElement(e);
9if(n)return n;let r=await this.makeswiftApiClient.dispatch(d(a.LocalizedGlobalElement,e,t));return this.setLocalizedResourceId({resourceId:e,localizedResourceId:r?.id??null}),r}readPagePathnameSlice(e){return c(this.makeswiftApiClient.getState(),a.PagePathnameSlice,e)}async fetchPagePathnameSlice(e){return await this.makeswiftApiClient.dispatch(d(a.PagePathnameSlice,e,this.locale))}readTable(e){return c(this.makeswiftApiClient.getState(),a.Table,e)}async fetchTable(e){return await this.makeswiftApiClient.dispatch(d(a.Table,e))}async createTableRecord(e,t){await this.graphqlClient.request(h,{input:{data:{tableId:e,columns:t}}})}readSite(e){return c(this.makeswiftApiClient.getState(),a.Site,e)}readPage(e){return c(this.makeswiftApiClient.getState(),a.Page,e)}readSnippet(e){return c(this.makeswiftApiClient.getState(),a.Snippet,e)}getLocalizedResourceId(e){return this.localizedResourcesMap?.get(e)}setLocalizedResourceId({resourceId:e,localizedResourceId:t}){this.localizedResourcesMap.set(e,t)}}},88417:function(e,t,n){n.d(t,{U:function(){return r}});function r(e){return e&&e.swatch?`hsla(${e.swatch.hue},${e.swatch.saturation}%,${e.swatch.lightness}%,${e.alpha})`:""}},89656:function(e,t,n){n.d(t,{s:function(){return r}});let r=(e,t)=>{let n=e.reduce((e,t)=>e.concat(t),[]);if(t<0||t>n.length)throw RangeError();let r=t,i=0;for(;i<e.length-1&&r>=e[i].length;)r-=e[i].length,i+=1;return[i,r]}},56407:function(e,t,n){n.d(t,{ob:function(){return b},Kc:function(){return m},$o:function(){return y},kH:function(){return g},iB:function(){return h},$H:function(){return v},CS:function(){return d},QG:function(){return E},NB:function(){return p}});var r=n(31798),i=n(89656),a=n(77003),o=n(10239),l=n(99037),u=n(88417);function c(e){if("string"==typeof e)return e;if("number"==typeof e)return`${e}px`;let{width:t,color:n,style:r}=e;return`${null!=t?t:0}px ${r} ${null!=n?(0,u.U)(n):"black"}`}var s=n(55511);function f(e,t,n,i){return(0,r.v_)(e,t,n,i).reduce((t,{deviceId:n,value:i})=>{let a=(0,r.iu)(e,n),o=(0,r.PR)(a);return{...t,[o]:{...t[o],...i}}},{})}function d(e,t,n){return f((0,s.k)(),e,t,n)}function p(...e){return function(e,t,n="100%"){return{maxWidth:"100%",...f(e,[t],([e=n])=>({width:"object"==typeof e?`${e.value}${e.unit}`:e}))}}((0,s.k)(),...e)}function h(...e){return function(e,t,n={}){return f(e,[t],([e={}])=>(0,a.v)(e,Object.assign({paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0},n)))}((0,s.k)(),...e)}function g(...e){return function(e,t,n={}){return f(e,[t],([e={}])=>(0,o.K)(e,Object.assign({marginTop:0,marginRight:"auto",marginBottom:0,marginLeft:"auto"},n)))}((0,s.k)(),...e)}function m(...e){return function(e,t,n={}){return f(e,[t],([e={}])=>(function(e,t={}){let n=e.borderTopLeftRadius??t.borderTopLeftRadius,r=e.borderTopRightRadius??t.borderTopRightRadius,i=e.borderBottomRightRadius??t.borderBottomRightRadius,a=e.borderBottomLeftRadius??t.borderBottomLeftRadius,o={};return null!=n&&(o.borderTopLeftRadius=(0,l.A)(n)),null!=r&&(o.borderTopRightRadius=(0,l.A)(r)),null!=i&&(o.borderBottomRightRadius=(0,l.A)(i)),null!=a&&(o.borderBottomLeftRadius=(0,l.A)(a)),o})(e,Object.assign({borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomRightRadius:0,borderBottomLeftRadius:0},n)))}((0,s.k)(),...e)}function b(e,t={}){return d([e],([e={}])=>(function(e,t={}){let n=e.borderTop??t.borderTop,r=e.borderRight??t.borderRight,i=e.borderBottom??t.borderBottom,a=e.borderLeft??t.borderLeft,o={};return null!=n&&(o.borderTop=c(n)),null!=r&&(o.borderRight=c(r)),null!=i&&(o.borderBottom=c(i)),null!=a&&(o.borderLeft=c(a)),o})(e,Object.assign({borderTop:"0px solid black",borderRight:"0px solid black",borderBottom:"0px solid black",borderLeft:"0px solid black"},t)))}let w=e=>t=>Math.floor(10**e*t)/10**e;function y(...e){return function(e,t){return{display:"flex",...f(e,[t.grid,t.columnGap,t.rowGap],([{spans:e,count:n}={spans:[[12]],count:12},r={value:0,unit:"px"},a={value:0,unit:"px"}])=>{let[o,l]=(0,i.s)(e,t.index),u=0===l,c=l===e[o].length-1,s=e[o][l],f=w(5)(s/n),d=`${f} * (100% + ${r.value}${r.unit})`,p=`${Number(u)+Number(c)} * ${r.value}${r.unit} / 2`,h=`calc(${d} - ${p}
9 - 0.01px)`,g=o===e.length-1;return 0===s?{display:"none"}:{flexBasis:h,minWidth:h,maxWidth:h,paddingLeft:u?0:`${r.value/2}${r.unit}`,paddingRight:c?0:`${r.value/2}${r.unit}`,paddingTop:0===o?0:`${a.value/2}${a.unit}`,paddingBottom:g?0:`${a.value/2}${a.unit}`}})}}((0,s.k)(),...e)}let S=e=>e.map(({payload:{inset:e,offsetX:t,offsetY:n,blurRadius:r,spreadRadius:i,color:a}})=>`${e?"inset ":""}${t.toFixed(1)}px ${n.toFixed(1)}px ${r}px ${i}px ${null!=a?(0,u.U)(a):"rgba(0,0,0,0.2)"}`).filter(Boolean).join();function v(...e){return function(e,t){return f(e,[t],([e=[]])=>({boxShadow:S(e)}))}((0,s.k)(),...e)}function E(...e){return function(e,t){return f(e,[t],([e={fontFamily:null,letterSpacing:null,fontSize:null,fontWeight:null,textTransform:[],fontStyle:[]}])=>{let{fontSize:t,fontWeight:n,fontStyle:r=[],textTransform:i=[],letterSpacing:a,fontFamily:o}=e;return{...null==o?{}:{fontFamily:`"${o}"`},...null==n?{}:{fontWeight:n},...null==a?{}:{letterSpacing:a},...null==t?{}:{fontSize:`${t.value}${t.unit}`},...i.includes("uppercase")?{textTransform:"uppercase"}:{},...r.includes("italic")?{fontStyle:"italic"}:{}}})}((0,s.k)(),...e)}},99037:function(e,t,n){n.d(t,{A:function(){return r}});function r(e){return"object"==typeof e?`${e.value}${e.unit}`:"number"==typeof e?`${e}px`:e}},6579:function(e,t,n){n.d(t,{z:function(){return r}});function r(e){return"object"==typeof e?`${e.value}${e.unit}`:"number"==typeof e?`${e}px`:e}},10239:function(e,t,n){n.d(t,{K:function(){return i}});var r=n(6579);function i(e,t={}){let n=e.marginTop??t.marginTop,i=e.marginRight??t.marginRight,a=e.marginBottom??t.marginBottom,o=e.marginLeft??t.marginLeft,l={};return null!=n&&(l.marginTop=(0,r.z)(n)),null!=i&&(l.marginRight=(0,r.z)(i)),null!=a&&(l.marginBottom=(0,r.z)(a)),null!=o&&(l.marginLeft=(0,r.z)(o)),l}},77003:function(e,t,n){n.d(t,{v:function(){return i}});var r=n(6579);function i(e,t={}){let n=e.paddingTop??t.paddingTop,i=e.paddingRight??t.paddingRight,a=e.paddingBottom??t.paddingBottom,o=e.paddingLeft??t.paddingLeft,l={};return null!=n&&(l.paddingTop=(0,r.z)(n)),null!=i&&(l.paddingRight=(0,r.z)(i)),null!=a&&(l.paddingBottom=(0,r.z)(a)),null!=o&&(l.paddingLeft=(0,r.z)(o)),l}},22848:function(e,t,n){n.d(t,{MakeswiftHostApiClientProvider:function(){return u},j:function(){return l}});var r=n(57437),i=n(2265),a=n(18516);let o=(0,i.createContext)(new a.S({uri:"https://api.makeswift.com/graphql"}));function l(){return(0,i.useContext)(o)}function u(e){let{client:t,children:n}=e;return(0,r.jsx)(o.Provider,{value:t,children:n})}},88804:function(e,t,n){n.r(t),n.d(t,{useFile:function(){return u},useFiles:function(){return c},useGlobalElement:function(){return f},useLocalizedGlobalElement:function(){return d},usePagePathnameSlice:function(){return p},useSwatch:function(){return o},useSwatches:function(){return l},useTable:function(){return h},useTypography:function(){return s}});var r=n(2265),i=n(10554),a=n(22848);function o(e){let t=(0,a.j)(),n=()=>null==e?null:t.readSwatch(e),o=(0,i.useSyncExternalStore)(t.subscribe,n,n);return(0,r.useEffect)(()=>{null!=e&&t.fetchSwatch(e).catch(console.error)},[t,e]),o}function l(e){let t=(0,a.j)(),n=(0,r.useRef)();function o(){let r=e.map(e=>t.readSwatch(e));return null!=n.current&&n.current.length===r.length&&n.current.every((e,t)=>r[t]===e)?n.current:n.current=r}let l=(0,i.useSyncExternalStore)(t.subscribe,o,o);return(0,r.useEffect)(()=>{Promise.all(e.map(e=>t.fetchSwatch(e))).catch(console.error)},[t,e]),l}function u(e){let t=(0,a.j)(),n=()=>null==e?null:t.readFile(e),o=(0,i.useSyncExternalStore)(t.subscribe,n,n);return(0,r.useEffect)(()=>{null!=e&&t.fetchFile(e)},[t,e]),o}function c(e){let t=(0,a.j)(),n=(0,r.useRef)();function o(){let r=e.map(e=>t.readFile(e));return null!=n.current&&n.current.length===r.length&&n.current.every((e,t)=>r[t]===e)?n.current:n.current=r}let l=(0,i.useSyncExternalStore)(t.subscribe,o,o);return(0,r.useEffect)(()=>{Promise.all(e.map(e=>t.fetchFile(e))).catch(console.error)},[t,e]),l}function s(e){let t=(0,a.j)(),n=()=>null==e?null:t.readTypography(e),o=(0,i.useSyncExternalStore)(t.subscribe,n,n);return(0,r.useEffect)(()=>{null!=e&&t.fetchTypography(e).catch(console.error)},[t,e]),o}function f(e){let t=(0,a.j)(),n=()=>null==e?null:t.readGlobalElement(e),o=(0,i.useSyncExternalStore)(t.subscribe,n,n);return(0,r.useEffect)(()=>{null!=e&&t.fetchGlobalElement(e).catch(console.error)},[t,e]),o}function d(e){let t=(0,a.j)(),n=()=>null==e?null:t.readLocalizedGlobalElement(e),o=(0,i.useSyncExternalStore)(t.subscribe,n,n);return(0,r.useEffect)(()=>{null!=e&&t.fetchLocalizedGlobalElement(e).catch(console.error)},[t,e]),o}function p(e){let t=(0,a.j)(),n=()=>null==e?null:t.readPagePathnameSlice(e),o=(0,i.useSyncExternalStore)(t.subscribe,n,n);return(0,r.useEffect)(()=>{null!=e&&t.fetchPagePathnameSlice(e).catch(console.error)},[t,e]),o}function h(e){let t=(0,a.j)(),n=()=>null==e?null:t.readTable(e),o=(0,i.useSyncExternalStore)(t.subscribe,n,n);return(0,r.useEffect)(()=>{null!=e&&t.fetchTable(e).catch(console.error)},[t,e]),o}},55511:function(e,t,n){n.d(t,{k:function(){return a}});var r=n(46738),i=n(69845);function a(){return(0,i.v)(e=>(0,r.le)(e))}},8673:function(e,t,n){n.r(t),n.d(t,{DocumentContext:function(){return i},useDocumentKey:function(){return a}});var r=n(2265);let i=(0,r.createContext)(null);function a(){return(0,r.useContext)(i)}},29360:function(e,t,n){n.d(t,{s:function(){return o}});var r=n(46738),i=n(8673),a=n(69845);function o(e){let t=(0,i.useDocumentKey)();return(0,a.v)(n=>null==t||null==e?null:(0,r.nR)(n,t,e))}},69845:function(e,t,n){n.d(t,{v:function(){return a}});var r=n(35006),i=n(48319);function a(e){let t=(0,i.useStore)();return(0,r.useSyncExternalStoreWithSelector)(t.subscribe,t.getState,t.getState,e)}},48319:function(e,t,n){n.r(t),n.d(t,{StoreContext:function(){return a}
9,useStore:function(){return o}});var r=n(2265),i=n(91585);let a=(0,r.createContext)(i.P.store);function o(){return(0,r.useContext)(a)}},54272:function(e,t,n){function r(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function i(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function a(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n,r=getComputedStyle(e,null);return i(r.overflowY,t)||i(r.overflowX,t)||!!(n=function(e){if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}}(e))&&(n.clientHeight<e.scrollHeight||n.clientWidth<e.scrollWidth)}return!1}function o(e,t,n,r,i,a,o,l){return a<e&&o>t||a>e&&o<t?0:a<=e&&l<=n||o>=t&&l>=n?a-e-r:o>t&&l<n||a<e&&l>n?o-t+i:0}n.d(t,{Z:function(){return c}});var l=function(e,t){var n=window,i=t.scrollMode,l=t.block,u=t.inline,c=t.boundary,s=t.skipOverflowHiddenElements,f="function"==typeof c?c:function(e){return e!==c};if(!r(e))throw TypeError("Invalid target");for(var d,p,h=document.scrollingElement||document.documentElement,g=[],m=e;r(m)&&f(m);){if((m=null==(p=(d=m).parentElement)?d.getRootNode().host||null:p)===h){g.push(m);break}null!=m&&m===document.body&&a(m)&&!a(document.documentElement)||null!=m&&a(m,s)&&g.push(m)}for(var b=n.visualViewport?n.visualViewport.width:innerWidth,w=n.visualViewport?n.visualViewport.height:innerHeight,y=window.scrollX||pageXOffset,S=window.scrollY||pageYOffset,v=e.getBoundingClientRect(),E=v.height,R=v.width,k=v.top,T=v.right,x=v.bottom,$=v.left,C="start"===l||"nearest"===l?k:"end"===l?x:k+E/2,L="center"===u?$+R/2:"end"===u?T:$,P=[],z=0;z<g.length;z++){var j=g[z],A=j.getBoundingClientRect(),G=A.height,B=A.width,M=A.top,F=A.right,W=A.bottom,O=A.left;if("if-needed"===i&&k>=0&&$>=0&&x<=w&&T<=b&&k>=M&&x<=W&&$>=O&&T<=F)break;var _=getComputedStyle(j),I=parseInt(_.borderLeftWidth,10),H=parseInt(_.borderTopWidth,10),V=parseInt(_.borderRightWidth,10),D=parseInt(_.borderBottomWidth,10),N=0,U=0,q="offsetWidth"in j?j.offsetWidth-j.clientWidth-I-V:0,K="offsetHeight"in j?j.offsetHeight-j.clientHeight-H-D:0,X="offsetWidth"in j?0===j.offsetWidth?0:B/j.offsetWidth:0,Y="offsetHeight"in j?0===j.offsetHeight?0:G/j.offsetHeight:0;if(h===j)N="start"===l?C:"end"===l?C-w:"nearest"===l?o(S,S+w,w,H,D,S+C,S+C+E,E):C-w/2,U="start"===u?L:"center"===u?L-b/2:"end"===u?L-b:o(y,y+b,b,I,V,y+L,y+L+R,R),N=Math.max(0,N+S),U=Math.max(0,U+y);else{N="start"===l?C-M-H:"end"===l?C-W+D+K:"nearest"===l?o(M,W,G,H,D+K,C,C+E,E):C-(M+G/2)+K/2,U="start"===u?L-O-I:"center"===u?L-(O+B/2)+q/2:"end"===u?L-F+V+q:o(O,F,B,I,V+q,L,L+R,R);var Z=j.scrollLeft,J=j.scrollTop;C+=J-(N=Math.max(0,Math.min(J+N/Y,j.scrollHeight-G/Y+K))),L+=Z-(U=Math.max(0,Math.min(Z+U/X,j.scrollWidth-B/X+q)))}P.push({el:j,top:N,left:U})}return P};function u(e){return e===Object(e)&&0!==Object.keys(e).length}var c=function(e,t){var n=e.isConnected||e.ownerDocument.documentElement.contains(e);if(u(t)&&"function"==typeof t.behavior)return t.behavior(n?l(e,t):[]);if(n){var r=!1===t?{block:"end",inline:"nearest"}:u(t)?t:{block:"start",inline:"nearest"};return function(e,t){void 0===t&&(t="auto");var n="scrollBehavior"in document.body.style;e.forEach(function(e){var r=e.el,i=e.top,a=e.left;r.scroll&&n?r.scroll({top:i,left:a,behavior:t}):(r.scrollTop=i,r.scrollLeft=a)})}(l(e,r),r.behavior)}}},34492:function(e,t,n){/**
10 * @license React
11 * use-sync-external-store-shim.production.min.js
12 *
13 * Copyright (c) Facebook, Inc. and its affiliates.
14 *
15 * This source code is licensed under the MIT license found in the
16 * LICENSE file in the root directory of this source tree.
17 */var r=n(2265),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=r.useState,o=r.useEffect,l=r.useLayoutEffect,u=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}var s="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=a({inst:{value:n,getSnapshot:t}}),i=r[0].inst,s=r[1];return l(function(){i.value=n,i.getSnapshot=t,c(i)&&s({inst:i})},[e,n,t]),o(function(){return c(i)&&s({inst:i}),e(function(){c(i)&&s({inst:i})})},[e]),u(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:s},85107:function(e,t,n){/**
18 * @license React
19 * use-sync-external-store-shim/with-selector.production.min.js
20 *
21 * Copyright (c) Facebook, Inc. and its affiliates.
22 *
23 * This source code is licensed under the MIT license found in the
24 * LICENSE file in the root directory of this source tree.
25 */var r=n(2265),i=n(10554),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=i.useSyncExternalStore,l=r.useRef,u=r.useEffect,c=r.useMemo,s=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var f=l(null);if(null===f.current){var d={hasValue:!1,value:null};f.current=d}else d=f.current;var p=o(e,(f=c(function(){function e(e){if(!u){if(u=!0,o=e,e=r(e),void 0!==i&&d.hasValue){var t=d.value;if(i(t,e))return l=t}return l=e}if(t=l,a(o,e))return t;var n=r(e);return void 0!==i&&i(t,n)?t:(o=e,l=n)}var o,l,u=!1,c=void 0===n?null:n;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]},[t,n,r,i]))[0],f[1]);return u(function(){d.hasValue=!0,d.value=p},[p]),s(p),p}},10554:function(e,t,n){e.exports=n(34492)},35006:function(e,t,n){e.exports=n(85107)}}]);

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.