1"use strict";(self.webpackChunkts_boilerplate=self.webpackChunkts_boilerplate||[]).push([[2593],{42593:function(e,t,n){n.r(t),n(12064),n(44465),n(31863),n(3940),n(32145),n(74277),n(61445),n(57045),n(65114),n(32242),n(60039),n(75868),n(42652);var r,o=n(37953),u=n(84136),i=n(79661),c=n(86446),a=n(68472),l=n(94330),s=n(35879),d=n(80590),f=n(18295),m=n(88480),p=n(71447),v=n(56907);function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,u=[],i=!0,c=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(u.push(r.value),!t||u.length!==t);i=!0);}catch(e){c=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(c)throw o}}return u}}(e,t)||function(e,t){if(e){if("string"==typeof e)return b(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var y,g,w="undefined"!=typeof window?.9*window.innerHeight:800,E=u.Ay.div(r||(y=["\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100%;\n height: 12px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: row-resize;\n border-radius: 0 0 16px 16px;\n user-select: none;\n transition: background-color 0.15s;\n\n &:hover {\n background-color: var(--inkColor);\n }\n\n &::before {\n content: '';\n width: 32px;\n height: 4px;\n border-radius: 2px;\n background: var(--lineColor);\n opacity: 0.6;\n }\n"],g||(g=y.slice(0)),r=Object.freeze(Object.defineProperties(y,{raw:{value:Object.freeze(g)}}))));t.default=function(e){var t=e.zIndex,n=e.onActivate,r=h((0,i.L4)(c.S),2),u=r[0],b=r[1],y=(0,i.vc)(a.oE),g=(0,i.vc)(l.eo),x=(0,v.A)()<768,A=h((0,o.useState)(600),2),k=A[0],C=A[1],S=(0,o.useRef)(null),L=(0,o.useRef)(!1),j=(0,o.useRef)(0),z=(0,o.useRef)(600),I=(0,o.useCallback)(function(){return b(!1)},[b]),R=(0,o.useCallback)(function(e){L.current=!0,j.current=e,z.current=k,document.body.style.userSelect="none",document.body.style.cursor="row-resize"},[k]),M=(0,o.useCallback)(function(e){e.preventDefault(),e.stopPropagation(),R(e.clientY)},[R]),O=(0,o.useCallback)(function(e){e.stopPropagation(),R(e.touches[0].clientY)},[R]);(0,o.useEffect)(function(){var e=function(e){if(L.current){var t=e-j.current,n=Math.min(w,Math.max(300,z.current+t));C(n)}},t=function(){L.current&&(L.current=!1,document.body.style.userSelect="",document.body.style.cursor="")},n=function(t){return e(t.clientY)},r=function(t){return e(t.touches[0].clientY)};return document.addEventListener("mousemove",n),document.addEventListener("mouseup",t),document.addEventListener("touchmove",r,{passive:!0}),document.addEventListener("touchend",t),function(){document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",t),document.removeEventListener("touchmove",r),document.removeEventListener("touchend",t)}},[]);var D=o.createElement(o.Fragment,null,g?o.createElement(o.Fragment,null,y?o.createElement(d.A,null):o.createElement(f.A,null)):o.createElement(s.A,{close:I}),!x&&o.createElement(E,{onMouseDown:M,onTouchStart:O}));return x?o.createElement(p.y,{open:u,ref:S,style:{zIndex:t,position:"fixed",top:0,left:0,right:0,bottom:0,width:"100%",height:"100dvh",maxHeight:"none",minHeight:"unset",borderRadius:0,padding:0,paddingTop:"env(safe-area-inset-top, 0px)",overflow:"hidden"}},D):o.createElement(m.A,{direction:"bottomRight",onActivate:n},o.createElement(p.y,{open:u,floatingDir:"bottom",width:400,ref:S,onMouseDownCapture:n,onTouchStartCapture:n,style:{zIndex:t,height:k,minHeight:300,overflow:"hidden",padding:0}},D))}}}]); 2//# sourceMappingURL=2593.04da9d85.chunk.js.map
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.