PageSourceSearch

https://cypherscribe.com/_next/static/chunks/3541-04159837457a5e3d.js

js cypherscribe.com collected 2026-10-04 13:31:27 UTC 11,458 bytes, 6 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3541],{76489:function(e,t){/*!
2 * cookie
3 * Copyright(c) 2012-2014 Roman Shtylman
4 * Copyright(c) 2015 Douglas Christopher Wilson
5 * MIT Licensed
6 */t.parse=function(e,t){if("string"!=typeof e)throw TypeError("argument str must be a string");for(var r={},o=(t||{}).decode||n,i=0;i<e.length;){var a=e.indexOf("=",i);if(-1===a)break;var l=e.indexOf(";",i);if(-1===l)l=e.length;else if(l<a){i=e.lastIndexOf(";",a-1)+1;continue}var c=e.slice(i,a).trim();if(void 0===r[c]){var u=e.slice(a+1,l).trim();34===u.charCodeAt(0)&&(u=u.slice(1,-1)),r[c]=function(e,t){try{return t(e)}catch(t){return e}}(u,o)}i=l+1}return r},t.serialize=function(e,t,n){var a=n||{},l=a.encode||i;if("function"!=typeof l)throw TypeError("option encode is invalid");if(!o.test(e))throw TypeError("argument name is invalid");var c=l(t);if(c&&!o.test(c))throw TypeError("argument val is invalid");var u=e+"="+c;if(null!=a.maxAge){var s=a.maxAge-0;if(isNaN(s)||!isFinite(s))throw TypeError("option maxAge is invalid");u+="; Max-Age="+Math.floor(s)}if(a.domain){if(!o.test(a.domain))throw TypeError("option domain is invalid");u+="; Domain="+a.domain}if(a.path){if(!o.test(a.path))throw TypeError("option path is invalid");u+="; Path="+a.path}if(a.expires){var f=a.expires;if("[object Date]"!==r.call(f)&&!(f instanceof Date)||isNaN(f.valueOf()))throw TypeError("option expires is invali
6d");u+="; Expires="+f.toUTCString()}if(a.httpOnly&&(u+="; HttpOnly"),a.secure&&(u+="; Secure"),a.partitioned&&(u+="; Partitioned"),a.priority)switch("string"==typeof a.priority?a.priority.toLowerCase():a.priority){case"low":u+="; Priority=Low";break;case"medium":u+="; Priority=Medium";break;case"high":u+="; Priority=High";break;default:throw TypeError("option priority is invalid")}if(a.sameSite)switch("string"==typeof a.sameSite?a.sameSite.toLowerCase():a.sameSite){case!0:case"strict":u+="; SameSite=Strict";break;case"lax":u+="; SameSite=Lax";break;case"none":u+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return u};var r=Object.prototype.toString,o=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function n(e){return -1!==e.indexOf("%")?decodeURIComponent(e):e}function i(e){return encodeURIComponent(e)}},47041:function(e,t,r){var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},n=this&&this.__rest||function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);n<o.length;n++)0>t.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]]);return r};Object.defineProperty(t,"__esModule",{value:!0}),t.hasCookie=t.deleteCookie=t.setCookie=t.getCookie=t.getCookies=void 0;var i=r(76489),a=function(){return"undefined"!=typeof window},l=function(e){return!!e&&"getAll"in e&&"set"in e&&"function"==typeof e.getAll&&"function"==typeof e.set},c=function(e){return!!(null==e?void 0:e.req)&&"cookies"in e.req&&l(null==e?void 0:e.req.cookies)||!!(null==e?void 0:e.res)&&"cookies"in e.res&&l(null==e?void 0:e.res.cookies)||!!(null==e?void 0:e.cookies)&&l(e.cookies())},u=function(e){var t={};return e.getAll().forEach(function(e){var r=e.name,o=e.value;t[r]=o}),t},s=function(e){try{if("string"==typeof e)return e;return JSON.stringify(e)}catch(t){return e}};t.getCookies=function(e){if(c(e)){if(null==e?void 0:e.req)return u(e.req.cookies);if(null==e?void 0:e.cookies)return u(e.cookies())}if(e&&(t=e.req),!a())return t&&t.cookies?t.cookies:t&&t.headers.cookie?(0,i.parse)(t.headers.cookie):{};for(var t,r={},o=document.cookie?document.cookie.split("; "):[],n=0,l=o.length;n<l;n++){var s=o[n].split("="),f=s.slice(1).join("=");r[s[0]]=f}return r},t.getCookie=function(e,r){var o=(0,t.getCookies)(r)[e];if(void 0!==o)return o?o.replace(/(%[0-9A-Z]{2}
6)+/g,decodeURIComponent):o},t.setCookie=function(e,t,r){if(c(r)){var l,u,f,d=r.req,p=r.res,g=r.cookies,v=n(r,["req","res","cookies"]),m=o({name:e,value:s(t)},v);d&&d.cookies.set(m),p&&p.cookies.set(m),g&&g().set(m);return}if(r){var d=r.req,p=r.res,h=n(r,["req","res"]);u=d,f=p,l=h}var y=(0,i.serialize)(e,s(t),o({path:"/"},l));if(a())document.cookie=y;else if(f&&u){var k=f.getHeader("Set-Cookie");if(Array.isArray(k)||(k=k?[String(k)]:[]),f.setHeader("Set-Cookie",k.concat(y)),u&&u.cookies){var _=u.cookies;""===t?delete _[e]:_[e]=s(t)}if(u&&u.headers&&u.headers.cookie){var _=(0,i.parse)(u.headers.cookie);""===t?delete _[e]:_[e]=s(t),u.headers.cookie=Object.entries(_).reduce(function(e,t){return e.concat("".concat(t[0],"=").concat(t[1],";"))},"")}}},t.deleteCookie=function(e,r){return(0,t.setCookie)(e,"",o(o({},r),{maxAge:-1}))},t.hasCookie=function(e,r){return!!e&&(0,t.getCookies)(r).hasOwnProperty(e)}},43893:function(e,t,r){r.d(t,{aU:function(){return es},$j:function(){return ef},VY:function(){return eu},dk:function(){return ep},aV:function(){return ec},h_:function(){return el},fC:function(){return ei},Dx:function(){return ed},xz:function(){return ea}});var o=r(87462),n=r(67294),i=r(25360),a=r(28771),l=r(36206),c=r(91276),u=r(77342),s=r(46063),f=r(95420),d=r(42651),p=r(29115),g=r(75320),v=r(27552),m=r(42026),h=r(23541),y=r(88426);let k="Dialog",[_,E]=(0,i.b)(k),[D,w]=_(k),C=(0,n.forwardRef)((e,t)=>{let{__scopeDialog:r,...i}=e,c=w("DialogTrigger",r),u=(0,a.e)(t,c.triggerRef);return(0,n.createElement)(g.WV.button,(0,o.Z)({type:"button","aria-haspopup":"dialog","aria-expanded":c.open,"aria-controls":c.contentId,"data-state":V(c.open)},i,{ref:u,onClick:(0,l.M)(e.onClick,c.onOpenToggle)}))}),O="DialogPortal",[R,b]=_(O,{forceMount:void 0}),A="DialogOverlay",S=(0,n.forwardRef)((e,t)=>{let r=b(A,e.__scopeDialog),{forceMount:i=r.forceMount,...a}=e,l=w(A,e.__scopeDialog);return l.modal?(0,n.createElement)(p.z,{present:i||l.open},(0,n.createElement)(Z,(0,o.Z)({},a,{ref:t}))):null}),Z=(0,n.forwardRef)((e,t)=>{let{__scopeDialog:r,...i}=e,a=w(A,r);return(0,n.createElement)(m.Z,{as:y.g7,allowPinchZoom:!0,shards:[a.contentRef]},(0,n.createElement)(g.WV.div,(0,o.Z)({"data-state":V(a.open)},i,{ref:t,style:{pointerEvents:"auto",...i.style}})))}),M="DialogContent",P=(0,n.forwardRef)((e,t)=>{let r=b(M,e.__scopeDialog),{forceMount:i=r.forceMount,...a}=e,l=w(M,e.__scopeDialog);return(0,n.createElement)(p.z,{present:i||l.open},l.modal?(0,n.createElement)(x,(0,o.Z)({},a,{ref:t})):(0,n.createElement)(T,(0,o.Z)({},a,{ref:t})))}),x=(0,n.forwardRef)((e,t)=>{let r=w(M,e.__scopeDialog),i=(0,n.useRef)(null),c=(0,a.e)(t,r.contentRef,i);return(0,n.useEffect)(()=>{let e=i.current;if(e)return(0,h.Ry)(e)},[]),(0,n.createElement)(F,(0,o.Z)({},e,{ref:c,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,l.M)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=r.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:(0,l.M)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;(2===t.button||r)&&e.preventDefault()}),onFocusOutside:(0,l.M)(e.onFocusOutside,e=>e.preventDefault())}))}),T=(0,n.forwardRef)((e,t)=>{let r=w(M,e.__scopeDialog),i=(0,n.useRef)(!1),a=(0,n.useRef)(!1);return(0,n.createElement)(F,(0,o.Z)({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var o,n;null===(o=e.onCloseAutoFocus)||void 0===o||o.call(e,t),t.defaultPrevented||(i.current||null===(n=r.triggerRef.current)||void 0===n||n.focus(),t.preventDefault()),i.current=!1,a.current=!1},onInteractOutside:t=>{var o,n;null===(o=e.onInteractOutside)||void 0===o||o.call(e,t),t.defaultPrevented||(i.current=!0,"pointerdown"!==t.detail.originalEvent.type||(a.current=!0));let l=t.target;(null===(n=r.triggerRef.current)||void 0===n?void 0:n.contains(l))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}}))}),F=(0,n.forwardRef)((e,t)=>{let{__scopeDialog:r,trapFocus:i,onOpenAutoFocus:l,onCloseAutoFocus:c,...u}=e,d=w(M,r),p=(0,n.useRef)(null),g=(0,a.e)(t,p);return(0,v.EW)(),(0,n.createElement)(n.Fragment,null,(0,n.createElement)(f.M,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:l,onUnmountAutoFocus:c},(0,n.createElement)(s.XB,(0,o.Z)({role:"dialog",id:d.contentId,"aria-describedby":d.descriptionId,"aria-labelledby":d.titleId,"data-state":V(d.open)},u,{ref:g,onDismiss:()=>d.onOpenChange(!1)}))),!1)}),I="DialogTitle",j=(0,n.forwardRef)((e,t)=>{let{__scopeDialog:r,...i}=e,a=w(I,r);return(0,n.createElement)(g.WV.h2,(0,o.Z)({id:a.titleId},i,{ref:t}))}),N=(0,n.forwardRef)((e,t)=>{let{__scopeDialog:r,...i}=e,a=w("DialogDescription",r);return(0,n.createElement)(g.WV.p,(0,o.Z)({id:a.descriptionId},i,{ref:t}))}),q=(0,n.forwardRef)((e,t)=>{let{__scopeDialog:r,...i}=e,a=w("DialogClose",r);return(0,n.createElement)(g.WV.button,(0,o.Z)({type:"button"},i,{ref:t,onClick:(0,l.M)(e.onClick,()=>a.onOpenChange(!1))}))});function V(e){return e?"open":"closed"}let[W,z]=(0,i.k)("DialogTitleWarning",{contentName:M,titleName:I,docsSlug:"dialog"}),U=e=>{let{__scopeDialog:t,children:r,open:o,defaultOpen:i,onOpenChange:a,modal:l=!0}=e,s=(0,n.useRef)(null),f=(0,n.useRef)(null),[d=!1,p]=(0,u.T)({prop:o,defaultProp:i,onChange:a});return(0,n.createElement)(D,{scope:t,triggerRef:s,contentRef:f,contentId:(0,c.M)(),titleId:(0,c.M)(),descriptionId:(0,c.M)(),open:d,onOpenChange:p,onOpenToggle:(0,n.useCallback)(()=>p(e=>!e),[p]),modal:l},r)},H=e=>{let{__scopeDialog:t,forceMount:r,children:o,container:i}=e,a=w(O,t);return(0,n.createElement)(R,{scope:t,forceMount:r},n.Children.map(o,e=>(0,n.createElement)(p.z,{present:r||a.open},(0,n.createElement)(d.h,{asChild:!0,container:i},e))))},[L,$]=(0,i.b)("AlertDialog",[E]),B=E(),J=(0,n.forwardRef)((e,t)=>{let{__scopeAlertDialog:r,...i}=e,a=B(r);return(0,n.createElement)(C,(0,o.Z)({},a,i,{ref:t}))}),K=(0,n.forwardRef)((e,t)=>{let{__scopeAlertDialog:r,...i}=e,a=B(r);return(0,n.createElement)(S,(0,o.Z)({},a,i,{ref:t}))}),X="AlertDialogContent",[Y,G]=L(X),Q=(0,n.forwardRef)((e,t)=>{let{__scopeAlertDialog:r,children:i,...c}=e,u=B(r),s=(0,n.useRef)(null),f=(0,a.e)(t,s),d=(0,n.useRef)(null);return(0,n.createElement)(W,{contentName:X,titleName:ee,docsSlug:"alert-dialog"},(0,n.createElement)(Y,{scope:r,cancelRef:d},(0,n.createElement)(P,(0,o.Z)({role:"alertdialog"},u,c,{ref:f,onOpenAutoFocus:(0,l.M)(c.onOpenAutoFocus,e=>{var t;e.preventDefault(),null===(t=d.current)||void 0===t||t.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault()}),(0,n.createElement)(y.A4,null,i),!1)))}),ee="AlertDialogTitle",et=(0,n.forwardRef)((e,t)=>{let{__scopeAlertDialog:r,...i}=e,a=B(r);return(0,n.createElement)(j,(0,o.Z)({},a,i,{ref:t}))}),er=(0,n.forwardRef)((e,t)=>{let{__scopeAlertDialog:r,...i}=e,a=B(r);return(0,n.createElement)(N,(0,o.Z)({},a,i,{ref:t}))}),eo=(0,n.forwardRef)((e,t)=>{let{__scopeAlertDialog:r,...i}=e,a=B(r);return(0,n.createElement)(q,(0,o.Z)({},a,i,{ref:t}))}),en=(0,n.forwardRef)((e,t)=>{let{__scopeAlertDialog:r,...i}=e,{cancelRef:l}=G("AlertDialogCancel",r),c=B(r),u=(0,a.e)(t,l);return(0,n.createElement)(q,(0,o.Z)({},c,i,{ref:u}))}),ei=e=>{let{__scopeAlertDialog:t,...r}=e,i=B(t);return(0,n.createElement)(U,(0,o.Z)({},i,r,{modal:!0}))},ea=J,el=e=>{let{__scopeAlertDialog:t,...r}=e,i=B(t);return(0,n.createElement)(H,(0,o.Z)({},i,r))},ec=K,eu=Q,es=eo,ef=en,ed=et,ep=er}}]);

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.