All Downloads are FREE. Search and download functionalities are using the official Maven repository.

web-interface.assets.1255d548-64.6c9be24a5a5126c4ce0e.js Maven / Gradle / Ivy

There is a newer version: 6.1.4
Show newest version
(()=>{(self.webpackChunkgraylog_web_interface=self.webpackChunkgraylog_web_interface||[]).push([["1255d548-64"],{"3ca6MVhH":(F,_,O)=>{"use strict";O.d(_,{N9:()=>f});var w=O("Z7aTuO5B");function A(g,b){window.dispatchEvent(new CustomEvent(g,{detail:b}))}const P=typeof window<"u"?w.useLayoutEffect:w.useEffect;function y(g){function b(v){const T=Object.keys(v).reduce((e,r)=>(e[`${g}:${r}`]=h=>v[r](h.detail),e),{});P(()=>(Object.keys(T).forEach(e=>{window.removeEventListener(e,T[e]),window.addEventListener(e,T[e])}),()=>Object.keys(T).forEach(e=>{window.removeEventListener(e,T[e])})),[T])}function S(v){return(...T)=>A(`${g}:${String(v)}`,T[0])}return[b,S]}const[C,l]=y("mantine-notifications"),a=l("show"),i=l("hide"),o=l("clean"),n=l("cleanQueue"),t=l("update"),f={show:a,hide:i,clean:o,cleanQueue:n,update:t}},"2GbzTNI4":(F,_,O)=>{"use strict";const w=O("5r+JV7ey"),A=O("dXodAadn"),P=O("TND2RH7A");F.exports={XMLParser:A,XMLValidator:w,XMLBuilder:P}},wju6KyuS:(F,_)=>{"use strict";const O=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",w=O+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",A="["+O+"]["+w+"]*",P=new RegExp("^"+A+"$"),y=function(l,a){const i=[];let o=a.exec(l);for(;o;){const n=[];n.startIndex=a.lastIndex-o[0].length;const t=o.length;for(let f=0;f"u")};_.isExist=function(l){return typeof l<"u"},_.isEmptyObject=function(l){return Object.keys(l).length===0},_.merge=function(l,a,i){if(a){const o=Object.keys(a),n=o.length;for(let t=0;t{"use strict";const w=O("wju6KyuS"),A={allowBooleanAttributes:!1,unpairedTags:[]};_.validate=function(e,r){r=Object.assign({},A,r);const h=[];let x=!1,s=!1;e[0]==="\uFEFF"&&(e=e.substr(1));for(let u=0;u"&&e[u]!==" "&&e[u]!=="	"&&e[u]!==`
`&&e[u]!=="\r";u++)d+=e[u];if(d=d.trim(),d[d.length-1]==="/"&&(d=d.substring(0,d.length-1),u--),!S(d)){let E;return d.trim().length===0?E="Invalid space after '<'.":E="Tag '"+d+"' is an invalid name.",g("InvalidTag",E,v(e,u))}const p=i(e,u);if(p===!1)return g("InvalidAttr","Attributes for '"+d+"' have open quote.",v(e,u));let I=p.value;if(u=p.index,I[I.length-1]==="/"){const E=u-I.length;I=I.substring(0,I.length-1);const N=n(I,r);if(N===!0)x=!0;else return g(N.err.code,N.err.msg,v(e,E+N.err.line))}else if(m)if(p.tagClosed){if(I.trim().length>0)return g("InvalidTag","Closing tag '"+d+"' can't have attributes or invalid starting.",v(e,c));{const E=h.pop();if(d!==E.tagName){let N=v(e,E.tagStartPos);return g("InvalidTag","Expected closing tag '"+E.tagName+"' (opened in line "+N.line+", col "+N.col+") instead of closing tag '"+d+"'.",v(e,c))}h.length==0&&(s=!0)}}else return g("InvalidTag","Closing tag '"+d+"' doesn't have proper closing.",v(e,u));else{const E=n(I,r);if(E!==!0)return g(E.err.code,E.err.msg,v(e,u-I.length+E.err.line));if(s===!0)return g("InvalidXml","Multiple possible root nodes found.",v(e,u));r.unpairedTags.indexOf(d)!==-1||h.push({tagName:d,tagStartPos:c}),x=!0}for(u++;u0)return g("InvalidXml","Invalid '"+JSON.stringify(h.map(u=>u.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return g("InvalidXml","Start tag expected.",1);return!0};function P(e){return e===" "||e==="	"||e===`
`||e==="\r"}function y(e,r){const h=r;for(;r5&&x==="xml")return g("InvalidXml","XML declaration allowed only at the start of the document.",v(e,r));if(e[r]=="?"&&e[r+1]==">"){r++;break}else continue}return r}function C(e,r){if(e.length>r+5&&e[r+1]==="-"&&e[r+2]==="-"){for(r+=3;r"){r+=2;break}}else if(e.length>r+8&&e[r+1]==="D"&&e[r+2]==="O"&&e[r+3]==="C"&&e[r+4]==="T"&&e[r+5]==="Y"&&e[r+6]==="P"&&e[r+7]==="E"){let h=1;for(r+=8;r"&&(h--,h===0))break}else if(e.length>r+9&&e[r+1]==="["&&e[r+2]==="C"&&e[r+3]==="D"&&e[r+4]==="A"&&e[r+5]==="T"&&e[r+6]==="A"&&e[r+7]==="["){for(r+=8;r"){r+=2;break}}return r}const l='"',a="'";function i(e,r){let h="",x="",s=!1;for(;r"&&x===""){s=!0;break}h+=e[r]}return x!==""?!1:{value:h,index:r,tagClosed:s}}const o=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function n(e,r){const h=w.getAllMatches(e,o),x={};for(let s=0;s{"use strict";const w=O("l1BD5vLw"),A={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:"  ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(i,o){return o},attributeValueProcessor:function(i,o){return o},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&"},{regex:new RegExp(">","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1};function P(i){this.options=Object.assign({},A,i),this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=a),this.processTextOrObjNode=y,this.options.format?(this.indentate=l,this.tagEndChar=`>
`,this.newLine=`
`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}P.prototype.build=function(i){return this.options.preserveOrder?w(i,this.options):(Array.isArray(i)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(i={[this.options.arrayNodeName]:i}),this.j2x(i,0).val)},P.prototype.j2x=function(i,o){let n="",t="";for(let f in i)if(Object.prototype.hasOwnProperty.call(i,f))if(typeof i[f]>"u")this.isAttribute(f)&&(t+="");else if(i[f]===null)this.isAttribute(f)?t+="":f[0]==="?"?t+=this.indentate(o)+"<"+f+"?"+this.tagEndChar:t+=this.indentate(o)+"<"+f+"/"+this.tagEndChar;else if(i[f]instanceof Date)t+=this.buildTextValNode(i[f],f,"",o);else if(typeof i[f]!="object"){const g=this.isAttribute(f);if(g)n+=this.buildAttrPairStr(g,""+i[f]);else if(f===this.options.textNodeName){let b=this.options.tagValueProcessor(f,""+i[f]);t+=this.replaceEntitiesValue(b)}else t+=this.buildTextValNode(i[f],f,"",o)}else if(Array.isArray(i[f])){const g=i[f].length;let b="";for(let S=0;S"u"||(v===null?f[0]==="?"?t+=this.indentate(o)+"<"+f+"?"+this.tagEndChar:t+=this.indentate(o)+"<"+f+"/"+this.tagEndChar:typeof v=="object"?this.options.oneListGroup?b+=this.j2x(v,o+1).val:b+=this.processTextOrObjNode(v,f,o):b+=this.buildTextValNode(v,f,"",o))}this.options.oneListGroup&&(b=this.buildObjectNode(b,f,"",o)),t+=b}else if(this.options.attributesGroupName&&f===this.options.attributesGroupName){const g=Object.keys(i[f]),b=g.length;for(let S=0;S"+i+f:this.options.commentPropName!==!1&&o===this.options.commentPropName&&g.length===0?this.indentate(t)+``+this.newLine:this.indentate(t)+"<"+o+n+g+this.tagEndChar+i+this.indentate(t)+f}},P.prototype.closeTag=function(i){let o="";return this.options.unpairedTags.indexOf(i)!==-1?this.options.suppressUnpairedNode||(o="/"):this.options.suppressEmptyNode?o="/":o=`>`+this.newLine;if(this.options.commentPropName!==!1&&o===this.options.commentPropName)return this.indentate(t)+``+this.newLine;if(o[0]==="?")return this.indentate(t)+"<"+o+n+"?"+this.tagEndChar;{let f=this.options.tagValueProcessor(o,i);return f=this.replaceEntitiesValue(f),f===""?this.indentate(t)+"<"+o+n+this.closeTag(o)+this.tagEndChar:this.indentate(t)+"<"+o+n+">"+f+"0&&this.options.processEntities)for(let o=0;o{const _=`
`;function O(l,a){let i="";return a.format&&a.indentBy.length>0&&(i=_),w(l,a,"",i)}function w(l,a,i,o){let n="",t=!1;for(let f=0;f`,t=!1;continue}else if(b===a.commentPropName){n+=o+``,t=!0;continue}else if(b[0]==="?"){const h=P(g[":@"],a),x=b==="?xml"?"":o;let s=g[b][0][a.textNodeName];s=s.length!==0?" "+s:"",n+=x+`<${b}${s}${h}?>`,t=!0;continue}let v=o;v!==""&&(v+=a.indentBy);const T=P(g[":@"],a),e=o+`<${b}${T}`,r=w(g[b],a,S,v);a.unpairedTags.indexOf(b)!==-1?a.suppressUnpairedNode?n+=e+">":n+=e+"/>":(!r||r.length===0)&&a.suppressEmptyNode?n+=e+"/>":r&&r.endsWith(">")?n+=e+`>${r}${o}`:(n+=e+">",r&&o!==""&&(r.includes("/>")||r.includes("`),t=!0}return n}function A(l){const a=Object.keys(l);for(let i=0;i0&&a.processEntities)for(let i=0;i{const w=O("wju6KyuS");function A(n,t){const f={};if(n[t+3]==="O"&&n[t+4]==="C"&&n[t+5]==="T"&&n[t+6]==="Y"&&n[t+7]==="P"&&n[t+8]==="E"){t=t+9;let g=1,b=!1,S=!1,v="";for(;t"){if(S?n[t-1]==="-"&&n[t-2]==="-"&&(S=!1,g--):g--,g===0)break}else n[t]==="["?b=!0:v+=n[t];if(g!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:f,i:t}}function P(n,t){let f="";for(;t{const O={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(A,P){return P},attributeValueProcessor:function(A,P){return P},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(A,P,y){return A}},w=function(A){return Object.assign({},O,A)};_.buildOptions=w,_.defaultOptions=O},NKfXgVaJ:(F,_,O)=>{"use strict";const w=O("wju6KyuS"),A=O("i3LHsDJu"),P=O("FtgyghmH"),y=O("sw2ZU+YB"),C="<((!\\[CDATA\\[([\\s\\S]*?)(]]>))|((NAME:)?(NAME))([^>]*)>|((\\/)(NAME)\\s*>))([^<]*)".replace(/NAME/g,w.nameRegexp);class l{constructor(u){this.options=u,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"\xA2"},pound:{regex:/&(pound|#163);/g,val:"\xA3"},yen:{regex:/&(yen|#165);/g,val:"\xA5"},euro:{regex:/&(euro|#8364);/g,val:"\u20AC"},copyright:{regex:/&(copy|#169);/g,val:"\xA9"},reg:{regex:/&(reg|#174);/g,val:"\xAE"},inr:{regex:/&(inr|#8377);/g,val:"\u20B9"}},this.addExternalEntities=a,this.parseXml=f,this.parseTextData=i,this.resolveNameSpace=o,this.buildAttributesMap=t,this.isItStopNode=v,this.replaceEntitiesValue=b,this.readStopNodeData=h,this.saveTextToParentTag=S,this.addChild=g}}function a(s){const u=Object.keys(s);for(let c=0;c0)){I||(s=this.replaceEntitiesValue(s));const E=this.options.tagValueProcessor(u,s,c,d,p);return E==null?s:typeof E!=typeof s||E!==s?E:this.options.trimValues?x(s,this.options.parseTagValue,this.options.numberParseOptions):s.trim()===s?x(s,this.options.parseTagValue,this.options.numberParseOptions):s}}function o(s){if(this.options.removeNSPrefix){const u=s.split(":"),c=s.charAt(0)==="/"?"/":"";if(u[0]==="xmlns")return"";u.length===2&&(s=c+u[1])}return s}const n=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function t(s,u,c){if(!this.options.ignoreAttributes&&typeof s=="string"){const m=w.getAllMatches(s,n),d=m.length,p={};for(let I=0;I",p,"Closing Tag is not closed.");let N=s.substring(p+2,E).trim();if(this.options.removeNSPrefix){const R=N.indexOf(":");R!==-1&&(N=N.substr(R+1))}this.options.transformTagName&&(N=this.options.transformTagName(N)),c&&(m=this.saveTextToParentTag(m,c,d));const $=d.substring(d.lastIndexOf(".")+1);if(N&&this.options.unpairedTags.indexOf(N)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: `);let V=0;$&&this.options.unpairedTags.indexOf($)!==-1?(V=d.lastIndexOf(".",d.lastIndexOf(".")-1),this.tagsNodeStack.pop()):V=d.lastIndexOf("."),d=d.substring(0,V),c=this.tagsNodeStack.pop(),m="",p=E}else if(s[p+1]==="?"){let E=r(s,p,!1,"?>");if(!E)throw new Error("Pi Tag is not closed.");if(m=this.saveTextToParentTag(m,c,d),!(this.options.ignoreDeclaration&&E.tagName==="?xml"||this.options.ignorePiTags)){const N=new A(E.tagName);N.add(this.options.textNodeName,""),E.tagName!==E.tagExp&&E.attrExpPresent&&(N[":@"]=this.buildAttributesMap(E.tagExp,d,E.tagName)),this.addChild(c,N,d)}p=E.closeIndex+1}else if(s.substr(p+1,3)==="!--"){const E=e(s,"-->",p+4,"Comment is not closed.");if(this.options.commentPropName){const N=s.substring(p+4,E-2);m=this.saveTextToParentTag(m,c,d),c.add(this.options.commentPropName,[{[this.options.textNodeName]:N}])}p=E}else if(s.substr(p+1,2)==="!D"){const E=P(s,p);this.docTypeEntities=E.entities,p=E.i}else if(s.substr(p+1,2)==="!["){const E=e(s,"]]>",p,"CDATA is not closed.")-2,N=s.substring(p+9,E);if(m=this.saveTextToParentTag(m,c,d),this.options.cdataPropName)c.add(this.options.cdataPropName,[{[this.options.textNodeName]:N}]);else{let $=this.parseTextData(N,c.tagname,d,!0,!1,!0);$==null&&($=""),c.add(this.options.textNodeName,$)}p=E+2}else{let E=r(s,p,this.options.removeNSPrefix),N=E.tagName;const $=E.rawTagName;let V=E.tagExp,R=E.attrExpPresent,Q=E.closeIndex;this.options.transformTagName&&(N=this.options.transformTagName(N)),c&&m&&c.tagname!=="!xml"&&(m=this.saveTextToParentTag(m,c,d,!1));const k=c;if(k&&this.options.unpairedTags.indexOf(k.tagname)!==-1&&(c=this.tagsNodeStack.pop(),d=d.substring(0,d.lastIndexOf("."))),N!==u.tagname&&(d+=d?"."+N:N),this.isItStopNode(this.options.stopNodes,d,N)){let L="";if(V.length>0&&V.lastIndexOf("/")===V.length-1)p=E.closeIndex;else if(this.options.unpairedTags.indexOf(N)!==-1)p=E.closeIndex;else{const M=this.readStopNodeData(s,$,Q+1);if(!M)throw new Error(`Unexpected end of ${$}`);p=M.i,L=M.tagContent}const B=new A(N);N!==V&&R&&(B[":@"]=this.buildAttributesMap(V,d,N)),L&&(L=this.parseTextData(L,N,d,!0,R,!0,!0)),d=d.substr(0,d.lastIndexOf(".")),B.add(this.options.textNodeName,L),this.addChild(c,B,d)}else{if(V.length>0&&V.lastIndexOf("/")===V.length-1){N[N.length-1]==="/"?(N=N.substr(0,N.length-1),d=d.substr(0,d.length-1),V=N):V=V.substr(0,V.length-1),this.options.transformTagName&&(N=this.options.transformTagName(N));const L=new A(N);N!==V&&R&&(L[":@"]=this.buildAttributesMap(V,d,N)),this.addChild(c,L,d),d=d.substr(0,d.lastIndexOf("."))}else{const L=new A(N);this.tagsNodeStack.push(c),N!==V&&R&&(L[":@"]=this.buildAttributesMap(V,d,N)),this.addChild(c,L,d),c=L}m="",p=Q}}else m+=s[p];return u.child};function g(s,u,c){const m=this.options.updateTag(u.tagname,c,u[":@"]);m===!1||(typeof m=="string"&&(u.tagname=m),s.addChild(u))}const b=function(s){if(this.options.processEntities){for(let u in this.docTypeEntities){const c=this.docTypeEntities[u];s=s.replace(c.regx,c.val)}for(let u in this.lastEntities){const c=this.lastEntities[u];s=s.replace(c.regex,c.val)}if(this.options.htmlEntities)for(let u in this.htmlEntities){const c=this.htmlEntities[u];s=s.replace(c.regex,c.val)}s=s.replace(this.ampEntity.regex,this.ampEntity.val)}return s};function S(s,u,c,m){return s&&(m===void 0&&(m=Object.keys(u.child).length===0),s=this.parseTextData(s,u.tagname,c,!1,u[":@"]?Object.keys(u[":@"]).length!==0:!1,m),s!==void 0&&s!==""&&u.add(this.options.textNodeName,s),s=""),s}function v(s,u,c){const m="*."+c;for(const d in s){const p=s[d];if(m===p||u===p)return!0}return!1}function T(s,u,c=">"){let m,d="";for(let p=u;p",c,`${u} is not closed`);if(s.substring(c+2,p).trim()===u&&(d--,d===0))return{tagContent:s.substring(m,c),i:p};c=p}else if(s[c+1]==="?")c=e(s,"?>",c+1,"StopNode is not closed.");else if(s.substr(c+1,3)==="!--")c=e(s,"-->",c+3,"StopNode is not closed.");else if(s.substr(c+1,2)==="![")c=e(s,"]]>",c,"StopNode is not closed.")-2;else{const p=r(s,c,">");p&&((p&&p.tagName)===u&&p.tagExp[p.tagExp.length-1]!=="/"&&d++,c=p.closeIndex)}}function x(s,u,c){if(u&&typeof s=="string"){const m=s.trim();return m==="true"?!0:m==="false"?!1:y(s,c)}else return w.isExist(s)?s:""}F.exports=l},dXodAadn:(F,_,O)=>{const{buildOptions:w}=O("EQgJ8zXC"),A=O("NKfXgVaJ"),{prettify:P}=O("pe21f2Fs"),y=O("5r+JV7ey");class C{constructor(a){this.externalEntities={},this.options=w(a)}parse(a,i){if(typeof a!="string")if(a.toString)a=a.toString();else throw new Error("XML data is accepted in String or Bytes[] form.");if(i){i===!0&&(i={});const t=y.validate(a,i);if(t!==!0)throw Error(`${t.err.msg}:${t.err.line}:${t.err.col}`)}const o=new A(this.options);o.addExternalEntities(this.externalEntities);const n=o.parseXml(a);return this.options.preserveOrder||n===void 0?n:P(n,this.options)}addEntity(a,i){if(i.indexOf("&")!==-1)throw new Error("Entity value can't have '&'");if(a.indexOf("&")!==-1||a.indexOf(";")!==-1)throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '
'");if(i==="&")throw new Error("An entity with value '&' is not permitted");this.externalEntities[a]=i}}F.exports=C},pe21f2Fs:(F,_)=>{"use strict";function O(C,l){return w(C,l)}function w(C,l,a){let i;const o={};for(let n=0;n0&&(o[l.textNodeName]=i):i!==void 0&&(o[l.textNodeName]=i),o}function A(C){const l=Object.keys(C);for(let a=0;a{"use strict";class _{constructor(w){this.tagname=w,this.child=[],this[":@"]={}}add(w,A){w==="__proto__"&&(w="#__proto__"),this.child.push({[w]:A})}addChild(w){w.tagname==="__proto__"&&(w.tagname="#__proto__"),w[":@"]&&Object.keys(w[":@"]).length>0?this.child.push({[w.tagname]:w.child,":@":w[":@"]}):this.child.push({[w.tagname]:w.child})}}F.exports=_},PH5VRLCQ:(F,_,O)=>{var w=O("R+B8SaP1"),A=w(function(P,y,C){return P+(C?" ":"")+y.toLowerCase()});F.exports=A},"sw2ZU+YB":F=>{const _=/^[-+]?0x[a-fA-F0-9]+$/,O=/^([\-\+])?(0*)(\.[0-9]+([eE]\-?[0-9]+)?|[0-9]+(\.[0-9]+([eE]\-?[0-9]+)?)?)$/;!Number.parseInt&&window.parseInt&&(Number.parseInt=window.parseInt),!Number.parseFloat&&window.parseFloat&&(Number.parseFloat=window.parseFloat);const w={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};function A(y,C={}){if(C=Object.assign({},w,C),!y||typeof y!="string")return y;let l=y.trim();if(C.skipLike!==void 0&&C.skipLike.test(l))return y;if(C.hex&&_.test(l))return Number.parseInt(l,16);{const a=O.exec(l);if(a){const i=a[1],o=a[2];let n=P(a[3]);const t=a[4]||a[6];if(!C.leadingZeros&&o.length>0&&i&&l[2]!==".")return y;if(!C.leadingZeros&&o.length>0&&!i&&l[1]!==".")return y;{const f=Number(l),g=""+f;return g.search(/[eE]/)!==-1||t?C.eNotation?f:y:l.indexOf(".")!==-1?g==="0"&&n===""||g===n||i&&g==="-"+n?f:y:o?n===g||i+n===g?f:y:l===g||l===i+g?f:y}}else return y}}function P(y){return y&&y.indexOf(".")!==-1&&(y=y.replace(/0+$/,""),y==="."?y="0":y[0]==="."?y="0"+y:y[y.length-1]==="."&&(y=y.substr(0,y.length-1))),y}F.exports=A},PLazxdob:(F,_,O)=>{"use strict";O.d(_,{K:()=>w});function w({storage:y,key:C="REACT_QUERY_OFFLINE_CACHE",throttleTime:l=1e3,serialize:a=JSON.stringify,deserialize:i=JSON.parse,retry:o}){if(y){const n=t=>{try{y.setItem(C,a(t));return}catch(f){return f}};return{persistClient:A(t=>{let f=t,g=n(f),b=0;for(;g&&f;)b++,f=o==null?void 0:o({persistedClient:f,error:g,errorCount:b}),f&&(g=n(f))},l),restoreClient:()=>{const t=y.getItem(C);if(t)return i(t)},removeClient:()=>{y.removeItem(C)}}}return{persistClient:P,restoreClient:()=>{},removeClient:P}}function A(y,C=100){let l=null,a;return function(...i){a=i,l===null&&(l=setTimeout(()=>{y(...a),l=null},C))}}function P(){}},GRU0vAV6:(F,_,O)=>{"use strict";O.d(_,{S:()=>v});function w(){return w=Object.assign?Object.assign.bind():function(T){for(var e=1;e{x(s)&&r.push(P(s))})}if(e.dehydrateQueries!==!1){const x=e.shouldDehydrateQuery||l;T.getQueryCache().getAll().forEach(s=>{x(s)&&h.push(y(s))})}return{mutations:r,queries:h}}function i(T,e,r){if(typeof e!="object"||e===null)return;const h=T.getMutationCache(),x=T.getQueryCache(),s=e.mutations||[],u=e.queries||[];s.forEach(c=>{var m;h.build(T,{...r==null||(m=r.defaultOptions)==null?void 0:m.mutations,mutationKey:c.mutationKey},c.state)}),u.forEach(({queryKey:c,state:m,queryHash:d})=>{var p;const I=x.get(d);if(I){if(I.state.dataUpdatedAtr,c=s.buster!==h;u||c?e.removeClient():i(T,s.clientState,x)}else e.removeClient()}catch{e.removeClient()}}async function f({queryClient:T,persister:e,buster:r="",dehydrateOptions:h}){const x={buster:r,timestamp:Date.now(),clientState:a(T,h)};await e.persistClient(x)}function g(T){const e=T.queryClient.getQueryCache().subscribe(h=>{n(h.type)&&f(T)}),r=T.queryClient.getMutationCache().subscribe(h=>{n(h.type)&&f(T)});return()=>{e(),r()}}function b(T){let e=!1,r;const h=()=>{e=!0,r==null||r()},x=t(T).then(()=>{e||(r=g(T))});return[h,x]}var S=O("DUKaTDO2");const v=({client:T,children:e,persistOptions:r,onSuccess:h,...x})=>{const[s,u]=A.useState(!0),c=A.useRef({persistOptions:r,onSuccess:h}),m=A.useRef(!1);return A.useEffect(()=>{c.current={persistOptions:r,onSuccess:h}}),A.useEffect(()=>{const d={...c.current.persistOptions,queryClient:T};return m.current||(m.current=!0,u(!0),t(d).then(async()=>{try{await(c.current.onSuccess==null?void 0:c.current.onSuccess())}finally{u(!1)}})),s?void 0:g(d)},[T,s]),A.createElement(S.QueryClientProvider,w({client:T},x),A.createElement(S.IsRestoringProvider,{value:s},e))}}}]);})();

//# sourceMappingURL=1255d548-64.6c9be24a5a5126c4ce0e.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy