PageSourceSearch

https://zithara.ai/_next/static/chunks/18-c0bba412c7b0ce8f.js

js zithara.ai collected 2026-10-01 12:12:35 UTC 17,493 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[18],{66674:function(e,t,n){n.d(t,{Ry:function(){return l}});var r=new WeakMap,o=new WeakMap,a={},i=0,c=function(e){return e&&(e.host||c(e.parentNode))},u=function(e,t,n,u){var l=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=c(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});a[n]||(a[n]=new WeakMap);var d=a[n],s=[],f=new Set,v=new Set(l),p=function(e){!e||f.has(e)||(f.add(e),p(e.parentNode))};l.forEach(p);var h=function(e){!e||v.has(e)||Array.prototype.forEach.call(e.children,function(e){if(f.has(e))h(e);else try{var t=e.getAttribute(u),a=null!==t&&"false"!==t,i=(r.get(e)||0)+1,c=(d.get(e)||0)+1;r.set(e,i),d.set(e,c),s.push(e),1===i&&a&&o.set(e,!0),1===c&&e.setAttribute(n,"true"),a||e.setAttribute(u,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return h(t),f.clear(),i++,function(){s.forEach(function(e){var t=r.get(e)-1,a=d.get(e)-1;r.set(e,t),d.set(e,a),t||(o.has(e)||e.removeAttribute(u),o.delete(e)),a||e.removeAttribute(n)}),--i||(r=new WeakMap,r=new WeakMap,o=new WeakMap,a={})}},l=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),u(r,o,n,"aria-hidden")):function(){return null}}},47225:function(e,t,n){n.d(t,{Z:function(){return z}});var r,o,a,i,c,u,l=function(){return(l=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function d(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}"function"==typeof SuppressedError&&SuppressedError;var s=n(2265),f="right-scroll-bar-position",v="width-before-scroll-bar";function p(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var h="undefined"!=typeof window?s.useLayoutEffect:s.useEffect,m=new WeakMap,g=(void 0===o&&(o={}),(void 0===a&&(a=function(e){return e}),i=[],c=!1,u={read:function(){if(c)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return i.length?i[i.length-1]:null},useMedium:function(e){var t=a(e,c);return i.push(t),function(){i=i.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(c=!0;i.length;){var t=i;i=[],t.forEach(e)}i={push:function(t){return e(t)},filter:function(){return i}}},assignMedium:function(e){c=!0;var t=[];if(i.length){var n=i;i=[],n.forEach(e),t=i}var r=function(){var n=t;t=[],n.forEach(e)},o=function(){return Promise.resolve().then(r)};o(),i={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),i}}}}).options=l({async:!0,ssr:!1},o),u),y=function(){},b=s.forwardRef(function(e,t){var n,r,o,a,i=s.useRef(null),c=s.useState({onScrollCapture:y,onWheelCapture:y,onTouchMoveCapture:y}),u=c[0],f=c[1],v=e.forwardProps,b=e.children,E=e.className,w=e.removeScrollBar,S=e.enabled,C=e.shards,k=e.sideCar,M=e.noRelative,N=e.noIsolation,R=e.inert,T=e.allowPinchZoom,A=e.as,L=e.gapMode,x=d(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),P=(n=[i,t],r=function(e){return n.forEach(function(t){return p(t,e)})}
1,(o=(0,s.useState)(function(){return{value:null,callback:r,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=r,a=o.facade,h(function(){var e=m.get(a);if(e){var t=new Set(e),r=new Set(n),o=a.current;t.forEach(function(e){r.has(e)||p(e,null)}),r.forEach(function(e){t.has(e)||p(e,o)})}m.set(a,n)},[n]),a),O=l(l({},x),u);return s.createElement(s.Fragment,null,S&&s.createElement(k,{sideCar:g,removeScrollBar:w,shards:C,noRelative:M,noIsolation:N,inert:R,setCallbacks:f,allowPinchZoom:!!T,lockRef:i,gapMode:L}),v?s.cloneElement(s.Children.only(b),l(l({},O),{ref:P})):s.createElement(void 0===A?"div":A,l({},O,{className:E,ref:P}),b))});b.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},b.classNames={fullWidth:v,zeroRight:f};var E=function(e){var t=e.sideCar,n=d(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return s.createElement(r,l({},n))};E.isSideCarExport=!0;var w=function(){var e=0,t=null;return{add:function(o){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=r||n.nc;return t&&e.setAttribute("nonce",t),e}())){var a,i;(a=t).styleSheet?a.styleSheet.cssText=o:a.appendChild(document.createTextNode(o)),i=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(i)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},S=function(){var e=w();return function(t,n){s.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},C=function(){var e=S();return function(t){return e(t.styles,t.dynamic),null}},k={left:0,top:0,right:0,gap:0},M=function(e){return parseInt(e||"",10)||0},N=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[M(n),M(r),M(o)]},R=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return k;var t=N(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},T=C(),A="data-scroll-locked",L=function(e,t,n,r){var o=e.left,a=e.top,i=e.right,c=e.gap;return void 0===n&&(n="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(r,";\n   padding-right: ").concat(c,"px ").concat(r,";\n  }\n  body[").concat(A,"] {\n    overflow: hidden ").concat(r,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n    padding-left: ".concat(o,"px;\n    padding-top: ").concat(a,"px;\n    padding-right: ").concat(i,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(c,"px ").concat(r,";\n    "),"padding"===n&&"padding-right: ".concat(c,"px ").concat(r,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(f," {\n    right: ").concat(c,"px ").concat(r,";\n  }\n  \n  .").concat(v," {\n    margin-right: ").concat(c,"px ").concat(r,";\n  }\n  \n  .").concat(f," .").concat(f," {\n    right: 0 ").concat(r,";\n  }\n  \n  .").concat(v," .").concat(v," {\n    margin-right: 0 ").concat(r,";\n  }\n  \n  body[").concat(A,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(c,"px;\n  }\n")},x=function(){var e=parseInt(document.body.getAttribute(A)||"0",10);return isFinite(e)?e:0},P=function(){s.useEffect(function(){return document.body.setAttribute(A,(x()+1).toString()),function(){var e=x()-1;e<=0?document.body.removeAttribute(A):document.body.setAttribute(A,e.toString())}},[])},O=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;P();var a=s.useMemo(function(){return R(o)},[o]);return s.createElement(T,{styles:L(a,!t,o,n?"":"!important")})},F=!1;if("undefined"!=typeof window)try{var W=Object.defineProperty({},"passive",{get:function(){return F=!0,!0}});window.addEventListener("test",W,W),window.removeEventListener("test",W,W)}catch(e){F=!1}var I=!!F&&{passive:!1},j=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===n[t])},D=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),_(e,r)){var o=B(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},_=function(e,t){return"v"===e?j(t,"overflowY"):j(t,"overflowX")},B=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},K=function(e,t,n,r,o){var a,i=(a=window.getComputedStyle(t).direction,"h"===e&&"rtl"===a?-1:1),c=i*r,u=n.target,l=t.contains(u),d=!1,s=c>0,f=0,v=0;do{if(!u)break;var p=B(e,u),h=p[0],m=p[1]-p[2]-i*h;(h||m)&&_(e,u)&&(f+=m,v+=h);var g=u.parentNode;u=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!l&&u!==document.body||l&&(t.contains(u)||t===u));return s&&(o&&1>Math.abs(f)||!o&&c>f)?d=!0:!s&&(o&&1>Math.abs(v)||!o&&-c>v)&&(d=!0),d},V=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},X=function(e){return[e.deltaX,e.deltaY]},Y=function(e){return e&&"current"in e?e.current:e},H=0,Z=[],G=(g.useMedium(function(e){var t=s.useRef([]),n=s.useRef([0,0]),r=s.useRef(),o=s.useState(H++)[0],a=s.useState(C)[0],i=s.useRef(e);s.useEffect(function(){i.current=e},[e]),s.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(function(e,t,n){if(n||2==arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}
1)([e.lockRef.current],(e.shards||[]).map(Y),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var c=s.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!i.current.allowPinchZoom;var o,a=V(e),c=n.current,u="deltaX"in e?e.deltaX:c[0]-a[0],l="deltaY"in e?e.deltaY:c[1]-a[1],d=e.target,s=Math.abs(u)>Math.abs(l)?"h":"v";if("touches"in e&&"h"===s&&"range"===d.type)return!1;var f=window.getSelection(),v=f&&f.anchorNode;if(v&&(v===d||v.contains(d)))return!1;var p=D(s,d);if(!p)return!0;if(p?o=s:(o="v"===s?"h":"v",p=D(s,d)),!p)return!1;if(!r.current&&"changedTouches"in e&&(u||l)&&(r.current=o),!o)return!0;var h=r.current||o;return K(h,t,e,"h"===h?u:l,!0)},[]),u=s.useCallback(function(e){if(Z.length&&Z[Z.length-1]===a){var n="deltaY"in e?X(e):V(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta)[0]===n[0]&&r[1]===n[1]})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}
1if(!r){var o=(i.current.shards||[]).map(Y).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?c(e,o[0]):!i.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),l=s.useCallback(function(e,n,r,o){var a={name:e,delta:n,target:r,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),d=s.useCallback(function(e){n.current=V(e),r.current=void 0},[]),f=s.useCallback(function(t){l(t.type,X(t),t.target,c(t,e.lockRef.current))},[]),v=s.useCallback(function(t){l(t.type,V(t),t.target,c(t,e.lockRef.current))},[]);s.useEffect(function(){return Z.push(a),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:v}),document.addEventListener("wheel",u,I),document.addEventListener("touchmove",u,I),document.addEventListener("touchstart",d,I),function(){Z=Z.filter(function(e){return e!==a}),document.removeEventListener("wheel",u,I),document.removeEventListener("touchmove",u,I),document.removeEventListener("touchstart",d,I)}},[]);var p=e.removeScrollBar,h=e.inert;return s.createElement(s.Fragment,null,h?s.createElement(a,{styles:"\n  .block-interactivity-".concat(o," {pointer-events: none;}\n  .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,p?s.createElement(O,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}),E),U=s.forwardRef(function(e,t){return s.createElement(b,l({},e,{ref:t,sideCar:G}))});U.classNames=b.classNames;var z=U},46165:function(e,t,n){n.d(t,{EW:function(){return u}});var r=n(2265),o=Object.defineProperty,a=(e,t)=>o(e,"name",{value:t,configurable:!0}),i=0,c=null;function u(){r.useEffect(()=>{c||(c={start:l(),end:l()});let{start:e,end:t}=c;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement("afterbegin",e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement("beforeend",t),i++,()=>{1===i&&(null==c||c.start.remove(),null==c||c.end.remove(),c=null),i=Math.max(0,i-1)}},[])}function l(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}a(function(e){return u(),e.children},"FocusGuards"),a(u,"useFocusGuards"),a(l,"createFocusGuard")},78082:function(e,t,n){n.d(t,{M:function(){return v}});var r=n(2265),o=n(61266),a=n(29586),i=n(39830),c=n(57437),u=Object.defineProperty,l=(e,t)=>u(e,"name",{value:t,configurable:!0}),d="focusScope.autoFocusOnMount",s="focusScope.autoFocusOnUnmount",f={bubbles:!1,cancelable:!0},v=r.forwardRef(l(function(e,t){let{loop:n=!1,trapped:u=!1,onMountAutoFocus:v,onUnmountAutoFocus:g,...y}=e,[b,S]=r.useState(null),C=(0,i.W)(v),M=(0,i.W)(g),N=r.useRef(null),R=(0,o.e)(t,S),T=r.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;r.useEffect(()=>{if(u){let e=function(e){if(T.paused||!b)return;let t=e.target;b.contains(t)?N.current=t:E(N.current,{select:!0})},t=function(e){if(T.paused||!b)return;let t=e.relatedTarget;null===t||b.contains(t)||E(N.current,{select:!0})},n=function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&E(b)};l(e,"handleFocusIn"),l(t,"handleFocusOut"),l(n,"handleMutations"),document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(n);return b&&r.observe(b,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[u,b,T.paused]),r.useEffect(()=>{if(b){w.add(T);let e=document.activeElement;if(!b.contains(e)){let t=new CustomEvent(d,f);b.addEventListener(d,C),b.dispatchEvent(t),t.defaultPrevented||(p(k(m(b)),{select:!0}),document.activeElement===e&&E(b))}return()=>{b.removeEventListener(d,C),setTimeout(()=>{let t=new CustomEvent(s,f);b.addEventListener(s,M),b.dispatchEvent(t),t.defaultPrevented||E(null!=e?e:document.body,{select:!0}),b.removeEventListener(s,M),w.remove(T)},0)}}},[b,C,M,T]);let A=r.useCallback(e=>{if(!n&&!u||T.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,r=document.activeElement;if(t&&r){let t=e.currentTarget,[o,a]=h(t);o&&a?e.shiftKey||r!==a?e.shiftKey&&r===o&&(e.preventDefault(),n&&E(a,{select:!0})):(e.preventDefault(),n&&E(o,{select:!0})):r===t&&e.preventDefault()}},[n,u,T.paused]);return(0,c.jsx)(a.WV.div,{tabIndex:-1,...y,ref:R,onKeyDown:A})},"FocusScope"));function p(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=document.activeElement;for(let r of e)if(E(r,{select:t}),document.activeElement!==n)return}function h(e){let t=m(e);return[g(t,e),g(t.reverse(),e)]}function m(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:l(e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;n.nextNode();)t.push(n.currentNode);return t}function g(e,t){let n="function"==typeof t.checkVisibility&&t.checkVisibility({checkVisibilityCSS:!0});for(let r of e)if(!(n?!r.checkVisibility({checkVisibilityCSS:!0}):y(r,{upTo:t})))return r}function y(e,t){let{upTo:n}=t;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===n||e!==n);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function b(e){return e instanceof HTMLInputElement&&"select"in e}function E(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e&&e.focus){let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&b(e)&&t&&e.select()}}l(p,"focusFirst"),l(h,"getTabbableEdges"),l(m,"getTabbableCandidates"),l(g,"findVisible"),l(y,"isHidden"),l(b,"isSelectableInput"),l(E,"focu
1s");var w=S();function S(){let e=[];return{add(t){let n=e[0];t!==n&&(null==n||n.pause()),(e=C(e,t)).unshift(t)},remove(t){var n;null===(n=(e=C(e,t))[0])||void 0===n||n.resume()}}}function C(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}function k(e){return e.filter(e=>"A"!==e.tagName)}l(S,"createFocusScopesStack"),l(C,"arrayRemove"),l(k,"removeLinks")},37881:function(e,t,n){n.d(t,{h:function(){return l}});var r=n(2265),o=n(54887),a=n(29586),i=n(32618),c=n(57437),u=Object.defineProperty,l=r.forwardRef(u(function(e,t){var n,u;let{container:l,...d}=e,[s,f]=r.useState(!1);(0,i.b)(()=>f(!0),[]);let v=l||s&&(null===(u=globalThis)||void 0===u?void 0:null===(n=u.document)||void 0===n?void 0:n.body);return v?o.createPortal((0,c.jsx)(a.WV.div,{...d,ref:t}),v):null},"name",{value:"Portal",configurable:!0}))}}]);

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.