uci-hugo-doc/static/js/search-1c4cfb2d.bundle.min.js

2 lines
37 KiB
JavaScript

/*! For license information please see search-1c4cfb2d.bundle.min.js.LICENSE.txt */
!function(){var e={3129:function(){!function(e){"use strict";var t;function n(e){return void 0===e||e}function r(e){const t=Array(e);for(let n=0;n<e;n++)t[n]=o();return t}function o(){return Object.create(null)}function i(e,t){return t.length-e.length}function s(e){return"string"==typeof e}function a(e){return"object"==typeof e}function c(e,t){var n=d;if(e&&(t&&(e=h(e,t)),this.H&&(e=h(e,this.H)),this.I&&1<e.length&&(e=h(e,this.I)),n||""===n)){if(e=e.split(n),this.filter){t=this.filter,n=e.length;const r=[];for(let o=0,i=0;o<n;o++){const n=e[o];n&&!t[n]&&(r[i++]=n)}e=r}return e}return e}const d=/[\p{Z}\p{S}\p{P}\p{C}]+/u,f=/[\u0300-\u036f]/g;function l(e,t){const n=Object.keys(e),r=n.length,o=[];let i="",s=0;for(let a,c,d=0;d<r;d++)a=n[d],(c=e[a])?(o[s++]=u(t?"(?!\\b)"+a+"(\\b|_)":a),o[s++]=c):i+=(i?"|":"")+a;return i&&(o[s++]=u(t?"(?!\\b)("+i+")(\\b|_)":"("+i+")"),o[s]=""),o}function h(e,t){for(let n=0,r=t.length;n<r&&(e=e.replace(t[n],t[n+1]));n+=2);return e}function u(e){return new RegExp(e,"g")}function m(e){let t="",n="";for(let r,o=0,i=e.length;o<i;o++)(r=e[o])!==n&&(t+=n=r);return t}var p={encode:y,B:!1,C:""};function y(e){return c.call(this,(""+e).toLowerCase(),!1)}const $={},g={};function v(e){w(e,"add"),w(e,"append"),w(e,"search"),w(e,"update"),w(e,"remove")}function w(e,t){e[t+"Async"]=function(){const e=this,n=arguments;var r=n[n.length-1];let o;return"function"==typeof r&&(o=r,delete n[n.length-1]),r=new Promise((function(r){setTimeout((function(){e.async=!0;const o=e[t].apply(e,n);e.async=!1,r(o)}))})),o?(r.then(o),this):r}}function k(e,t,n,r){const i=e.length;let s,a,c=[],d=0;r&&(r=[]);for(let f=i-1;0<=f;f--){const l=e[f],h=l.length,u=o();let m=!s;for(let e=0;e<h;e++){const o=l[e],h=o.length;if(h)for(let e,l,p=0;p<h;p++)if(l=o[p],s){if(s[l]){if(!f)if(n)n--;else if(c[d++]=l,d===t)return c;(f||r)&&(u[l]=1),m=!0}if(r&&(a[l]=(e=a[l])?++e:e=1,e<i)){const t=r[e-2]||(r[e-2]=[]);t[t.length]=l}}else u[l]=1}if(r)s||(a=u);else if(!m)return[];s=u}if(r)for(let e,o,i=r.length-1;0<=i;i--){e=r[i],o=e.length;for(let r,i=0;i<o;i++)if(r=e[i],!s[r]){if(n)n--;else if(c[d++]=r,d===t)return c;s[r]=1}}return c}function L(e,t){const n=o(),r=o(),i=[];for(let t=0;t<e.length;t++)n[e[t]]=1;for(let e,o=0;o<t.length;o++){e=t[o];for(let t,o=0;o<e.length;o++)t=e[o],n[t]&&!r[t]&&(r[t]=1,i[i.length]=t)}return i}const b={memory:{charset:"latin:extra",A:3,m:4,D:!1},performance:{A:3,m:3,s:!1,context:{depth:2,A:1}},match:{charset:"latin:extra",C:"reverse"},score:{charset:"latin:advanced",A:20,m:3,context:{depth:3,A:9}},default:{}};function x(e,t){if(!(this instanceof x))return new x(e);var i;let a;e?(s(e)?e=b[e]:(i=e.preset)&&(e=Object.assign({},i[i],e)),i=e.charset,a=e.lang,s(i)&&(-1===i.indexOf(":")&&(i+=":default"),i=g[i]),s(a)&&(a=$[a])):e={};let c,d,f=e.context||{};if(this.encode=e.encode||i&&i.encode||y,this.register=t||o(),this.A=c=e.resolution||9,this.C=t=i&&i.C||e.tokenize||"strict",this.depth="strict"===t&&f.depth,this.l=n(f.bidirectional),this.s=d=n(e.optimize),this.D=n(e.fastupdate),this.m=e.minlength||1,this.G=e.boost,this.h=d?r(c):o(),this.F=c=f.resolution||1,this.o=d?r(c):o(),this.B=i&&i.B||e.rtl,this.H=(t=e.matcher||a&&a.H)&&l(t,!1),this.I=(t=e.stemmer||a&&a.I)&&l(t,!0),e=t=e.filter||a&&a.filter){e=t,i=o();for(let t=0,n=e.length;t<n;t++)i[e[t]]=1;e=i}this.filter=e}function _(e,t,n,r,o){return n&&1<e?t+(r||0)<=e?n+(o||0):(e-1)/(t+(r||0))*(n+(o||0))+1|0:0}function I(e,t,n,r,i,s,a){let c=a?e.o:e.h;(!t[n]||a&&!t[n][a])&&(e.s&&(c=c[r]),a?((t=t[n]||(t[n]=o()))[a]=1,c=c[a]||(c[a]=o())):t[n]=1,c=c[n]||(c[n]=[]),e.s||(c=c[r]||(c[r]=[])),s&&-1!==c.indexOf(i)||(c[c.length]=i,e.D&&((e=e.register[i]||(e.register[i]=[]))[e.length]=c)))}function A(e,t,n,r,o,i,s,a){let c=[],d=a?e.o:e.h;if(e.s||(d=O(d,s,a,e.l)),d){let n=0;const f=Math.min(d.length,a?e.F:e.A);for(let t,l,h=0,u=0;h<f&&!((t=d[h])&&(e.s&&(t=O(t,s,a,e.l)),o&&t&&i&&(l=t.length,l<=o?(o-=l,t=null):(t=t.slice(o),o=0)),t&&(c[n++]=t,i&&(u+=t.length,u>=r))));h++);if(n)return i?z(c,r,0):void(t[t.length]=c)}return!n&&c}function z(e,t,n){return e=1===e.length?e[0]:[].concat.apply([],e),n||e.length>t?e.slice(n,n+t):e}function O(e,t,n,r){return e=n?(e=e[(r=r&&t>n)?t:n])&&e[r?n:t]:e[t]}function j(e,t,n,r,o){let i=0;if(e.constructor===Array)if(o)-1!==(t=e.indexOf(t))?1<e.length&&(e.splice(t,1),i++):i++;else{o=Math.min(e.length,n);for(let s,a=0;a<o;a++)(s=e[a])&&(i=j(s,t,n,r,o),r||i||delete e[a])}else for(let s in e)(i=j(e[s],t,n,r,o))||delete e[s];return i}function P(e){if(!(this instanceof P))return new P(e);var t,r=e.document||e.doc||e;this.F=[],this.h=[],this.o=[],this.register=o(),this.key=(t=r.key||r.id)&&C(t,this.o)||"id",this.D=n(e.fastupdate),this.l=(t=r.store)&&!0!==t&&[],this.store=t&&o(),this.async=!1,t=o();let i=r.index||r.field||r;s(i)&&(i=[i]);for(let n,r,o=0;o<i.length;o++)n=i[o],s(n)||(r=n,n=n.field),r=a(r)?Object.assign({},e,r):e,this.G||(t[n]=new x(r,this.register)),this.F[o]=C(n,this.o),this.h[o]=n;if(this.l)for(s(e=r.store)&&(e=[e]),r=0;r<e.length;r++)this.l[r]=C(e[r],this.o);this.index=t}function C(e,t){const n=e.split(":");let r=0;for(let o=0;o<n.length;o++)0<=(e=n[o]).indexOf("[]")&&(e=e.substring(0,e.length-2))&&(t[r]=!0),e&&(n[r++]=e);return r<n.length&&(n.length=r),1<r?n:n[0]}function E(e,t){if(s(t))e=e[t];else for(let n=0;e&&n<t.length;n++)e=e[t[n]];return e}function S(e,t,n,r,i){if(e=e[i],r===n.length-1)t[i]=e;else if(e)if(e.constructor===Array)for(t=t[i]=Array(e.length),i=0;i<e.length;i++)S(e,t,n,r,i);else t=t[i]||(t[i]=o()),i=n[++r],S(e,t,n,r,i)}function M(e,t,n,r,o,i,s,a){if(e=e[s])if(r===t.length-1){if(e.constructor===Array){if(n[r]){for(t=0;t<e.length;t++)o.add(i,e[t],!0,!0);return}e=e.join(" ")}o.add(i,e,a,!0)}else if(e.constructor===Array)for(s=0;s<e.length;s++)M(e,t,n,r,o,i,s,a);else s=t[++r],M(e,t,n,r,o,i,s,a)}function R(e,t,n,r){let o=this.J[e],i=o&&o.length-n;if(i&&0<i)return(i>t||n)&&(o=o.slice(n,n+t)),r&&(o=q.call(this,o)),{tag:e,result:o}}function q(e){const t=Array(e.length);for(let n,r=0;r<e.length;r++)n=e[r],t[r]={id:n,doc:this.store[n]};return t}(t=x.prototype).append=function(e,t){return this.add(e,t,!0)},t.add=function(e,t,n,r){if(t&&(e||0===e)){if(!r&&!n&&this.register[e])return this.update(e,t);if(r=(t=this.encode(t)).length){const f=o(),l=o(),h=this.depth,u=this.A;for(let m=0;m<r;m++){let p=t[this.B?r-1-m:m];var i=p.length;if(p&&i>=this.m&&(h||!l[p])){var s=_(u,r,m),a="";switch(this.C){case"full":if(3<i){for(s=0;s<i;s++)for(var c=i;c>s;c--)if(c-s>=this.m){var d=_(u,r,m,i,s);I(this,l,a=p.substring(s,c),d,e,n)}break}case"reverse":if(2<i){for(c=i-1;0<c;c--)(a=p[c]+a).length>=this.m&&I(this,l,a,_(u,r,m,i,c),e,n);a=""}case"forward":if(1<i){for(c=0;c<i;c++)(a+=p[c]).length>=this.m&&I(this,l,a,s,e,n);break}default:if(this.G&&(s=Math.min(s/this.G(t,p,m)|0,u-1)),I(this,l,p,s,e,n),h&&1<r&&m<r-1)for(i=o(),a=this.F,s=p,c=Math.min(h+1,r-m),i[s]=1,d=1;d<c;d++)if((p=t[this.B?r-1-m-d:m+d])&&p.length>=this.m&&!i[p]){i[p]=1;const t=this.l&&p>s;I(this,f,t?s:p,_(a+(r/2>a?0:1),r,m,c-1,d-1),e,n,t?p:s)}}}}this.D||(this.register[e]=1)}}return this},t.search=function(e,t,n){n||(!t&&a(e)?e=(n=e).query:a(t)&&(n=t));let r,s,c,d,f,l=[],h=0;if(n){t=n.limit,h=n.offset||0;var u=n.context;s=n.suggest}if(e&&(r=(e=this.encode(e)).length,1<r)){n=o();var m=[];for(let t,o=0,i=0;o<r;o++)if((t=e[o])&&t.length>=this.m&&!n[t]){if(!(this.s||s||this.h[t]))return l;m[i++]=t,n[t]=1}r=(e=m).length}if(!r)return l;for(t||(t=100),n=0,(u=this.depth&&1<r&&!1!==u)?(c=e[0],n=1):1<r&&e.sort(i);n<r;n++){if(f=e[n],u?(d=A(this,l,s,t,h,2===r,f,c),s&&!1===d&&l.length||(c=f)):d=A(this,l,s,t,h,1===r,f),d)return d;if(s&&n===r-1){if(!(m=l.length)){if(u){u=0,n=-1;continue}return l}if(1===m)return z(l[0],t,h)}}return k(l,t,h,s)},t.contain=function(e){return!!this.register[e]},t.update=function(e,t){return this.remove(e).add(e,t)},t.remove=function(e,t){const n=this.register[e];if(n){if(this.D)for(let t,r=0;r<n.length;r++)t=n[r],t.splice(t.indexOf(e),1);else j(this.h,e,this.A,this.s),this.depth&&j(this.o,e,this.F,this.s);t||delete this.register[e]}return this},v(x.prototype),(t=P.prototype).add=function(e,t,n){if(a(e)&&(e=E(t=e,this.key)),t&&(e||0===e)){if(!n&&this.register[e])return this.update(e,t);for(let r,o,i=0;i<this.h.length;i++)o=this.h[i],r=this.F[i],s(r)&&(r=[r]),M(t,r,this.o,0,this.index[o],e,r[0],n);if(this.store&&(!n||!this.store[e])){let n;if(this.l){n=o();for(let e,r=0;r<this.l.length;r++)e=this.l[r],s(e)?n[e]=t[e]:S(t,n,e,0,e[0])}this.store[e]=n||t}}return this},t.append=function(e,t){return this.add(e,t,!0)},t.update=function(e,t){return this.remove(e).add(e,t)},t.remove=function(e){if(a(e)&&(e=E(e,this.key)),this.register[e]){for(let t=0;t<this.h.length&&(this.index[this.h[t]].remove(e,!this.G),!this.D);t++);this.store&&delete this.store[e],delete this.register[e]}return this},t.search=function(e,t,n,r){n||(!t&&a(e)?e=(n=e).query:a(t)&&(n=t,t=0));let o,i,c,d,f,l,h=[],u=[],m=0;if(n)if(n.constructor===Array)c=n,n=null;else{if(c=(o=n.pluck)||n.index||n.field,d=!1,i=this.store&&n.enrich,f="and"===n.bool,t=n.limit||100,l=n.offset||0,d&&(s(d)&&(d=[d]),!e)){for(let e,n=0;n<d.length;n++)(e=R.call(this,d[n],t,l,i))&&(h[h.length]=e,m++);return m?h:[]}s(c)&&(c=[c])}c||(c=this.h),f=f&&(1<c.length||d&&1<d.length);const p=!r&&(this.G||this.async)&&[];for(let o,i,a,y=0;y<c.length;y++){let $;if(i=c[y],s(i)||($=i,i=i.field),p)p[y]=this.index[i].searchAsync(e,t,$||n);else{if(o=r?r[y]:this.index[i].search(e,t,$||n),a=o&&o.length,d&&a){const e=[];let n=0;f&&(e[0]=[o]);for(let t,r,o=0;o<d.length;o++)t=d[o],(a=(r=this.J[t])&&r.length)&&(n++,e[e.length]=f?[r]:r);n&&(o=f?k(e,t||100,l||0):L(o,e),a=o.length)}if(a)u[m]=i,h[m++]=o;else if(f)return[]}}if(p){const r=this;return new Promise((function(o){Promise.all(p).then((function(i){o(r.search(e,t,n,i))}))}))}if(!m)return[];if(o&&(!i||!this.store))return h[0];for(let e,t=0;t<u.length;t++){if(e=h[t],e.length&&i&&(e=q.call(this,e)),o)return e;h[t]={field:u[t],result:e}}return h},t.contain=function(e){return!!this.register[e]},t.get=function(e){return this.store[e]},t.set=function(e,t){return this.store[e]=t,this},v(P.prototype);var F={encode:B,B:!1,C:""};const D=[u("[àáâãäå]"),"a",u("[èéêë]"),"e",u("[ìíîï]"),"i",u("[òóôõöő]"),"o",u("[ùúûüű]"),"u",u("[ýŷÿ]"),"y",u("ñ"),"n",u("[çc]"),"k",u("ß"),"s",u(" & ")," and "];function B(e){var t=e;return t.normalize&&(t=t.normalize("NFD").replace(f,"")),c.call(this,t.toLowerCase(),!e.normalize&&D)}var N={encode:T,B:!1,C:"strict"};const U=/[^a-z0-9]+/,G={b:"p",v:"f",w:"f",z:"s",x:"s","ß":"s",d:"t",n:"m",c:"k",g:"k",j:"k",q:"k",i:"e",y:"e",u:"o"};function T(e){const t=[];if(e=B.call(this,e).join(" ")){const n=e.split(U),r=n.length;for(let o,i=0,s=0;i<r;i++)if((e=n[i])&&(!this.filter||!this.filter[e])){o=e[0];let n=G[o]||o,r=n;for(let t=1;t<e.length;t++){o=e[t];const i=G[o]||o;i&&i!==r&&(n+=i,r=i)}t[s++]=n}}return t}var H={encode:K,B:!1,C:""};const J=[u("ae"),"a",u("oe"),"o",u("sh"),"s",u("th"),"t",u("ph"),"f",u("pf"),"f",u("(?![aeo])h(?![aeo])"),"",u("(?!^[aeo])h(?!^[aeo])"),""];function K(e,t){return e&&(2<(e=T.call(this,e).join(" ")).length&&(e=h(e,J)),t||(1<e.length&&(e=m(e)),e&&(e=e.split(" ")))),e}var V={encode:function(e){return e&&(1<(e=K.call(this,e,!0)).length&&(e=e.replace(W,"")),1<e.length&&(e=m(e)),e&&(e=e.split(" "))),e},B:!1,C:""};const W=u("(?!\\b)[aeo]");g["latin:default"]=p,g["latin:simple"]=F,g["latin:balance"]=N,g["latin:advanced"]=H,g["latin:extra"]=V;const Y=e;let X;const Z={Index:x,Document:P,Worker:null,registerCharset:function(e,t){g[e]=t},registerLanguage:function(e,t){$[e]=t}};(X=Y.define)&&X.amd?X([],(function(){return Z})):Y.exports?Y.exports=Z:Y.FlexSearch=Z}(this)},7627:function(e,t,n){"use strict";n.r(t),n.d(t,{_isPlainObject:function(){return o},_parsePath:function(){return i},_simpleAt:function(){return s},_simpleSet:function(){return a},groupBy:function(){return r}});const r=(e,...t)=>{let n=e.map((e=>t.map((t=>t(e))))),r={};return n.forEach(((t,n)=>{let o=(s(r,t)||[]).concat([e[n]]);a(r,t,o)})),r},o=e=>null!=e&&"object"==typeof e&&e.constructor==Object,i=e=>Array.isArray(e)?e:`${e}`.split("."),s=(e,t)=>i(t).reduce(((e,t)=>null!=e&&e.hasOwnProperty(t)?e[t]:void 0),e),a=(e,t,n)=>i(t).reduce(((e,t,r,i)=>{let s=r===i.length-1;return e.hasOwnProperty(t)&&(s||o(e[t]))||(e[t]={}),s?e[t]=n:e[t]}),e)},9707:function(e,t,n){"use strict";function r(e,t){const n=typeof e;if(n!==typeof t)return!1;if(Array.isArray(e)){if(!Array.isArray(t))return!1;const n=e.length;if(n!==t.length)return!1;for(let o=0;o<n;o++)if(!r(e[o],t[o]))return!1;return!0}if("object"===n){if(!e||!t)return e===t;const n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(const o of n)if(!r(e[o],t[o]))return!1;return!0}return e===t}function o(e){return encodeURI(i(e))}function i(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}n.r(t),n.d(t,{Validator:function(){return I},deepCompareStrict:function(){return r},dereference:function(){return l},encodePointer:function(){return o},escapePointer:function(){return i},fastFormat:function(){return $},fullFormat:function(){return y},ignoredKeyword:function(){return d},initialBaseURI:function(){return f},schemaArrayKeyword:function(){return a},schemaKeyword:function(){return s},schemaMapKeyword:function(){return c},ucs2length:function(){return x},validate:function(){return _}});const s={additionalItems:!0,unevaluatedItems:!0,items:!0,contains:!0,additionalProperties:!0,unevaluatedProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},a={prefixItems:!0,items:!0,allOf:!0,anyOf:!0,oneOf:!0},c={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependentSchemas:!0},d={id:!0,$id:!0,$ref:!0,$schema:!0,$anchor:!0,$vocabulary:!0,$comment:!0,default:!0,enum:!0,const:!0,required:!0,type:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};let f="undefined"!=typeof self&&self.location?new URL(self.location.origin+self.location.pathname+location.search):new URL("https://github.com/cfworker");function l(e,t=Object.create(null),n=f,r=""){if(e&&"object"==typeof e&&!Array.isArray(e)){const o=e.$id||e.id;if(o){const i=new URL(o,n.href);i.hash.length>1?t[i.href]=e:(i.hash="",""===r?n=i:l(e,t,n))}}else if(!0!==e&&!1!==e)return t;const i=n.href+(r?"#"+r:"");if(void 0!==t[i])throw new Error(`Duplicate schema URI "${i}".`);if(t[i]=e,!0===e||!1===e)return t;if(void 0===e.__absolute_uri__&&Object.defineProperty(e,"__absolute_uri__",{enumerable:!1,value:i}),e.$ref&&void 0===e.__absolute_ref__){const t=new URL(e.$ref,n.href);t.hash=t.hash,Object.defineProperty(e,"__absolute_ref__",{enumerable:!1,value:t.href})}if(e.$recursiveRef&&void 0===e.__absolute_recursive_ref__){const t=new URL(e.$recursiveRef,n.href);t.hash=t.hash,Object.defineProperty(e,"__absolute_recursive_ref__",{enumerable:!1,value:t.href})}e.$anchor&&(t[new URL("#"+e.$anchor,n.href).href]=e);for(let i in e){if(d[i])continue;const s=`${r}/${o(i)}`,f=e[i];if(Array.isArray(f)){if(a[i]){const e=f.length;for(let r=0;r<e;r++)l(f[r],t,n,`${s}/${r}`)}}else if(c[i])for(let e in f)l(f[e],t,n,`${s}/${o(e)}`);else l(f,t,n,s)}return t}const h=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,u=[0,31,28,31,30,31,30,31,31,30,31,30,31],m=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i;function p(e){return e.test.bind(e)}const y={date:g,time:v.bind(void 0,!1),"date-time":function(e){const t=e.split(w);return 2==t.length&&g(t[0])&&v(!0,t[1])},duration:e=>e.length>1&&e.length<80&&(/^P\d+([.,]\d+)?W$/.test(e)||/^P[\dYMDTHS]*(\d[.,]\d+)?[YMDHS]$/.test(e)&&/^P([.,\d]+Y)?([.,\d]+M)?([.,\d]+D)?(T([.,\d]+H)?([.,\d]+M)?([.,\d]+S)?)?$/.test(e)),uri:function(e){return k.test(e)&&L.test(e)},"uri-reference":p(/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i),"uri-template":p(/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i),url:p(/^(?:(?:https?|ftp):\/\/)(?:\S+(?::\S*)?@)?(?:(?!10(?:\.\d{1,3}){3})(?!127(?:\.\d{1,3}){3})(?!169\.254(?:\.\d{1,3}){2})(?!192\.168(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u{00a1}-\u{ffff}0-9]+-?)*[a-z\u{00a1}-\u{ffff}0-9]+)(?:\.(?:[a-z\u{00a1}-\u{ffff}0-9]+-?)*[a-z\u{00a1}-\u{ffff}0-9]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu),email:e=>{if('"'===e[0])return!1;const[t,n,...r]=e.split("@");return!(!t||!n||0!==r.length||t.length>64||n.length>253)&&"."!==t[0]&&!t.endsWith(".")&&!t.includes("..")&&!(!/^[a-z0-9.-]+$/i.test(n)||!/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+$/i.test(t))&&n.split(".").every((e=>/^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$/i.test(e)))},hostname:p(/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i),ipv4:p(/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/),ipv6:p(/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i),regex:function(e){if(b.test(e))return!1;try{return new RegExp(e),!0}catch(e){return!1}},uuid:p(/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i),"json-pointer":p(/^(?:\/(?:[^~/]|~0|~1)*)*$/),"json-pointer-uri-fragment":p(/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i),"relative-json-pointer":p(/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/)},$={...y,date:p(/^\d\d\d\d-[0-1]\d-[0-3]\d$/),time:p(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i),"date-time":p(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i),"uri-reference":p(/^(?:(?:[a-z][a-z0-9+-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i)};function g(e){const t=e.match(h);if(!t)return!1;const n=+t[1],r=+t[2],o=+t[3];return r>=1&&r<=12&&o>=1&&o<=(2==r&&function(e){return e%4==0&&(e%100!=0||e%400==0)}(n)?29:u[r])}function v(e,t){const n=t.match(m);if(!n)return!1;const r=+n[1],o=+n[2],i=+n[3],s=!!n[5];return(r<=23&&o<=59&&i<=59||23==r&&59==o&&60==i)&&(!e||s)}const w=/t|\s/i,k=/\/|:/,L=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,b=/[^\\]\\Z/;function x(e){let t,n=0,r=e.length,o=0;for(;o<r;)n++,t=e.charCodeAt(o++),t>=55296&&t<=56319&&o<r&&(t=e.charCodeAt(o),56320==(64512&t)&&o++);return n}function _(e,t,n="2019-09",i=l(t),s=!0,a=null,c="#",d="#",f=Object.create(null)){if(!0===t)return{valid:!0,errors:[]};if(!1===t)return{valid:!1,errors:[{instanceLocation:c,keyword:"false",keywordLocation:c,error:"False boolean schema."}]};const h=typeof e;let u;switch(h){case"boolean":case"number":case"string":u=h;break;case"object":u=null===e?"null":Array.isArray(e)?"array":"object";break;default:throw new Error(`Instances of "${h}" type are not supported.`)}const{$ref:m,$recursiveRef:p,$recursiveAnchor:y,type:g,const:v,enum:w,required:k,not:L,anyOf:b,allOf:I,oneOf:A,if:z,then:O,else:j,format:P,properties:C,patternProperties:E,additionalProperties:S,unevaluatedProperties:M,minProperties:R,maxProperties:q,propertyNames:F,dependentRequired:D,dependentSchemas:B,dependencies:N,prefixItems:U,items:G,additionalItems:T,unevaluatedItems:H,contains:J,minContains:K,maxContains:V,minItems:W,maxItems:Y,uniqueItems:X,minimum:Z,maximum:Q,exclusiveMinimum:ee,exclusiveMaximum:te,multipleOf:ne,minLength:re,maxLength:oe,pattern:ie,__absolute_ref__:se,__absolute_recursive_ref__:ae}=t,ce=[];if(!0===y&&null===a&&(a=t),"#"===p){const r=null===a?i[ae]:a,o=`${d}/$recursiveRef`,l=_(e,null===a?t:a,n,i,s,r,c,o,f);l.valid||ce.push({instanceLocation:c,keyword:"$recursiveRef",keywordLocation:o,error:"A subschema had errors."},...l.errors)}if(void 0!==m){const t=i[se||m];if(void 0===t){let e=`Unresolved $ref "${m}".`;throw se&&se!==m&&(e+=` Absolute URI "${se}".`),e+=`\nKnown schemas:\n- ${Object.keys(i).join("\n- ")}`,new Error(e)}const r=`${d}/$ref`,o=_(e,t,n,i,s,a,c,r,f);if(o.valid||ce.push({instanceLocation:c,keyword:"$ref",keywordLocation:r,error:"A subschema had errors."},...o.errors),"4"===n||"7"===n)return{valid:0===ce.length,errors:ce}}if(Array.isArray(g)){let t=g.length,n=!1;for(let r=0;r<t;r++)if(u===g[r]||"integer"===g[r]&&"number"===u&&e%1==0&&e==e){n=!0;break}n||ce.push({instanceLocation:c,keyword:"type",keywordLocation:`${d}/type`,error:`Instance type "${u}" is invalid. Expected "${g.join('", "')}".`})}else"integer"===g?("number"!==u||e%1||e!=e)&&ce.push({instanceLocation:c,keyword:"type",keywordLocation:`${d}/type`,error:`Instance type "${u}" is invalid. Expected "${g}".`}):void 0!==g&&u!==g&&ce.push({instanceLocation:c,keyword:"type",keywordLocation:`${d}/type`,error:`Instance type "${u}" is invalid. Expected "${g}".`});if(void 0!==v&&("object"===u||"array"===u?r(e,v)||ce.push({instanceLocation:c,keyword:"const",keywordLocation:`${d}/const`,error:`Instance does not match ${JSON.stringify(v)}.`}):e!==v&&ce.push({instanceLocation:c,keyword:"const",keywordLocation:`${d}/const`,error:`Instance does not match ${JSON.stringify(v)}.`})),void 0!==w&&("object"===u||"array"===u?w.some((t=>r(e,t)))||ce.push({instanceLocation:c,keyword:"enum",keywordLocation:`${d}/enum`,error:`Instance does not match any of ${JSON.stringify(w)}.`}):w.some((t=>e===t))||ce.push({instanceLocation:c,keyword:"enum",keywordLocation:`${d}/enum`,error:`Instance does not match any of ${JSON.stringify(w)}.`})),void 0!==L){const t=`${d}/not`;_(e,L,n,i,s,a,c,t).valid&&ce.push({instanceLocation:c,keyword:"not",keywordLocation:t,error:'Instance matched "not" schema.'})}let de=[];if(void 0!==b){const t=`${d}/anyOf`,r=ce.length;let o=!1;for(let r=0;r<b.length;r++){const d=b[r],l=Object.create(f),h=_(e,d,n,i,s,!0===y?a:null,c,`${t}/${r}`,l);ce.push(...h.errors),o=o||h.valid,h.valid&&de.push(l)}o?ce.length=r:ce.splice(r,0,{instanceLocation:c,keyword:"anyOf",keywordLocation:t,error:"Instance does not match any subschemas."})}if(void 0!==I){const t=`${d}/allOf`,r=ce.length;let o=!0;for(let r=0;r<I.length;r++){const d=I[r],l=Object.create(f),h=_(e,d,n,i,s,!0===y?a:null,c,`${t}/${r}`,l);ce.push(...h.errors),o=o&&h.valid,h.valid&&de.push(l)}o?ce.length=r:ce.splice(r,0,{instanceLocation:c,keyword:"allOf",keywordLocation:t,error:"Instance does not match every subschema."})}if(void 0!==A){const t=`${d}/oneOf`,r=ce.length,o=A.filter(((r,o)=>{const d=Object.create(f),l=_(e,r,n,i,s,!0===y?a:null,c,`${t}/${o}`,d);return ce.push(...l.errors),l.valid&&de.push(d),l.valid})).length;1===o?ce.length=r:ce.splice(r,0,{instanceLocation:c,keyword:"oneOf",keywordLocation:t,error:`Instance does not match exactly one subschema (${o} matches).`})}if("object"!==u&&"array"!==u||Object.assign(f,...de),void 0!==z){const t=`${d}/if`;if(_(e,z,n,i,s,a,c,t,f).valid){if(void 0!==O){const r=_(e,O,n,i,s,a,c,`${d}/then`,f);r.valid||ce.push({instanceLocation:c,keyword:"if",keywordLocation:t,error:'Instance does not match "then" schema.'},...r.errors)}}else if(void 0!==j){const r=_(e,j,n,i,s,a,c,`${d}/else`,f);r.valid||ce.push({instanceLocation:c,keyword:"if",keywordLocation:t,error:'Instance does not match "else" schema.'},...r.errors)}}if("object"===u){if(void 0!==k)for(const t of k)t in e||ce.push({instanceLocation:c,keyword:"required",keywordLocation:`${d}/required`,error:`Instance does not have required property "${t}".`});const t=Object.keys(e);if(void 0!==R&&t.length<R&&ce.push({instanceLocation:c,keyword:"minProperties",keywordLocation:`${d}/minProperties`,error:`Instance does not have at least ${R} properties.`}),void 0!==q&&t.length>q&&ce.push({instanceLocation:c,keyword:"maxProperties",keywordLocation:`${d}/maxProperties`,error:`Instance does not have at least ${q} properties.`}),void 0!==F){const t=`${d}/propertyNames`;for(const r in e){const e=`${c}/${o(r)}`,d=_(r,F,n,i,s,a,e,t);d.valid||ce.push({instanceLocation:c,keyword:"propertyNames",keywordLocation:t,error:`Property name "${r}" does not match schema.`},...d.errors)}}if(void 0!==D){const t=`${d}/dependantRequired`;for(const n in D)if(n in e){const r=D[n];for(const o of r)o in e||ce.push({instanceLocation:c,keyword:"dependentRequired",keywordLocation:t,error:`Instance has "${n}" but does not have "${o}".`})}}if(void 0!==B)for(const t in B){const r=`${d}/dependentSchemas`;if(t in e){const d=_(e,B[t],n,i,s,a,c,`${r}/${o(t)}`,f);d.valid||ce.push({instanceLocation:c,keyword:"dependentSchemas",keywordLocation:r,error:`Instance has "${t}" but does not match dependant schema.`},...d.errors)}}if(void 0!==N){const t=`${d}/dependencies`;for(const r in N)if(r in e){const d=N[r];if(Array.isArray(d))for(const n of d)n in e||ce.push({instanceLocation:c,keyword:"dependencies",keywordLocation:t,error:`Instance has "${r}" but does not have "${n}".`});else{const f=_(e,d,n,i,s,a,c,`${t}/${o(r)}`);f.valid||ce.push({instanceLocation:c,keyword:"dependencies",keywordLocation:t,error:`Instance has "${r}" but does not match dependant schema.`},...f.errors)}}}const r=Object.create(null);let l=!1;if(void 0!==C){const t=`${d}/properties`;for(const d in C){if(!(d in e))continue;const h=`${c}/${o(d)}`,u=_(e[d],C[d],n,i,s,a,h,`${t}/${o(d)}`);if(u.valid)f[d]=r[d]=!0;else if(l=s,ce.push({instanceLocation:c,keyword:"properties",keywordLocation:t,error:`Property "${d}" does not match schema.`},...u.errors),l)break}}if(!l&&void 0!==E){const t=`${d}/patternProperties`;for(const d in E){const h=new RegExp(d),u=E[d];for(const m in e){if(!h.test(m))continue;const p=`${c}/${o(m)}`,y=_(e[m],u,n,i,s,a,p,`${t}/${o(d)}`);y.valid?f[m]=r[m]=!0:(l=s,ce.push({instanceLocation:c,keyword:"patternProperties",keywordLocation:t,error:`Property "${m}" matches pattern "${d}" but does not match associated schema.`},...y.errors))}}}if(l||void 0===S){if(!l&&void 0!==M){const t=`${d}/unevaluatedProperties`;for(const r in e)if(!f[r]){const d=`${c}/${o(r)}`,l=_(e[r],M,n,i,s,a,d,t);l.valid?f[r]=!0:ce.push({instanceLocation:c,keyword:"unevaluatedProperties",keywordLocation:t,error:`Property "${r}" does not match unevaluated properties schema.`},...l.errors)}}}else{const t=`${d}/additionalProperties`;for(const d in e){if(r[d])continue;const h=`${c}/${o(d)}`,u=_(e[d],S,n,i,s,a,h,t);u.valid?f[d]=!0:(l=s,ce.push({instanceLocation:c,keyword:"additionalProperties",keywordLocation:t,error:`Property "${d}" does not match additional properties schema.`},...u.errors))}}}else if("array"===u){void 0!==Y&&e.length>Y&&ce.push({instanceLocation:c,keyword:"maxItems",keywordLocation:`${d}/maxItems`,error:`Array has too many items (${e.length} > ${Y}).`}),void 0!==W&&e.length<W&&ce.push({instanceLocation:c,keyword:"minItems",keywordLocation:`${d}/minItems`,error:`Array has too few items (${e.length} < ${W}).`});const t=e.length;let o=0,l=!1;if(void 0!==U){const r=`${d}/prefixItems`,h=Math.min(U.length,t);for(;o<h;o++){const t=_(e[o],U[o],n,i,s,a,`${c}/${o}`,`${r}/${o}`);if(f[o]=!0,!t.valid&&(l=s,ce.push({instanceLocation:c,keyword:"prefixItems",keywordLocation:r,error:"Items did not match schema."},...t.errors),l))break}}if(void 0!==G){const r=`${d}/items`;if(Array.isArray(G)){const d=Math.min(G.length,t);for(;o<d;o++){const t=_(e[o],G[o],n,i,s,a,`${c}/${o}`,`${r}/${o}`);if(f[o]=!0,!t.valid&&(l=s,ce.push({instanceLocation:c,keyword:"items",keywordLocation:r,error:"Items did not match schema."},...t.errors),l))break}}else for(;o<t;o++){const t=_(e[o],G,n,i,s,a,`${c}/${o}`,r);if(f[o]=!0,!t.valid&&(l=s,ce.push({instanceLocation:c,keyword:"items",keywordLocation:r,error:"Items did not match schema."},...t.errors),l))break}if(!l&&void 0!==T){const r=`${d}/additionalItems`;for(;o<t;o++){const t=_(e[o],T,n,i,s,a,`${c}/${o}`,r);f[o]=!0,t.valid||(l=s,ce.push({instanceLocation:c,keyword:"additionalItems",keywordLocation:r,error:"Items did not match additional items schema."},...t.errors))}}}if(void 0!==J)if(0===t&&void 0===K)ce.push({instanceLocation:c,keyword:"contains",keywordLocation:`${d}/contains`,error:"Array is empty. It must contain at least one item matching the schema."});else if(void 0!==K&&t<K)ce.push({instanceLocation:c,keyword:"minContains",keywordLocation:`${d}/minContains`,error:`Array has less items (${t}) than minContains (${K}).`});else{const r=`${d}/contains`,o=ce.length;let l=0;for(let o=0;o<t;o++){const t=_(e[o],J,n,i,s,a,`${c}/${o}`,r);t.valid?(f[o]=!0,l++):ce.push(...t.errors)}l>=(K||0)&&(ce.length=o),void 0===K&&void 0===V&&0===l?ce.splice(o,0,{instanceLocation:c,keyword:"contains",keywordLocation:r,error:"Array does not contain item matching schema."}):void 0!==K&&l<K?ce.push({instanceLocation:c,keyword:"minContains",keywordLocation:`${d}/minContains`,error:`Array must contain at least ${K} items matching schema. Only ${l} items were found.`}):void 0!==V&&l>V&&ce.push({instanceLocation:c,keyword:"maxContains",keywordLocation:`${d}/maxContains`,error:`Array may contain at most ${V} items matching schema. ${l} items were found.`})}if(!l&&void 0!==H){const r=`${d}/unevaluatedItems`;for(;o<t;o++){if(f[o])continue;const t=_(e[o],H,n,i,s,a,`${c}/${o}`,r);f[o]=!0,t.valid||ce.push({instanceLocation:c,keyword:"unevaluatedItems",keywordLocation:r,error:"Items did not match unevaluated items schema."},...t.errors)}}if(X)for(let n=0;n<t;n++){const o=e[n],i="object"==typeof o&&null!==o;for(let s=0;s<t;s++){if(n===s)continue;const t=e[s],a="object"==typeof t&&null!==t;(o===t||i&&a&&r(o,t))&&(ce.push({instanceLocation:c,keyword:"uniqueItems",keywordLocation:`${d}/uniqueItems`,error:`Duplicate items at indexes ${n} and ${s}.`}),n=Number.MAX_SAFE_INTEGER,s=Number.MAX_SAFE_INTEGER)}}}else if("number"===u){if("4"===n?(void 0!==Z&&(!0===ee&&e<=Z||e<Z)&&ce.push({instanceLocation:c,keyword:"minimum",keywordLocation:`${d}/minimum`,error:`${e} is less than ${ee?"or equal to ":""} ${Z}.`}),void 0!==Q&&(!0===te&&e>=Q||e>Q)&&ce.push({instanceLocation:c,keyword:"maximum",keywordLocation:`${d}/maximum`,error:`${e} is greater than ${te?"or equal to ":""} ${Q}.`})):(void 0!==Z&&e<Z&&ce.push({instanceLocation:c,keyword:"minimum",keywordLocation:`${d}/minimum`,error:`${e} is less than ${Z}.`}),void 0!==Q&&e>Q&&ce.push({instanceLocation:c,keyword:"maximum",keywordLocation:`${d}/maximum`,error:`${e} is greater than ${Q}.`}),void 0!==ee&&e<=ee&&ce.push({instanceLocation:c,keyword:"exclusiveMinimum",keywordLocation:`${d}/exclusiveMinimum`,error:`${e} is less than ${ee}.`}),void 0!==te&&e>=te&&ce.push({instanceLocation:c,keyword:"exclusiveMaximum",keywordLocation:`${d}/exclusiveMaximum`,error:`${e} is greater than or equal to ${te}.`})),void 0!==ne){const t=e%ne;Math.abs(0-t)>=1.1920929e-7&&Math.abs(ne-t)>=1.1920929e-7&&ce.push({instanceLocation:c,keyword:"multipleOf",keywordLocation:`${d}/multipleOf`,error:`${e} is not a multiple of ${ne}.`})}}else if("string"===u){const t=void 0===re&&void 0===oe?0:x(e);void 0!==re&&t<re&&ce.push({instanceLocation:c,keyword:"minLength",keywordLocation:`${d}/minLength`,error:`String is too short (${t} < ${re}).`}),void 0!==oe&&t>oe&&ce.push({instanceLocation:c,keyword:"maxLength",keywordLocation:`${d}/maxLength`,error:`String is too long (${t} > ${oe}).`}),void 0===ie||new RegExp(ie).test(e)||ce.push({instanceLocation:c,keyword:"pattern",keywordLocation:`${d}/pattern`,error:"String does not match pattern."}),void 0!==P&&$[P]&&!$[P](e)&&ce.push({instanceLocation:c,keyword:"format",keywordLocation:`${d}/format`,error:`String does not match format "${P}".`})}return{valid:0===ce.length,errors:ce}}class I{constructor(e,t="2019-09",n=!0){this.schema=e,this.draft=t,this.shortCircuit=n,this.lookup=l(e)}validate(e){return _(e,this.schema,this.draft,this.lookup,this.shortCircuit)}addSchema(e,t){t&&(e={...e,$id:t}),l(e,this.lookup)}}}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){const{groupBy:e}=n(7627),{FlexSearch:t}=n(3129),{Validator:r}=n(9707);function o(e,n){e.removeEventListener("focus",o);const r=n.indexConfig?n.indexConfig:{tokenize:"forward"},i=n.dataFile;r.document={key:"id",index:["title","content"],store:["title","href","parent"]};const s=new t.Document(r);window.geekdocSearchIndex=s,a(i,(function(e){e.forEach((e=>{window.geekdocSearchIndex.add(e)}))}))}function i(e,t){const n=[];for(const r of e){const e=document.createElement("li"),o=e.appendChild(document.createElement("span")),i=o.appendChild(document.createElement("a"));o.classList.add("flex"),i.href=r.href,i.textContent=r.title,i.classList.add("gdoc-search__entry"),t?t.appendChild(e):n.push(e)}return n}function s(e){if(!e.ok)throw Error("Failed to fetch '"+e.url+"': "+e.statusText);return e}function a(e,t){fetch(e).then(s).then((e=>e.json())).then((e=>t(e))).catch((function(e){e instanceof AggregateError?(console.error(e.message),e.errors.forEach((e=>{console.error(e)}))):console.error(e)}))}document.addEventListener("DOMContentLoaded",(function(t){const n=document.querySelector("#gdoc-search-input"),s=document.querySelector("#gdoc-search-results"),c=(d=n?n.dataset.siteBaseUrl:"",(f=document.createElement("a")).href=d,f.pathname);var d,f;const l=n?n.dataset.siteLang:"",h=new r({type:"object",properties:{dataFile:{type:"string"},indexConfig:{type:["object","null"]},showParent:{type:"boolean"}},additionalProperties:!1});var u,m;n&&a((u=c,(m="/search/"+l+".config.min.json")?u.replace(/\/+$/,"")+"/"+m.replace(/^\/+/,""):u),(function(t){const r=h.validate(t);if(!r.valid)throw AggregateError(r.errors.map((e=>new Error("Validation error: "+e.error))),"Schema validation failed");n&&(n.addEventListener("focus",(()=>{o(n,t)})),n.addEventListener("keyup",(()=>{!function(t,n,r){for(;n.firstChild;)n.removeChild(n.firstChild);if(!t.value)return n.classList.remove("has-hits");let o=function(e){const t=[],n=new Map;for(const r of e)for(const e of r.result)n.has(e.doc.href)||(n.set(e.doc.href,!0),t.push(e.doc));return t}(window.geekdocSearchIndex.search(t.value,{enrich:!0,limit:10}));if(o.length<1)return n.classList.remove("has-hits");n.classList.add("has-hits"),!0===r.showParent&&(o=e(o,(e=>e.parent)));const s=[];if(!0===r.showParent)for(const e in o){const t=document.createElement("li"),n=t.appendChild(document.createElement("span")),r=t.appendChild(document.createElement("ul"));n.textContent=e,i(o[e],r),s.push(t)}else{const e=document.createElement("li"),t=e.appendChild(document.createElement("span")),n=e.appendChild(document.createElement("ul"));t.textContent="Results",i(o,n),s.push(e)}s.forEach((e=>{n.appendChild(e)}))}(n,s,t)})))}))}))}()}();