1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[414],{62286:function(e,t,r){var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.destroyCookie=t.setCookie=t.parseCookies=void 0;var i=r(10026),o=r(69328),s=r(51022);function a(e,t){var r,n;return(null===(n=null===(r=null==e?void 0:e.req)||void 0===r?void 0:r.headers)||void 0===n?void 0:n.cookie)?i.parse(e.req.headers.cookie,t):s.isBrowser()?i.parse(document.cookie,t):{}}function c(e,t,r,a){var c,u;if(void 0===a&&(a={}),(null===(c=null==e?void 0:e.res)||void 0===c?void 0:c.getHeader)&&e.res.setHeader){if(null===(u=null==e?void 0:e.res)||void 0===u?void 0:u.finished)return console.warn('Not setting "'+t+'" cookie. Response has finished.'),console.warn("You should set cookie before res.send()"),{};var l=e.res.getHeader("Set-Cookie")||[];"string"==typeof l&&(l=[l]),"number"==typeof l&&(l=[]);var p=o.parse(l,{decodeValues:!1}),f=s.createCookie(t,r,a),h=[];p.forEach(function(e){if(!s.areCookiesEqual(e,f)){var t=i.serialize(e.name,e.value,n({encode:function(e){return e}},e));h.push(t)}}),h.push(i.serialize(t,r,a)),e.res.setHeader("Set-Cookie",h)}if(s.isBrowser()){if(a&&a.httpOnly)throw Error("Can not set a httpOnly cookie in the browser.");document.cookie=i.serialize(t,r,a)}return{}}function u(e,t,r){return c(e,t,"",n(n({},r||{}),{maxAge:-1}))}t.parseCookies=a,t.setCookie=c,t.destroyCookie=u,t.default={set:c,get:a,destroy:u}},51022:function(e,t){var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function n(e,t){var r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertyNames(t);if(r.length!==n.length)return!1;for(var i=0;i<r.length;i++){var o=r[i];if(e[o]!==t[o])return!1}return!0}Object.defineProperty(t,"__esModule",{value:!0}),t.areCookiesEqual=t.hasSameProperties=t.createCookie=t.isBrowser=void 0,t.isBrowser=function(){return"undefined"!=typeof window},t.createCookie=function(e,t,n){var i=n.sameSite;!0===i&&(i="strict"),(void 0===i||!1===i)&&(i="lax");var o=r(r({},n),{sameSite:i});return delete o.encode,r({name:e,value:t},o)},t.hasSameProperties=n,t.areCookiesEqual=function(e,t){var i=e.sameSite===t.sameSite;return"string"==typeof e.sameSite&&"string"==typeof t.sameSite&&(i=e.sameSite.toLowerCase()===t.sameSite.toLowerCase()),n(r(r({},e),{sameSite:void 0}),r(r({},t),{sameSite:void 0}))&&i}},10026: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 n={},i=e.split(";"),o=(t||{}).decode||r,s=0;s<i.length;s++){var a=i[s],c=a.indexOf("=");if(!(c<0)){var u=a.substring(0,c).trim();if(void 0==n[u]){var l=a.substring(c+1,a.length).trim();'"'===l[0]&&(l=l.slice(1,-1)),n[u]=function(e,t){try{return t(e)}catch(t){return e}}(l,o)}}}return n},t.serialize=function(e,t,r){var o=r||{},s=o.encode||n;if("function"!=typeof s)throw TypeError("option encode is invalid");if(!i.test(e))throw TypeError("argument name is invalid");var a=s(t);if(a&&!i.test(a))throw TypeError("argument val is invalid");var c=e+"="+a;if(null!=o.maxAge){var u=o.maxAge-0;if(isNaN(u)||!isFinite(u))throw TypeError("option maxAge is invalid");c+="; Max-Age="+Math.floor(u)}if(o.domain){if(!i.test(o.domain))throw TypeError("option domain is invalid");c+="; Domain="+o.domain}if(o.path){if(!i.test(o.path))throw TypeError("option path is invalid");c+="; Path="+o.path}if(o.expires){if("function"!=typeof o.expires.toUTCString)throw TypeError("option expires is invali
6d");c+="; Expires="+o.expires.toUTCString()}if(o.httpOnly&&(c+="; HttpOnly"),o.secure&&(c+="; Secure"),o.sameSite)switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:case"strict":c+="; SameSite=Strict";break;case"lax":c+="; SameSite=Lax";break;case"none":c+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return c};var r=decodeURIComponent,n=encodeURIComponent,i=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/},45338:function(e,t,r){r.d(t,{QS:function(){return u}});var n=r(67294);let i={delta:10,preventScrollOnSwipe:!1,rotationAngle:0,trackMouse:!1,trackTouch:!0,swipeDuration:1/0,touchEventOptions:{passive:!0}},o={first:!0,initial:[0,0],start:0,swiping:!1,xy:[0,0]},s="mousemove",a="mouseup";function c(e,t){if(0===t)return e;let r=Math.PI/180*t,n=e[0]*Math.cos(r)+e[1]*Math.sin(r),i=e[1]*Math.cos(r)-e[0]*Math.sin(r);return[n,i]}function u(e){var t,r,u;let l;let{trackMouse:p}=e,f=n.useRef(Object.assign({},o)),h=n.useRef(Object.assign({},i)),d=n.useRef(Object.assign({},h.current));for(l in d.current=Object.assign({},h.current),h.current=Object.assign(Object.assign({},i),e),i)void 0===h.current[l]&&(h.current[l]=i[l]);let[g,v]=n.useMemo(()=>(function(e,t){let r=t=>{let r="touches"in t;r&&t.touches.length>1||e((e,i)=>{i.trackMouse&&!r&&(document.addEventListener(s,n),document.addEventListener(a,p));let{clientX:u,clientY:l}=r?t.touches[0]:t,f=c([u,l],i.rotationAngle);return i.onTouchStartOrOnMouseDown&&i.onTouchStartOrOnMouseDown({event:t}),Object.assign(Object.assign(Object.assign({}
6,e),o),{initial:f.slice(),xy:f,start:t.timeStamp||0})})},n=t=>{e((e,r)=>{let n="touches"in t;if(n&&t.touches.length>1)return e;if(t.timeStamp-e.start>r.swipeDuration)return e.swiping?Object.assign(Object.assign({},e),{swiping:!1}):e;let{clientX:o,clientY:s}=n?t.touches[0]:t,[a,u]=c([o,s],r.rotationAngle),l=a-e.xy[0],p=u-e.xy[1],f=Math.abs(l),h=Math.abs(p),d=(t.timeStamp||0)-e.start,g=Math.sqrt(f*f+h*h)/(d||1),v=[l/(d||1),p/(d||1)],m=f>h?l>0?"Right":"Left":p>0?"Down":"Up",O="number"==typeof r.delta?r.delta:r.delta[m.toLowerCase()]||i.delta;if(f<O&&h<O&&!e.swiping)return e;let S={absX:f,absY:h,deltaX:l,deltaY:p,dir:m,event:t,first:e.first,initial:e.initial,velocity:g,vxvy:v};S.first&&r.onSwipeStart&&r.onSwipeStart(S),r.onSwiping&&r.onSwiping(S);let w=!1;return(r.onSwiping||r.onSwiped||r[`onSwiped${m}`])&&(w=!0),w&&r.preventScrollOnSwipe&&r.trackTouch&&t.cancelable&&t.preventDefault(),Object.assign(Object.assign({},e),{first:!1,eventData:S,swiping:!0})})},u=t=>{e((e,r)=>{let n;if(e.swiping&&e.eventData){if(t.timeStamp-e.start<r.swipeDuration){n=Object.assign(Object.assign({},e.eventData),{event:t}),r.onSwiped&&r.onSwiped(n);let i=r[`onSwiped${n.dir}`];i&&i(n)}}else r.onTap&&r.onTap({event:t});return r.onTouchEndOrOnMouseUp&&r.onTouchEndOrOnMouseUp({event:t}),Object.assign(Object.assign(Object.assign({},e),o),{eventData:n})})},l=()=>{document.removeEventListener(s,n),document.removeEventListener(a,p)},p=e=>{l(),u(e)},f=(e,t)=>{let o=()=>{};if(e&&e.addEventListener){let s=Object.assign(Object.assign({},i.touchEventOptions),t.touchEventOptions),a=[["touchstart",r,s],["touchmove",n,Object.assign(Object.assign({},s),t.preventScrollOnSwipe?{passive:!1}:{})],["touchend",u,s]];a.forEach(([t,r,n])=>e.addEventListener(t,r,n)),o=()=>a.forEach(([t,r])=>e.removeEventListener(t,r))}return o},h={ref:t=>{null!==t&&e((e,r)=>{if(e.el===t)return e;let n={};return e.el&&e.el!==t&&e.cleanUpTouch&&(e.cleanUpTouch(),n.cleanUpTouch=void 0),r.trackTouch&&t&&(n.cleanUpTouch=f(t,r)),Object.assign(Object.assign(Object.assign({},e),{el:t}),n)})}};return t.trackMouse&&(h.onMouseDown=r),[h,f]})(e=>f.current=e(f.current,h.current),{trackMouse:p}),[p]);return f.current=(t=f.current,r=h.current,u=d.current,r.trackTouch&&t.el?t.cleanUpTouch?r.preventScrollOnSwipe!==u.preventScrollOnSwipe||r.touchEventOptions.passive!==u.touchEventOptions.passive?(t.cleanUpTouch(),Object.assign(Object.assign({},t),{cleanUpTouch:v(t.el,r)})):t:Object.assign(Object.assign({},t),{cleanUpTouch:v(t.el,r)}):(t.cleanUpTouch&&t.cleanUpTouch(),Object.assign(Object.assign({},t),{cleanUpTouch:void 0}))),g}},69328:function(e){var t={decodeValues:!0,map:!1,silent:!1};function r(e){return"string"==typeof e&&!!e.trim()}function n(e,n){var i,o,s,a,c=e.split(";").filter(r),u=(i=c.shift(),o="",s="",(a=i.split("=")).length>1?(o=a.shift(),s=a.join("=")):s=i,{name:o,value:s}),l=u.name,p=u.value;n=n?Object.assign({},t,n):t;try{p=n.decodeValues?decodeURIComponent(p):p}catch(e){console.error("set-cookie-parser encountered an error while decoding a cookie with value '"+p+"'. Set options.decodeValues to false to disable this feature.",e)}var f={name:l,value:p};return c.forEach(function(e){var t=e.split("="),r=t.shift().trimLeft().toLowerCase(),n=t.join("=");"expires"===r?f.expires=new Date(n):"max-age"===r?f.maxAge=parseInt(n,10):"secure"===r?f.secure=!0:"httponly"===r?f.httpOnly=!0:"samesite"===r?f.sameSite=n:f[r]=n}),f}function i(e,i){if(i=i?Object.assign({},t,i):t,!e)return i.map?{}:[];if(e.headers){if("function"==typeof e.headers.getSetCookie)e=e.headers.getSetCookie();else if(e.headers["set-cookie"])e=e.headers["set-cookie"];else{var o=e.headers[Object.keys(e.headers).find(function(e){return"set-cookie"===e.toLowerCase()})];o||!e.headers.cookie||i.silent||console.warn("Warning: set-cookie-parser appears to have been called on a request object. It is designed to parse Set-Cookie headers from responses, not Cookie headers from requests. Set the option {silent: true} to suppress this warning."),e=o}}return(Array.isArray(e)||(e=[e]),(i=i?Object.assign({},t,i):t).map)?e.filter(r).reduce(function(e,t){var r=n(t,i);return e[r.name]=r,e},{}):e.filter(r).map(function(e){return n(e,i)})}
vendor: 547 bytes, line 6
6e.exports=i,e.exports.parse=i,e.exports.parseString=n,e.exports.splitCookiesString=function(e){if(Array.isArray(e))return e;if("string"!=typeof e)return[];var t,r,n,i,o,s=[],a=0;function c(){for(;a<e.length&&/\s/.test(e.charAt(a));)a+=1;return a<e.length}for(;a<e.length;){for(t=a,o=!1;c();)if(","===(r=e.charAt(a))){for(n=a,a+=1,c(),i=a;a<e.length&&"="!==(r=e.charAt(a))&&";"!==r&&","!==r;)a+=1;a<e.length&&"="===e.charAt(a)?(o=!0,a=i,s.push(e.substring(t,n)),t=a):a=n+1}else a+=1;(!o||a>=e.length)&&s.push(e.substring(t,e.length))}return s}}}]);
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.