1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6890],{71240:function(e,r,t){Promise.resolve().then(t.bind(t,80969))},57115:function(e,r,t){"use strict";var n=t(22187);t.o(n,"usePathname")&&t.d(r,{usePathname:function(){return n.usePathname}}),t.o(n,"useRouter")&&t.d(r,{useRouter:function(){return n.useRouter}}),t.o(n,"useSearchParams")&&t.d(r,{useSearchParams:function(){return n.useSearchParams}}),t.o(n,"useServerInsertedHTML")&&t.d(r,{useServerInsertedHTML:function(){return n.useServerInsertedHTML}})},80969:function(e,r,t){"use strict";t.d(r,{LoginPage:function(){return m}});var n=t(12594),l=t(6259),o=t(55105),a=t(91751),i=t(37154),d=t(84655),s=t(58944),c=t(57115),u=t(14037),g=t(81597),x=t(30485);let p=[{name:"phone",label:"Telefonnummer",placeholder:"Ditt telefonnummer",type:"text",required:!0},{name:"password",label:"Passord",placeholder:"******",type:"password",required:!0}],f=x.z.object({phone:x.z.string().regex(/^\+?[1-9]\d{1,14}$/,{message:"Ugyldig telefonnummer"}).min(1,{message:"Du m\xe5 oppgi telefonnummer"}),password:x.z.string().min(1,{message:"Du m\xe5 oppgi passord"})}),m=()=>{let e=(0,l.O)(),r=(0,c.useRouter)(),[t,x]=(0,u.useState)(!1),[m,h]=(0,u.useState)(null);(0,u.useEffect)(()=>{e&&r.push((0,d.i)("userPage"))},[e,r]);let b=async e=>{x(!0);let t=await (0,s.signIn)("credentials",{phone:e.phone,password:e.password,redirect:!1});if(null==t?void 0:t.ok)r.push((0,d.i)("userPage"));else{var n;h(null!==(n=null==t?void 0:t.error)&&void 0!==n?n:"Ukjent feil"),x(!1)}};return(0,n.jsx)(a.W,{as:"article",fullWidth:!0,paddingX:!1,paddingY:!0,paddingYSize:"md",className:"bg-purple-light",children:(0,n.jsxs)(a.W,{size:"md",paddingY:!0,paddingYSize:"md",paddingX:!0,className:"bg-light/50 flex flex-col gap-6 lg:gap-11 items-start 2xl:px-12",children:[(0,n.jsxs)("div",{className:"flex flex-col",children:[(0,n.jsx)(g.X,{level:1,size:4,className:"mb-6",children:"Logg inn"}),(0,n.jsx)("p",{children:"Logg med ditt telefonnummer og passord. Har du glemt passordet?"}),(0,n.jsx)("p",{children:(0,n.jsx)(i.LinkResolver,{linkType:"internal",_type:"forgottenPassword",className:"underline hover:decoration-dark/0 transition-colors ease-in",children:"Tilbakestill passordet via SMS her."})})]}),(0,n.jsx)(o.l,{fields:p,zodSchema:f,onSubmit:b,submitButtonText:"Logg inn",isSubmitting:t,isSubmittingText:"Logger inn",disabled:t,error:m})]})})}},6259:function(e,r,t){"use strict";t.d(r,{O:function(){return l}});var n=t(58944);let l=()=>{var e;let r=(0,n.useSession)();return(null==r?void 0:null===(e=r.data)||void 0===e?void 0:e.user)||null}},55105:function(e,r,t){"use strict";t.d(r,{l:function(){return u}});var n=t(12594),l=t(25287),o=t(49982),a=t(49606),i=t(52426),d=t(81597),s=t(5292),c=t(14440);let u=e=>{let{fields:r,zodSchema:t,onSubmit:u,submitButtonText:g,isSubmitting:x,isSubmittingText:p,isLoading:f,disabled:m,error:h,success:b}=e,C=r.reduce((e,r)=>(e[r.name]="",e),{}),y=(0,o.cI)({defaultValues:C,resolver:(0,l.F)(t)}),{handleSubmit:v,control:k}=y;return(0,n.jsx)(a.l0,{...y,children:(0,n.jsxs)("form",{onSubmit:v(u),className:"flex flex-col items-start gap-6 w-full",children:[r.map(e=>(0,n.jsx)(a.Wi,{control:k,name:e.name,disabled:m,render:r=>{var t;let{field:l}=r;return(0,n.jsxs)(a.xJ,{children:[(0,n.jsx)(a.lX,{disabled:m,children:e.label}),(0,n.jsx)(a.NI,{children:(0,n.jsx)(c.I,{...e,...l,disabled:null!==(t=e.disabled)&&void 0!==t?t:m})}),(0,n.jsx)(a.zG,{})]})}},e.name)),(0,n.jsx)(s.z,{type:"submit",disabled:x||m,children:g}),x&&(0,n.jsx)(i.g,{colorTheme:"purple-light",text:null!=p?p:"Sender"}),b&&(0,n.jsx)("div",{className:"bg-green w-full",children:b}),h&&(0,n.jsxs)("div",{className:"bg-purple text-light p-6 flex flex-col gap-6 w-full",children:[(0,n.jsx)(d.X,{level:2,size:7,children:"Det skjedde en feil"}),(0,n.jsx)("p",{children:h})]})]})})}},91751:function(e,r,t){"use strict";t.d(r,{W:function(){return o}});var n=t(12594),l=t(84929);let o=e=>{let{children:r,as:t="div",id:o,className:i,fullWidth:d,paddingX:s=!0,paddingY:c=!1,paddingYSize:u="default",size:g="default"}=e,x=a(g);return(0,n.jsx)(t,{id:o,className:(0,l.cn)("mx-auto w-full",!d&&"".concat(x),s&&"px-6 md:px-9 2xl:px-6",c&&("sm"===u?"py-6 md:py-8 lg:py-10 xl:py-14":"md"===u?"py-8 md:py-12 lg:py-16 xl:py-20":"lg"===u?"py-10 md:py-16 lg:py-20 xl:py-24":"py-8"),i),children:r})},a=e=>{switch(e){case"sm":return"max-w-2xl";case"md":return"max-w-4xl";case"lg":return"max-w-6xl";default:return"max-w-[1536px]"}}},81597:function(e,r,t){"use strict";t.d(r,{X:function(){return i}});var n=t(12594),l=t(12629),o=t(84929);let a=(e,r,t)=>{if(!e)return"";let l=e.split(" "),a=l.filter(e=>e.length>=r&&!e.includes("-")&&!e.includes("â"));return l.map((e,r)=>(null==a?void 0:a.includes(e))?(0,n.jsxs)("span",{className:(0,o.cn)("hyphens-auto",null!=t?t:"sm:hyphens-none"),children:[e," "]},"".concat(e,"_").concat(r)):"".concat(e," "))},i=e=>{let{level:r=2,size:t,className:a,id:i,children:c,balance:u=!0}=e;if(!c)return null;let g="h".concat(r),x=null!=t?t:r,p=(0,o.cn)(s(x),"font-title",a);return(0,n.jsx)(g,{id:i,className:p,children:1===x&&u?(0,n.jsx)(l.default,{children:(0,n.jsx)(d,{...e,size:x,children:c})}):(0,n.jsx)(d,{...e,size:x,children:c})})},d=e=>{let{children:r,size:t,hyphens:l}=e,o=r;return("string"==typeof r&&t&&t<2||"string"==typeof r&&l)&&(o=a(r,10)),(0,n.jsx)(n.Fragment,{children:o})},s=e=>{switch(e){case 1:return"text-7xl lg:text-8xl";case 2:return"text-6xl lg:text-7xl";case 3:return"textl-5xl lg:text-6xl";case 4:return"text-4xl lg:text-5xl";case 5:return"text-3xl sm:text-4xl";case 6:return"text-2xl sm:text-3xl";case 7:return"text-xl sm:text-2xl";case 8:return"text-lg sm:text-xl";case 9:return"text-lg";default:return"text-base"}}},5292:function(e,r,t){"use strict";t.d(r,{z:function(){return i}});var n=t(12594),l=t(84929),o=t(64735),a=t(86608);let i=t(14037).forwardRef((e,r)=>{let{className:t,size:i="default",variant:d="filled",hierarchy:s="primary",rounded:c=!1,children:u,asChild:g=!1,
1colorTheme:x,...p}=e,f=g?a.g7:"button",m=(0,o.Y)(null!=x?x:"purple-vibrant"),h=(0,l.cn)("inline-flex text-dark whitespace-nowrap border-2 hover:underline transition-all ease-in ring-offset-white focus-visible:outline-none focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50","link"!==d&&"px-4 xl:text-lg xl:px-6","small"===i?"pt-1.5 pb-1.5 xl:pt-2.5 xl:pb-2":"pt-2 pb-1.5 xl:pt-3 xl:pb-2.5","outlined"===d&&"border-2 border-solid","link"===d&&"underline p-0 border-none hover:no-underline",c&&"rounded-full","primary"===s&&"link"!==d&&"".concat(m.accentColor," ").concat(m.accentTextColor),"secondary"===s&&"link"!==d&&"".concat(m.secondaryButtonColor," ").concat(m.secondaryButtonTextColor),t);return(0,n.jsx)(f,{className:h,ref:r,...p,children:g?(0,n.jsx)(a.A4,{children:u}):u})});i.displayName="Button"},49606:function(e,r,t){"use strict";t.d(r,{NI:function(){return m},Wi:function(){return u},l0:function(){return s},lX:function(){return f},xJ:function(){return p},zG:function(){return h}});var n=t(12594),l=t(86608),o=t(14037),a=t(49982),i=t(67545),d=t(84929);let s=o.forwardRef((e,r)=>{let{children:t,...o}=e;return(0,n.jsx)(a.RV,{...o,children:(0,n.jsx)(l.g7,{ref:r,children:t})})}),c=o.createContext({}),u=e=>{let{...r}=e;return(0,n.jsx)(c.Provider,{value:{name:r.name},children:(0,n.jsx)(a.Qr,{...r})})},g=()=>{let e=o.useContext(c),r=o.useContext(x),{getFieldState:t,formState:n}=(0,a.Gc)(),l=t(e.name,n);if(!e)throw Error("useFormField should be used within <FormField>");let{id:i}=r;return{id:i,name:e.name,formItemId:"".concat(i,"-form-item"),formDescriptionId:"".concat(i,"-form-item-description"),formMessageId:"".concat(i,"-form-item-message"),...l}},x=o.createContext({}),p=o.forwardRef((e,r)=>{let{className:t,...l}=e,a=o.useId();return(0,n.jsx)(x.Provider,{value:{id:a},children:(0,n.jsx)("div",{ref:r,className:(0,d.cn)("w-full bg-light pt-2",t),...l})})});p.displayName="FormItem";let f=o.forwardRef((e,r)=>{let{className:t,isRequired:l,children:o,disabled:a,...s}=e,{error:c,formItemId:u}=g();return(0,n.jsxs)(i._,{ref:r,className:(0,d.cn)("text-sm",c&&"text-orange",a&&"opacity-50",t),htmlFor:u,children:[o,l&&(0,n.jsx)("span",{children:" *"})]})});f.displayName="FormLabel";let m=o.forwardRef((e,r)=>{let{...t}=e,{error:o,formItemId:a,formDescriptionId:i,formMessageId:d}=g();return(0,n.jsx)(l.g7,{ref:r,id:a,"aria-describedby":o?"".concat(i," ").concat(d):"".concat(i),"aria-invalid":!!o,...t})});m.displayName="FormControl",o.forwardRef((e,r)=>{let{className:t,...l}=e,{formDescriptionId:o}=g();return(0,n.jsx)("p",{ref:r,id:o,className:(0,d.cn)("text-sm text-dark/70",t),...l})}).displayName="FormDescription";let h=o.forwardRef((e,r)=>{let{className:t,children:l,...o}=e,{error:a,formMessageId:i}=g(),s=a?String(null==a?void 0:a.message):l;return s?(0,n.jsx)("p",{ref:r,id:i,className:(0,d.cn)("text-xs px-6 py-1 text-dark",t),...o,children:s}):null});h.displayName="FormMessage"},14440:function(e,r,t){"use strict";t.d(r,{I:function(){return a}});var n=t(12594),l=t(14037),o=t(84929);let a=l.forwardRef((e,r)=>{let{className:t,type:l,...a}=e;return(0,n.jsx)("input",{type:l,className:(0,o.cn)("flex py-2 px-6 text-base w-full border-b-2 bg-light border-purple-light disabled:cursor-not-allowed disabled:opacity-80 transition-colors ring-offset-white placeholder:text-dark/80 focus:placeholder:text-dark [&:not(:disabled)]:hover:placeholder:text-dark focus-visible:outline-none focus:border-purple [&:not(:disabled)]:hover:border-purple",t),ref:r,...a})});a.displayName="Input"},67545:function(e,r,t){"use strict";t.d(r,{_:function(){return i}});var n=t(12594),l=t(70156),o=t(14037),a=t(84929);let i=o.forwardRef((e,r)=>{let{className:t,...o}=e;return(0,n.jsx)(l.f,{ref:r,className:(0,a.cn)("text-sm px-6 leading-none text-dark/60 peer-disabled:cursor-not-allowed peer-disabled:opacity-70",t),...o})});i.displayName=l.f.displayName},37154:function(e,r,t){"use strict";t.r(r),t.d(r,{LinkResolver:function(){return d}});var n=t(12594),l=t(70191),o=t(14037),a=t(84655),i=t(84929);let d=(0,o.forwardRef)((e,r)=>{let{children:t,linkType:l}=e;switch(l){case"internal":return(0,n.jsx)(s,{forwardedRef:r,...e,children:t});case"anchor":return(0,n.jsx)(c,{forwardedRef:r,...e,children:t});case"external":case"download":return(0,n.jsx)(u,{forwardedRef:r,...e,children:t});default:return(0,n.jsxs)("pre",{children:["linkType ",l," missing"]})}}),s=e=>{let{forwardedRef:r,_type:t,slug:o,className:d,children:s,onClick:c,openBlank:u}=e;return t||o?(0,n.jsx)(l.default,{rel:u?"noreferrer":void 0,target:u?"_blank":void 0,ref:r,href:(0,a.i)(t,o?{slug:o}:{}),className:(0,i.cn)("group",d),onClick:c,children:s}):(0,n.jsx)(n.Fragment,{children:s})},c=e=>{let{forwardedRef:r,id:t,className:a,children:d,onClick:s}=e,[c,u]=(0,o.useState)(null);(0,o.useEffect)(()=>{u(document.getElementById(t))},[t]);let g=e=>{e.preventDefault(),c&&(c.scrollIntoView({behavior:"smooth"}),setTimeout(()=>{window.location.hash=t},1e3))};return t?(0,n.jsx)(l.default,{ref:r,onClick:e=>{g(e),s&&s(e)},href:"#".concat(t),className:(0,i.cn)("group",a),children:d}):(0,n.jsx)(n.Fragment,{children:d})},u=e=>{let{forwardedRef:r,url:t,className:l,children:o,openBlank:a}=e;if(!t)return(0,n.jsx)(n.Fragment,{children:o});let d=e=>null==t?void 0:t.startsWith(e),s=d("mailto")||"string"==typeof o&&(null==o?void 0:o.startsWith("http"));return d("tel")&&(t=t.replaceAll(" ","")),(0,n.jsx)("a",{ref:r,href:t,rel:a?"noreferrer":void 0,target:a?"_blank":void 0,className:(0,i.cn)("group",l,s&&"break-all"),children:o})};d.displayName="LinkResolver"},52426:function(e,r,t){"use strict";t.d(r,{g:function(){return a}});var n=t(12594),l=t(84929),o=t(64735);let a=e=>{var r;let{text:t}=e,a=(0,o.Y)(null!==(r=e.colorTheme)&&void 0!==r?r:"dark").textColor;return(0,n.jsx)("p",{className:"flex items-center gap-1.5 animate-pulse",children:(0,n.jsxs)("span",{className:(0,l.cn)("text-sm font-medium",a),children:[null!=t?t:"Laster","â¦"]})})}},64930:function(e,r,t){"use strict";t.d(r,{HJ:function(){return n},qC:function(){return l},vq:function(){return o}});let n={frontPage:"/",page:"/:slug",article:"/artikler/:slug",event:"/arrangementer/:slug",video:"/videoer/:slug",podcast:"/podkaster/:slug",portrait:"/portrettsamlingen/:slug",articleArchive:"/artikler",videoArchive:"/videoer",eventArchive:"/arrangementer",podcastArchive:"/podkaster",newsArchive:"/nyheter-og-kunnskap",faqArchive:"/ofte-stilte-sporsmal",portraitArchive:"/portrettsamlingen",journalArticle:"/tidsskrift/:slug",journal:"/tidsskrift",journalArchive:"/tidsskrift",internalNews:"/interne-nyheter/:slug",internalNewsArchive:"/interne-nyheter",login:"/logg-inn",userPage:"/min-side",userProfile:"/min-side/profil",forgottenPassword:"/glemt-passord",changePassword:"/endre-passord",newsletterSignup:"/nyhetsbrev",newsletterUnsubscribe:"/nyhetsbrev/avmelding",newsletterWelcome:"/nyhetsbrev/velkommen"},l=e=>n[e],o=[...new Set(Object.values(n).map(e=>
1e.split("/")[1]||"/").filter(Boolean))]},84655:function(e,r,t){"use strict";t.d(r,{i:function(){return o}});var n=t(64930);let l=function(e){for(var r=arguments.length,t=Array(r>1?r-1:0),l=1;l<r;l++)t[l-1]=arguments[l];let o=n.HJ[e];if(t.length>0){let[e]=t;for(let[r,t]of Object.entries(null!=e?e:{}))o=o.replace(":".concat(r),t)}return o},o=function(e){for(var r=arguments.length,t=Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];return l(e,...t)}},84929:function(e,r,t){"use strict";t.d(r,{cn:function(){return o}});var n=t(51053),l=t(53178);let o=function(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return(0,l.m6)((0,n.W)(r))}},64735:function(e,r,t){"use strict";t.d(r,{J:function(){return l},Y:function(){return o}});var n=t(52937);let l=[{name:"dark",bgColor:"bg-purple",textColor:"text-light",accentColor:"bg-green border-green",accentTextColor:"text-dark",primaryCardColor:"bg-green",primaryCardTextColor:"text-dark",secondaryCardColor:"bg-purple-light",secondaryCardTextColor:"text-dark",secondaryButtonColor:"bg-purple border-purple",secondaryButtonTextColor:"text-light",fillColor:"fill-purple-dark",borderColor:"border-green"},{name:"purple-vibrant",bgColor:"bg-purple",textColor:"text-light",accentColor:"bg-green border-green",accentTextColor:"text-dark",primaryCardColor:"bg-purple-dark",primaryCardTextColor:"text-light",secondaryCardColor:"bg-purple-light",secondaryCardTextColor:"text-dark",secondaryButtonColor:"bg-dark border-dark",secondaryButtonTextColor:"text-light",fillColor:"fill-purple-dark",borderColor:"border-purple-dark"},{name:"purple-light",bgColor:"bg-purple-light",textColor:"text-dark",accentColor:"bg-light border-light",accentTextColor:"text-dark",primaryCardColor:"bg-purple-dark",primaryCardTextColor:"text-light",secondaryCardColor:"bg-light",secondaryCardTextColor:"text-dark",secondaryButtonColor:"bg-dark border-dark",secondaryButtonTextColor:"text-light",fillColor:"fill-purple-dark",borderColor:"border-purple"},{name:"green-light",bgColor:"bg-green-light",textColor:"text-dark",accentColor:"bg-green border-green",accentTextColor:"text-dark",primaryCardColor:"bg-green",primaryCardTextColor:"text-dark",secondaryCardColor:"bg-light",secondaryCardTextColor:"text-dark",secondaryButtonColor:"bg-green border-green",secondaryButtonTextColor:"text-dark",fillColor:"fill-green",borderColor:"border-green"},{name:"green-vibrant",bgColor:"bg-green-light",textColor:"text-dark",accentColor:"bg-green border-green",accentTextColor:"text-dark",primaryCardColor:"bg-green",primaryCardTextColor:"text-dark",secondaryCardColor:"bg-green",secondaryCardTextColor:"text-dark",secondaryButtonColor:"bg-green-dark border-green-dark",secondaryButtonTextColor:"text-light",fillColor:"fill-green",borderColor:"border-green"},{name:"red",bgColor:"bg-red",textColor:"text-light",accentColor:"bg-pink border-pink",accentTextColor:"text-dark",primaryCardColor:"bg-light",primaryCardTextColor:"text-dark",secondaryCardColor:"bg-pink",secondaryCardTextColor:"text-dark",secondaryButtonColor:"bg-pink border-pink",secondaryButtonTextColor:"text-dark",fillColor:"fill-red",borderColor:"border-red"},{name:"green-dark",bgColor:"bg-green-dark",textColor:"text-light",accentColor:"bg-green border-green",accentTextColor:"text-dark",primaryCardColor:"bg-green",primaryCardTextColor:"text-dark",secondaryCardColor:"bg-green-light",secondaryCardTextColor:"text-dark",secondaryButtonColor:"bg-green border-green",secondaryButtonTextColor:"text-dark",fillColor:"fill-green",borderColor:"border-ligth"},{name:"pink",bgColor:"bg-pink",textColor:"text-red",accentColor:"bg-red border-red",accentTextColor:"text-light",primaryCardColor:"bg-red",primaryCardTextColor:"text-light",secondaryCardColor:"bg-light",secondaryCardTextColor:"text-dark",secondaryButtonColor:"bg-red border-red",secondaryButtonTextColor:"text-light",fillColor:"fill-red",borderColor:"border-red"},{name:"light",bgColor:"bg-light",accentColor:"bg-purple-light border-purple-light",textColor:"text-dark",accentTextColor:"text-dark",primaryCardColor:"bg-purple",primaryCardTextColor:"text-light",secondaryCardColor:"bg-purple-light",secondaryCardTextColor:"text-dark",secondaryButtonColor:"bg-purple border-purple",secondaryButtonTextColor:"text-light",fillColor:"fill-purple",borderColor:"border-purple"},{name:"brown",bgColor:"bg-brown",textColor:"text-light",accentColor:"bg-light border-light",accentTextColor:"text-dark",primaryCardColor:"bg-light",primaryCardTextColor:"text-dark",secondaryCardColor:"bg-light",secondaryCardTextColor:"text-dark",secondaryButtonColor:"bg-green-dark border-green-dark",secondaryButtonTextColor:"text-light",fillColor:"fill-light",borderColor:"border-light"}],o=e=>{let r=(0,n.NG)(e);return l.find(e=>e.name===r)}},48129:function(e,r,t){"use strict";t.d(r,{WV:function(){return i},jH:function(){return d}});var n=t(14037),l=t(19939),o=t(86608),a=t(12594),i=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,r)=>{let t=n.forwardRef((e,t)=>
1{let{asChild:n,...l}=e,i=n?o.g7:r;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,a.jsx)(i,{...l,ref:t})});return t.displayName=`Primitive.${r}`,{...e,[r]:t}},{});function d(e,r){e&&l.flushSync(()=>e.dispatchEvent(r))}},12629:function(e,r,t){"use strict";t.d(r,{default:function(){return g}});var n=t(14037),l="undefined"==typeof window?n.useEffect:n.useLayoutEffect,o="__wrap_b",a="__wrap_n",i="__wrap_o",d=(e,r,t)=>{let n=null==(t=t||document.querySelector('[data-br="'.concat(e,'"]')))?void 0:t.parentElement;if(!n)return;let l=e=>t.style.maxWidth=e+"px";t.style.maxWidth="";let o=n.clientWidth,a=n.clientHeight,i=o/2-.25,d=o+.5,s;if(o){for(l(i),i=Math.max(t.scrollWidth,i);i+1<d;)l(s=Math.round((i+d)/2)),n.clientHeight===a?d=s:i=s;l(d*r+o*(1-r))}t.__wrap_o||"undefined"!=typeof ResizeObserver&&(t.__wrap_o=new ResizeObserver(()=>{self.__wrap_b(0,+t.dataset.brr,t)})).observe(n)},s=d.toString(),c=function(e,r){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return t&&(t="self.".concat(a,"!=1&&").concat(t)),n.createElement("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:(e?"":"self.".concat(a,"=self.").concat(a,"||").concat('(self.CSS&&CSS.supports("text-wrap","balance")?1:2)',";self.").concat(o,"=").concat(s,";"))+t},nonce:r})},u=n.createContext({preferNative:!0,hasProvider:!1}),g=n.forwardRef((e,r)=>{let{ratio:t=1,preferNative:s,nonce:g,children:x,as:p,...f}=e,m=n.useMemo(()=>n.useId,[])(),h=n.useRef(),b=n.useContext(u),C=null!=s?s:b.preferNative;return n.useImperativeHandle(r,()=>h.current,[]),l(()=>{C&&1===self[a]||h.current&&(self[o]=d)(0,t,h.current)},[x,C,t]),l(()=>{if(!(C&&1===self[a]))return()=>{if(!h.current)return;let e=h.current[i];e&&(e.disconnect(),delete h.current[i])}},[C]),n.createElement(n.Fragment,null,n.createElement(p||"span",{...f,"data-br":m,"data-brr":t,ref:h,style:{display:"inline-block",verticalAlign:"top",textDecoration:"inherit",textWrap:C?"balance":"initial"},suppressHydrationWarning:!0},x),c(b.hasProvider,g,"self.".concat(o,'("').concat(m,'",').concat(t,")")))})}},function(e){e.O(0,[9070,191,5438,4760,164,9971,7007,1744],function(){return e(e.s=71240)}),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.