PageSourceSearch

https://app-v2-assets.arvore.com.br/_next/static/chunks/29rqx9s--crg9.js

js arvore.com.br collected 2026-09-24 10:19:19 UTC 50,694 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,793479,e=>{"use strict";var t=e.i(164309),r=e.i(766417),n=e.i(42634),a=e.i(933110),i=e.i(95507),o=a.forwardRef((e,a)=>{var[o,...s]=[e,a],{className:l,type:u}=o,c=(0,r._)(o,["className","type"]),[d]=s;return(0,n.jsx)("input",(0,t._)({className:(0,i.cn)("flex h-(--field-height) w-full min-w-0 max-w-[500px] rounded-(--field-radius) border border-input bg-transparent px-(--field-padding-x) py-1 text-(length:--field-font-size) shadow-xs outline-none transition-[color,box-shadow] file:inline-flex file:h-7 file:border-0 file:bg-transparent file:font-medium file:text-foreground file:text-sm placeholder:text-muted-foreground disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 dark:bg-input/30","focus-visible:border-2 focus-visible:border-ring","aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40",l),"data-slot":"input",ref:d,type:u},c))});o.displayName="Input",e.s(["Input",0,o])},134802,e=>{"use strict";var t=e.i(374313);function r(e,t){return function(){for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];try{return t(...r)}catch(e){throw Error(void 0)}}}var n=r(0,t.useTranslations),a=r(0,t.useFormatter);e.s(["useFormatter",0,a,"useTranslations",0,n])},522686,(e,t,r)=>{"use strict";function n(e){var{widthInt:t,heightInt:r,blurWidth:n,blurHeight:a,blurDataURL:i,objectFit:o}=e,s=n?40*n:t,l=a?40*a:r,u=s&&l?"viewBox='0 0 ".concat(s," ").concat(l,"'"):"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' ".concat(u,"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='").concat(20,"'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='").concat(20,"'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='").concat(u?"none":"contain"===o?"xMidYMid":"cover"===o?"xMidYMid slice":"none","' style='filter: url(%23b);' href='").concat(i,"'/%3E%3C/svg%3E")}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},672250,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={VALID_LOADERS:function(){return i},imageConfigDefault:function(){return o}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});var i=["default","imgix","cloudinary","akamai","custom"],o={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}},809838,(e,t,r)=>{"use strict";var n=e.r(196662),a=e.r(892832),i=e.r(394404);Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getImgProps",{enumerable:!0,get:function(){return f}}),e.r(93856);var o=e.r(723420),s=e.r(522686),l=e.r(672250),u=["-moz-initial","fill","none","scale-down",void 0];function c(e){return void 0!==e.default}function d(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function f(e,t){var r,f,p,[v,...g]=[e,t],{src:h,sizes:b,unoptimized:m=!1,priority:_=!1,preload:y=!1,loading:w,className:x,quality:O,width:S,height:R,fill:C=!1,style:P,overrideSrc:T,onLoad:j,onLoadingComplete:E,placeholder:I="empty",blurDataURL:N,fetchPriority:A,decoding:U="async",layout:L,objectFit:M,objectPosition:k,lazyBoundary:D,lazyRoot:z}=v,W=i._(v,["src","sizes","unoptimized","priority","preload","loading","className","quality","width","height","fill","style","overrideSrc","onLoad","onLoadingComplete","placeholder","blurDataURL","fetchPriority","decoding","layout","objectFit","objectPosition","lazyBoundary","lazyRoot"]),[B]=g,{imgConf:F,showAltText:G,blurComplete:V,defaultLoader:q}=B,J=F||l.imageConfigDefault;if("allSizes"in J)H=J;else{var H,K,X=[...J.deviceSizes,...J.imageSizes].sort((e,t)=>
1e-t),$=J.deviceSizes.sort((e,t)=>e-t),Y=null==(K=J.qualities)?void 0:K.sort((e,t)=>e-t);H=a._(n._({},J),{allSizes:X,deviceSizes:$,qualities:Y})}if(void 0===q)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});var Q=W.loader||q;delete W.loader,delete W.srcSet;var Z="__next_img_default"in Q;if(Z){if("custom"===H.loader)throw Object.defineProperty(Error('Image with src "'.concat(h,'" is missing "loader" prop.')+"\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader"),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{var ee=Q;Q=e=>{var{config:t}=e;return ee(i._(e,["config"]))}}if(L){"fill"===L&&(C=!0);var et={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[L];et&&(P=n._({},P,et));var er={responsive:"100vw",fill:"100vw"}[L];er&&!b&&(b=er)}var en="",ea=d(S),ei=d(R);if((r=h)&&"object"==typeof r&&(c(r)||void 0!==r.src)){var eo=c(h)?h.default:h;if(!eo.src)throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ".concat(JSON.stringify(eo))),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!eo.height||!eo.width)throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ".concat(JSON.stringify(eo))),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(f=eo.blurWidth,p=eo.blurHeight,N=N||eo.blurDataURL,en=eo.src,!C)if(ea||ei){if(ea&&!ei){var es=ea/eo.width;ei=Math.round(eo.height*es)}else if(!ea&&ei){var el=ei/eo.height;ea=Math.round(eo.width*el)}}else ea=eo.width,ei=eo.height}var eu=!_&&!y&&("lazy"===w||void 0===w);(!(h="string"==typeof h?h:en)||h.startsWith("data:")||h.startsWith("blob:"))&&(m=!0,eu=!1),H.unoptimized&&(m=!0),Z&&!H.dangerouslyAllowSVG&&h.split("?",1)[0].endsWith(".svg")&&(m=!0);var ec=d(O),ed=Object.assign(C?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:M,objectPosition:k}:{},G?{}:{color:"transparent"},P),ef=V||"empty"===I?null:"blur"===I?'url("data:image/svg+xml;charset=utf-8,'.concat((0,s.getImageBlurSvg)({widthInt:ea,heightInt:ei,blurWidth:f,blurHeight:p,blurDataURL:N||"",objectFit:ed.objectFit}),'")'):'url("'.concat(I,'")'),ep=u.includes(ed.objectFit)?"fill"===ed.objectFit?"100% 100%":"cover":ed.objectFit,ev=ef?{backgroundSize:ep,backgroundPosition:ed.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:ef}:{},eg=function(e){var{config:t,src:r,unoptimized:n,width:a,quality:i,sizes:s,loader:l}=e;if(n){if(r.startsWith("/")&&!r.startsWith("//")){var u=(0,o.getDeploymentId)();if(u){var c=r.indexOf("?");
1if(-1!==c){var d=new URLSearchParams(r.slice(c+1));d.get("dpl")||(d.append("dpl",u),r=r.slice(0,c)+"?"+d.toString())}else r+="?dpl=".concat(u)}}return{src:r,srcSet:void 0,sizes:void 0}}var{widths:f,kind:p}=function(e,t,r){var{deviceSizes:n,allSizes:a}=e;if(r){for(var i,o=/(^|\s)(1?\d?\d)vw/g,s=[];i=o.exec(r);)s.push(parseInt(i[2]));if(s.length){var l=.01*Math.min(...s);return{widths:a.filter(e=>e>=n[0]*l),kind:"w"}}return{widths:a,kind:"w"}}return"number"!=typeof t?{widths:n,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>a.find(t=>t>=e)||a[a.length-1]))],kind:"x"}}(t,a,s),v=f.length-1;return{sizes:s||"w"!==p?s:"100vw",srcSet:f.map((e,n)=>"".concat(l({config:t,src:r,quality:i,width:e})," ").concat("w"===p?e:n+1).concat(p)).join(", "),src:l({config:t,src:r,quality:i,width:f[v]})}}({config:H,src:h,unoptimized:m,width:ea,quality:ec,sizes:b,loader:Q}),eh=eu?"lazy":w;return{props:a._(n._({},W),{loading:eh,fetchPriority:A,width:ea,height:ei,decoding:U,className:x,style:n._({},ed,ev),sizes:eg.sizes,srcSet:eg.srcSet,src:T||eg.src}),meta:{unoptimized:m,preload:y||_,placeholder:I,fill:C}}}},365891,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return s}});var n=e.r(933110),a="u"<typeof window,i=a?()=>{}:n.useLayoutEffect,o=a?()=>{}:n.useEffect;function s(e){var t,{headManager:r,reduceComponentsToState:s}=e;function l(){if(r&&r.mountedInstances){var e=n.Children.toArray(Array.from(r.mountedInstances).filter(Boolean));r.updateHead(s(e))}}return a&&(null==r||null==(t=r.mountedInstances)||t.add(e.children),l()),i(()=>{var t;return null==r||null==(t=r.mountedInstances)||t.add(e.children),()=>{var t;null==r||null==(t=r.mountedInstances)||t.delete(e.children)}}),i(()=>(r&&(r._pendingUpdate=l),()=>{r&&(r._pendingUpdate=l)})),o(()=>(r&&r._pendingUpdate&&(r._pendingUpdate(),r._pendingUpdate=null),()=>{r&&r._pendingUpdate&&(r._pendingUpdate(),r._pendingUpdate=null)})),null}},641912,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return g},defaultHead:function(){return d}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});var i=e.r(481258),o=e.r(744066),s=e.r(42634),l=o._(e.r(933110)),u=i._(e.r(365891)),c=e.r(903175);function d(){return[(0,s.jsx)("meta",{charSet:"utf-8"},"charset"),(0,s.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function f(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===l.default.Fragment?e.concat(l.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}e.r(93856);var p=["name","httpEquiv","charSet","itemProp"];function v(e){var t,r,n,a;return e.reduce(f,[]).reverse().concat(d().reverse()).filter((t=new Set,r=new Set,n=new Set,a={},e=>{var i=!0,o=!1;if(e.key&&"number"!=typeof e.key&&e.key.indexOf("$")>0){o=!0;var s=e.key.slice(e.key.indexOf("$")+1);t.has(s)?i=!1:t.add(s)}switch(e.type){case"title":case"base":r.has(e.type)?i=!1:r.add(e.type);break;case"meta":for(var l=0,u=p.length;l<u;l++){var c=p[l];if(e.props.hasOwnProperty(c))if("charSet"===c)n.has(c)?i=!1:n.add(c);else{var d=e.props[c],f=a[c]||new Set;("name"!==c||!o)&&f.has(d)?i=!1:(f.add(d),a[c]=f)}}}return i})).reverse().map((e,t)=>{var r=e.key||t;return l.default.cloneElement(e,{key:r})})}var g=function(e){var{children:t}=e,r=(0,l.useContext)(c.HeadManagerContext);return(0,s.jsx)(u.default,{reduceComponentsToState:v,headManager:r,children:t})};("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)},323893,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ImageConfigContext",{enumerable:!0,get:function(){return i}});var n=e.r(481258)._(e.r(933110)),a=e.r(672250),i=n.default.createContext(a.imageConfigDefault)},173456,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"RouterContext",{enumerable:!0,get:function(){return n}});var n=e.r(481258)._(e.r(933110)).default.createContext(null)},560155,(e,t,r)=>{"use strict";function n(e,t){var r,n=e||75;return(null==t||null==(r=t.qualities)?void 0:r.length)?t.qualities.reduce((e,t)=>
1Math.abs(t-n)<Math.abs(e-n)?t:e,t.qualities[0]):n}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"findClosestQuality",{enumerable:!0,get:function(){return n}})},635087,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return o}});var n=e.r(560155),a=e.r(723420);function i(e){var t,{config:r,src:i,width:o,quality:s}=e,l=(0,a.getDeploymentId)();if(i.startsWith("/")&&!i.startsWith("//")){var u=i.indexOf("?");if(-1!==u){var c=new URLSearchParams(i.slice(u+1)),d=c.get("dpl");if(d){l=d,c.delete("dpl");var f=c.toString();i=i.slice(0,u)+(f?"?"+f:"")}}}if(i.startsWith("/")&&i.includes("?")&&(null==(t=r.localPatterns)?void 0:t.length)===1&&"**"===r.localPatterns[0].pathname&&""===r.localPatterns[0].search)throw Object.defineProperty(Error('Image with src "'.concat(i,'" is using a query string which is not configured in images.localPatterns.')+"\nRead more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns"),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});var p=(0,n.findClosestQuality)(s,r);return"".concat(r.path,"?url=").concat(encodeURIComponent(i),"&w=").concat(o,"&q=").concat(p).concat(i.startsWith("/")&&l?"&dpl=".concat(l):"")}i.__next_img_default=!0;var o=i},986635,(e,t,r)=>{"use strict";var n=e.r(196662),a=e.r(892832),i=e.r(394404);Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Image",{enumerable:!0,get:function(){return O}});var o=e.r(481258),s=e.r(744066),l=e.r(42634),u=s._(e.r(933110)),c=o._(e.r(355460)),d=o._(e.r(641912)),f=e.r(809838),p=e.r(672250),v=e.r(323893);e.r(93856);var g=e.r(173456),h=o._(e.r(635087)),b=e.r(241533),m={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/app-v2/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function _(e,t,r,i,o,s,l){var u=null==e?void 0:e.src;e&&e["data-loaded-src"]!==u&&(e["data-loaded-src"]=u,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&o(!0),null==r?void 0:r.current){var s=new Event("load");Object.defineProperty(s,"target",{writable:!1,value:e});var l=!1,u=!1;r.current(a._(n._({},s),{nativeEvent:s,currentTarget:e,target:e,isDefaultPrevented:()=>l,isPropagationStopped:()=>u,persist:()=>{},preventDefault:()=>{l=!0,s.preventDefault()},stopPropagation:()=>{u=!0,s.stopPropagation()}}))}(null==i?void 0:i.current)&&i.current(e)}}))}function y(e){return u.use?{fetchPriority:e}:{fetchpriority:e}}"u"<typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);var w=(0,u.forwardRef)((e,t)=>{var[r,...o]=[e,t],{src:s,srcSet:c,sizes:d,height:f,width:p,decoding:v,className:g,style:h,fetchPriority:m,placeholder:w,loading:x,unoptimized:O,fill:S,onLoadRef:R,onLoadingCompleteRef:C,setBlurComplete:P,setShowAltText:T,sizesInput:j,onLoad:E,onError:I}=r,N=i._(r,["src","srcSet","sizes","height","width","decoding","className","style","fetchPriority","placeholder","loading","unoptimized","fill","onLoadRef","onLoadingCompleteRef","setBlurComplete","setShowAltText","sizesInput","onLoad","onError"]),[A]=o,U=(0,u.useCallback)(e=>{e&&(I&&(e.src=e.src),e.complete&&_(e,w,R,C,P,O,j))},[s,w,R,C,P,I,O,j]),L=(0,b.useMergedRef)(A,U);return(0,l.jsx)("img",a._(n._({},N,y(m)),{loading:x,width:p,height:f,decoding:v,"data-nimg":S?"fill":"1",className:g,style:h,sizes:d,srcSet:c,src:s,ref:L,onLoad:e=>{_(e.currentTarget,w,R,C,P,O,j)},onError:e=>{T(!0),"empty"!==w&&P(!0),I&&I(e)}}))});function x(e){var{isAppRouter:t,imgAttributes:r}=e,a=n._({as:"image",imageSrcSet:r.srcSet,imageSizes:r.sizes,crossOrigin:r.crossOrigin,referrerPolicy:r.referrerPolicy},y(r.fetchPriority));return t&&c.default.preload?(c.default.preload(r.src,a),null):(0,l.jsx)(d.default,{children:(0,l.jsx)("link",n._({rel:"preload",href:r.srcSet?void 0:r.src},a),"__nimg-"+r.src+r.srcSet+r.sizes)})}var O=(0,u.forwardRef)((e,t)=>{var r=(0,u.useContext)(g.RouterContext),i=(0,u.useContext)(v.ImageConfigContext),o=(0,u.useMemo)(()=>{var e,t=m||i||p.imageConfigDefault,r=[...t.deviceSizes,...t.imageSizes].sort((e,t)=>
1e-t),o=t.deviceSizes.sort((e,t)=>e-t),s=null==(e=t.qualities)?void 0:e.sort((e,t)=>e-t);return a._(n._({},t),{allSizes:r,deviceSizes:o,qualities:s,localPatterns:"u"<typeof window?null==i?void 0:i.localPatterns:t.localPatterns})},[i]),{onLoad:s,onLoadingComplete:c}=e,d=(0,u.useRef)(s);(0,u.useEffect)(()=>{d.current=s},[s]);var b=(0,u.useRef)(c);(0,u.useEffect)(()=>{b.current=c},[c]);var[_,y]=(0,u.useState)(!1),[O,S]=(0,u.useState)(!1),{props:R,meta:C}=(0,f.getImgProps)(e,{defaultLoader:h.default,imgConf:o,blurComplete:_,showAltText:O});return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(w,a._(n._({},R),{unoptimized:C.unoptimized,placeholder:C.placeholder,fill:C.fill,onLoadRef:d,onLoadingCompleteRef:b,setBlurComplete:y,setShowAltText:S,sizesInput:e.sizes,ref:t})),C.preload?(0,l.jsx)(x,{isAppRouter:!r,imgAttributes:R}):null]})});("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)},828242,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return c},getImageProps:function(){return u}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});var i=e.r(481258),o=e.r(809838),s=e.r(986635),l=i._(e.r(635087));function u(e){var{props:t}=(0,o.getImgProps)(e,{defaultLoader:l.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/app-v2/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(var[r,n]of Object.entries(t))void 0===n&&delete t[r];return{props:t}}var c=s.Image},580891,(e,t,r)=>{t.exports=e.r(828242)},865628,e=>{"use strict";var t=e.i(882428);e.s(["ArrowLeftIcon",()=>t.default])},95507,597282,e=>{"use strict";var t=e.i(7284),r=e.i(923191),n=[{value:"meio-ambiente",label:"Meio Ambiente"},{value:"politica-economia",label:"Política e Economia"},{value:"cultura-entretenimento",label:"Cultura e Entretenimento"},{value:"esportes",label:"Esportes"},{value:"ciencia-tecnologia",label:"Ciência e Tecnologia"},{value:"brasil-sociedade",label:"Brasil e Sociedade"},{value:"mundo-geopolitica",label:"Mundo e Geopolítica"},{value:"cronicas",label:"Crônicas"},{value:"tirinhas",label:"Tirinhas"},{value:"educacao",label:"Educação"},{value:"saude-bem-estar",label:"Saúde e Bem-Estar"},{value:"comportamento-tendencias",label:"Comportamento e Tendências"}];e.s(["ACTIVITY_THEMES",0,n],597282),e.s(["base64ToFile",0,(e,t)=>{var r=e.includes(",")?e.split(",")[1]:e;try{for(var n=atob(r),a=Array(n.length),i=0;i<n.length;i++)a[i]=n.codePointAt(i);var o=new Uint8Array(a),s=e.startsWith("data:")?e.slice(5,e.indexOf(";")):"image/jpeg";return new File([o],t,{type:s})}catch(e){throw Error("String base64 inválida")}},"cn",0,function(){for(var e=arguments.length,n=Array(e),a=0;a<e;a++)n[a]=arguments[a];return(0,r.twMerge)((0,t.clsx)(n))},"formatActivityTheme",0,e=>{var t;return null==(t=n.find(t=>t.value===e))?void 0:t.label},"formatDifficultyLevel",0,e=>e?({beginner:"Iniciante",advanced:"Avançado",intermediate:"Intermediário"})[e.toLowerCase()]||e:"Não informado","formatQuestionType",0,e=>e?({objective:"Objetiva",discursive:"Discursiva",matching_pair:"Relacionar colunas",matching_pairs:"Relacionar colunas",multiple_choice:"Múltipla escolha",open_ended:"Discursiva",true_false:"Verdadeiro ou falso",fill_blank:"Completar lacunas",essay:"Dissertativa"})[e.toLowerCase()]||e.charAt(0).toUpperCase()+e.slice(1).toLowerCase().replaceAll("_"," "):"Não informado","isQuillContentEmpty",0,e=>{if(!(null==e?void 0:e.trim()))return!0;try{var t=JSON.parse(e);if(t.ops){var r=t.ops.map(e=>"string"==typeof e.insert?e.insert:"").join("").trim();return 0===r.length}}catch(e){}return 0===e.trim().length},"normalizeString",0,e=>e.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,""),"numberToLetter",0,e=>String.fromCodePoint(65+e),"numberWithLeadingZero",0,e=>e<10?"0".concat(e):e.toString(),"parseLocalDate",0,e=>{var[t,r,n]=e.split("T")[0].split("-").map(Number);return new Date(t,r-1,n)}],95507)},430406,e=>{"use strict";var t=e.i(933110);function r(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function n(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return e=>{var n=!1,a=t.map(t=>{var a=r(t,e);return n||"function"!=typeof a||(n=!0),a});if(n)return()=>{for(var e=0;e<a.length;e++){var n=a[e];"function"==typeof n?n():r(t[e],null)}}}}e.s(["composeRefs",0,n,"useComposedRefs",0,function(){for(var e=arguments.length,r=Array(e),a=0;a<e;a++)r[a]=arguments[a];return t.useCallback(n(...r),r)}])},614433,e=>{"use strict";var t=e.i(164309),r=e.i(784544),n=e.i(766417),a=e.i(933110),i=e.i(430406),o=e.i(42634),s=Symbol.for("react.lazy"),l=a[" use ".trim().toString()];function u(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===s&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}function c(e){var s,c,d=(s=e,(c=a.forwardRef((e,r)=>{var{children:o}=e,s=(0,n._)(e,["children"]);if(u(o)&&"function"==typeof l&&(o=l(o._payload)),a.isValidElement(o)){var c,d,f,p,v,g=(v=(p=null==(d=Object.getOwnPropertyDescriptor((c=o).props,"ref"))?void 0:d.get)&&"isReactWarning"in p&&p.isReactWarning)?c.ref:(v=(p=null==(f=Object.getOwnPropertyDescriptor(c,"ref"))?void 0:f.get)&&"isReactWarning"in p&&p.isReactWarning)?c.props.ref:c.props.ref||c.ref,h=function(e,r){var n=(0,t._)({},r);for(var a in r)!function(a){var i=e[a],o=r[a];/^on[A-Z]/.test(a)?i&&o?n[a]=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=o(...t);return i(...t),n}:i&&(n[a]=i):"style"===a?n[a]=(0,t._)({}
1,i,o):"className"===a&&(n[a]=[i,o].filter(Boolean).join(" "))}(a);return(0,t._)({},e,n)}(s,o.props);return o.type!==a.Fragment&&(h.ref=r?(0,i.composeRefs)(r,g):g),a.cloneElement(o,h)}return a.Children.count(o)>1?a.Children.only(null):null})).displayName="".concat(s,".SlotClone"),c),f=a.forwardRef((e,i)=>{var{children:s}=e,c=(0,n._)(e,["children"]);u(s)&&"function"==typeof l&&(s=l(s._payload));var f=a.Children.toArray(s),v=f.find(p);if(v){var g=v.props.children,h=f.map(e=>e!==v?e:a.Children.count(g)>1?a.Children.only(null):a.isValidElement(g)?g.props.children:null);return(0,o.jsx)(d,(0,r._)((0,t._)({},c),{ref:i,children:a.isValidElement(g)?a.cloneElement(g,void 0,h):null}))}return(0,o.jsx)(d,(0,r._)((0,t._)({},c),{ref:i,children:s}))});return f.displayName="".concat(e,".Slot"),f}var d=c("Slot"),f=Symbol("radix.slottable");function p(e){return a.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===f}e.s(["Slot",0,d,"createSlot",0,c])},294237,e=>{"use strict";var t=e.i(164309),r=e.i(766417),n=e.i(7284),a=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,i=n.clsx;e.s(["cva",0,(e,n)=>o=>{if((null==n?void 0:n.variants)==null)return i(e,null==o?void 0:o.class,null==o?void 0:o.className);var s,{variants:l,defaultVariants:u}=n,c=Object.keys(l).map(e=>{var t=null==o?void 0:o[e],r=null==u?void 0:u[e];if(null===t)return null;var n=a(t)||a(r);return l[e][n]}),d=o&&Object.entries(o).reduce((e,t)=>{var[r,n]=t;return void 0===n||(e[r]=n),e},{});return i(e,c,null==n||null==(s=n.compoundVariants)?void 0:s.reduce((e,n)=>{var{class:a,className:i}=n;return Object.entries((0,r._)(n,["class","className"])).every(e=>{var[r,n]=e;return Array.isArray(n)?n.includes((0,t._)({},u,d)[r]):(0,t._)({},u,d)[r]===n})?[...e,a,i]:e},[]),null==o?void 0:o.class,null==o?void 0:o.className)}])},519455,e=>{"use strict";var t=e.i(164309),r=e.i(766417),n=e.i(42634),a=e.i(614433),i=e.i(294237),o=e.i(95507),s=(0,i.cva)("inline-flex shrink-0 cursor-pointer items-center justify-center gap-2 whitespace-nowrap rounded-large border border-transparent font-bold text-[16px] outline-none transition-all focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-white disabled:pointer-events-none disabled:cursor-not-allowed disabled:border-transparent aria-invalid:border-destructive aria-invalid:ring-destructive/20 [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary-600 disabled:bg-muted disabled:text-gray-400",destructive:"bg-destructive text-white hover:bg-error-600 disabled:bg-muted disabled:text-gray-400",outline:"border-gray-400 bg-white text-gray-700 hover:border-gray-900 hover:text-gray-900 disabled:bg-muted disabled:text-gray-400",secondary:"border-gray-400 bg-white text-gray-700 hover:border-gray-900 hover:text-gray-900 disabled:bg-muted disabled:text-gray-400",ghost:"text-gray-700 hover:bg-muted hover:text-gray-900 disabled:bg-transparent disabled:text-gray-400",link:"text-primary underline-offset-4 hover:text-primary-600 hover:underline disabled:bg-transparent disabled:text-gray-400 disabled:no-underline"},size:{default:"h-12 p-3 has-[>svg]:px-3",sm:"h-8 gap-1.5 rounded-large px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-large p-3 has-[>svg]:px-4",icon:"size-[22px] rounded-medium p-1"}},defaultVariants:{variant:"default",size:"default"}});e.s(["Button",0,function(e){var{className:i,variant:l,size:u,asChild:c=!1}=e,d=(0,r._)(e,["className","variant","size","asChild"]),f=c?a.Slot:"button";return(0,n.jsx)(f,(0,t._)({className:(0,o.cn)(s({variant:l,size:u,className:i})),"data-slot":"button"},d))},"buttonVariants",0,s])},557673,(e,t,r)=>{"use strict";r._=function(e,t){if(null==e)return{};var r,n,a={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}},394404,(e,t,r)=>{"use strict";var n=e.r(557673);r._=function(e,t){if(null==e)return{};var r,a,i=n._(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)r=o[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}},241533,(e,t,r)=>{"use strict";
1Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return a}});var n=e.r(933110);function a(e,t){var r=(0,n.useRef)(null),a=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){var o=r.current;o&&(r.current=null,o());var s=a.current;s&&(a.current=null,s())}else e&&(r.current=i(e,n)),t&&(a.current=i(t,n))},[e,t])}function i(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};var r=e(t);return"function"==typeof r?r:()=>e(null)}("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)},15196,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return s},formatWithValidation:function(){return u},urlObjectKeys:function(){return l}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});var i=e.r(744066)._(e.r(403781)),o=/https?|ftp|gopher|file/;function s(e){var{auth:t,hostname:r}=e,n=e.protocol||"",a=e.pathname||"",s=e.hash||"",l=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:r&&(u=t+(~r.indexOf(":")?"[".concat(r,"]"):r),e.port&&(u+=":"+e.port)),l&&"object"==typeof l&&(l=String(i.urlQueryToSearchParams(l)));var c=e.search||l&&"?".concat(l)||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||o.test(n))&&!1!==u?(u="//"+(u||""),a&&"/"!==a[0]&&(a="/"+a)):u||(u=""),s&&"#"!==s[0]&&(s="#"+s),c&&"?"!==c[0]&&(c="?"+c),a=a.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),"".concat(n).concat(u).concat(a).concat(c).concat(s)}var l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return s(e)}},71745,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return i}});var n=e.r(289763),a=e.r(735384);function i(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{var t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,a.hasBasePath)(r.pathname)}catch(e){return!1}}},451524,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});var n=e=>{}},736845,(e,t,r)=>{"use strict";var n=e.r(196662),a=e.r(892832),i=e.r(394404);Object.defineProperty(r,"__esModule",{value:!0});var o={default:function(){return y},useLinkStatus:function(){return x}};for(var s in o)Object.defineProperty(r,s,{enumerable:!0,get:o[s]});var l=e.r(744066),u=e.r(42634),c=l._(e.r(933110)),d=e.r(15196),f=e.r(539803),p=e.r(241533),v=e.r(289763),g=e.r(980622);e.r(93856);var h=e.r(407528),b=e.r(346338),m=e.r(71745),_=e.r(503196);function y(t){var r,o,s,l,y,[x,O]=(0,c.useOptimistic)(b.IDLE_LINK_STATUS),S=(0,c.useRef)(null),{href:R,as:C,children:P,prefetch:T=null,passHref:j,replace:E,shallow:I,scroll:N,onClick:A,onMouseEnter:U,onTouchStart:L,legacyBehavior:M=!1,onNavigate:k,transitionTypes:D,ref:z,unstable_dynamicOnHover:W}=t,B=i._(t,["href","as","children","prefetch","passHref","replace","shallow","scroll","onClick","onMouseEnter","onTouchStart","legacyBehavior","onNavigate","transitionTypes","ref","unstable_dynamicOnHover"]);s=P,M&&("string"==typeof s||"number"==typeof s)&&(s=(0,u.jsx)("a",{children:s}));var F=c.default.useContext(f.AppRouterContext),G=!1!==T,V=!1!==T?null===(r=T)||"auto"===r?_.FetchStrategy.PPR:_.FetchStrategy.Full:_.FetchStrategy.PPR,q="string"==typeof(o=C||R)?o:(0,d.formatUrl)(o);if(M){if((null==s?void 0:s.$$typeof)===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});l=c.default.Children.only(s)}var J=M?l&&"object"==typeof l&&l.ref:z,H=c.default.useCallback(e=>(null!==F&&(S.current=(0,b.mountLinkInstance)(e,q,F,V,G,O)),()=>{S.current&&((0,b.unmountLinkForCurrentNavigation)(S.current),S.current=null),(0,b.unmountPrefetchableInstance)(e)}),[G,q,F,V,O]),K={ref:(0,p.useMergedRef)(H,J),onClick(t){M||"function"!=typeof A||A(t),M&&l.props&&"function"==typeof l.props.onClick&&l.props.onClick(t),!F||t.defaultPrevented||function(t,r,n,a,i,o,s){if
1("u">typeof window){var l,{nodeName:u}=t.currentTarget;if(!("A"===u.toUpperCase()&&((l=t.currentTarget.getAttribute("target"))&&"_self"!==l||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))){if(!(0,m.isLocalURL)(r)){a&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),o){var d=!1;if(o({preventDefault:()=>{d=!0}}),d)return}var{dispatchNavigateAction:f}=e.r(153318);c.default.startTransition(()=>{f(r,a?"replace":"push",!1===i?h.ScrollBehavior.NoScroll:h.ScrollBehavior.Default,n.current,s)})}}}(t,q,S,E,N,k,D)},onMouseEnter(e){M||"function"!=typeof U||U(e),M&&l.props&&"function"==typeof l.props.onMouseEnter&&l.props.onMouseEnter(e),!F||G&&(0,b.onNavigationIntent)(e.currentTarget,!0===W)},onTouchStart:function(e){M||"function"!=typeof L||L(e),M&&l.props&&"function"==typeof l.props.onTouchStart&&l.props.onTouchStart(e),!F||G&&(0,b.onNavigationIntent)(e.currentTarget,!0===W)}};return(0,v.isAbsoluteUrl)(q)?K.href=q:M&&!j&&("a"!==l.type||"href"in l.props)||(K.href=(0,g.addBasePath)(q)),y=M?c.default.cloneElement(l,K):(0,u.jsx)("a",a._(n._({},B,K),{children:s})),(0,u.jsx)(w.Provider,{value:x,children:y})}e.r(451524);var w=(0,c.createContext)(b.IDLE_LINK_STATUS),x=()=>(0,c.useContext)(w);("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)},232233,e=>{"use strict";var t=e.i(925746);e.s(["ArrowRightIcon",()=>t.default])},102223,e=>{"use strict";e.s(["isIOS",0,function(){return/iPad|iPhone|iPod/.test(window.navigator.userAgent)},"isReactNativeWebView",0,function(){return!!window.ReactNativeWebView},"isSecureContext",0,function(){return window.isSecureContext||"https:"===window.location.protocol}])},839665,e=>{"use strict";var t=e.i(839869);e.s(["InfoIcon",()=>t.default])},902166,e=>{"use strict";var t="disabled:cursor-not-allowed disabled:bg-[var(--writing-grey-300)] disabled:text-[var(--writing-grey-500)] disabled:shadow-none",r="bg-[var(--writing-pink-600)] text-white shadow-[0_3px_0_var(--writing-pink-700)] transition-[background-color,box-shadow,translate] hover:bg-[var(--writing-pink-700)] focus-visible:ring-[var(--writing-pink-600)] active:translate-y-[2px] active:shadow-[0_1px_0_var(--writing-pink-700)] ".concat(t," motion-reduce:transition-none"),n="bg-[var(--writing-blue-600)] text-white shadow-[0_3px_0_var(--writing-blue-700)] transition-[background-color,box-shadow,translate] hover:bg-[var(--writing-blue-700)] focus-visible:ring-[var(--writing-blue-600)] active:translate-y-[2px] active:shadow-[0_1px_0_var(--writing-blue-700)] ".concat(t," motion-reduce:transition-none"),a="bg-[var(--writing-blue-600)] text-white transition-colors hover:bg-[var(--writing-blue-700)] focus-visible:ring-[var(--writing-blue-600)] ".concat(t," motion-reduce:transition-none"),i="bg-[var(--writing-green-700)] text-white shadow-[0_3px_0_var(--writing-green-900)] transition-[background-color,box-shadow,translate] hover:bg-[var(--writing-green-900)] focus-visible:ring-[var(--writing-green-700)] active:translate-y-[2px] active:shadow-[0_1px_0_var(--writing-green-900)] ".concat(t," motion-reduce:transition-none"),o="bg-[var(--writing-red-600)] text-white shadow-[0_3px_0_var(--writing-red-700)] transition-[background-color,box-shadow,translate] hover:bg-[var(--writing-red-700)] focus-visible:ring-[var(--writing-red-600)] active:translate-y-[2px] active:shadow-[0_1px_0_var(--writing-red-700)] ".concat(t," motion-reduce:transition-none"),s="border-[var(--writing-grey-300)] bg-white text-[var(--writing-grey-1000)] shadow-[0_3px_0_var(--writing-grey-300)] transition-[background-color,box-shadow,translate] hover:bg-[var(--writing-grey-100)] focus-visible:ring-[var(--writing-grey-1000)] active:translate-y-[2px] active:shadow-[0_1px_0_var(--writing-grey-300)] ".concat(t," motion-reduce:transition-none"),l="border-[var(--writing-green-500)] bg-[var(--writing-green-100)] font-bold text-[var(--writing-green-900)] shadow-[0_3px_0_var(--writing-green-500)] transition-[background-color,box-shadow,translate] hover:bg-[var(--writing-green-100)]/70 focus-visible:ring-[var(--writing-green-700)] active:translate-y-[2px] active:shadow-[0_1px_0_var(--writing-green-500)] ".concat(t," motion-reduce:transition-none");e.s(["WRITING_BLUE_BUTTON",0,n,"WRITING_BLUE_BUTTON_FLAT",0,a,"WRITING_BUTTON_DISABLED",0,t,"WRITING_BUTTON_LOCKED",0,"aria-disabled:cursor-not-allowed aria-disabled:bg-[var(--writing-grey-300)] aria-disabled:text-[var(--writing-grey-500)] aria-disabled:shadow-none aria-disabled:hover:bg-[var(--writing-grey-300)] aria-disabled:active:translate-y-0 aria-disabled:active:shadow-none","WRITING_DANGER_BUTTON",0,o,"WRITING_GREEN_BUTTON",0,i,"WRITING_GREEN_OUTLINE_BUTTON",0,l,"WRITING_OUTLINE_BUTTON",0,s,"WRITING_PRIMARY_BUTTON",0,r,"WRITING_SECTION_ACTION",0,"relative flex min-h-9 items-center gap-1 rounded-lg px-2 font-bold text-[var(--writing-grey-800)] text-sm transition-colors before:absolute before:inset-x-0 before:-inset-y-1 before:content-[''] hover:bg-[var(--writing-grey-100)] hover:text-[var(--writing-grey-1000)] focus-visible:outline-2 focus-visible:outline-offset-2 motion-reduce:transition-none"])},895423,e=>{"use strict";var t=e.i(336587);e.s(["EyeIcon",()=>t.default])},516919,e=>{"use strict";var t=e.i(515843);e.s(["InformationIcon",()=>t.default])},90912,e=>{"use strict";var t=e.i(185588);e.s(["EyeOffIcon",()=>t.default])},544796,e=>{"use strict";var t,r,n,a=e.i(632377),i=e.i(964234),o=e.i(22529),s=e.i(858465),l="https://wa.me/".concat("5521981661218","?text=").concat(encodeURIComponent("Olá! Tentei acessar a Árvore e meu acesso está inativo. Pode me ajudar?")),u="/app-v2",c="".concat(i.ARVORE_FRONTEND_URL,"/biblioteca"),d=null!=(t=a.default.env.NEXT_PUBLIC_SUPERAUTOR_FRONTEND_URL)?t:"https://sistema.superautor.com.br",f={br:"http://superautor.com.br/termos-de-uso-2024/",us:"".concat(o.BASE_PATH,"/legal/terms")},p={CLIENT_ID:null!=(r=a.default.env.NEXT_PUBLIC_OAUTH2_CLIENT_ID)?r:"arvore",REDIRECT_URI:null!=(n=a.default.env.NEXT_PUBLIC_OAUTH2_REDIRECT_URI)?n:"http://localhost:3000/auth/callback",RESPONSE_TYPE:"code",SCOPE:"openid profile email"},v=["arvore.com.br","livros.arvore.com.br","arvore.dev","superautor.com.br","sistema.superautor.com.br","superauthor.com","app.superauthor.com","localhost"];e.s(["AUTH_ROUTES",0,{LOGIN:"/login",LOGOUT:"/logout",CALLBACK:"/auth/callback",FORGOT_PASSWORD:"/login/forgot-password",RESET_PASSWORD:"/login/reset-password",FIRST_ACCESS:"/login/first-access"},"CLIENT_ID_STORAGE_KEY",0,"arvore_last_client_id","DEFAULT_REDIRECT_PATH",0,c,"LOGIN_ERROR_MESSAGES",0,{invalid_credentials:"Email ou senha incorretos. Tente novamente.",rate_limit:"Muitas tentativas. Aguarde alguns minutos e tente novamente.",network_error:"Erro de conexão. Verifique sua internet e tente novamente.",unknown:"Ocorreu um erro. Tente novamente mais tarde."},"OAUTH2_CONFIG",0,p,"SUPERAUTOR_INSTITUTIONAL_URL",0,"https://superautor.com.br","SUPPORT_WHATSAPP_DISPLAY",0,"(21) 98166-1218","SUPPORT_WHATSAPP_URL",0,l,"getDefaultRedirectUriForClientId",0,function(e){return(null==e?void 0:e.includes("superautor"))||(null==e?void 0:e.includes("super"))?(0,s.isPreview)()&&globalThis.window?"".concat(globalThis.window.location.origin,"/auth/callback"):"".concat(d,"/auth/callback"):(0,s.isPreview)()&&globalThis.window?"".concat(globalThis.window.location.origin,"/api-arvore/auth/callback"):"".concat(i.ARVORE_FRONTEND_URL,"/api-arvore/auth/callback")},"getDefaultRedirectUrlForClientId",0,function(e){return(null==e?void 0:e.includes("superautor"))||(null==e?void 0:e.includes("super"))?d:i.ARVORE_FRONTEND_URL},"isAllowedRedirectUrl",0,function(e){if(e.startsWith("/"))return!0;try{var t=new URL(e).hostname;return v.some(e=>t===e||t.endsWith(".".concat(e)))}catch(e){return!1}},"superautorTermsUrl",0,function(e){return f[e]},"toExternalRedirectPath",0,function(e){return e.startsWith("/")&&!e.startsWith(u)?"".concat(u).
1concat(e):e}])},981060,e=>{"use strict";var t=e.i(42634),r=e.i(933110),n=e.i(95507),a=r.forwardRef((e,a)=>{var{id:i,label:o,type:s="text",value:l,onChange:u,onKeyDown:c,disabled:d,autoFocus:f,autoComplete:p,autoCapitalize:v,autoCorrect:g,spellCheck:h,error:b,helperText:m,"aria-describedby":_,className:y,inputMode:w,maxLength:x,endAdornment:O}=e,[S,R]=r.useState(!1),C=l.length>0,P=S||C,T=m?"".concat(i,"-helper"):void 0,j=[_,T].filter(Boolean).join(" ")||void 0;return(0,t.jsxs)("div",{className:(0,n.cn)("w-full",y),children:[(0,t.jsxs)("div",{className:(0,n.cn)("relative h-12 min-w-0 rounded-large border text-left transition-colors",S?"border-2 border-ring":"border-gray-700",b&&"border-destructive",d&&"cursor-not-allowed bg-gray-100"),"data-slot":"floating-field",children:[(0,t.jsx)("input",{"aria-describedby":j,"aria-invalid":b,autoCapitalize:v,autoComplete:p,autoCorrect:g,autoFocus:f,className:(0,n.cn)("peer absolute inset-0 h-full w-full rounded-large bg-transparent px-4 text-base text-gray-700 outline-none placeholder-transparent",O&&"pr-12",d&&"cursor-not-allowed"),disabled:d,id:i,inputMode:w,maxLength:x,onBlur:()=>R(!1),onChange:u,onFocus:()=>R(!0),onKeyDown:c,placeholder:o,ref:a,spellCheck:h,type:s,value:l}),O?(0,t.jsx)("div",{className:"absolute right-3 top-1/2 z-10 flex -translate-y-1/2 items-center",children:O}):null,(0,t.jsx)("label",{className:(0,n.cn)("pointer-events-none absolute left-4 origin-left transition-all duration-150",b?"text-destructive":"text-gray-700",P?"-translate-y-1/2 top-0 left-3 px-1 text-sm":"top-1/2 -translate-y-1/2 text-base"),htmlFor:i,style:P?{backgroundColor:"var(--floating-label-bg, #fff)"}:void 0,children:o})]}),m&&(0,t.jsx)("p",{className:(0,n.cn)("mt-1 px-1 text-sm",b?"text-destructive":"text-gray-600"),id:T,children:m})]})});a.displayName="FloatingInput",e.s(["FloatingInput",0,a])},605789,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"BailoutToCSR",{enumerable:!0,get:function(){return a}});var n=e.r(963246);function a(e){var{reason:t,children:r}=e;if("u"<typeof window)throw Object.defineProperty(new n.BailoutToCSRError(t),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return r}},938840,(e,t,r)=>{"use strict";function n(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"encodeURIPath",{enumerable:!0,get:function(){return n}})},698914,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"PreloadChunks",{enumerable:!0,get:function(){return l}});var n=e.r(42634),a=e.r(355460),i=e.r(60355),o=e.r(938840),s=e.r(723420);function l(e){var{moduleIds:t}=e;if("u">typeof window)return null;var r=i.workAsyncStorage.getStore();if(void 0===r)return null;var l=[];if(r.reactLoadableManifest&&t){var u=r.reactLoadableManifest;for(var c of t)if(u[c]){var d=u[c].files;l.push(...d)}}if(0===l.length)return null;var f=(0,s.getAssetTokenQuery)();return(0,n.jsx)(n.Fragment,{children:l.map(e=>{var t="".concat(r.assetPrefix,"/_next/").concat((0,o.encodeURIPath)(e)).concat(f);return e.endsWith(".css")?(0,n.jsx)("link",{precedence:"dynamic",href:t,rel:"stylesheet",as:"style",nonce:r.nonce},e):((0,a.preload)(t,{as:"script",fetchPriority:"low",nonce:r.nonce}),null)})})}},368981,(e,t,r)=>{"use strict";var n=e.r(196662),a=e.r(892832);Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return d}});var i=e.r(42634),o=e.r(933110),s=e.r(605789),l=e.r(698914);function u(e){return{default:e&&"default"in e?e.default:e}}var c={loader:()=>Promise.resolve(u(()=>null)),loading:null,ssr:!0},d=function(e){var t=n._({},c,e),r=(0,o.lazy)(()=>t.loader().then(u)),d=t.loading;function f(e){var u=d?(0,i.jsx)(d,{isLoading:!0,pastDelay:!0,error:null}):null,c=!t.ssr||!!t.loading,f=c?o.Suspense:o.Fragment,p=t.ssr?(0,i.jsxs)(i.Fragment,{children:["u"<typeof window?(0,i.jsx)(l.PreloadChunks,{moduleIds:t.modules}):null,(0,i.jsx)(r,n._({},e))]}):(0,i.jsx)(s.BailoutToCSR,{reason:"next/dynamic",children:(0,i.jsx)(r,n._({},e))});return(0,i.jsx)(f,a._(n._({}
1,c?{fallback:u}:{}),{children:p}))}return f.displayName="LoadableComponent",f}},191822,(e,t,r)=>{"use strict";var n=e.r(196662),a=e.r(892832);Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return o}});var i=e.r(481258)._(e.r(368981));function o(e,t){var r,o={};"function"==typeof e&&(o.loader=e);var s=n._({},o,t);return(0,i.default)(a._(n._({},s),{modules:null==(r=s.loadableGenerated)?void 0:r.modules}))}("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)},560017,e=>{"use strict";var t=e.i(102223);e.s(["sendOpenReaderMessage",0,function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t?window.open(e,"_blank","noopener,noreferrer"):window.location.href=e},"sendOpenReadingFluencyMessage",0,function(e){(0,t.isReactNativeWebView)()&&window.ReactNativeWebView?window.ReactNativeWebView.postMessage(JSON.stringify({msg:"open_reading_fluency"})):window.location.href=e},"sendStartActivityMessage",0,function(e,t){window.location.href=t},"sendWebViewMessage",0,function(e){(0,t.isReactNativeWebView)()&&window.ReactNativeWebView&&window.ReactNativeWebView.postMessage(JSON.stringify(e))}])},445631,e=>{"use strict";var t=e.i(675655);e.s(["ChatMessageIcon",()=>t.default])},870836,e=>{"use strict";var t=e.i(844847),r=e.i(164309),n=e.i(784544),a=e.i(353633);e.s(["biblionRegistrationControllerCheckEmail",0,(e,i)=>(0,t._)(function*(){var t,o;return(0,a.customInstance)((t=new URLSearchParams,Object.entries(e||{}).forEach(e=>{var[r,n]=e;void 0!==n&&t.append(r,null===n?"null":n.toString())}),(o=t.toString()).length>0?"/api-arvore/biblion/registration/email-availability?".concat(o):"/api-arvore/biblion/registration/email-availability"),(0,n._)((0,r._)({},i),{method:"GET"}))})(),"biblionRegistrationControllerConfirm",0,(e,i)=>(0,t._)(function*(){return(0,a.customInstance)("/api-arvore/biblion/registration/confirm",(0,n._)((0,r._)({},i),{method:"POST",headers:(0,r._)({"Content-Type":"application/json"},null==i?void 0:i.headers),body:JSON.stringify(e)}))})(),"biblionRegistrationControllerConfirmGuardianConsent",0,(e,i)=>(0,t._)(function*(){return(0,a.customInstance)("/api-arvore/biblion/registration/guardian-consent/confirm",(0,n._)((0,r._)({},i),{method:"POST",headers:(0,r._)({"Content-Type":"application/json"},null==i?void 0:i.headers),body:JSON.stringify(e)}))})(),"biblionRegistrationControllerGetGuardianConsentByToken",0,(e,i)=>(0,t._)(function*(){return(0,a.customInstance)("/api-arvore/biblion/registration/guardian-consent/".concat(e),(0,n._)((0,r._)({},i),{method:"GET"}))})(),"biblionRegistrationControllerListLibraries",0,e=>(0,t._)(function*(){return(0,a.customInstance)("/api-arvore/biblion/registration/libraries",(0,n._)((0,r._)({},e),{method:"GET"}))})(),"biblionRegistrationControllerRegister",0,(e,i)=>(0,t._)(function*(){return(0,a.customInstance)("/api-arvore/biblion/registration",(0,n._)((0,r._)({},i),{method:"POST",headers:(0,r._)({"Content-Type":"application/json"},null==i?void 0:i.headers),body:JSON.stringify(e)}))})(),"biblionRegistrationControllerRequestPasswordSetup",0,(e,i)=>(0,t._)(function*(){return(0,a.customInstance)("/api-arvore/biblion/registration/request-password-setup",(0,n._)((0,r._)({},i),{method:"POST",headers:(0,r._)({"Content-Type":"application/json"},null==i?void 0:i.headers),body:JSON.stringify(e)}))})(),"biblionRegistrationControllerResend",0,(e,i)=>(0,t._)(function*(){return(0,a.customInstance)("/api-arvore/biblion/registration/resend",(0,n._)((0,r._)({},i),{method:"POST",headers:(0,r._)({"Content-Type":"application/json"},null==i?void 0:i.headers),body:JSON.stringify(e)}))})(),"biblionRegistrationControllerResendGuardianConsent",0,(e,i)=>(0,t._)(function*(){return(0,a.customInstance)("/api-arvore/biblion/registration/guardian-consent/resend",(0,n._)((0,r._)({},i),{method:"POST",headers:(0,r._)({"Content-Type":"application/json"},null==i?void 0:i.headers),body:JSON.stringify(e)}))})()])},412454,e=>{"use strict";var t=e.i(844847),r=e.i(164309),n=e.i(784544),a=e.i(353633);e.s(["authControllerForgotPassword",0,(e,i)=>(0,t._)(function*(){return(0,a.customInstance)("/api-arvore/auth/forgot-password",(0,n._)((0,r._)({},i),{method:"POST",headers:(0,r._)({"Content-Type":"application/json"},null==i?void 0:i.headers),body:JSON.stringify(e)}))})(),"authControllerListResetSelectionAccounts",0,(e,i)=>(0,t._)(function*(){return(0,a.customInstance)("/api-arvore/auth/reset-password/options/".concat(e),(0,n._)((0,r._)({},i),{method:"GET"}))})(),"authControllerListSelectionAccounts",0,(e,i)=>(0,t._)(function*(){return(0,a.customInstance)("/api-arvore/auth/login/select/".concat(e),(0,n._)((0,r._)({},i),{method:"GET"}))})(),"authControllerLogin",0,(e,i)=>(0,t._)(function*(){return(0,a.customInstance)("/api-arvore/auth/login",(0,n._)((0,r._)({},i),{method:"POST",headers:(0,r._)({"Content-Type":"application/json"},null==i?void 0:i.headers),body:JSON.stringify(e)}))})(),"authControllerLoginWithToken",0,(e,i)=>(0,t._)(function*(){return(0,a.customInstance)("/api-arvore/auth/token",(0,n._)((0,r._)({},i),{method:"POST",headers:(0,r._)({"Content-Type":"application/json"},null==i?void 0:i.headers),body:JSON.stringify(e)}))})(),"authControllerResetPassword",0,(e,i)=>(0,t._)(function*(){return(0,a.customInstance)("/api-arvore/auth/reset-password",(0,n._)((0,r._)({},i),{method:"POST",headers:(0,r._)({"Content-Type":"application/json"},null==i?void 0:i.headers),body:JSON.stringify(e)}))})(),"authControllerSelectAccount",0,(e,i)=>(0,t._)(function*(){return(0,a.customInstance)("/api-arvore/auth/login/select",(0,n._)((0,r._)({},i),{method:"POST",headers:(0,r._)({"Content-Type":"application/json"},null==i?void 0:i.headers),body:JSON.stringify(e)}))})(),"authControllerValidateResetToken",0,(e,i)=>(0,t._)(function*(){return(0,a.customInstance)("/api-arvore/auth/reset-password/validate/".concat(e),(0,n._)((0,r._)({},i),{method:"GET"}))})()])},29666,e=>{"use strict";function t(){return"".concat(globalThis.window?globalThis.window.location.origin:"http://localhost:3000","/api-arvore")}
1e.s(["buildOAuthAuthorizeUrl",0,function(e){var r=new URLSearchParams;e.responseType&&r.set("response_type",e.responseType),e.clientId&&r.set("client_id",e.clientId),e.redirectUri&&r.set("redirect_uri",e.redirectUri),e.state&&r.set("state",e.state),e.codeChallenge&&r.set("code_challenge",e.codeChallenge),e.codeChallengeMethod&&r.set("code_challenge_method",e.codeChallengeMethod),e.resource&&r.set("resource",e.resource);var n=t();return"".concat(n,"/oauth2/authorize?").concat(r.toString())},"getApiBaseUrl",0,t])},79790,889119,e=>{"use strict";var t=e.i(933110),r="arvore_oauth_params";function n(){var e;return null!=(e=sessionStorage.getItem(r))?e:""}function a(e,t){if(!t)return e;var r=e.includes("?")?"&":"?";return"".concat(e).concat(r).concat(t)}function i(e,t){var r=new URLSearchParams(e);t&&r.set("client_id",t);var n=r.toString();return n?"/login/forgot-password?".concat(n):"/login/forgot-password"}function o(){var[e,r]=(0,t.useState)("");return(0,t.useEffect)(()=>{r(n())},[]),e}e.s(["forgotPasswordUrlWithParams",0,i,"getStoredOAuthSearchParams",0,n,"hasOAuthParams",0,function(e){return!!(e.redirectUri&&e.clientId)},"loginUrlWithParams",0,a,"parseOAuthParams",0,function(e){return{clientId:e.get("client_id"),redirectUri:e.get("redirect_uri"),state:e.get("state"),responseType:e.get("response_type"),codeChallenge:e.get("code_challenge"),codeChallengeMethod:e.get("code_challenge_method"),resource:e.get("resource")}},"storeOAuthSearchParams",0,function(e){var t=e.toString();t&&sessionStorage.setItem(r,t)}],889119),e.s(["useForgotPasswordUrl",0,function(e){return i(o(),e)},"useLoginUrlWithStoredParams",0,function(e){return a(e,o())},"useStoredOAuthParams",0,o],79790)},186375,e=>{e.v(t=>Promise.all(["static/chunks/3e0dh2di88uik.js","static/chunks/1_x_sduet615p.js"].map(t=>e.l(t))).then(()=>t(411299)))}]);

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.