dsql-admin/dsql-app/.local_dist/static/chunks/pages/_app-f20525907c2f070a.js

1 line
87 KiB
JavaScript
Raw Normal View History

2025-01-13 08:00:21 +00:00
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[636],{1028:function(t,n,e){"use strict";var r=this&&this.__awaiter||function(t,n,e,r){return new(e||(e=Promise))(function(i,u){function a(t){try{l(r.next(t))}catch(t){u(t)}}function o(t){try{l(r.throw(t))}catch(t){u(t)}}function l(t){var n;t.done?i(t.value):((n=t.value)instanceof e?n:new e(function(t){t(n)})).then(a,o)}l((r=r.apply(t,n||[])).next())})},i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(t,n,e,i){return r(this,void 0,void 0,function*(){let r;let a=localStorage.getItem(i||"csrf"),o={"Content-Type":"application/json"};if(e&&a&&(o[`'${a.replace(/\"/g,"")}'`]="true"),"string"==typeof n)try{r="post"===n?(yield fetch(t,{method:n,headers:o})).json():(yield fetch(t)).json()}catch(t){console.log("FetchAPI error #1:",t.message),r=null}else if("object"==typeof n)try{let e;if(n.body&&"object"==typeof n.body){let t=u.default.cloneDeep(n.body);n.body=JSON.stringify(t)}if(n.headers){n.headers=u.default.merge(n.headers,o);let r=Object.assign({},n);e=yield fetch(t,r)}else{let r=Object.assign(Object.assign({},n),{headers:o});e=yield fetch(t,r)}r=e.json()}catch(t){console.log("FetchAPI error #2:",t.message),r=null}else try{let n=yield fetch(t);r=yield n.json()}catch(t){console.log("FetchAPI error #3:",t.message),r=null}return r})};let u=i(e(2543))},2543:function(t,n,e){var r;t=e.nmd(t),(function(){var i,u="Expected a function",a="__lodash_hash_undefined__",o="__lodash_placeholder__",l=1/0,c=0/0,f=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],s="[object Arguments]",h="[object Array]",p="[object Boolean]",d="[object Date]",v="[object Error]",g="[object Function]",_="[object GeneratorFunction]",m="[object Map]",y="[object Number]",x="[object Object]",w="[object Promise]",b="[object RegExp]",j="[object Set]",k="[object String]",A="[object Symbol]",N="[object WeakMap]",E="[object ArrayBuffer]",I="[object DataView]",S="[object Float32Array]",z="[object Float64Array]",L="[object Int8Array]",C="[object Int16Array]",O="[object Int32Array]",R="[object Uint8Array]",D="[object Uint8ClampedArray]",W="[object Uint16Array]",B="[object Uint32Array]",U=/\b__p \+= '';/g,T=/\b(__p \+=) '' \+/g,M=/(__e\(.*?\)|\b__t\)) \+\n'';/g,F=/&(?:amp|lt|gt|quot|#39);/g,q=/[&<>"']/g,P=RegExp(F.source),$=RegExp(q.source),G=/<%-([\s\S]+?)%>/g,Z=/<%([\s\S]+?)%>/g,K=/<%=([\s\S]+?)%>/g,V=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,H=/^\w*$/,Q=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Y=/[\\^$.*+?()[\]{}|]/g,J=RegExp(Y.source),X=/^\s+/,tt=/\s/,tn=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,te=/\{\n\/\* \[wrapped with (.+)\] \*/,tr=/,? & /,ti=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,tu=/[()=,{}\[\]\/\s]/,ta=/\\(\\)?/g,to=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,tl=/\w*$/,tc=/^[-+]0x[0-9a-f]+$/i,tf=/^0b[01]+$/i,ts=/^\[object .+?Constructor\]$/,th=/^0o[0-7]+$/i,tp=/^(?:0|[1-9]\d*)$/,td=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,tv=/($^)/,tg=/['\n\r\u2028\u2029\\]/g,t_="\ud800-\udfff",tm="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",ty="\\u2700-\\u27bf",tx="a-z\\xdf-\\xf6\\xf8-\\xff",tw="A-Z\\xc0-\\xd6\\xd8-\\xde",tb="\\ufe0e\\ufe0f",tj="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",tk="[']",tA="["+tj+"]",tN="["+tm+"]",tE="["+tx+"]",tI="[^"+t_+tj+"\\d+"+ty+tx+tw+"]",tS="\ud83c[\udffb-\udfff]",tz="[^"+t_+"]",tL="(?:\ud83c[\udde6-\uddff]){2}",tC="[\ud800-\udbff][\udc00-\udfff]",tO="["+tw+"]",tR="\\u200d",tD="(?:"+tE+"|"+tI+")",tW="(?:"+tO+"|"+tI+")",tB="(?:"+tk+"(?:d|ll|m|re|s|t|ve))?",tU="(?:"+tk+"(?:D|LL|M|RE|S|T|VE))?",tT="(?:"+tN+"|"+tS+")?",tM="["+tb+"]?",tF="(?:"+tR+"(?:"+[tz,tL,tC].join("|")+")"+tM+tT+")*",tq=tM+tT+tF,tP="(?:"+["["+ty+"]",tL,tC].join("|")+")"+tq,t$="(?:"+[