PageSourceSearch

https://www.kazidomi.com/_next/static/js/5757.cee60f4d.chunk.js

js kazidomi.com collected 2026-09-25 14:11:31 UTC 14,096 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5757],{2668:(e,t,n)=>{let r;n.d(t,{O:()=>a,u:()=>u});var o=n(12115),l=n(79288),a=((r=a||{})[r.Forwards=0]="Forwards",r[r.Backwards=1]="Backwards",r);function u(){let e=(0,o.useRef)(0);return(0,l.M)(!0,"keydown",t=>{"Tab"===t.key&&(e.current=+!!t.shiftKey)},!0),e}},35757:(e,t,n)=>{n.r(t),n.d(t,{default:()=>c});var r=n(95155),o=n(12115),l=n(14606),a=n(69687),u=n(65739),i=n(73321);let c=({children:e,title:t,isOpen:n,setIsOpen:c,onClose:s,footer:d})=>{let f=(0,i.usePathname)(),p=()=>{s&&s(),c(!1)};return(0,o.useEffect)(()=>{c(!1)},[f]),(0,r.jsx)(l.e,{appear:!0,show:n,as:o.Fragment,children:(0,r.jsxs)(a.Dialog,{onClose:p,children:[(0,r.jsx)(l.e.Child,{as:o.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,r.jsx)("div",{className:"fixed inset-0 bg-black bg-opacity-25 z-40"})}),(0,r.jsx)(l.e.Child,{as:o.Fragment,enter:"transition duration-300 ease-out",enterFrom:"transform translate-y-[20px] opacity-0",enterTo:"transform translate-y-[0] opacity-100",leave:"transition duration-300 ease-out",leaveFrom:"transform translate-y-[0] opacity-100",leaveTo:"transform translate-y-[20px] opacity-0",children:(0,r.jsxs)(a.Dialog.Panel,{className:"fixed bottom-0 top-0 w-full left-0 right-0 bg-white overflow-hidden h-[100dvh] z-50 flex-col flex",children:[(0,r.jsxs)("div",{className:"flex justify-center relative border-b border-grey-light h-[54px] items-center p-4",children:[(0,r.jsx)("span",{className:"text-body-15 font-medium",children:t}),(0,r.jsx)("div",{className:"absolute right-4",children:(0,r.jsx)(u.Jn,{onClick:p})})]}),(0,r.jsxs)("div",{className:"flex flex-col max-h-[calc(100dvh-54px)] h-full",children:[(0,r.jsx)("div",{className:"overflow-y-auto flex-1 min-h-0 flex flex-col",children:e}),d&&(0,r.jsx)("div",{className:"shrink-0 p-4 border-t-[.5px]",children:d})]})]})})]})})}},69687:(e,t,n)=>{let r,o,l;n.d(t,{Dialog:()=>en});var a=n(12115),u=n(25858),i=n(80778),c=n(14627),s=n(36667),d=n(54085),f=n(35409),p=n(47680),m=n(94473),v=n(53264),g=n(86436),h=n(71760),w=n(38659),E=n(55645),b=n(14695),y=n(93802),F=n(27579),C=n(58195),k=n(21679),x=n(66089),D=n(84465),T=n(82728),P=n(38530),_=n(3976),L=n(23912),S=n(10269),j=n(2668);function R(e,t){let n=(0,a.useRef)([]),r=(0,s._)(e);(0,a.useEffect)(()=>{let e=[...n.current];for(let[o,l]of t.entries())if(n.current[o]!==l){let o=r(t,e);return n.current=t,o}},[r,...t])}var O=n(55832),N=n(82688),I=n(98044);let B=[];function A(){"loading"!==document.readyState&&((()=>{function e(e){if(!N.Lk(e.target)||e.target===document.body||B[0]===e.target)return;let t=e.target;t=t.closest(I.Uo),B.unshift(null!=t?t:e.target),(B=B.filter(e=>null!=e&&e.isConnected)).splice(10)}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})})(),document.removeEventListener("DOMContentLoaded",A))}"u">typeof window&&"u">typeof document&&(document.addEventListener("DOMContentLoaded",A),A());var M=n(38406),U=n(22487);function W(e){if(!e)return new Set;if("function"==typeof e)return new Set(e());let t=new Set;for(let n of e.current)N.vq(n.current)&&t.add(n.current);return t}var q=((r=q||{})[r.None=0]="None",r[r.InitialFocus=1]="InitialFocus",r[r.TabLock=2]="TabLock",r[r.FocusLock=4]="FocusLock",r[r.RestoreFocus=8]="RestoreFocus",r[r.AutoFocus=16]="AutoFocus",r);let Y=Object.assign((0,T.FX)(function(e,t){let n=(0,a.useRef)(null),r=(0,b.P)(n,t),{initialFocus:o,initialFocusFallback:l,containers:u,features:d=15,...f}=e;(0,w.g)()||(d=0);let p=(0,v.g)(n.current);!function(e,{ownerDocument:t}){let n=!!(8&e),r=function(e=!0){let t=(0,a.useRef)(B.slice());return R(([e],[n])=>{!0===n&&!1===e&&(0,M._)(()=>{t.current.splice(0)}),!1===n&&!0===e&&(t.current=B.slice())},[e,B,t]),(0,s._)(()=>{var e;return null!=(e=t.current.find(e=>null!=e&&e.isConnected))?e:null})}(n);R(()=>{n||(0,U.X7)(null==t?void 0:t.body)&&(0,I.pW)(r())},[n]),(0,S.X)(()=>{n&&(0,I.pW)(r())})}(d,{ownerDocument:p});let m=function(e,{ownerDocument:t,container:n,initialFocus:r,initialFocusFallback:o}
1){let l=(0,a.useRef)(null),u=(0,c.S)(!!(1&e),"focus-trap#initial-focus"),i=(0,L.a)();return R(()=>{if(0===e)return;if(!u){null!=o&&o.current&&(0,I.pW)(o.current);return}let a=n.current;a&&(0,M._)(()=>{if(!i.current)return;let n=null==t?void 0:t.activeElement;if(null!=r&&r.current){if((null==r?void 0:r.current)===n){l.current=n;return}}else if(a.contains(n)){l.current=n;return}if(null!=r&&r.current)(0,I.pW)(r.current);else{if(16&e){if((0,I.CU)(a,I.BD.First|I.BD.AutoFocus)!==I.Me.Error)return}else if((0,I.CU)(a,I.BD.First)!==I.Me.Error)return;if(null!=o&&o.current&&((0,I.pW)(o.current),(null==t?void 0:t.activeElement)===o.current))return;console.warn("There are no focusable elements inside the <FocusTrap />")}l.current=null==t?void 0:t.activeElement})},[o,u,e]),l}(d,{ownerDocument:p,container:n,initialFocus:o,initialFocusFallback:l});!function(e,{ownerDocument:t,container:n,containers:r,previousActiveElement:o}){let l=(0,L.a)(),a=!!(4&e);(0,i.M)(null==t?void 0:t.defaultView,"focus",e=>{if(!a||!l.current)return;let t=W(r);N.sb(n.current)&&t.add(n.current);let u=o.current;if(!u)return;let i=e.target;N.sb(i)?X(t,i)?(o.current=i,(0,I.pW)(i)):(e.preventDefault(),e.stopPropagation(),(0,I.pW)(u)):(0,I.pW)(o.current)},!0)}(d,{ownerDocument:p,container:n,containers:u,previousActiveElement:m});let g=(0,j.u)(),h=(0,s._)(e=>{if(!N.sb(n.current))return;let t=n.current;(0,D.Y)(g.current,{[j.O.Forwards]:()=>{(0,I.CU)(t,I.BD.First,{skipElements:[e.relatedTarget,l]})},[j.O.Backwards]:()=>{(0,I.CU)(t,I.BD.Last,{skipElements:[e.relatedTarget,l]})}})}),E=(0,c.S)(!!(2&d),"focus-trap#tab-lock"),y=(0,_.L)(),F=(0,a.useRef)(!1),C=(0,T.Ci)();return a.createElement(a.Fragment,null,E&&a.createElement(O.j,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:h,features:O.u.Focusable}),C({ourProps:{ref:r,onKeyDown(e){"Tab"==e.key&&(F.current=!0,y.requestAnimationFrame(()=>{F.current=!1}))},onBlur(e){if(!(4&d))return;let t=W(u);N.sb(n.current)&&t.add(n.current);let r=e.relatedTarget;N.Lk(r)&&"true"!==r.dataset.headlessuiFocusGuard&&(X(t,r)||(F.current?(0,I.CU)(n.current,(0,D.Y)(g.current,{[j.O.Forwards]:()=>I.BD.Next,[j.O.Backwards]:()=>I.BD.Previous})|I.BD.WrapAround,{relativeTo:e.target}):N.Lk(e.target)&&(0,I.pW)(e.target)))}},theirProps:f,defaultTag:"div",name:"FocusTrap"}),E&&a.createElement(O.j,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:h,features:O.u.Focusable}))}),{features:q});function X(e,t){for(let n of e)if(n.contains(t))return!0;return!1}var $=n(5508),H=n(14606),V=((o=V||{})[o.Open=0]="Open",o[o.Closed=1]="Closed",o),K=((l=K||{})[l.SetTitleId=0]="SetTitleId",l);let z={0:(e,t)=>e.titleId===t.id?e:{...e,titleId:t.id}},G=(0,a.createContext)(null);function J(e){let t=(0,a.useContext)(G);if(null===t){let t=Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,J),t}return t}function Z(e,t){return(0,D.Y)(t.type,z,e,t)}G.displayName="DialogContext";let Q=(0,T.FX)(function(e,t){let n=(0,a.useId)(),{id:r=`headlessui-dialog-${n}`,open:o,onClose:l,initialFocus:D,role:_="dialog",autoFocus:L=!0,__demoMode:S=!1,unmount:j=!1,...R}=e,O=(0,a.useRef)(!1);_="dialog"===_||"alertdialog"===_?_:(O.current||(O.current=!0,console.warn(`Invalid role [${_}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog");let N=(0,F.O_)();void 0===o&&null!==N&&(o=(N&F.Uw.Open)===F.Uw.Open);let I=(0,a.useRef)(null),B=(0,b.P)(I,t),A=(0,v.g)(I.current),M=+!o,[U,W]=(0,a.useReducer)(Z,{titleId:null,descriptionId:null,panelRef:(0,a.createRef)()}),X=(0,s._)(()=>l(!1)),H=(0,s._)(e=>W({type:0,id:e})),V=!!(0,w.g)()&&0===M,[K,z]=(0,$.k2)(),J=(0,g.xA)(),{resolveContainers:Q}=(0,g.iq)({mainTreeNode:J,portals:K,defaultContainers:[{get current(){var en;return null!=(en=U.panelRef.current)?en:I.current}}]}),er=null!==N&&(N&F.Uw.Closing)===F.Uw.Closing;(0,d.v)(!S&&!er&&V,{allowed:(0,s._)(()=>{var e,t;return[null!=(t=null==(e=I.current)?void 0:e.closest("[data-headlessui-portal]"))?t:null]}),disallowed:(0,s._)(()=>{var e;return[null!=(e=null==J?void 0:J.closest("body > *:not(#headlessui-portal-root)"))?e:null]})});let eo=k.D.get(null);(0,f.s)(()=>
1{if(V)return eo.actions.push(r),()=>eo.actions.pop(r)},[eo,r,V]);let el=(0,x.y)(eo,(0,a.useCallback)(e=>eo.selectors.isTop(e,r),[eo,r]));(0,m.j)(el,Q,e=>{e.preventDefault(),X()}),function(e,t="u">typeof document?document.defaultView:null,n){let r=(0,c.S)(e,"escape");(0,i.M)(t,"keydown",e=>{r&&(e.defaultPrevented||e.key===u.D.Escape&&n(e))})}(el,null==A?void 0:A.defaultView,e=>{e.preventDefault(),e.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur(),X()}),(0,h.K)(!S&&!er&&V,A,Q),(0,p.O)(V,I,X);let[ea,eu]=(0,P.rU)(),ei=(0,a.useMemo)(()=>[{dialogState:M,close:X,setTitleId:H,unmount:j},U],[M,X,H,j,U]),ec=(0,E._)({open:0===M}),es={ref:B,id:r,role:_,tabIndex:-1,"aria-modal":S?void 0:0===M||void 0,"aria-labelledby":U.titleId,"aria-describedby":ea,unmount:j},ed=!function(){var e;let[t]=(0,a.useState)(()=>"u">typeof window&&"function"==typeof window.matchMedia?window.matchMedia("(pointer: coarse)"):null),[n,r]=(0,a.useState)(null!=(e=null==t?void 0:t.matches)&&e);return(0,f.s)(()=>{if(t)return t.addEventListener("change",e),()=>t.removeEventListener("change",e);function e(e){r(e.matches)}},[t]),n}(),ef=q.None;V&&!S&&(ef|=q.RestoreFocus,ef|=q.TabLock,L&&(ef|=q.AutoFocus),ed&&(ef|=q.InitialFocus));let ep=(0,T.Ci)();return a.createElement(F.$x,null,a.createElement(C.a,{force:!0},a.createElement($.ZL,null,a.createElement(G.Provider,{value:ei},a.createElement($.Ee,{target:I},a.createElement(C.a,{force:!1},a.createElement(eu,{slot:ec},a.createElement(z,null,a.createElement(Y,{initialFocus:D,initialFocusFallback:I,containers:Q,features:ef},a.createElement(y.e,{value:X},ep({ourProps:es,theirProps:R,slot:ec,defaultTag:ee,features:et,visible:0===M,name:"Dialog"})))))))))))}),ee="div",et=T.Ac.RenderStrategy|T.Ac.Static,en=Object.assign((0,T.FX)(function(e,t){let{transition:n=!1,open:r,...o}=e,l=(0,F.O_)(),u=e.hasOwnProperty("open")||null!==l,i=e.hasOwnProperty("onClose");if(!u&&!i)throw Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!u)throw Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!i)throw Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(!l&&"boolean"!=typeof e.open)throw Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${e.open}`);if("function"!=typeof e.onClose)throw Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${e.onClose}`);return(void 0!==r||n)&&!o.static?a.createElement(g.H5,null,a.createElement(H.e,{show:r,transition:n,unmount:o.unmount},a.createElement(Q,{ref:t,...o}))):a.createElement(g.H5,null,a.createElement(Q,{ref:t,open:r,...o}))}),{Panel:(0,T.FX)(function(e,t){let n=(0,a.useId)(),{id:r=`headlessui-dialog-panel-${n}`,transition:o=!1,...l}=e,[{dialogState:u,unmount:i},c]=J("Dialog.Panel"),d=(0,b.P)(t,c.panelRef),f=(0,E._)({open:0===u}),p=(0,s._)(e=>{e.stopPropagation()}),m=o?H._:a.Fragment,v=(0,T.Ci)();return a.createElement(m,{...o?{unmount:i}:{}},v({ourProps:{ref:d,id:r,onClick:p},theirProps:l,slot:f,defaultTag:"div",name:"Dialog.Panel"}))}),Title:((0,T.FX)(function(e,t){let{transition:n=!1,...r}=e,[{dialogState:o,unmount:l}]=J("Dialog.Backdrop"),u=(0,E._)({open:0===o}),i=n?H._:a.Fragment,c=(0,T.Ci)();return a.createElement(i,{...n?{unmount:l}:{}},c({ourProps:{ref:t,"aria-hidden":!0},theirProps:r,slot:u,defaultTag:"div",name:"Dialog.Backdrop"}))}),(0,T.FX)(function(e,t){let n=(0,a.useId)(),{id:r=`headlessui-dialog-title-${n}`,...o}=e,[{dialogState:l,setTitleId:u}]=J("Dialog.Title"),i=(0,b.P)(t);(0,a.useEffect)(()=>(u(r),()=>u(null)),[r,u]);let c=(0,E._)({open:0===l});return(0,T.Ci)()({ourProps:{ref:i,id:r},theirProps:o,slot:c,defaultTag:"h2",name:"Dialog.Title"})})),Description:P.VY})},80778:(e,t,n)=>{n.d(t,{M:()=>l});var r=n(12115),o=n(90722);function l(e,t,n,l){let a=(0,o.Y)(n);(0,r.useEffect)(()=>{function n(e){a.current(e)}return(e=null!=e?e:window).addEventListener(t,n,l),()=>e.removeEventListener(t,n,l)},[e,t,l])}},86436:(e,t,n)=>{n.d(t,{H5:()=>s,iq:()=>i,xA:()=>d});var r=n(12115),o=n(55832),l=n(82688),a=n(22487),u=n(36667);function i({defaultContainers:e=[],portals:t,mainTreeNode:n}={}){let r=(0,u._)(()=>{var r,o;let u=(0,a.TW)(n),i=[];for(let t of e)null!==t&&(l.vq(t)?i.push(t):"current"in t&&l.vq(t.current)&&i.push(t.current));if(null!=t&&t.current)for(let e of t.current)i.push(e);for(let e of null!=(r=null==u?void 0:u.querySelectorAll("html > *, body > *"))?r:[])e!==document.body&&e!==document.head&&l.vq(e)&&"headlessui-portal-root"!==e.id&&(n&&(e.contains(n)||e.contains(null==(o=null==n?void 0:n.getRootNode())?void 0:o.host))||i.some(t=>e.contains(t))||i.push(e));return i});
1return{resolveContainers:r,contains:(0,u._)(e=>r().some(t=>t.contains(e)))}}let c=(0,r.createContext)(null);function s({children:e,node:t}){let[n,u]=(0,r.useState)(null),i=d(null!=t?t:n);return r.createElement(c.Provider,{value:i},e,null===i&&r.createElement(o.j,{features:o.u.Hidden,ref:e=>{var t,n;if(e){for(let r of null!=(n=null==(t=(0,a.TW)(e))?void 0:t.querySelectorAll("html > *, body > *"))?n:[])if(r!==document.body&&r!==document.head&&l.vq(r)&&null!=r&&r.contains(e)){u(r);break}}}}))}function d(e=null){var t;return null!=(t=(0,r.useContext)(c))?t:e}},93802:(e,t,n)=>{n.d(t,{e:()=>l});var r=n(12115);let o=(0,r.createContext)(()=>{});function l({value:e,children:t}){return r.createElement(o.Provider,{value:e},t)}}}]);

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.