%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/node_modules/next/dist/compiled/@hapi/accept/
Upload File :
Create Path :
Current File : /var/www/html/node_modules/next/dist/compiled/@hapi/accept/index.js

(()=>{"use strict";var e={298:(e,t,r)=>{const n=r(135);const o=r(749);const s={};t.selection=function(e,r,n){const o=t.selections(e,r,n);return o.length?o[0]:""};t.selections=function(e,t,r){n.assert(!t||Array.isArray(t),"Preferences must be an array");return s.parse(e||"",t,r)};s.parse=function(e,t,r){const n=e.replace(/[ \t]/g,"");const a=new Map;if(t){let e=0;for(const n of t){const t=n.toLowerCase();a.set(t,{orig:n,pos:e++});if(r.prefixMatch){const r=t.split("-");while(r.pop(),r.length>0){const t=r.join("-");if(!a.has(t)){a.set(t,{orig:n,pos:e++})}}}}}const i=n.split(",");const u=[];const c=new Set;for(let e=0;e<i.length;++e){const n=i[e];if(!n){continue}const s=n.split(";");if(s.length>2){throw o.badRequest(`Invalid ${r.type} header`)}let f=s[0].toLowerCase();if(!f){throw o.badRequest(`Invalid ${r.type} header`)}if(r.equivalents&&r.equivalents.has(f)){f=r.equivalents.get(f)}const l={token:f,pos:e,q:1};if(t&&a.has(f)){l.pref=a.get(f).pos}c.add(l.token);if(s.length===2){const e=s[1];const[t,n]=e.split("=");if(!n||t!=="q"&&t!=="Q"){throw o.badRequest(`Invalid ${r.type} header`)}const a=parseFloat(n);if(a===0){continue}if(Number.isFinite(a)&&a<=1&&a>=.001){l.q=a}}u.push(l)}u.sort(s.sort);const f=u.map((e=>e.token));if(r.default&&!c.has(r.default)){f.push(r.default)}if(!t||!t.length){return f}const l=[];for(const e of f){if(e==="*"){for(const[e,t]of a){if(!c.has(e)){l.push(t.orig)}}}else{const t=e.toLowerCase();if(a.has(t)){l.push(a.get(t).orig)}}}return l};s.sort=function(e,t){const r=-1;const n=1;if(t.q!==e.q){return t.q-e.q}if(t.pref!==e.pref){if(e.pref===undefined){return n}if(t.pref===undefined){return r}return e.pref-t.pref}return e.pos-t.pos}},538:(e,t,r)=>{const n=r(298);const o=r(305);const s={options:{charset:{type:"accept-charset"},encoding:{type:"accept-encoding",default:"identity",equivalents:new Map([["x-compress","compress"],["x-gzip","gzip"]])},language:{type:"accept-language",prefixMatch:true}}};for(const e in s.options){t[e]=(t,r)=>n.selection(t,r,s.options[e]);t[`${e}s`]=(t,r)=>n.selections(t,r,s.options[e])}t.mediaType=(e,t)=>o.selection(e,t);t.mediaTypes=(e,t)=>o.selections(e,t);t.parseAll=function(e){return{charsets:t.charsets(e["accept-charset"]),encodings:t.encodings(e["accept-encoding"]),languages:t.languages(e["accept-language"]),mediaTypes:t.mediaTypes(e.accept)}}},305:(e,t,r)=>{const n=r(135);const o=r(749);const s={};t.selection=function(e,r){const n=t.selections(e,r);return n.length?n[0]:""};t.selections=function(e,t){n.assert(!t||Array.isArray(t),"Preferences must be an array");return s.parse(e,t)};s.validMediaRx=/^(?:\*\/\*)|(?:[\w\!#\$%&'\*\+\-\.\^`\|~]+\/\*)|(?:[\w\!#\$%&'\*\+\-\.\^`\|~]+\/[\w\!#\$%&'\*\+\-\.\^`\|~]+)$/;s.parse=function(e,t){const{header:r,quoted:n}=s.normalize(e);const a=r.split(",");const i=[];const u={};for(let e=0;e<a.length;++e){const t=a[e];if(!t){continue}const r=t.split(";");const c=r.shift().toLowerCase();if(!s.validMediaRx.test(c)){continue}const f={token:c,params:{},exts:{},pos:e};let l="params";for(const e of r){const t=e.split("=");if(t.length!==2||!t[1]){throw o.badRequest(`Invalid accept header`)}const r=t[0];let s=t[1];if(r==="q"||r==="Q"){l="exts";s=parseFloat(s);if(!Number.isFinite(s)||s>1||s<.001&&s!==0){s=1}f.q=s}else{if(s[0]==='"'){s=`"${n[s]}"`}f[l][t[0]]=s}}const p=Object.keys(f.params);f.original=[""].concat(p.map((e=>`${e}=${f.params[e]}`))).join(";");f.specificity=p.length;if(f.q===undefined){f.q=1}const d=f.token.split("/");f.type=d[0];f.subtype=d[1];u[f.token]=f;if(f.q){i.push(f)}}i.sort(s.sort);return s.preferences(u,i,t)};s.normalize=function(e){e=e||"*/*";const t={header:e,quoted:{}};if(e.includes('"')){let r=0;t.header=e.replace(/="([^"]*)"/g,((e,n)=>{const o='"'+ ++r;t.quoted[o]=n;return"="+o}))}t.header=t.header.replace(/[ \t]/g,"");return t};s.sort=function(e,t){if(t.q!==e.q){return t.q-e.q}if(e.type!==t.type){return s.innerSort(e,t,"type")}if(e.subtype!==t.subtype){return s.innerSort(e,t,"subtype")}if(e.specificity!==t.specificity){return t.specificity-e.specificity}return e.pos-t.pos};s.innerSort=function(e,t,r){const n=-1;const o=1;if(e[r]==="*"){return o}if(t[r]==="*"){return n}return e[r]<t[r]?n:o};s.preferences=function(e,t,r){if(!r||!r.length){return t.map((e=>e.token+e.original))}const o=Object.create(null);const s=Object.create(null);let a=false;for(const e of r){const t=e.toLowerCase();s[t]=e;const r=t.split("/");const i=r[0];const u=r[1];if(i==="*"){n.assert(u==="*","Invalid media type preference contains wildcard type with a subtype");a=true;continue}o[i]=o[i]||Object.create(null);o[i][u]=e}const i=[];for(const r of t){const t=r.token;const{type:n,subtype:u}=e[t];const c=o[n];if(n==="*"){for(const t of Object.keys(s)){if(!e[t]){i.push(s[t])}}if(a){i.push("*/*")}continue}if(a){i.push((s[t]||t)+r.original);continue}if(u!=="*"){const e=s[t];if(e||c&&c["*"]){i.push((e||t)+r.original)}continue}if(c){for(const t of Object.keys(c)){if(!e[`${n}/${t}`]){i.push(c[t])}}}}return i}},749:(e,t,r)=>{const n=r(135);const o={codes:new Map([[100,"Continue"],[101,"Switching Protocols"],[102,"Processing"],[200,"OK"],[201,"Created"],[202,"Accepted"],[203,"Non-Authoritative Information"],[204,"No Content"],[205,"Reset Content"],[206,"Partial Content"],[207,"Multi-Status"],[300,"Multiple Choices"],[301,"Moved Permanently"],[302,"Moved Temporarily"],[303,"See Other"],[304,"Not Modified"],[305,"Use Proxy"],[307,"Temporary Redirect"],[400,"Bad Request"],[401,"Unauthorized"],[402,"Payment Required"],[403,"Forbidden"],[404,"Not Found"],[405,"Method Not Allowed"],[406,"Not Acceptable"],[407,"Proxy Authentication Required"],[408,"Request Time-out"],[409,"Conflict"],[410,"Gone"],[411,"Length Required"],[412,"Precondition Failed"],[413,"Request Entity Too Large"],[414,"Request-URI Too Large"],[415,"Unsupported Media Type"],[416,"Requested Range Not Satisfiable"],[417,"Expectation Failed"],[418,"I'm a teapot"],[422,"Unprocessable Entity"],[423,"Locked"],[424,"Failed Dependency"],[425,"Too Early"],[426,"Upgrade Required"],[428,"Precondition Required"],[429,"Too Many Requests"],[431,"Request Header Fields Too Large"],[451,"Unavailable For Legal Reasons"],[500,"Internal Server Error"],[501,"Not Implemented"],[502,"Bad Gateway"],[503,"Service Unavailable"],[504,"Gateway Time-out"],[505,"HTTP Version Not Supported"],[506,"Variant Also Negotiates"],[507,"Insufficient Storage"],[509,"Bandwidth Limit Exceeded"],[510,"Not Extended"],[511,"Network Authentication Required"]])};t.Boom=class extends Error{constructor(e,r={}){if(e instanceof Error){return t.boomify(n.clone(e),r)}const{statusCode:s=500,data:a=null,ctor:i=t.Boom}=r;const u=new Error(e?e:undefined);Error.captureStackTrace(u,i);u.data=a;const c=o.initialize(u,s);Object.defineProperty(c,"typeof",{value:i});if(r.decorate){Object.assign(c,r.decorate)}return c}static[Symbol.hasInstance](e){return t.isBoom(e)}};t.isBoom=function(e,t){return e instanceof Error&&!!e.isBoom&&(!t||e.output.statusCode===t)};t.boomify=function(e,t){n.assert(e instanceof Error,"Cannot wrap non-Error object");t=t||{};if(t.data!==undefined){e.data=t.data}if(t.decorate){Object.assign(e,t.decorate)}if(!e.isBoom){return o.initialize(e,t.statusCode||500,t.message)}if(t.override===false||!t.statusCode&&!t.message){return e}return o.initialize(e,t.statusCode||e.output.statusCode,t.message)};t.badRequest=function(e,r){return new t.Boom(e,{statusCode:400,data:r,ctor:t.badRequest})};t.unauthorized=function(e,r,o){const s=new t.Boom(e,{statusCode:401,ctor:t.unauthorized});if(!r){return s}if(typeof r!=="string"){s.output.headers["WWW-Authenticate"]=r.join(", ");return s}let a=`${r}`;if(o||e){s.output.payload.attributes={}}if(o){if(typeof o==="string"){a+=" "+n.escapeHeaderAttribute(o);s.output.payload.attributes=o}else{a+=" "+Object.keys(o).map((e=>{let t=o[e];if(t===null||t===undefined){t=""}s.output.payload.attributes[e]=t;return`${e}="${n.escapeHeaderAttribute(t.toString())}"`})).join(", ")}}if(e){if(o){a+=","}a+=` error="${n.escapeHeaderAttribute(e)}"`;s.output.payload.attributes.error=e}else{s.isMissing=true}s.output.headers["WWW-Authenticate"]=a;return s};t.paymentRequired=function(e,r){return new t.Boom(e,{statusCode:402,data:r,ctor:t.paymentRequired})};t.forbidden=function(e,r){return new t.Boom(e,{statusCode:403,data:r,ctor:t.forbidden})};t.notFound=function(e,r){return new t.Boom(e,{statusCode:404,data:r,ctor:t.notFound})};t.methodNotAllowed=function(e,r,n){const o=new t.Boom(e,{statusCode:405,data:r,ctor:t.methodNotAllowed});if(typeof n==="string"){n=[n]}if(Array.isArray(n)){o.output.headers.Allow=n.join(", ")}return o};t.notAcceptable=function(e,r){return new t.Boom(e,{statusCode:406,data:r,ctor:t.notAcceptable})};t.proxyAuthRequired=function(e,r){return new t.Boom(e,{statusCode:407,data:r,ctor:t.proxyAuthRequired})};t.clientTimeout=function(e,r){return new t.Boom(e,{statusCode:408,data:r,ctor:t.clientTimeout})};t.conflict=function(e,r){return new t.Boom(e,{statusCode:409,data:r,ctor:t.conflict})};t.resourceGone=function(e,r){return new t.Boom(e,{statusCode:410,data:r,ctor:t.resourceGone})};t.lengthRequired=function(e,r){return new t.Boom(e,{statusCode:411,data:r,ctor:t.lengthRequired})};t.preconditionFailed=function(e,r){return new t.Boom(e,{statusCode:412,data:r,ctor:t.preconditionFailed})};t.entityTooLarge=function(e,r){return new t.Boom(e,{statusCode:413,data:r,ctor:t.entityTooLarge})};t.uriTooLong=function(e,r){return new t.Boom(e,{statusCode:414,data:r,ctor:t.uriTooLong})};t.unsupportedMediaType=function(e,r){return new t.Boom(e,{statusCode:415,data:r,ctor:t.unsupportedMediaType})};t.rangeNotSatisfiable=function(e,r){return new t.Boom(e,{statusCode:416,data:r,ctor:t.rangeNotSatisfiable})};t.expectationFailed=function(e,r){return new t.Boom(e,{statusCode:417,data:r,ctor:t.expectationFailed})};t.teapot=function(e,r){return new t.Boom(e,{statusCode:418,data:r,ctor:t.teapot})};t.badData=function(e,r){return new t.Boom(e,{statusCode:422,data:r,ctor:t.badData})};t.locked=function(e,r){return new t.Boom(e,{statusCode:423,data:r,ctor:t.locked})};t.failedDependency=function(e,r){return new t.Boom(e,{statusCode:424,data:r,ctor:t.failedDependency})};t.tooEarly=function(e,r){return new t.Boom(e,{statusCode:425,data:r,ctor:t.tooEarly})};t.preconditionRequired=function(e,r){return new t.Boom(e,{statusCode:428,data:r,ctor:t.preconditionRequired})};t.tooManyRequests=function(e,r){return new t.Boom(e,{statusCode:429,data:r,ctor:t.tooManyRequests})};t.illegal=function(e,r){return new t.Boom(e,{statusCode:451,data:r,ctor:t.illegal})};t.internal=function(e,r,n=500){return o.serverError(e,r,n,t.internal)};t.notImplemented=function(e,r){return o.serverError(e,r,501,t.notImplemented)};t.badGateway=function(e,r){return o.serverError(e,r,502,t.badGateway)};t.serverUnavailable=function(e,r){return o.serverError(e,r,503,t.serverUnavailable)};t.gatewayTimeout=function(e,r){return o.serverError(e,r,504,t.gatewayTimeout)};t.badImplementation=function(e,r){const n=o.serverError(e,r,500,t.badImplementation);n.isDeveloperError=true;return n};o.initialize=function(e,t,r){const s=parseInt(t,10);n.assert(!isNaN(s)&&s>=400,"First argument must be a number (400+):",t);e.isBoom=true;e.isServer=s>=500;if(!e.hasOwnProperty("data")){e.data=null}e.output={statusCode:s,payload:{},headers:{}};Object.defineProperty(e,"reformat",{value:o.reformat});if(!r&&!e.message){e.reformat();r=e.output.payload.error}if(r){const t=Object.getOwnPropertyDescriptor(e,"message")||Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e),"message");n.assert(!t||t.configurable&&!t.get,"The error is not compatible with boom");e.message=r+(e.message?": "+e.message:"");e.output.payload.message=e.message}e.reformat();return e};o.reformat=function(e=false){this.output.payload.statusCode=this.output.statusCode;this.output.payload.error=o.codes.get(this.output.statusCode)||"Unknown";if(this.output.statusCode===500&&e!==true){this.output.payload.message="An internal server error occurred"}else if(this.message){this.output.payload.message=this.message}};o.serverError=function(e,r,n,o){if(r instanceof Error&&!r.isBoom){return t.boomify(r,{statusCode:n,message:e})}return new t.Boom(e,{statusCode:n,data:r,ctor:o})}},181:(e,t,r)=>{const n=r(498);const o=r(920);const s=r(89);const a=r(938);const i={};e.exports=function(e,t,r={}){n(e&&typeof e==="object","Invalid defaults value: must be an object");n(!t||t===true||typeof t==="object","Invalid source value: must be true, falsy or an object");n(typeof r==="object","Invalid options: must be an object");if(!t){return null}if(r.shallow){return i.applyToDefaultsWithShallow(e,t,r)}const a=o(e);if(t===true){return a}const u=r.nullOverride!==undefined?r.nullOverride:false;return s(a,t,{nullOverride:u,mergeArrays:false})};i.applyToDefaultsWithShallow=function(e,t,r){const u=r.shallow;n(Array.isArray(u),"Invalid keys");const c=new Map;const f=t===true?null:new Set;for(let r of u){r=Array.isArray(r)?r:r.split(".");const n=a(e,r);if(n&&typeof n==="object"){c.set(n,f&&a(t,r)||n)}else if(f){f.add(r)}}const l=o(e,{},c);if(!f){return l}for(const e of f){i.reachCopy(l,t,e)}return s(l,t,{mergeArrays:false,nullOverride:false})};i.reachCopy=function(e,t,r){for(const e of r){if(!(e in t)){return}t=t[e]}const n=t;let o=e;for(let e=0;e<r.length-1;++e){const t=r[e];if(typeof o[t]!=="object"){o[t]={}}o=o[t]}o[r[r.length-1]]=n}},498:(e,t,r)=>{const n=r(650);const o={};e.exports=function(e,...t){if(e){return}if(t.length===1&&t[0]instanceof Error){throw t[0]}throw new n(t)}},0:e=>{const t={};e.exports=t.Bench=class{constructor(){this.ts=0;this.reset()}reset(){this.ts=t.Bench.now()}elapsed(){return t.Bench.now()-this.ts}static now(){const e=process.hrtime();return e[0]*1e3+e[1]/1e6}}},761:(e,t,r)=>{const n=r(908);const o={};e.exports=function(){return new Promise(n)}},920:(e,t,r)=>{const n=r(938);const o=r(520);const s=r(932);const a={needsProtoHack:new Set([o.set,o.map,o.weakSet,o.weakMap])};e.exports=a.clone=function(e,t={},r=null){if(typeof e!=="object"||e===null){return e}let n=a.clone;let i=r;if(t.shallow){if(t.shallow!==true){return a.cloneWithShallow(e,t)}n=e=>e}else if(i){const t=i.get(e);if(t){return t}}else{i=new Map}const u=o.getInternalProto(e);if(u===o.buffer){return Buffer&&Buffer.from(e)}if(u===o.date){return new Date(e.getTime())}if(u===o.regex){return new RegExp(e)}const c=a.base(e,u,t);if(c===e){return e}if(i){i.set(e,c)}if(u===o.set){for(const r of e){c.add(n(r,t,i))}}else if(u===o.map){for(const[r,o]of e){c.set(r,n(o,t,i))}}const f=s.keys(e,t);for(const r of f){if(r==="__proto__"){continue}if(u===o.array&&r==="length"){c.length=e.length;continue}const s=Object.getOwnPropertyDescriptor(e,r);if(s){if(s.get||s.set){Object.defineProperty(c,r,s)}else if(s.enumerable){c[r]=n(e[r],t,i)}else{Object.defineProperty(c,r,{enumerable:false,writable:true,configurable:true,value:n(e[r],t,i)})}}else{Object.defineProperty(c,r,{enumerable:true,writable:true,configurable:true,value:n(e[r],t,i)})}}return c};a.cloneWithShallow=function(e,t){const r=t.shallow;t=Object.assign({},t);t.shallow=false;const o=new Map;for(const t of r){const r=n(e,t);if(typeof r==="object"||typeof r==="function"){o.set(r,r)}}return a.clone(e,t,o)};a.base=function(e,t,r){if(r.prototype===false){if(a.needsProtoHack.has(t)){return new t.constructor}return t===o.array?[]:{}}const n=Object.getPrototypeOf(e);if(n&&n.isImmutable){return e}if(t===o.array){const e=[];if(n!==t){Object.setPrototypeOf(e,n)}return e}if(a.needsProtoHack.has(t)){const e=new n.constructor;if(n!==t){Object.setPrototypeOf(e,n)}return e}return Object.create(n)}},101:(e,t,r)=>{const n=r(498);const o=r(17);const s=r(212);const a=r(932);const i={};e.exports=function(e,t,r={}){if(typeof t!=="object"){t=[t]}n(!Array.isArray(t)||t.length,"Values array cannot be empty");if(typeof e==="string"){return i.string(e,t,r)}if(Array.isArray(e)){return i.array(e,t,r)}n(typeof e==="object","Reference must be string or an object");return i.object(e,t,r)};i.array=function(e,t,r){if(!Array.isArray(t)){t=[t]}if(!e.length){return false}if(r.only&&r.once&&e.length!==t.length){return false}let n;const o=new Map;for(const e of t){if(!r.deep||!e||typeof e!=="object"){const t=o.get(e);if(t){++t.allowed}else{o.set(e,{allowed:1,hits:0})}}else{n=n||i.compare(r);let t=false;for(const[r,s]of o.entries()){if(n(r,e)){++s.allowed;t=true;break}}if(!t){o.set(e,{allowed:1,hits:0})}}}let s=0;for(const t of e){let e;if(!r.deep||!t||typeof t!=="object"){e=o.get(t)}else{n=n||i.compare(r);for(const[r,s]of o.entries()){if(n(r,t)){e=s;break}}}if(e){++e.hits;++s;if(r.once&&e.hits>e.allowed){return false}}}if(r.only&&s!==e.length){return false}for(const e of o.values()){if(e.hits===e.allowed){continue}if(e.hits<e.allowed&&!r.part){return false}}return!!s};i.object=function(e,t,r){n(r.once===undefined,"Cannot use option once with object");const o=a.keys(e,r);if(!o.length){return false}if(Array.isArray(t)){return i.array(o,t,r)}const s=Object.getOwnPropertySymbols(t).filter((e=>t.propertyIsEnumerable(e)));const u=[...Object.keys(t),...s];const c=i.compare(r);const f=new Set(u);for(const n of o){if(!f.has(n)){if(r.only){return false}continue}if(!c(t[n],e[n])){return false}f.delete(n)}if(f.size){return r.part?f.size<u.length:false}return true};i.string=function(e,t,r){if(e===""){return t.length===1&&t[0]===""||!r.once&&!t.some((e=>e!==""))}const o=new Map;const a=[];for(const e of t){n(typeof e==="string","Cannot compare string reference to non-string value");if(e){const t=o.get(e);if(t){++t.allowed}else{o.set(e,{allowed:1,hits:0});a.push(s(e))}}else if(r.once||r.only){return false}}if(!a.length){return true}const i=new RegExp(`(${a.join("|")})`,"g");const u=e.replace(i,((e,t)=>{++o.get(t).hits;return""}));if(r.only&&u){return false}let c=false;for(const e of o.values()){if(e.hits){c=true}if(e.hits===e.allowed){continue}if(e.hits<e.allowed&&!r.part){return false}if(r.once){return false}}return!!c};i.compare=function(e){if(!e.deep){return i.shallow}const t=e.only!==undefined;const r=e.part!==undefined;const n={prototype:t?e.only:r?!e.part:false,part:t?!e.only:r?e.part:false};return(e,t)=>o(e,t,n)};i.shallow=function(e,t){return e===t}},17:(e,t,r)=>{const n=r(520);const o={mismatched:null};e.exports=function(e,t,r){r=Object.assign({prototype:true},r);return!!o.isDeepEqual(e,t,r,[])};o.isDeepEqual=function(e,t,r,s){if(e===t){return e!==0||1/e===1/t}const a=typeof e;if(a!==typeof t){return false}if(e===null||t===null){return false}if(a==="function"){if(!r.deepFunction||e.toString()!==t.toString()){return false}}else if(a!=="object"){return e!==e&&t!==t}const i=o.getSharedType(e,t,!!r.prototype);switch(i){case n.buffer:return Buffer&&Buffer.prototype.equals.call(e,t);case n.promise:return e===t;case n.regex:return e.toString()===t.toString();case o.mismatched:return false}for(let r=s.length-1;r>=0;--r){if(s[r].isSame(e,t)){return true}}s.push(new o.SeenEntry(e,t));try{return!!o.isDeepEqualObj(i,e,t,r,s)}finally{s.pop()}};o.getSharedType=function(e,t,r){if(r){if(Object.getPrototypeOf(e)!==Object.getPrototypeOf(t)){return o.mismatched}return n.getInternalProto(e)}const s=n.getInternalProto(e);if(s!==n.getInternalProto(t)){return o.mismatched}return s};o.valueOf=function(e){const t=e.valueOf;if(t===undefined){return e}try{return t.call(e)}catch(e){return e}};o.hasOwnEnumerableProperty=function(e,t){return Object.prototype.propertyIsEnumerable.call(e,t)};o.isSetSimpleEqual=function(e,t){for(const r of Set.prototype.values.call(e)){if(!Set.prototype.has.call(t,r)){return false}}return true};o.isDeepEqualObj=function(e,t,r,s,a){const{isDeepEqual:i,valueOf:u,hasOwnEnumerableProperty:c}=o;const{keys:f,getOwnPropertySymbols:l}=Object;if(e===n.array){if(s.part){for(const e of t){for(const t of r){if(i(e,t,s,a)){return true}}}}else{if(t.length!==r.length){return false}for(let e=0;e<t.length;++e){if(!i(t[e],r[e],s,a)){return false}}return true}}else if(e===n.set){if(t.size!==r.size){return false}if(!o.isSetSimpleEqual(t,r)){const e=new Set(Set.prototype.values.call(r));for(const r of Set.prototype.values.call(t)){if(e.delete(r)){continue}let t=false;for(const n of e){if(i(r,n,s,a)){e.delete(n);t=true;break}}if(!t){return false}}}}else if(e===n.map){if(t.size!==r.size){return false}for(const[e,n]of Map.prototype.entries.call(t)){if(n===undefined&&!Map.prototype.has.call(r,e)){return false}if(!i(n,Map.prototype.get.call(r,e),s,a)){return false}}}else if(e===n.error){if(t.name!==r.name||t.message!==r.message){return false}}const p=u(t);const d=u(r);if((t!==p||r!==d)&&!i(p,d,s,a)){return false}const y=f(t);if(!s.part&&y.length!==f(r).length&&!s.skip){return false}let g=0;for(const e of y){if(s.skip&&s.skip.includes(e)){if(r[e]===undefined){++g}continue}if(!c(r,e)){return false}if(!i(t[e],r[e],s,a)){return false}}if(!s.part&&y.length-g!==f(r).length){return false}if(s.symbols!==false){const e=l(t);const n=new Set(l(r));for(const o of e){if(!s.skip||!s.skip.includes(o)){if(c(t,o)){if(!c(r,o)){return false}if(!i(t[o],r[o],s,a)){return false}}else if(c(r,o)){return false}}n.delete(o)}for(const e of n){if(c(r,e)){return false}}}return true};o.SeenEntry=class{constructor(e,t){this.obj=e;this.ref=t}isSame(e,t){return this.obj===e&&this.ref===t}}},650:(e,t,r)=>{const n=r(710);const o={};e.exports=class extends Error{constructor(e){const r=e.filter((e=>e!=="")).map((e=>typeof e==="string"?e:e instanceof Error?e.message:n(e)));super(r.join(" ")||"Unknown error");if(typeof Error.captureStackTrace==="function"){Error.captureStackTrace(this,t.assert)}}}},401:(e,t,r)=>{const n=r(498);const o={};e.exports=function(e){n(/^[ \w\!#\$%&'\(\)\*\+,\-\.\/\:;<\=>\?@\[\]\^`\{\|\}~\"\\]*$/.test(e),"Bad attribute value ("+e+")");return e.replace(/\\/g,"\\\\").replace(/\"/g,'\\"')}},682:e=>{const t={};e.exports=function(e){if(!e){return""}let r="";for(let n=0;n<e.length;++n){const o=e.charCodeAt(n);if(t.isSafe(o)){r+=e[n]}else{r+=t.escapeHtmlChar(o)}}return r};t.escapeHtmlChar=function(e){const r=t.namedHtml[e];if(typeof r!=="undefined"){return r}if(e>=256){return"&#"+e+";"}const n=e.toString(16).padStart(2,"0");return`&#x${n};`};t.isSafe=function(e){return typeof t.safeCharCodes[e]!=="undefined"};t.namedHtml={38:"&amp;",60:"&lt;",62:"&gt;",34:"&quot;",160:"&nbsp;",162:"&cent;",163:"&pound;",164:"&curren;",169:"&copy;",174:"&reg;"};t.safeCharCodes=function(){const e={};for(let t=32;t<123;++t){if(t>=97||t>=65&&t<=90||t>=48&&t<=57||t===32||t===46||t===44||t===45||t===58||t===95){e[t]=null}}return e}()},303:e=>{const t={};e.exports=function(e){if(!e){return""}const t=60;const r=62;const n=38;const o=8232;let s;return e.replace(/[<>&\u2028\u2029]/g,(e=>{s=e.charCodeAt(0);if(s===t){return"\\u003c"}if(s===r){return"\\u003e"}if(s===n){return"\\u0026"}if(s===o){return"\\u2028"}return"\\u2029"}))}},212:e=>{const t={};e.exports=function(e){return e.replace(/[\^\$\.\*\+\-\?\=\!\:\|\\\/\(\)\[\]\{\}\,]/g,"\\$&")}},385:e=>{const t={};e.exports=t.flatten=function(e,r){const n=r||[];for(let r=0;r<e.length;++r){if(Array.isArray(e[r])){t.flatten(e[r],n)}else{n.push(e[r])}}return n}},908:e=>{const t={};e.exports=function(){}},135:(e,t,r)=>{const n={};e.exports={applyToDefaults:r(181),assert:r(498),Bench:r(0),block:r(761),clone:r(920),contain:r(101),deepEqual:r(17),Error:r(650),escapeHeaderAttribute:r(401),escapeHtml:r(682),escapeJson:r(303),escapeRegex:r(212),flatten:r(385),ignore:r(908),intersect:r(332),isPromise:r(539),merge:r(89),once:r(246),reach:r(938),reachTemplate:r(768),stringify:r(710),wait:r(421)}},332:e=>{const t={};e.exports=function(e,r,n={}){if(!e||!r){return n.first?null:[]}const o=[];const s=Array.isArray(e)?new Set(e):e;const a=new Set;for(const e of r){if(t.has(s,e)&&!a.has(e)){if(n.first){return e}o.push(e);a.add(e)}}return n.first?null:o};t.has=function(e,t){if(typeof e.has==="function"){return e.has(t)}return e[t]!==undefined}},539:e=>{const t={};e.exports=function(e){return!!e&&typeof e.then==="function"}},89:(e,t,r)=>{const n=r(498);const o=r(920);const s=r(932);const a={};e.exports=a.merge=function(e,t,r){n(e&&typeof e==="object","Invalid target value: must be an object");n(t===null||t===undefined||typeof t==="object","Invalid source value: must be null, undefined, or an object");if(!t){return e}r=Object.assign({nullOverride:true,mergeArrays:true},r);if(Array.isArray(t)){n(Array.isArray(e),"Cannot merge array onto an object");if(!r.mergeArrays){e.length=0}for(let n=0;n<t.length;++n){e.push(o(t[n],{symbols:r.symbols}))}return e}const i=s.keys(t,r);for(let n=0;n<i.length;++n){const s=i[n];if(s==="__proto__"||!Object.prototype.propertyIsEnumerable.call(t,s)){continue}const u=t[s];if(u&&typeof u==="object"){if(e[s]===u){continue}if(!e[s]||typeof e[s]!=="object"||Array.isArray(e[s])!==Array.isArray(u)||u instanceof Date||Buffer&&Buffer.isBuffer(u)||u instanceof RegExp){e[s]=o(u,{symbols:r.symbols})}else{a.merge(e[s],u,r)}}else{if(u!==null&&u!==undefined){e[s]=u}else if(r.nullOverride){e[s]=u}}}return e}},246:e=>{const t={};e.exports=function(e){if(e._hoekOnce){return e}let t=false;const wrapped=function(...r){if(!t){t=true;e(...r)}};wrapped._hoekOnce=true;return wrapped}},938:(e,t,r)=>{const n=r(498);const o={};e.exports=function(e,t,r){if(t===false||t===null||t===undefined){return e}r=r||{};if(typeof r==="string"){r={separator:r}}const s=Array.isArray(t);n(!s||!r.separator,"Separator option no valid for array-based chain");const a=s?t:t.split(r.separator||".");let i=e;for(let e=0;e<a.length;++e){let s=a[e];const u=r.iterables&&o.iterables(i);if(Array.isArray(i)||u==="set"){const e=Number(s);if(Number.isInteger(e)){s=e<0?i.length+e:e}}if(!i||typeof i==="function"&&r.functions===false||!u&&i[s]===undefined){n(!r.strict||e+1===a.length,"Missing segment",s,"in reach path ",t);n(typeof i==="object"||r.functions===true||typeof i!=="function","Invalid segment",s,"in reach path ",t);i=r.default;break}if(!u){i=i[s]}else if(u==="set"){i=[...i][s]}else{i=i.get(s)}}return i};o.iterables=function(e){if(e instanceof Set){return"set"}if(e instanceof Map){return"map"}}},768:(e,t,r)=>{const n=r(938);const o={};e.exports=function(e,t,r){return t.replace(/{([^}]+)}/g,((t,o)=>{const s=n(e,o,r);return s===undefined||s===null?"":s}))}},710:e=>{const t={};e.exports=function(...e){try{return JSON.stringify.apply(null,e)}catch(e){return"[Cannot display object: "+e.message+"]"}}},520:(e,t)=>{const r={};t=e.exports={array:Array.prototype,buffer:Buffer&&Buffer.prototype,date:Date.prototype,error:Error.prototype,generic:Object.prototype,map:Map.prototype,promise:Promise.prototype,regex:RegExp.prototype,set:Set.prototype,weakMap:WeakMap.prototype,weakSet:WeakSet.prototype};r.typeMap=new Map([["[object Error]",t.error],["[object Map]",t.map],["[object Promise]",t.promise],["[object Set]",t.set],["[object WeakMap]",t.weakMap],["[object WeakSet]",t.weakSet]]);t.getInternalProto=function(e){if(Array.isArray(e)){return t.array}if(Buffer&&e instanceof Buffer){return t.buffer}if(e instanceof Date){return t.date}if(e instanceof RegExp){return t.regex}if(e instanceof Error){return t.error}const n=Object.prototype.toString.call(e);return r.typeMap.get(n)||t.generic}},932:(e,t)=>{const r={};t.keys=function(e,t={}){return t.symbols!==false?Reflect.ownKeys(e):Object.getOwnPropertyNames(e)}},421:e=>{const t={};e.exports=function(e,t){if(typeof e!=="number"&&e!==undefined){throw new TypeError("Timeout must be a number")}return new Promise((r=>setTimeout(r,e,t)))}}};var t={};function __nccwpck_require__(r){var n=t[r];if(n!==undefined){return n.exports}var o=t[r]={exports:{}};var s=true;try{e[r](o,o.exports,__nccwpck_require__);s=false}finally{if(s)delete t[r]}return o.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(538);module.exports=r})();

Zerion Mini Shell 1.0