1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,237978,e=>{"use strict";e.s(["PageModeOverrideContext",()=>n,"PageModeOverrideProvider",()=>i,"useEffectivePageMetadata",()=>a,"usePageModeOverride",()=>o]);var t=e.i(843476),r=e.i(271645);let n=(0,r.createContext)({pageModeOverride:void 0,originalPageMode:void 0,setPageModeOverride:()=>{},setOriginalPageMode:()=>{}});function i({children:e}){let[i,o]=(0,r.useState)(void 0),[a,s]=(0,r.useState)(void 0),l=(0,r.useCallback)(e=>{s(e)},[]),u=(0,r.useCallback)(e=>{if(o(e),"undefined"!=typeof document){let t=void 0===e?a??"none":e||"none";document.documentElement.setAttribute("data-page-mode",t)}},[a]),c=(0,r.useMemo)(()=>({pageModeOverride:i,originalPageMode:a,setPageModeOverride:u,setOriginalPageMode:l}),[i,a,u,l]);return(0,t.jsx)(n.Provider,{value:c,children:e})}function o(){return(0,r.useContext)(n)}function a(e){let{pageModeOverride:t}=(0,r.useContext)(n);return(0,r.useMemo)(()=>void 0===t?e:{...e,mode:t||void 0},[e,t])}},803333,875081,e=>{"use strict";e.s(["useCurrentPath",()=>a],803333);var t=e.i(590280);e.s(["safeDecodeURIComponent",()=>r],875081);let r=e=>{try{return decodeURIComponent(e)}catch{return e}};var n=e.i(431392),i=e.i(618566),o=e.i(271645);function a(){let e=(0,i.useParams)()?.slug,a=(0,o.useMemo)(()=>(function(e){let t="string"==typeof e?r(e):(e=>{if(e)return e.map(e=>r(e))})(e)?.join("/");return(0,n.optionallyAddLeadingSlash)(t??"")})(e),[e]),{isLivePreview:s,currentPreviewPath:l}=(0,o.useContext)(t.LivePreviewContext);return s&&l?l:a}},628694,(e,t,r)=>{t.exports=function e(t,r){return 0===r?t:e(r,t%r)}},429965,(e,t,r)=>{var n=e.r(628694);t.exports=function(e,t){return 0===t?0:e*t/n(e,t)}},368971,(e,t,r)=>{t.exports=(function t(r,n,i){function o(s,l){if(!n[s]){if(!r[s]){var u=e.t;return!l&&u?u(s,!0):a(s,!0)}l=n[s]={exports:{}},r[s][0].call(l.exports,function(e){return o(r[s][1][e]||e)},l,l.exports,t,r,n,i)}return n[s].exports}for(var a=e.t,s=0;s<i.length;s++)o(i[s]);return o})({1:[function(e,t,r){(function(n,i,o,a,s,l,u,c,p){"use strict";var f=e("crypto");function d(e,t){var r;return void 0===(r="passthrough"!==(t=y(e,t)).algorithm?f.createHash(t.algorithm):new v).write&&(r.write=r.update,r.end=r.update),b(t,r).dispatch(e),r.update||r.end(""),r.digest?r.digest("buffer"===t.encoding?void 0:t.encoding):(e=r.read(),"buffer"!==t.encoding?e.toString(t.encoding):e)}(r=t.exports=d).sha1=function(e){return d(e)},r.keys=function(e){return d(e,{excludeValues:!0,algorithm:"sha1",encoding:"hex"})},r.MD5=function(e){return d(e,{algorithm:"md5",encoding:"hex"})},r.keysMD5=function(e){return d(e,{algorithm:"md5",encoding:"hex",excludeValues:!0})};var h=f.getHashes?f.getHashes().slice():["sha1","md5"],m=(h.push("passthrough"),["buffer","hex","binary","base64"]);function y(e,t){var r={};if(r.algorithm=(t=t||{}).algorithm||"sha1",r.encoding=t.encoding||"hex",r.excludeValues=!!t.excludeValues,r.algorithm=r.algorithm.toLowerCase(),r.encoding=r.encoding.toLowerCase(),r.ignoreUnknown=!0===t.ignoreUnknown,r.respectType=!1!==t.respectType,r.respectFunctionNames=!1!==t.respectFunctionNames,r.respectFunctionProperties=!1!==t.respectFunctionProperties,r.unorderedArrays=!0===t.unorderedArrays,r.unorderedSets=!1!==t.unorderedSets,r.unorderedObjects=!1!==t.unorderedObjects,r.replacer=t.replacer||void 0,r.excludeKeys=t.excludeKeys||void 0,void 0===e)throw Error("Object argument required.");for(var n=0;n<h.length;++n)h[n].toLowerCase()===r.algorithm.toLowerCase()&&(r.algorithm=h[n]);if(-1===h.indexOf(r.algorithm))throw Error('Algorithm "'+r.algorithm+'" not supported. supported values: '+h.join(", "));if(-1===m.indexOf(r.encoding)&&"passthrough"!==r.algorithm)throw Error('Encoding "'+r.encoding+'" not supported. supported values: '+m.join(", "));return r}function g(e){if("function"==typeof e)return null!=/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i.exec(Function.prototype.toString.call(e))}function b(e,t,r){function n(e){return t.update?t.update(e,"utf8"):t.write(e,"utf8")}return r=r||[],{dispatch:function(t){return this["_"+(null===(t=e.replacer?e.replacer(t):t)?"null":typeof t)](t)},_object:function(t){var i,a=Object.prototype.toString.call(t),s=/\[object (.*)\]/i.exec(a);if(s=(s=s?s[1]:"unknown:["+a+"]").toLowerCase(),0<=(a=r.indexOf(t)))return this.dispatch("[CIRCULAR:"+a+"]");if(r.push(t),void 0!==o&&o.isBuffer&&o.isBuffer(t))return n("buffer:"),n(t);if("object"===s||"function"===s||"asyncfunction"===s)return a=Object.keys(t),e.unorderedObjects&&(a=a.sort()),!1===e.respectType||g(t)||a.splice(0,0,"prototype","__proto__","constructor"),e.excludeKeys&&(a=a.filter(function(t){return!e.excludeKeys(t)})),n("object:"+a.length+":"),i=this,a.forEach(function(r){i.dispatch(r),n(":"),e.excludeValues||i.dispatch(t[r]),n(",")});if(!this["_"+s]){if(e.ignoreUnknown)return n("["+s+"]");throw Error('Unknown object type "'+s+'"')}this["_"+s](t)},_array:function(t,i){i=void 0!==i?i:!1!==e.unorderedArrays;var o=this;if(n("array:"+t.length+":"),!i||t.length<=1)return t.forEach(function(e){return o.dispatch(e)});var a=[],i=t.map(function(t){var n=new v,i=r.slice();return b(e,n,i).dispatch(t),a=a.concat(i.slice(r.length)),n.read().toString()});return r=r.concat(a),i.sort(),this._array(i,!1)},_date:function(e){return n("date:"+e.toJSON())},_symbol:function(e){return n("symbol:"+e.toString())},_error:function(e){return n("error:"+e.toString())},_boolean:function(e){return n("bool:"+e.toString())}
1,_string:function(e){n("string:"+e.length+":"),n(e.toString())},_function:function(t){n("fn:"),g(t)?this.dispatch("[native]"):this.dispatch(t.toString()),!1!==e.respectFunctionNames&&this.dispatch("function-name:"+String(t.name)),e.respectFunctionProperties&&this._object(t)},_number:function(e){return n("number:"+e.toString())},_xml:function(e){return n("xml:"+e.toString())},_null:function(){return n("Null")},_undefined:function(){return n("Undefined")},_regexp:function(e){return n("regex:"+e.toString())},_uint8array:function(e){return n("uint8array:"),this.dispatch(Array.prototype.slice.call(e))},_uint8clampedarray:function(e){return n("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(e))},_int8array:function(e){return n("int8array:"),this.dispatch(Array.prototype.slice.call(e))},_uint16array:function(e){return n("uint16array:"),this.dispatch(Array.prototype.slice.call(e))},_int16array:function(e){return n("int16array:"),this.dispatch(Array.prototype.slice.call(e))},_uint32array:function(e){return n("uint32array:"),this.dispatch(Array.prototype.slice.call(e))},_int32array:function(e){return n("int32array:"),this.dispatch(Array.prototype.slice.call(e))},_float32array:function(e){return n("float32array:"),this.dispatch(Array.prototype.slice.call(e))},_float64array:function(e){return n("float64array:"),this.dispatch(Array.prototype.slice.call(e))},_arraybuffer:function(e){return n("arraybuffer:"),this.dispatch(new Uint8Array(e))},_url:function(e){return n("url:"+e.toString())},_map:function(t){return n("map:"),t=Array.from(t),this._array(t,!1!==e.unorderedSets)},_set:function(t){return n("set:"),t=Array.from(t),this._array(t,!1!==e.unorderedSets)},_file:function(e){return n("file:"),this.dispatch([e.name,e.size,e.type,e.lastModfied])},_blob:function(){if(e.ignoreUnknown)return n("[blob]");throw Error('Hashing Blob objects is currently not supported\n(see https://github.com/puleos/object-hash/issues/26)\nUse "options.replacer" or "options.ignoreUnknown"\n')},_domwindow:function(){return n("domwindow")},_bigint:function(e){return n("bigint:"+e.toString())},_process:function(){return n("process")},_timer:function(){return n("timer")},_pipe:function(){return n("pipe")},_tcp:function(){return n("tcp")},_udp:function(){return n("udp")},_tty:function(){return n("tty")},_statwatcher:function(){return n("statwatcher")},_securecontext:function(){return n("securecontext")},_connection:function(){return n("connection")},_zlib:function(){return n("zlib")},_context:function(){return n("context")},_nodescript:function(){return n("nodescript")},_httpparser:function(){return n("httpparser")},_dataview:function(){return n("dataview")},_signal:function(){return n("signal")},_fsevent:function(){return n("fsevent")},_tlswrap:function(){return n("tlswrap")}}}function v(){return{buf:"",write:function(e){this.buf+=e},end:function(e){this.buf+=e},read:function(){return this.buf}}}r.writeToStream=function(e,t,r){return void 0===r&&(r=t,t={}),b(t=y(e,t),r).dispatch(e)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/fake_9a5aa49d.js","/")},{buffer:3,crypto:5,lYpoI2:11}],2:[function(e,t,r){(function(e,t,n,i,o,a,s,l,u){!function(e){"use strict";var t="undefined"!=typeof Uint8Array?Uint8Array:Array;function r(e){return 43===(e=e.charCodeAt(0))||45===e?62:47===e||95===e?63:e<48?-1:e<58?e-48+26+26:e<91?e-65:e<123?e-97+26:void 0}e.toByteArray=function(e){if(0<e.length%4)throw Error("Invalid string. Length must be a multiple of 4");var n,i,o=e.length,o="="===e.charAt(o-2)?2:+("="===e.charAt(o-1)),a=new t(3*e.length/4-o),s=0<o?e.length-4:e.length,l=0;function u(e){a[l++]=e}for(n=0;n<s;n+=4)u((0xff0000&(i=r(e.charAt(n))<<18|r(e.charAt(n+1))<<12|r(e.charAt(n+2))<<6|r(e.charAt(n+3))))>>16),u((65280&i)>>8),u(255&i);return 2==o?u(255&(i=r(e.charAt(n))<<2|r(e.charAt(n+1))>>4)):1==o&&(u((i=r(e.charAt(n))<<10|r(e.charAt(n+1))<<4|r(e.charAt(n+2))>>2)>>8&255),u(255&i)),a},e.fromByteArray=function(e){var t,r,n,i,o=e.length%3,a="";function s(e){return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
1+/".charAt(e)}for(t=0,n=e.length-o;t<n;t+=3)a+=s((i=r=(e[t]<<16)+(e[t+1]<<8)+e[t+2])>>18&63)+s(i>>12&63)+s(i>>6&63)+s(63&i);switch(o){case 1:a=(a+=s((r=e[e.length-1])>>2))+s(r<<4&63)+"==";break;case 2:a=(a=(a+=s((r=(e[e.length-2]<<8)+e[e.length-1])>>10))+s(r>>4&63))+s(r<<2&63)+"="}return a}}(void 0===r?this.base64js={}:r)}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/base64-js/lib/b64.js","/node_modules/gulp-browserify/node_modules/base64-js/lib")},{buffer:3,lYpoI2:11}],3:[function(e,t,r){(function(t,n,i,o,a,s,l,u,c){var p=e("base64-js"),f=e("ieee754");function i(e,t,r){if(!(this instanceof i))return new i(e,t,r);var n,o,a,s,l=typeof e;if("base64"===t&&"string"==l)for(e=(s=e).trim?s.trim():s.replace(/^\s+|\s+$/g,"");e.length%4!=0;)e+="=";if("number"==l)n=S(e);else if("string"==l)n=i.byteLength(e,t);else{if("object"!=l)throw Error("First argument needs to be a number, array or string.");n=S(e.length)}if(i._useTypedArrays?o=i._augment(new Uint8Array(n)):((o=this).length=n,o._isBuffer=!0),i._useTypedArrays&&"number"==typeof e.byteLength)o._set(e);else if(I(s=e)||i.isBuffer(s)||s&&"object"==typeof s&&"number"==typeof s.length)for(a=0;a<n;a++)i.isBuffer(e)?o[a]=e.readUInt8(a):o[a]=e[a];else if("string"==l)o.write(e,0,t);else if("number"==l&&!i._useTypedArrays&&!r)for(a=0;a<n;a++)o[a]=0;return o}function d(e,t,r,n){n||(D("boolean"==typeof r,"missing or invalid endian"),D(null!=t,"missing offset"),D(t+1<e.length,"Trying to read beyond buffer length"));var i,n=e.length;if(!(n<=t))return r?(i=e[t],t+1<n&&(i|=e[t+1]<<8)):(i=e[t]<<8,t+1<n&&(i|=e[t+1])),i}function h(e,t,r,n){n||(D("boolean"==typeof r,"missing or invalid endian"),D(null!=t,"missing offset"),D(t+3<e.length,"Trying to read beyond buffer length"));var i,n=e.length;if(!(n<=t))return r?(t+2<n&&(i=e[t+2]<<16),t+1<n&&(i|=e[t+1]<<8),i|=e[t],t+3<n&&(i+=e[t+3]<<24>>>0)):(t+1<n&&(i=e[t+1]<<16),t+2<n&&(i|=e[t+2]<<8),t+3<n&&(i|=e[t+3]),i+=e[t]<<24>>>0),i}function m(e,t,r,n){if(n||(D("boolean"==typeof r,"missing or invalid endian"),D(null!=t,"missing offset"),D(t+1<e.length,"Trying to read beyond buffer length")),!(e.length<=t))return 32768&(n=d(e,t,r,!0))?-1*(65535-n+1):n}function y(e,t,r,n){if(n||(D("boolean"==typeof r,"missing or invalid endian"),D(null!=t,"missing offset"),D(t+3<e.length,"Trying to read beyond buffer length")),!(e.length<=t))return 0x80000000&(n=h(e,t,r,!0))?-1*(0xffffffff-n+1):n}function g(e,t,r,n){return n||(D("boolean"==typeof r,"missing or invalid endian"),D(t+3<e.length,"Trying to read beyond buffer length")),f.read(e,t,r,23,4)}function b(e,t,r,n){return n||(D("boolean"==typeof r,"missing or invalid endian"),D(t+7<e.length,"Trying to read beyond buffer length")),f.read(e,t,r,52,8)}function v(e,t,r,n,i){if(i||(D(null!=t,"missing value"),D("boolean"==typeof n,"missing or invalid endian"),D(null!=r,"missing offset"),D(r+1<e.length,"trying to write beyond buffer length"),N(t,65535)),!((i=e.length)<=r))for(var o=0,a=Math.min(i-r,2);o<a;o++)e[r+o]=(t&255<<8*(n?o:1-o))>>>8*(n?o:1-o)}function x(e,t,r,n,i){if(i||(D(null!=t,"missing value"),D("boolean"==typeof n,"missing or invalid endian"),D(null!=r,"missing offset"),D(r+3<e.length,"trying to write beyond buffer length"),N(t,0xffffffff)),!((i=e.length)<=r))for(var o=0,a=Math.min(i-r,4);o<a;o++)e[r+o]=t>>>8*(n?o:3-o)&255}function w(e,t,r,n,i){i||(D(null!=t,"missing value"),D("boolean"==typeof n,"missing or invalid endian"),D(null!=r,"missing offset"),D(r+1<e.length,"Trying to write beyond buffer length"),B(t,32767,-32768)),e.length<=r||v(e,0<=t?t:65535+t+1,r,n,i)}function O(e,t,r,n,i){i||(D(null!=t,"missing value"),D("boolean"==typeof n,"missing or invalid endian"),D(null!=r,"missing offset"),D(r+3<e.length,"Trying to write beyond buffer length"),B(t,0x7fffffff,-0x80000000)),e.length<=r||x(e,0<=t?t:0xffffffff+t+1,r,n,i)}function E(e,t,r,n,i){i||(D(null!=t,"missing value"),D("boolean"==typeof n,"missing or invalid endian"),D(null!=r,"missing offset"),D(r+3<e.length,"Trying to write beyond buffer length"),M(t,34028234663852886e22,-34028234663852886e22)),e.length<=r||f.write(e,t,r,n,23,4)}function A(e,t,r,n,i){i||(D(null!=t,"missing value"),D("boolean"==typeof n,"missing or invalid endian"),D(null!=r,"missing offset"),D(r+7<e.length,"Trying to write beyond buffer length"),M(t,17976931348623157e292,-17976931348623157e292)),e.length<=r||f.write(e,t,r,n,52,8)}r.Buffer=i,r.SlowBuffer=i,r.INSPECT_MAX_BYTES=50,i.poolSize=8192,i._useTypedArrays=function(){try{var e=new ArrayBuffer(0),t=new Uint8Array(e);return t.foo=function(){return 42},42===t.foo()&&"function"==typeof t.subarray}catch(e){return!1}}(),i.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},i.isBuffer=function(e){return!(null==e||!e._isBuffer)},i.byteLength=function(e,t){var r;switch(e+="",t||"utf8"){case"hex":r=e.length/2;break;case"utf8":case"utf-8":r=P(e).length;break;case"ascii":case"binary":case"raw":r=e.length;break;case"base64":r=_(e).length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":r=2*e.length;break;default:throw Error("Unknown encoding")}return r},i.concat=function(e,t){if(D(I(e),"Usage: Buffer.concat(list, [totalLength])\nlist should be an Array."),0===e.length)return new i(0);if(1===e.length)return e[0];if("number"!=typeof t)for(o=t=0;o<e.length;o++)t+=e[o].length;for(var r=new i(t),n=0,o=0;o<e.length;o++){var a=e[o];a.copy(r,n),n+=a.length}return r}
vendor: 6,534 bytes, line 1
1,i.prototype.write=function(e,t,r,n){isFinite(t)?isFinite(r)||(n=r,r=void 0):(d=n,n=t,t=r,r=d),t=Number(t)||0;var o,a,s,l,u,c,p,f,d=this.length-t;switch((!r||d<(r=Number(r)))&&(r=d),n=String(n||"utf8").toLowerCase()){case"hex":u=function(e,t,r,n){r=Number(r)||0;var o=e.length-r;(!n||o<(n=Number(n)))&&(n=o),D((o=t.length)%2==0,"Invalid hex string"),o/2<n&&(n=o/2);for(var a=0;a<n;a++){var s=parseInt(t.substr(2*a,2),16);D(!isNaN(s),"Invalid hex string"),e[r+a]=s}return i._charsWritten=2*a,a}(this,e,t,r);break;case"utf8":case"utf-8":c=this,p=t,f=r,u=i._charsWritten=T(P(e),c,p,f);break;case"ascii":case"binary":o=t,a=r,u=i._charsWritten=T(function(e){for(var t=[],r=0;r<e.length;r++)t.push(255&e.charCodeAt(r));return t}(e),this,o,a);break;case"base64":c=this,p=t,f=r,u=i._charsWritten=T(_(e),c,p,f);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":s=t,l=r,u=i._charsWritten=T(function(e){for(var t,r,n=[],i=0;i<e.length;i++)t=(r=e.charCodeAt(i))>>8,n.push(r%=256),n.push(t);return n}(e),this,s,l);break;default:throw Error("Unknown encoding")}return u},i.prototype.toString=function(e,t,r){var n,i,o;if(e=String(e||"utf8").toLowerCase(),t=Number(t)||0,(r=void 0!==r?Number(r):this.length)===t)return"";switch(e){case"hex":n=function(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||n<r)&&(r=n);for(var i="",o=t;o<r;o++)i+=C(e[o]);return i}(this,t,r);break;case"utf8":case"utf-8":n=function(e,t,r){var n="",i="";r=Math.min(e.length,r);for(var o=t;o<r;o++)e[o]<=127?(n+=L(i)+String.fromCharCode(e[o]),i=""):i+="%"+e[o].toString(16);return n+L(i)}(this,t,r);break;case"ascii":case"binary":n=function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;i++)n+=String.fromCharCode(e[i]);return n}(this,t,r);break;case"base64":o=r,n=0===(i=t)&&o===this.length?p.fromByteArray(this):p.fromByteArray(this.slice(i,o));break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":n=function(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}(this,t,r);break;default:throw Error("Unknown encoding")}return n},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},i.prototype.copy=function(e,t,r,n){if(t=t||0,(n=n||0===n?n:this.length)!==(r=r||0)&&0!==e.length&&0!==this.length){D(r<=n,"sourceEnd < sourceStart"),D(0<=t&&t<e.length,"targetStart out of bounds"),D(0<=r&&r<this.length,"sourceStart out of bounds"),D(0<=n&&n<=this.length,"sourceEnd out of bounds"),n>this.length&&(n=this.length);var o=(n=e.length-t<n-r?e.length-t+r:n)-r;if(o<100||!i._useTypedArrays)for(var a=0;a<o;a++)e[a+t]=this[a+r];else e._set(this.subarray(r,r+o),t)}},i.prototype.slice=function(e,t){var r=this.length;if(e=k(e,r,0),t=k(t,r,r),i._useTypedArrays)return i._augment(this.subarray(e,t));for(var n=t-e,o=new i(n,void 0,!0),a=0;a<n;a++)o[a]=this[a+e];return o},i.prototype.get=function(e){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(e)},i.prototype.set=function(e,t){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(e,t)},i.prototype.readUInt8=function(e,t){if(t||(D(null!=e,"missing offset"),D(e<this.length,"Trying to read beyond buffer length")),!(e>=this.length))return this[e]},i.prototype.readUInt16LE=function(e,t){return d(this,e,!0,t)},i.prototype.readUInt16BE=function(e,t){return d(this,e,!1,t)},i.prototype.readUInt32LE=function(e,t){return h(this,e,!0,t)},i.prototype.readUInt32BE=function(e,t){return h(this,e,!1,t)},i.prototype.readInt8=function(e,t){if(t||(D(null!=e,"missing offset"),D(e<this.length,"Trying to read beyond buffer length")),!(e>=this.length))return 128&this[e]?-1*(255-this[e]+1):this[e]},i.prototype.readInt16LE=function(e,t){return m(this,e,!0,t)},i.prototype.readInt16BE=function(e,t){return m(this,e,!1,t)},i.prototype.readInt32LE=function(e,t){return y(this,e,!0,t)},i.prototype.readInt32BE=function(e,t){return y(this,e,!1,t)},i.prototype.readFloatLE=function(e,t){return g(this,e,!0,t)},i.prototype.readFloatBE=function(e,t){return g(this,e,!1,t)},i.prototype.readDoubleLE=function(e,t){return b(this,e,!0,t)},i.prototype.readDoubleBE=function(e,t){return b(this,e,!1,t)},i.prototype.writeUInt8=function(e,t,r){r||(D(null!=e,"missing value"),D(null!=t,"missing offset"),D(t<this.length,"trying to write beyond buffer length"),N(e,255)),t>=this.length||(this[t]=e)},i.prototype.writeUInt16LE=function(e,t,r){v(this,e,t,!0,r)},i.prototype.writeUInt16BE=function(e,t,r){v(this,e,t,!1,r)},i.prototype.writeUInt32LE=function(e,t,r){x(this,e,t,!0,r)},i.prototype.writeUInt32BE=function(e,t,r){x(this,e,t,!1,r)},i.prototype.writeInt8=function(e,t,r){r||(D(null!=e,"missing value"),D(null!=t,"missing offset"),D(t<this.length,"Trying to write beyond buffer length"),B(e,127,-128)),t>=this.length||(0<=e?this.writeUInt8(e,t,r):this.writeUInt8(255+e+1,t,r))},i.prototype.writeInt16LE=function(e,t,r){w(this,e,t,!0,r)},i.prototype.writeInt16BE=function(e,t,r){w(this,e,t,!1,r)},i.prototype.writeInt32LE=function(e,t,r){O(this,e,t,!0,r)},i.prototype.writeInt32BE=function(e,t,r){O(this,e,t,!1,r)},i.prototype.writeFloatLE=function(e,t,r){E(this,e,t,!0,r)},i.prototype.writeFloatBE=function(e,t,r){E(this,e,t,!1,r)},i.prototype.writeDoubleLE=function(e,t,r){A(this,e,t,!0,r)},i.prototype.writeDoubleBE=function(e,t,r){A(this,e,t,!1,r)},i.prototype.fill=function(e,t,r){if(t=t||0,r=r||this.length,D("number"==typeof(e="string"==typeof(e=e||0)?e.charCodeAt(0):e)&&!isNaN(e),"value is not a number"),D(t<=r,"end < start"),r!==t&&0!==this.length){D(0<=t&&t<this.length,"start out of bounds"),D(0<=r&&r<=this.length,"end out of bounds");for(var n=t;n<r;n++)this[n]=e}},i.prototype.inspect=function(){for(var e=[],t=this.length,n=0;n<t;n++)if(e[n]=C(this[n]),n===r.INSPECT_MAX_BYTES){e[n+1]="...";break}return"<Buffer "+e.join(" ")+">"},i.prototype.toArrayBuffer=function(){if("undefined"==typeof Uint8Array)throw Error("Buffer.toArrayBuffer not supported in this browser");if(i._useTypedArrays)return new i(this).buffer;for(var e=new Uint8Array(this.length),t=0,r=e.length;t<r;t+=1)e[t]=this[t];return e.buffer};var j=i.prototype;function k(e,t,r){return"number"!=typeof e?r:t<=(e=~~e)?t:0<=e||0<=(e+=t)?e:0}function S(e){return(e=~~Math.ceil(+e))<0?0:e}function I(e){return(Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)})(e)}function C(e){return e<16?"0"+e.toString(16):e.toString(16)}function P(e){for(var t=[],r=0;r<e.length;r++){var n=e.charCodeAt(r);if(n<=127)t.push(e.charCodeAt(r));
1else for(var i=r,o=(55296<=n&&n<=57343&&r++,encodeURIComponent(e.slice(i,r+1)).substr(1).split("%")),a=0;a<o.length;a++)t.push(parseInt(o[a],16))}return t}function _(e){return p.toByteArray(e)}function T(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);i++)t[i+r]=e[i];return i}function L(e){try{return decodeURIComponent(e)}catch(e){return String.fromCharCode(65533)}}function N(e,t){D("number"==typeof e,"cannot write a non-number as a number"),D(0<=e,"specified a negative value for writing an unsigned value"),D(e<=t,"value is larger than maximum value for type"),D(Math.floor(e)===e,"value has a fractional component")}function B(e,t,r){D("number"==typeof e,"cannot write a non-number as a number"),D(e<=t,"value larger than maximum allowed value"),D(r<=e,"value smaller than minimum allowed value"),D(Math.floor(e)===e,"value has a fractional component")}function M(e,t,r){D("number"==typeof e,"cannot write a non-number as a number"),D(e<=t,"value larger than maximum allowed value"),D(r<=e,"value smaller than minimum allowed value")}function D(e,t){if(!e)throw Error(t||"Failed assertion")}i._augment=function(e){return e._isBuffer=!0,e._get=e.get,e._set=e.set,e.get=j.get,e.set=j.set,e.write=j.write,e.toString=j.toString,e.toLocaleString=j.toString,e.toJSON=j.toJSON,e.copy=j.copy,e.slice=j.slice,e.readUInt8=j.readUInt8,e.readUInt16LE=j.readUInt16LE,e.readUInt16BE=j.readUInt16BE,e.readUInt32LE=j.readUInt32LE,e.readUInt32BE=j.readUInt32BE,e.readInt8=j.readInt8,e.readInt16LE=j.readInt16LE,e.readInt16BE=j.readInt16BE,e.readInt32LE=j.readInt32LE,e.readInt32BE=j.readInt32BE,e.readFloatLE=j.readFloatLE,e.readFloatBE=j.readFloatBE,e.readDoubleLE=j.readDoubleLE,e.readDoubleBE=j.readDoubleBE,e.writeUInt8=j.writeUInt8,e.writeUInt16LE=j.writeUInt16LE,e.writeUInt16BE=j.writeUInt16BE,e.writeUInt32LE=j.writeUInt32LE,e.writeUInt32BE=j.writeUInt32BE,e.writeInt8=j.writeInt8,e.writeInt16LE=j.writeInt16LE,e.writeInt16BE=j.writeInt16BE,e.writeInt32LE=j.writeInt32LE,e.writeInt32BE=j.writeInt32BE,e.writeFloatLE=j.writeFloatLE,e.writeFloatBE=j.writeFloatBE,e.writeDoubleLE=j.writeDoubleLE,e.writeDoubleBE=j.writeDoubleBE,e.fill=j.fill,e.inspect=j.inspect,e.toArrayBuffer=j.toArrayBuffer,e}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/buffer/index.js","/node_modules/gulp-browserify/node_modules/buffer")},{"base64-js":2,buffer:3,ieee754:10,lYpoI2:11}],4:[function(e,t,r){(function(r,n,i,o,a,s,l,u,c){var i=e("buffer").Buffer,p=new i(4);p.fill(0),t.exports={hash:function(e,t,r,n){for(var o=t(function(e,t){e.length%4!=0&&(r=e.length+(4-e.length%4),e=i.concat([e,p],r));for(var r,n=[],o=t?e.readInt32BE:e.readInt32LE,a=0;a<e.length;a+=4)n.push(o.call(e,a));return n}(e=i.isBuffer(e)?e:new i(e),n),8*e.length),t=n,a=new i(r),s=t?a.writeInt32BE:a.writeInt32LE,l=0;l<o.length;l++)s.call(a,o[l],4*l,!0);return a}}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/helpers.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:11}],5:[function(e,t,r){(function(t,n,i,o,a,s,l,u,c){var i=e("buffer").Buffer,p=e("./sha"),f=e("./sha256"),d=e("./rng"),h={sha1:p,sha256:f,md5:e("./md5")},m=new i(64);function y(e,t){var r=h[e=e||"sha1"],n=[];return r||g("algorithm:",e,"is not yet supported"),{update:function(e){return i.isBuffer(e)||(e=new i(e)),n.push(e),e.length,this},digest:function(e){var o=i.concat(n),o=t?function(e,t,r){i.isBuffer(t)||(t=new i(t)),i.isBuffer(r)||(r=new i(r)),t.length>64?t=e(t):t.length<64&&(t=i.concat([t,m],64));for(var n=new i(64),o=new i(64),a=0;a<64;a++)n[a]=54^t[a],o[a]=92^t[a];return r=e(i.concat([n,r])),e(i.concat([o,r]))}(r,t,o):r(o);return n=null,e?o.toString(e):o}}}function g(){var e=[].slice.call(arguments).join(" ");throw Error([e,"we accept pull requests\nhttp://github.com/dominictarr/crypto-browserify"].join("\n"))}m.fill(0),r.createHash=function(e){return y(e)},r.createHmac=y,r.randomBytes=function(e,t){if(!t||!t.call)return new i(d(e));try{t.call(this,void 0,new i(d(e)))}catch(e){t(e)}};var b,v=["createCredentials","createCipher","createCipheriv","createDecipher","createDecipheriv","createSign","createVerify","createDiffieHellman","pbkdf2"],x=function(e){r[e]=function(){g("sorry,",e,"is not implemented yet")}};for(b in v)x(v[b],b)}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/index.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./md5":6,"./rng":7,"./sha":8,"./sha256":9,buffer:3,lYpoI2:11}],6:[function(e,t,r){(function(r,n,i,o,a,s,l,u,c){var p=e("./helpers");function f(e,t){e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;
vendor: 5,313 bytes, line 1
1for(var r=0x67452301,n=-0x10325477,i=-0x67452302,o=0x10325476,a=0;a<e.length;a+=16){var s=r,l=n,u=i,c=o,r=h(r,n,i,o,e[a+0],7,-0x28955b88),o=h(o,r,n,i,e[a+1],12,-0x173848aa),i=h(i,o,r,n,e[a+2],17,0x242070db),n=h(n,i,o,r,e[a+3],22,-0x3e423112);r=h(r,n,i,o,e[a+4],7,-0xa83f051),o=h(o,r,n,i,e[a+5],12,0x4787c62a),i=h(i,o,r,n,e[a+6],17,-0x57cfb9ed),n=h(n,i,o,r,e[a+7],22,-0x2b96aff),r=h(r,n,i,o,e[a+8],7,0x698098d8),o=h(o,r,n,i,e[a+9],12,-0x74bb0851),i=h(i,o,r,n,e[a+10],17,-42063),n=h(n,i,o,r,e[a+11],22,-0x76a32842),r=h(r,n,i,o,e[a+12],7,0x6b901122),o=h(o,r,n,i,e[a+13],12,-0x2678e6d),i=h(i,o,r,n,e[a+14],17,-0x5986bc72),r=m(r,n=h(n,i,o,r,e[a+15],22,0x49b40821),i,o,e[a+1],5,-0x9e1da9e),o=m(o,r,n,i,e[a+6],9,-0x3fbf4cc0),i=m(i,o,r,n,e[a+11],14,0x265e5a51),n=m(n,i,o,r,e[a+0],20,-0x16493856),r=m(r,n,i,o,e[a+5],5,-0x29d0efa3),o=m(o,r,n,i,e[a+10],9,0x2441453),i=m(i,o,r,n,e[a+15],14,-0x275e197f),n=m(n,i,o,r,e[a+4],20,-0x182c0438),r=m(r,n,i,o,e[a+9],5,0x21e1cde6),o=m(o,r,n,i,e[a+14],9,-0x3cc8f82a),i=m(i,o,r,n,e[a+3],14,-0xb2af279),n=m(n,i,o,r,e[a+8],20,0x455a14ed),r=m(r,n,i,o,e[a+13],5,-0x561c16fb),o=m(o,r,n,i,e[a+2],9,-0x3105c08),i=m(i,o,r,n,e[a+7],14,0x676f02d9),r=y(r,n=m(n,i,o,r,e[a+12],20,-0x72d5b376),i,o,e[a+5],4,-378558),o=y(o,r,n,i,e[a+8],11,-0x788e097f),i=y(i,o,r,n,e[a+11],16,0x6d9d6122),n=y(n,i,o,r,e[a+14],23,-0x21ac7f4),r=y(r,n,i,o,e[a+1],4,-0x5b4115bc),o=y(o,r,n,i,e[a+4],11,0x4bdecfa9),i=y(i,o,r,n,e[a+7],16,-0x944b4a0),n=y(n,i,o,r,e[a+10],23,-0x41404390),r=y(r,n,i,o,e[a+13],4,0x289b7ec6),o=y(o,r,n,i,e[a+0],11,-0x155ed806),i=y(i,o,r,n,e[a+3],16,-0x2b10cf7b),n=y(n,i,o,r,e[a+6],23,0x4881d05),r=y(r,n,i,o,e[a+9],4,-0x262b2fc7),o=y(o,r,n,i,e[a+12],11,-0x1924661b),i=y(i,o,r,n,e[a+15],16,0x1fa27cf8),r=g(r,n=y(n,i,o,r,e[a+2],23,-0x3b53a99b),i,o,e[a+0],6,-0xbd6ddbc),o=g(o,r,n,i,e[a+7],10,0x432aff97),i=g(i,o,r,n,e[a+14],15,-0x546bdc59),n=g(n,i,o,r,e[a+5],21,-0x36c5fc7),r=g(r,n,i,o,e[a+12],6,0x655b59c3),o=g(o,r,n,i,e[a+3],10,-0x70f3336e),i=g(i,o,r,n,e[a+10],15,-1051523),n=g(n,i,o,r,e[a+1],21,-0x7a7ba22f),r=g(r,n,i,o,e[a+8],6,0x6fa87e4f),o=g(o,r,n,i,e[a+15],10,-0x1d31920),i=g(i,o,r,n,e[a+6],15,-0x5cfebcec),n=g(n,i,o,r,e[a+13],21,0x4e0811a1),r=g(r,n,i,o,e[a+4],6,-0x8ac817e),o=g(o,r,n,i,e[a+11],10,-0x42c50dcb),i=g(i,o,r,n,e[a+2],15,0x2ad7d2bb),n=g(n,i,o,r,e[a+9],21,-0x14792c6f),r=b(r,s),n=b(n,l),i=b(i,u),o=b(o,c)}return[r,n,i,o]}function d(e,t,r,n,i,o){return b((t=b(b(t,e),b(n,o)))<<i|t>>>32-i,r)}function h(e,t,r,n,i,o,a){return d(t&r|~t&n,e,t,i,o,a)}function m(e,t,r,n,i,o,a){return d(t&n|r&~n,e,t,i,o,a)}function y(e,t,r,n,i,o,a){return d(t^r^n,e,t,i,o,a)}function g(e,t,r,n,i,o,a){return d(r^(t|~n),e,t,i,o,a)}function b(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}t.exports=function(e){return p.hash(e,f,16)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/md5.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],7:[function(e,t,r){(function(e,r,n,i,o,a,s,l,u){t.exports=function(e){for(var t,r=Array(e),n=0;n<e;n++)0==(3&n)&&(t=0x100000000*Math.random()),r[n]=t>>>((3&n)<<3)&255;return r}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/rng.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:11}],8:[function(e,t,r){(function(r,n,i,o,a,s,l,u,c){var p=e("./helpers");function f(e,t){e[t>>5]|=128<<24-t%32,e[15+(t+64>>9<<4)]=t;for(var r,n,i,o=Array(80),a=0x67452301,s=-0x10325477,l=-0x67452302,u=0x10325476,c=-0x3c2d1e10,p=0;p<e.length;p+=16){for(var f=a,m=s,y=l,g=u,b=c,v=0;v<80;v++){o[v]=v<16?e[p+v]:h(o[v-3]^o[v-8]^o[v-14]^o[v-16],1);var x=d(d(h(a,5),(x=s,n=l,i=u,(r=v)<20?x&n|~x&i:!(r<40)&&r<60?x&n|x&i|n&i:x^n^i)),d(d(c,o[v]),(r=v)<20?0x5a827999:r<40?0x6ed9eba1:r<60?-0x70e44324:-0x359d3e2a)),c=u,u=l,l=h(s,30),s=a,a=x}a=d(a,f),s=d(s,m),l=d(l,y),u=d(u,g),c=d(c,b)}return[a,s,l,u,c]}function d(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function h(e,t){return e<<t|e>>>32-t}t.exports=function(e){return p.hash(e,f,20,!0)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],9:[function(e,t,r){(function(r,n,i,o,a,s,l,u,c){function p(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function f(e,t){var r,n=[0x428a2f98,0x71374491,0xb5c0fbcf,0xe9b5dba5,0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5,0xd807aa98,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf174,0xe49b69c1,0xefbe4786,0xfc19dc6,0x240ca1cc,0x2de92c6f,0x4a7484aa,0x5cb0a9dc,0x76f988da,0x983e5152,0xa831c66d,0xb00327c8,0xbf597fc7,0xc6e00bf3,0xd5a79147,0x6ca6351,0x14292967,0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13,0x650a7354,0x766a0abb,0x81c2c92e,0x92722c85,0xa2bfe8a1,0xa81a664b,0xc24b8b70,0xc
176c51a3,0xd192e819,0xd6990624,0xf40e3585,0x106aa070,0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5,0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3,0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208,0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2],i=[0x6a09e667,0xbb67ae85,0x3c6ef372,0xa54ff53a,0x510e527f,0x9b05688c,0x1f83d9ab,0x5be0cd19],o=Array(64);e[t>>5]|=128<<24-t%32,e[15+(t+64>>9<<4)]=t;for(var a,s,l=0;l<e.length;l+=16){for(var u=i[0],c=i[1],f=i[2],d=i[3],y=i[4],g=i[5],b=i[6],v=i[7],x=0;x<64;x++)o[x]=x<16?e[x+l]:p(p(p(h(s=o[x-2],17)^h(s,19)^m(s,10),o[x-7]),h(s=o[x-15],7)^h(s,18)^m(s,3)),o[x-16]),r=p(p(p(p(v,h(s=y,6)^h(s,11)^h(s,25)),y&g^~y&b),n[x]),o[x]),a=p(h(a=u,2)^h(a,13)^h(a,22),u&c^u&f^c&f),v=b,b=g,g=y,y=p(d,r),d=f,f=c,c=u,u=p(r,a);i[0]=p(u,i[0]),i[1]=p(c,i[1]),i[2]=p(f,i[2]),i[3]=p(d,i[3]),i[4]=p(y,i[4]),i[5]=p(g,i[5]),i[6]=p(b,i[6]),i[7]=p(v,i[7])}return i}var d=e("./helpers"),h=function(e,t){return e>>>t|e<<32-t},m=function(e,t){return e>>>t};t.exports=function(e){return d.hash(e,f,32,!0)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha256.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],10:[function(e,t,r){(function(e,t,n,i,o,a,s,l,u){r.read=function(e,t,r,n,i){var o,a,s=8*i-n-1,l=(1<<s)-1,u=l>>1,c=-7,p=r?i-1:0,f=r?-1:1,i=e[t+p];for(p+=f,o=i&(1<<-c)-1,i>>=-c,c+=s;0<c;o=256*o+e[t+p],p+=f,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=n;0<c;a=256*a+e[t+p],p+=f,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(i?-1:1);a+=Math.pow(2,n),o-=u}return(i?-1:1)*a*Math.pow(2,o-n)},r.write=function(e,t,r,n,i,o){var a,s,l=8*o-i-1,u=(1<<l)-1,c=u>>1,p=5960464477539062e-23*(23===i),f=n?0:o-1,d=n?1:-1,o=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||t===1/0?(s=+!!isNaN(t),a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(n=Math.pow(2,-a))<1&&(a--,n*=2),2<=(t+=1<=a+c?p/n:p*Math.pow(2,1-c))*n&&(a++,n/=2),u<=a+c?(s=0,a=u):1<=a+c?(s=(t*n-1)*Math.pow(2,i),a+=c):(s=t*Math.pow(2,c-1)*Math.pow(2,i),a=0));8<=i;e[r+f]=255&s,f+=d,s/=256,i-=8);for(a=a<<i|s,l+=i;0<l;e[r+f]=255&a,f+=d,a/=256,l-=8);e[r+f-d]|=128*o}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/ieee754/index.js","/node_modules/gulp-browserify/node_modules/ieee754")},{buffer:3,lYpoI2:11}],11:[function(e,t,r){(function(e,r,n,i,o,a,s,l,u){var c,p,f;function d(){}(e=t.exports={}).nextTick=(p="undefined"!=typeof window&&window.setImmediate,f="undefined"!=typeof window&&window.postMessage&&window.addEventListener,p?function(e){return window.setImmediate(e)}:f?(c=[],window.addEventListener("message",function(e){var t=e.source;t!==window&&null!==t||"process-tick"!==e.data||(e.stopPropagation(),0<c.length&&c.shift()())},!0),function(e){c.push(e),window.postMessage("process-tick","*")}):function(e){setTimeout(e,0)}),e.title="browser",e.browser=!0,e.env={},e.argv=[],e.on=d,e.addListener=d,e.once=d,e.off=d,e.removeListener=d,e.removeAllListeners=d,e.emit=d,e.binding=function(e){throw Error("process.binding is not supported")},e.cwd=function(){return"/"},e.chdir=function(e){throw Error("process.chdir is not supported")}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/process/browser.js","/node_modules/gulp-browserify/node_modules/process")},{buffer:3,lYpoI2:11}]},{},[1])(1)},117831,(e,t,r)=>{"use strict";var n;Object.defineProperty(r,"__esModule",{value:!0}),r.Doctype=r.CDATA=r.Tag=r.Style=r.Script=r.Comment=r.Directive=r.Text=r.Root=r.isTag=r.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(n=r.ElementType||(r.ElementType={})),r.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},r.Root=n.Root,r.Text=n.Text,r.Directive=n.Directive,r.Comment=n.C
1omment,r.Script=n.Script,r.Style=n.Style,r.Tag=n.Tag,r.CDATA=n.CDATA,r.Doctype=n.Doctype},111304,(e,t,r)=>{"use strict";var n=e.e&&e.e.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=e.e&&e.e.__assign||function(){return(i=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(r,"__esModule",{value:!0}),r.cloneNode=r.hasChildren=r.isDocument=r.isDirective=r.isComment=r.isText=r.isCDATA=r.isTag=r.Element=r.Document=r.CDATA=r.NodeWithChildren=r.ProcessingInstruction=r.Comment=r.Text=r.DataNode=r.Node=void 0;var o=e.r(117831),a=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),w(this,e)},e}();r.Node=a;var s=function(e){function t(t){var r=e.call(this)||this;return r.data=t,r}return n(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(a);r.DataNode=s;var l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=o.ElementType.Text,t}return n(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(s);r.Text=l;var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=o.ElementType.Comment,t}return n(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t}(s);r.Comment=u;var c=function(e){function t(t,r){var n=e.call(this,r)||this;return n.name=t,n.type=o.ElementType.Directive,n}return n(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(s);r.ProcessingInstruction=c;var p=function(e){function t(t){var r=e.call(this)||this;return r.children=t,r}return n(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!=(e=this.children[0])?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(a);r.NodeWithChildren=p;var f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=o.ElementType.CDATA,t}return n(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(p);r.CDATA=f;var d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=o.ElementType.Root,t}return n(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(p);r.Document=d;var h=function(e){function t(t,r,n,i){void 0===n&&(n=[]),void 0===i&&(i="script"===t?o.ElementType.Script:"style"===t?o.ElementType.Style:o.ElementType.Tag);var a=e.call(this,n)||this;return a.name=t,a.attribs=r,a.type=i,a}return n(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1}
1,enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map(function(t){var r,n;return{name:t,value:e.attribs[t],namespace:null==(r=e["x-attribsNamespace"])?void 0:r[t],prefix:null==(n=e["x-attribsPrefix"])?void 0:n[t]}})},enumerable:!1,configurable:!0}),t}(p);function m(e){return(0,o.isTag)(e)}function y(e){return e.type===o.ElementType.CDATA}function g(e){return e.type===o.ElementType.Text}function b(e){return e.type===o.ElementType.Comment}function v(e){return e.type===o.ElementType.Directive}function x(e){return e.type===o.ElementType.Root}function w(e,t){if(void 0===t&&(t=!1),g(e))r=new l(e.data);else if(b(e))r=new u(e.data);else if(m(e)){var r,n=t?O(e.children):[],o=new h(e.name,i({},e.attribs),n);n.forEach(function(e){return e.parent=o}),null!=e.namespace&&(o.namespace=e.namespace),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]=i({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]=i({},e["x-attribsPrefix"])),r=o}else if(y(e)){var n=t?O(e.children):[],a=new f(n);n.forEach(function(e){return e.parent=a}),r=a}else if(x(e)){var n=t?O(e.children):[],s=new d(n);n.forEach(function(e){return e.parent=s}),e["x-mode"]&&(s["x-mode"]=e["x-mode"]),r=s}else if(v(e)){var p=new c(e.name,e.data);null!=e["x-name"]&&(p["x-name"]=e["x-name"],p["x-publicId"]=e["x-publicId"],p["x-systemId"]=e["x-systemId"]),r=p}else throw Error("Not implemented yet: ".concat(e.type));return r.startIndex=e.startIndex,r.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(r.sourceCodeLocation=e.sourceCodeLocation),r}function O(e){for(var t=e.map(function(e){return w(e,!0)}),r=1;r<t.length;r++)t[r].prev=t[r-1],t[r-1].next=t[r];return t}r.Element=h,r.isTag=m,r.isCDATA=y,r.isText=g,r.isComment=b,r.isDirective=v,r.isDocument=x,r.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},r.cloneNode=w},907976,(e,t,r)=>{"use strict";var n=e.e&&e.e.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=e.e&&e.e.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(r,"__esModule",{value:!0}),r.DomHandler=void 0;var o=e.r(117831),a=e.r(111304);i(e.r(111304),r);var s={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=function(){function e(e,t,r){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(r=t,t=s),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:s,this.elementCB=null!=r?r:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var r=this.options.xmlMode?o.ElementType.Tag:void 0,n=new a.Element(e,t,void 0,r);this.addNode(n),this.tagStack.push(n)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===o.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var r=new a.Text(e);this.addNode(r),this.lastNode=r}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===o.ElementType.Comment){this.lastNode.data+=e;return}var t=new a.Comment(e);this.addNode(t),this.lastNode=t},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new a.Text(""),t=new a.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e}
1,e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var r=new a.ProcessingInstruction(e,t);this.addNode(r)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],r=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),r&&(e.prev=r,r.next=e),e.parent=t,this.lastNode=null},e}();r.DomHandler=l,r.default=l},612369,(e,t,r)=>{var n,i="html",o="head",a="body",s=/<([a-zA-Z]+[0-9]?)/,l=/<head[^]*>/i,u=/<body[^]*>/i,c=function(){throw Error("This browser does not support `document.implementation.createHTMLDocument`")},p=function(){throw Error("This browser does not support `DOMParser.prototype.parseFromString`")},f="object"==typeof window&&window.DOMParser;if("function"==typeof f){var d=new f;c=p=function(e,t){return t&&(e="<"+t+">"+e+"</"+t+">"),d.parseFromString(e,"text/html")}}if("object"==typeof document&&document.implementation){var h=document.implementation.createHTMLDocument();c=function(e,t){return t?h.documentElement.querySelector(t).innerHTML=e:h.documentElement.innerHTML=e,h}}var m="object"==typeof document?document.createElement("template"):{};m.content&&(n=function(e){return m.innerHTML=e,m.content.childNodes}),t.exports=function(e){var t,r,f,d,h=e.match(s);switch(h&&h[1]&&(t=h[1].toLowerCase()),t){case i:return r=p(e),!l.test(e)&&(f=r.querySelector(o))&&f.parentNode.removeChild(f),!u.test(e)&&(f=r.querySelector(a))&&f.parentNode.removeChild(f),r.querySelectorAll(i);case o:case a:if(d=(r=c(e)).querySelectorAll(t),u.test(e)&&l.test(e))return d[0].parentNode.childNodes;return d;default:if(n)return n(e);return(f=c(e,a).querySelector(a)).childNodes}}},699235,(e,t,r)=>{r.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussainBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"]},73217,(e,t,r)=>{for(var n,i=e.r(907976),o=e.r(699235).CASE_SENSITIVE_TAG_NAMES,a=i.Comment,s=i.Element,l=i.ProcessingInstruction,u=i.Text,c={},p=0,f=o.length;p<f;p++)c[(n=o[p]).toLowerCase()]=n;function d(e){for(var t,r={},n=0,i=e.length;n<i;n++)r[(t=e[n]).name]=t.value;return r}r.formatAttributes=d,r.formatDOM=function e(t,r,n){r=r||null;for(var i=[],o=0,p=t.length;o<p;o++){var f,h,m=t[o];switch(m.nodeType){case 1:(h=new s(f=function(e){var t=c[e=e.toLowerCase()];return t||e}(m.nodeName),d(m.attributes))).children=e("template"===f?m.content.childNodes:m.childNodes,h);break;case 3:h=new u(m.nodeValue);break;case 8:h=new a(m.nodeValue);break;default:continue}var y=i[o-1]||null;y&&(y.next=h),h.parent=r,h.prev=y,h.next=null,i.push(h)}return n&&((h=new l(n.substring(0,n.indexOf(" ")).toLowerCase(),n)).next=i[0]||null,h.parent=r,i.unshift(h),i[1]&&(i[1].prev=i[0])),i}},971883,(e,t,r)=>{var n=e.r(612369),i=e.r(73217).formatDOM,o=/<(![a-zA-Z\s]+)>/;t.exports=function(e){if("string"!=typeof e)throw TypeError("First argument must be a string");if(""===e)return[];var t,r=e.match(o);return r&&r[1]&&(t=r[1]),i(n(e),null,t)}},559878,(e,t,r)=>{r.SAME=0,r.CAMELCASE=1,r.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInl
1ine:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode
1-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}},594555,(e,t,r)=>{"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function i(e,t,r,n,i,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}Object.defineProperty(r,"__esModule",{value:!0});var o={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(function(e){o[e]=new i(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],a=!0,s=!1;try{for(i=i.call(e);!(a=(r=i.next()).done)&&(o.push(r.value),o.length!==t);a=!0);}catch(e){s=!0,n=e}finally{try{a||null==i.return||i.return()}finally{if(s)throw n}}return o}}(e,2)||function(e,t){if(e){if("string"==typeof e)return n(e,2);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,t)}}(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=t[0],a=t[1];o[r]=new i(r,1,!1,a,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){o[e]=new i(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){o[e]=new i(e,2,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(e){o[e]=new i(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){o[e]=new i(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){o[e]=new i(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){o[e]=new i(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){o[e]=new i(e,5,!1,e.toLowerCase(),null,!1,!1)});var a=/[\-\:]([a-z])/g,s=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode
1-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(e){var t=e.replace(a,s);o[t]=new i(t,1,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(a,s);o[t]=new i(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(a,s);o[t]=new i(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){o[e]=new i(e,1,!1,e.toLowerCase(),null,!1,!1)}),o.xlinkHref=new i("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){o[e]=new i(e,1,!1,e.toLowerCase(),null,!0,!0)});var l=e.r(559878),u=l.CAMELCASE,c=l.SAME,p=l.possibleStandardNames,f=RegExp.prototype.test.bind(RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),d=Object.keys(p).reduce(function(e,t){var r=p[t];return r===c?e[t]=t:r===u?e[t.toLowerCase()]=t:e[t]=r,e},{});r.BOOLEAN=3,r.BOOLEANISH_STRING=2,r.NUMERIC=5,r.OVERLOADED_BOOLEAN=4,r.POSITIVE_NUMERIC=6,r.RESERVED=0,r.STRING=1,r.getPropertyInfo=function(e){return o.hasOwnProperty(e)?o[e]:null},r.isCustomAttribute=f,r.possibleStandardNames=d},965185,(e,t,r)=>{"use strict";r.__esModule=!0,r.camelCase=void 0;var n=/^--[a-zA-Z0-9-]+$/,i=/-([a-z])/g,o=/^[^-]+$/,a=/^-(webkit|moz|ms|o|khtml)-/,s=/^-(ms)-/,l=function(e,t){return t.toUpperCase()},u=function(e,t){return"".concat(t,"-")};r.camelCase=function(e,t){var r;return(void 0===t&&(t={}),!(r=e)||o.test(r)||n.test(r))?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(s,u):e.replace(a,u)).replace(i,l))}},515511,(e,t,r)=>{"use strict";var n=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};r.__esModule=!0;var i=n(e.r(473326)),o=e.r(965185);r.default=function(e,t){var r={};return e&&"string"==typeof e&&(0,i.default)(e,function(e,n){e&&n&&(r[(0,o.camelCase)(e,t)]=n)}),r}},846335,(e,t,r)=>{var n=e.r(271645),i=e.r(515511).default,o={reactCompat:!0},a=n.version.split(".")[0]>=16,s=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);t.exports={PRESERVE_CUSTOM_ATTRIBUTES:a,invertObject:function(e,t){if(!e||"object"!=typeof e)throw TypeError("First argument must be an object");var r,n,i="function"==typeof t,o={},a={};for(r in e){if(n=e[r],i&&(o=t(r,n))&&2===o.length){a[o[0]]=o[1];continue}"string"==typeof n&&(a[n]=r)}return a},isCustomComponent:function(e,t){if(-1===e.indexOf("-"))return t&&"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}},setStyleProp:function(e,t){if(null!=e)try{t.style=i(e,o)}catch(e){t.style={}}},canTextBeChildOfNode:function(e){return!s.has(e.name)},elementsWithNoTextChildren:s}},312467,(e,t,r)=>{var n=e.r(594555),i=e.r(846335),o=["checked","value"],a=["input","select","textarea"],s={reset:!0,submit:!0};function l(e){return n.possibleStandardNames[e]}t.exports=function(e,t){var r,u,c,p,f,d={},h=(e=e||{}).type&&s[e.type];for(r in e){if(c=e[r],n.isCustomAttribute(r)){d[r]=c;continue}if(p=l(u=r.toLowerCase())){switch(f=n.getPropertyInfo(p),-1!==o.indexOf(p)&&-1!==a.indexOf(t)&&!h&&(p=l("default"+u)),d[p]=c,f&&f.type){case n.BOOLEAN:d[p]=!0;break;case n.OVERLOADED_BOOLEAN:""===c&&(d[p]=!0)}continue}i.PRESERVE_CUSTOM_ATTRIBUTES&&(d[r]=c)}return i.setStyleProp(e.style,d),d}},454465,(e,t,r)=>{var n=e.r(271645),i=e.r(312467),o=e.r(846335),a=o.setStyleProp,s=o.canTextBeChildOfNode;t.exports=function e(t,r){for(var l,u,c,p,f,d,h=(r=r||{}).library||n,m=h.cloneElement,y=h.createElement,g=h.isValidElement,b=[],v="function"==typeof r.replace,x=r.trim,w=0,O=t.length;w<O;w++){if(u=t[w],v&&g(p=r.replace(u))){O>1&&(p=m(p,{key:p.key||w}
1)),b.push(p);continue}if("text"===u.type){if((c=!u.data.trim().length)&&u.parent&&!s(u.parent)||x&&c)continue;b.push(u.data);continue}switch(f=u.attribs,(l=u,o.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===l.type&&o.isCustomComponent(l.name,l.attribs))?a(f.style,f):f&&(f=i(f,u.name)),d=null,u.type){case"script":case"style":u.children[0]&&(f.dangerouslySetInnerHTML={__html:u.children[0].data});break;case"tag":"textarea"===u.name&&u.children[0]?f.defaultValue=u.children[0].data:u.children&&u.children.length&&(d=e(u.children,r));break;default:continue}O>1&&(f.key=w),b.push(y(u.name,f,d))}return 1===b.length?b[0]:b}},8452,(e,t,r)=>{var n=e.r(907976),i=e.r(971883),o=e.r(312467),a=e.r(454465);i="function"==typeof i.default?i.default:i;var s={lowerCaseAttributeNames:!1};function l(e,t){if("string"!=typeof e)throw TypeError("First argument must be a string");return""===e?[]:a(i(e,(t=t||{}).htmlparser2||s),t)}l.domToReact=a,l.htmlToDOM=i,l.attributesToProps=o,l.Comment=n.Comment,l.Element=n.Element,l.ProcessingInstruction=n.ProcessingInstruction,l.Text=n.Text,t.exports=l,l.default=l},91557,117595,912710,715274,166303,259604,49859,742458,64753,863481,110683,420078,819701,939368,251650,450322,810412,e=>{"use strict";let t;e.s(["ApiReferenceContext",()=>tU,"ApiReferenceProvider",()=>tz,"AuthContext",()=>tD,"AuthProvider",()=>tF,"DeploymentMetadataContext",()=>tB,"DeploymentMetadataProvider",()=>tq,"DocsConfigContext",()=>tM,"DocsConfigProvider",()=>t$,"OpenApiProvider",()=>tK,"PageContext",()=>tN],91557);var r,n=e.i(843476),i=e.i(876469),o=e.i(644017),a=e.i(590280),s=e.i(237978),l=e.i(206558);e.s(["useUserInfo",()=>L],259604);var u=e.i(803333);function c(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}e.s(["ENCRYPTION_COOKIE_KEY",()=>f,"loadEncrypted",()=>g,"storeEncrypted",()=>y],912710),e.s(["default",()=>p],117595);var p=function e(t,r){function n(e,n,i){if("undefined"!=typeof document){"number"==typeof(i=c({},r,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var o="";for(var a in i)i[a]&&(o+="; "+a,!0!==i[a]&&(o+="="+i[a].split(";")[0]));return document.cookie=e+"="+t.write(n,e)+o}}return Object.create({set:n,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var r=document.cookie?document.cookie.split("; "):[],n={},i=0;i<r.length;i++){var o=r[i].split("="),a=o.slice(1).join("=");try{var s=decodeURIComponent(o[0]);if(n[s]=t.read(a,s),e===s)break}catch(e){}}return e?n[e]:n}},remove:function(e,t){n(e,"",c({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,c({},this.attributes,t))},withConverter:function(t){return e(c({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(r)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});let f="mintlify-auth-key",d=e=>{if(!/^[0-9a-fA-F]+$/.test(e)||e.length%2!=0)throw Error("Invalid hex key format");let t=new Uint8Array(e.length/2);for(let r=0;r<t.length;r++)t[r]=parseInt(e.slice(2*r,2*r+2),16);return t};async function h(e,t){let r=globalThis.crypto.getRandomValues(new Uint8Array(12)),n=await globalThis.crypto.subtle.importKey("raw",d(t),{name:"AES-GCM"},!1,["encrypt"]),i=new TextEncoder().encode(e),o=await globalThis.crypto.subtle.encrypt({name:"AES-GCM",iv:r},n,i);return JSON.stringify({iv:Array.from(r),ct:Array.from(new Uint8Array(o))})}async function m(e,t){let{iv:r,ct:n}=JSON.parse(e),i=d(t),o=await globalThis.crypto.subtle.importKey("raw",i,{name:"AES-GCM"},!1,["decrypt"]),a=await globalThis.crypto.subtle.decrypt({name:"AES-GCM",iv:new Uint8Array(r)},o,new Uint8Array(n));return new TextDecoder().decode(a)}async function y(e,t){if(void 0!==globalThis.crypto?.subtle)try{let r=b(),n=JSON.stringify(t),i=await h(n,r);localStorage.setItem(e,i)}catch{console.log("unable to encrypt credentials")}}async function g(e,t){if(void 0!==globalThis.crypto?.subtle)try{let r=b
1(),n=localStorage.getItem(e);if(!n)return;try{let e=await m(n,r),i=JSON.parse(e);if(!t||t(i))return i}catch(t){localStorage.removeItem(e),console.log(`unable to decrypt stored credentials: ${t}`)}}catch{return}}let b=()=>{let e=p.get(f);if(void 0!==e)return e;let t=Array.from(globalThis.crypto.getRandomValues(new Uint8Array(16)),e=>e.toString(16).padStart(2,"0")).join("");return p.set(f,t,{secure:"https:"===location.protocol,sameSite:"strict"}),t};var v=e.i(618566),x=e.i(271645);e.s(["USERINFO_LOCALSTORAGE_KEY",()=>w,"loadUserInfo",()=>O,"validateUserInfo",()=>E],715274);let w="mintlify-user-info";async function O(e){if(!e)return null;let t=await g(w,A);if(!t)return null;let r="shared-session"===e.type?i.DAY_IN_MILLISECONDS:i.TWO_WEEKS_IN_MILLISECONDS,n=t.data.expiresAt?1e3*t.data.expiresAt:t.retrievedAt+r;return Date.now()>n||e.invalidatedAt&&e.invalidatedAt>t.retrievedAt?null:t.data}function E(e){return!!e&&"object"==typeof e&&(!("expiresAt"in e)||"number"==typeof e.expiresAt)&&(!("groups"in e)||Array.isArray(e.groups)&&e.groups.every(e=>"string"==typeof e))&&(!("content"in e)||!!e.content&&"object"==typeof e.content)&&(!("apiPlaygroundInputs"in e)||!!e.apiPlaygroundInputs&&"object"==typeof e.apiPlaygroundInputs&&(!("header"in e.apiPlaygroundInputs)||!!e.apiPlaygroundInputs.header&&"object"==typeof e.apiPlaygroundInputs.header)&&(!("cookie"in e.apiPlaygroundInputs)||!!e.apiPlaygroundInputs.cookie&&"object"==typeof e.apiPlaygroundInputs.cookie)&&(!("query"in e.apiPlaygroundInputs)||!!e.apiPlaygroundInputs.query&&"object"==typeof e.apiPlaygroundInputs.query)&&(!("server"in e.apiPlaygroundInputs)||!!e.apiPlaygroundInputs.server&&"object"==typeof e.apiPlaygroundInputs.server)&&(!("path"in e.apiPlaygroundInputs)||!!e.apiPlaygroundInputs.path&&"object"==typeof e.apiPlaygroundInputs.path))}function A(e){return!!e&&"object"==typeof e&&"retrievedAt"in e&&"number"==typeof e.retrievedAt&&"data"in e&&E(e.data)}async function j(t,r,n,i){let o,[a,s]=function(e){if(k(e))return[e,null];let t=new URLSearchParams(e),r=t.get("jwt");return r&&k(r)?[r,t.get("anchor")]:[null,null]}(location.hash.slice(1));if(!a){let e=await O(t);if(e)return void await i(e);try{localStorage.removeItem(w)}catch{}return}let{importSPKI:l,jwtVerify:u}=await e.A(108387);for(let e of t.signingKeys)try{let t=178===e.publicKey.length?"ES256":"EdDSA",r=await l(e.publicKey,t),{payload:n}=await u(a,r);for(let e of["aud","exp","iat","iss","jti","nbf","sub"])delete n[e];o=n;break}catch(e){console.error(e)}E(o)&&await i(o);let c=s?`#${s}`:"";r.replace(`${n}${location.search}${c}`)}function k(e){return e.startsWith("ey")&&e.match(/\./g)?.length===2}e.s(["CODE_VERIFIER_COOKIE",()=>S,"default",()=>I],166303);let S="mintlify-pkce-code-verifier";async function I(t){let{default:r}=await e.A(566265),{code_challenge:n,code_verifier:o}=await r(),a=new URL(t.authorizationUrl);a.searchParams.append("response_type","code"),a.searchParams.append("client_id",t.clientId),a.searchParams.append("redirect_uri",window.location.origin+l.NEXT_PUBLIC.BASE_PATH+i.USERAUTH_OAUTH_CALLBACK_PATH),t.scopes.length&&a.searchParams.append("scope",t.scopes.join(" ")),a.searchParams.append("code_challenge",n),a.searchParams.append("code_challenge_method","S256");let s=new Date(Date.now()+10*i.MINUTE_IN_MILLISECONDS);p.set(S,o,{secure:!0,expires:s}),window.location.href=a.href}async function C(e,t,r){let n=new URL(window.location.href),i=n.searchParams.get("code");if(!i){let t=await O(e);if(t)return void await r(t);try{localStorage.removeItem(w)}catch{}return}let o=await P(e,i);E(o)&&await r(o),n.search="",t.push(n.toString())}async function P(e,t){let r,n,i=p.get(S);if(!i)return void console.error("missing code verifier");try{r=await _(e,t,i)}catch(e){console.error(`unable to complete oauth exchange request: ${e}`);return}try{let t=await fetch(e.apiUrl,{headers:{Authorization:`Bearer ${r}`}});n=await t.json()}catch(e){console.error(`unable to complete oauth api request: ${e}`);return}return n}async function _(e,t,r){let n=new URL(e.tokenUrl);n.searchParams.append("grant_type","authorization_code"),n.searchParams.append("client_id",e.clientId),n.searchParams.append("redirect_uri",window.location.origin),n.searchParams.append("code",t),n.searchParams.append("code_verifier",r);let i=await fetch(n,{method:"POST"}),{access_token:o}=await i.json();if("string"!=typeof o)throw Error("unable to parse access_token from oauth exchange response");return o}async function T(e,t){let r,n=await O(e);if(n)return void await t(n);try{localStorage.removeItem(w)}catch{}try{let t=await fetch(e.apiUrl,{credentials:"include"});if(!t.ok)return;r=await t.json()}catch{return}E(r)&&await t(r)}function L(e){let t=(0,v.useRouter)(),r=(0,u.useCurrentPath)(),[n,i]=(0,x.useState)(),[o,a]=(0,x.useState)(!0),[s,c]=(0,x.useState)(!0);(0,x.useEffect)(()=>{let n=async e=>{i(e);let t={retrievedAt:Date.now(),data:e};await y(w,t)},o=async()=>{try{a(!0);let e=await fetch(`${l.NEXT_PUBLIC.BASE_PATH}/_mintlify/api/user`),t=await e.json();null!=t.user&&await n(t.user)}catch{}finally{a(!1)}};l.NEXT_PUBLIC.AUTH_ENABLED||"cli"===l.NEXT_PUBLIC.ENV||"development"===l.NEXT_PUBLIC.ENV?o():a(!1),(async()=>{c(!0);try{switch(e?.type){case"shared-session":return void await T(e,n);case"jwt":return void await j(e,t,r,n);case"oauth":return void await C(e,t,n);case void 0:try{localStorage.removeItem(w)}catch{}return}}finally{c(!1)}})()},[]);let p=o||s;return(0,x.useEffect)(()=>
1{if(!p){var e;e=n?.content,window.mintlify={...window.mintlify,user:e},window.dispatchEvent(new CustomEvent("mintlify:user",{detail:e??null}))}},[n,p]),{userInfo:n,isFetchingUserInfo:p}}var N=e.i(42143),B=e.i(322986);e.s(["getClientBoundaryDocsConfig",()=>D],49859);var M=e.i(352350);function D(e){let{redirects:t,navigation:r,...n}=e;return{...n,navigation:function(e){let t={..."global"in e&&e.global?{global:e.global}:{},...e.directory?{directory:e.directory}:{}};return"languages"in e?{...t,languages:e.languages.map(e=>({language:e.language,...void 0!==e.default?{default:e.default}:{},...void 0!==e.hidden?{hidden:e.hidden}:{},...e.banner?{banner:e.banner}:{},...e.footer?{footer:e.footer}:{},...e.navbar?{navbar:e.navbar}:{},...e.directory?{directory:e.directory}:{},href:"href"in e&&"string"==typeof e.href&&e.href||((0,M.getFirstPageFromNavConfig)(e)??"/")}))}:{...t,pages:[]}}(r)}}e.s(["OpenApiReferenceContext",()=>t_,"OpenApiReferenceProvider",()=>tT],810412),e.s(["langToPresetMap",()=>$,"shikiLangToDisplayLang",()=>z,"snippetPresets",()=>R,"toShikiLang",()=>F],742458);let U=[{key:"bash",aliases:["curl","sh","shell"],displayName:"cURL",shikiLanguage:"bash",httpSnippet:{target:"shell"}},{key:"python",aliases:["py"],displayName:"Python",shikiLanguage:"python",httpSnippet:{target:"python",client:"requests"}},{key:"javascript",aliases:["js"],displayName:"JavaScript",shikiLanguage:"javascript",httpSnippet:{target:"javascript",client:"fetch"}},{key:"node",aliases:["nodejs","node.js"],displayName:"Node.js",iconKey:"node",shikiLanguage:"javascript",httpSnippet:{target:"node",client:"fetch"}},{key:"php",displayName:"PHP",shikiLanguage:"php",httpSnippet:{target:"php",client:"curl"}},{key:"go",aliases:["golang"],displayName:"Go",shikiLanguage:"go",httpSnippet:{target:"go"}},{key:"java",displayName:"Java",shikiLanguage:"java",httpSnippet:{target:"java"}},{key:"ruby",aliases:["rb"],displayName:"Ruby",shikiLanguage:"ruby",httpSnippet:{target:"ruby"}},{key:"powershell",displayName:"PowerShell",shikiLanguage:"bash",httpSnippet:{target:"powershell"}},{key:"swift",displayName:"Swift",shikiLanguage:"swift",httpSnippet:{target:"swift"}},{key:"csharp",aliases:["c#"],displayName:"C#",shikiLanguage:"csharp",httpSnippet:{target:"csharp",client:"restsharp"}},{key:"dotnet",aliases:[".net",".NET","dotnet","dot-net"],displayName:".NET",iconKey:"dot-net",shikiLanguage:"csharp",httpSnippet:{target:"csharp",client:"restsharp"}},{key:"typescript",aliases:["ts"],displayName:"TypeScript",shikiLanguage:"typescript",httpSnippet:{target:"javascript",client:"fetch"}},{key:"c",displayName:"C",shikiLanguage:"c",httpSnippet:{target:"c"}},{key:"c++",aliases:["cpp"],displayName:"C++",shikiLanguage:"c++",iconKey:"cplusplus",httpSnippet:{target:"c"}},{key:"kotlin",aliases:["kt"],displayName:"Kotlin",shikiLanguage:"kotlin",httpSnippet:{target:"kotlin"}},{key:"rust",aliases:["rs"],displayName:"Rust",shikiLanguage:"rust",httpSnippet:{target:"rust"}},{key:"dart",aliases:["flutter"],displayName:"Dart",shikiLanguage:"dart",httpSnippet:{target:"dart"}}],q=new Map;for(let e of U)for(let t of(q.set(e.key.toLowerCase(),e),null!=(r=e.aliases)?r:[]))q.set(t.toLowerCase(),e);let R=U.filter(e=>["bash","python","javascript","php","go","java","ruby"].includes(e.key)),$=Object.fromEntries(U.flatMap(e=>{var t;return[[e.key,e],...(null!=(t=e.aliases)?t:[]).map(t=>[t,e])]})),F=e=>{var t,r;return null!=(r=null===(t=q.get(e.toLowerCase()))||void 0===t?void 0:t.key)?r:e.toLowerCase()},z=Object.fromEntries(U.flatMap(e=>{var t;return[[e.key,e.displayName],...(null!=(t=e.aliases)?t:[]).map(t=>[t,e.displayName])]}));var K=e.i(422233);let H=e=>{let t=e=>{let t,r={};if((t="enum<string>"===e.type?"string":"enum<number>"===e.type?"number":"enum<integer>"===e.type?"integer":"file"===e.type?"string":"any"===e.type?void 0:e.type)&&(r.type=t),e.title&&(r.title=e.title),e.description&&(r.description=e.description),void 0!==e.default&&(r.default=e.default),void 0!==e.example&&(r.example=e.example),e.deprecated&&(r.deprecated=e.deprecated),e.readOnly&&(r.readOnly=e.readOnly),e.writeOnly&&(r.writeOnly=e.writeOnly),("enum<string>"===e.type||"enum<number>"===e.type||"enum<integer>"===e.type)&&(r.enum=e.enum),"string"===e.type)e.format&&(r.format=e.format),e.pattern&&(r.pattern=e.pattern),e.maxLength&&(r.maxLength=e.maxLength),e.minLength&&(r.minLength=e.minLength),"const"in e&&void 0!==e.const&&(r.const=e.const);else if("number"===e.type||"integer"===e.type)void 0!==e.minimum&&(r.minimum=e.minimum),void 0!==e.maximum&&(r.maximum=e.maximum),e.multipleOf&&(r.multipleOf=e.multipleOf),"const"in e&&void 0!==e.const&&(r.const=e.const);else if("array"===e.type)e.maxItems&&(r.maxItems=e.maxItems),e.minItems&&(r.minItems=e.minItems),e.uniqueItems&&(r.uniqueItems=e.uniqueItems),e.items&&(r.items=H(e.items));
1else if("object"===e.type){if(e.maxProperties&&(r.maxProperties=e.maxProperties),e.minProperties&&(r.minProperties=e.minProperties),e.properties){r.properties={};let t=[];Object.entries(e.properties).forEach(([e,n])=>{var i;r.properties[e]=H(n),Array.isArray(n)&&(null==(i=n[0])?void 0:i.required)&&t.push(e)}),t.length>0&&(r.required=t)}void 0!==e.additionalProperties&&("boolean"==typeof e.additionalProperties?r.additionalProperties=e.additionalProperties:r.additionalProperties=H(e.additionalProperties))}else"file"===e.type&&(r.format=e.contentEncoding||"binary");return r};return 1===e.length?t(e[0]):{oneOf:e.map(e=>t(e))}};e.s(["addKeyIfDefined",()=>Q,"combineAdditionalProperties",()=>ed,"combineDescription",()=>ef,"combineExamples",()=>ec,"combineProperties",()=>ep,"combineTitle",()=>el,"copyAndCombineKeys",()=>eu,"copyExampleIfDefined",()=>et,"copyKeyIfDefined",()=>ee,"dereference",()=>Z,"discriminatorAndSchemaRefsMatch",()=>eh,"getFileLikeStringEncoding",()=>Y,"getSchemaContentEncoding",()=>J,"getSchemaContentMediaType",()=>G,"mergeTypes",()=>ei,"normalizeMinMax",()=>eo,"sortSchemas",()=>en,"structuredDataContentTypes",()=>W],64753);var V=e.i(429965);let W=["multipart/form-data","application/json","application/x-www-form-urlencoded"];function Y(e){return"binary"===e.format||"base64"===e.format?e.format:"string"==typeof e.contentMediaType&&function(e){var t,r;let n=e.toLowerCase().trim();if(0===n.length)return!1;let i=null!=(r=null==(t=n.split(";",1)[0])?void 0:t.trim())?r:n;return i.startsWith("image/")||i.startsWith("audio/")||i.startsWith("video/")||X.has(i)}(e.contentMediaType)?"base64"===e.contentEncoding||"base64url"===e.contentEncoding?"base64":"binary":void 0}let X=new Set(["application/octet-stream","application/pdf","application/zip","application/gzip","application/x-gzip","application/x-zip-compressed","application/x-tar","application/x-7z-compressed","application/vnd.rar","application/x-rar-compressed"]);function G(e){if(!("contentMediaType"in e))return;let t=e.contentMediaType;return"string"==typeof t?t:void 0}function J(e){if(!("contentEncoding"in e))return;let t=e.contentEncoding;return"string"==typeof t?t:void 0}function Z(e,t,r,n=5){let i=`#/components/${e}/`;if(!t.startsWith(i))return;let o=t.slice(i.length),a=null==r?void 0:r[o];return a&&"$ref"in a?n>0&&"string"==typeof a.$ref?Z(e,a.$ref,r,n-1):void 0:a}let Q=(e,t,r)=>{void 0!==t&&(r[e]=t)},ee=(e,t,r)=>{void 0!==t[e]&&(r[e]=t[e])},et=(e,t)=>{var r;let n=void 0!==e.example?e.example:null==(r=e.examples)?void 0:r[0];void 0!==n&&(t.example=n)};function er(e,t){var r;if("object"==typeof e&&void 0!==t){if(e.discriminator&&e.discriminator.mapping){let n=e.discriminator.mapping;if(t in n&&(null==(r=n[t])?void 0:r.description))return n[t].description}if(Array.isArray(e)){for(let r of e){let e=er(r,t);if(e)return e}return}if("type"in e&&e.type===t&&"description"in e&&"string"==typeof e.description)return e.description;for(let[r,n]of Object.entries(e)){if(r===t&&"object"==typeof n&&null!==n&&"description"in n&&"string"==typeof n.description)return n.description;let e=er(n,t);if(e)return e}}}function en(e){e.sort((e,t)=>{var r,n;let i=null!=(r=e._depth)?r:0,o=null!=(n=t._depth)?n:0;return i!==o?i-o:e.type&&!t.type?-1:!e.type&&t.type?1:0})}function ei(e,t){let r=t.type;if("integer"===e.type&&"number"===r?r="integer":"number"===e.type&&"integer"===r?e.type="integer":void 0===e.type&&void 0!==r?e.type=r:void 0!==e.type&&void 0===r&&(r=e.type),e.type!==r)throw Error(`${e.type} vs ${r}`)}function eo(e){"number"==typeof e.exclusiveMaximum&&(void 0===e.maximum||e.maximum>=e.exclusiveMaximum?(e.maximum=e.exclusiveMaximum,e.exclusiveMaximum=!0):e.exclusiveMaximum=void 0),"number"==typeof e.exclusiveMinimum&&(void 0===e.minimum||e.minimum<=e.exclusiveMinimum?(e.minimum=e.exclusiveMinimum,e.exclusiveMinimum=!0):e.exclusiveMinimum=void 0)}let ea=(e,t,r,n)=>{var i;return void 0!==e[r]&&void 0!==t[r]?n(e[r],t[r]):null!=(i=e[r])?i:t[r]},es=(e,t,r,n)=>{Q(e,ea(t,r,e,n),r)};function el(e,t){void 0!=t.discriminator||void 0==t.type&&void 0!=e.title||t.isAllOf&&t.refIdentifier&&t.refIdentifier!==t.isAllOf||ee("title",t,e)}function eu(e,t){ee("refIdentifier",t,e),ee("examples",t,e),ee("format",t,e),ee("contentMediaType",t,e),ee("contentEncoding",t,e),ee("default",t,e),ee("x-default",t,e),ee("const",t,e),ee("x-mint-enum",t,e),ee("x-mint",t,e),es("multipleOf",t,e,V.default),es("maxLength",t,e,Math.min),es("minLength",t,e,Math.max),es("maxItems",t,e,Math.min),es("minItems",t,e,Math.max),es("maxProperties",t,e,Math.min),es("minProperties",t,e,Math.max),es("required",t,e,(e,t)=>t.concat(e.filter(e=>!t.includes(e)))),es("enum",t,e,(e,t)=>t.filter(t=>e.includes(t))),es("readOnly",t,e,(e,t)=>e&&t),es("writeOnly",t,e,(e,t)=>e&&t),es("deprecated",t,e,(e,t)=>e||t);let r=ea(t,e,"maximum",Math.min),n=ea(t,e,"minimum",Math.max);Q("exclusiveMaximum",(e.maximum===r?e.exclusiveMaximum:void 0)||(t.maximum===r?t.exclusiveMaximum:void 0),e),Q("exclusiveMinimum",(e.minimum===n?e.exclusiveMinimum:void 0)||(t.minimum===n?t.exclusiveMinimum:void 0),e),Q("maximum",r,e),Q("minimum",n,e)}function ec(e,t){var r,n;let i=(null==(r=e.examples)?void 0:r[0])!==void 0?e.examples[0]:e.example,o=(null==(n=t.examples)?void 0:n[0])!==void 0?t.examples[0]:t.example;i&&o&&"object"==typeof i&&"object"==typeof o?e.example=Object.assign(Object.assign({},i),o):Q("example",void 0!==o?o:i,e)}function ep(e,t,r,n){t.properties&&Object.entries(t.properties).filter(([e,t])=>
1{if("$ref"in t){let e=Z("schemas",t.$ref,r);if(!e)return!0;t=e}return(!t.readOnly||"request"!==n)&&(!t.writeOnly||"response"!==n)}).forEach(([t,r])=>{var n;let i=null!=(n=e.properties)?n:{},o=i[t];o?o.allOf.push(r):i[t]={allOf:[r]},e.properties=i})}function ef(e,t,r){var n,i;if((null==(n=e.properties)?void 0:n.type)&&t.discriminator&&!e.description){let n,o=null!=(i=e.properties.type.allOf[0])?i:{};"const"in o&&"string"==typeof o.const&&(n=o.const);let a=er(t,n)||r.flatMap(e=>er(e,n)).filter(Boolean)[0];a&&(e.description=a)}else e.description&&t.description&&!t.discriminator&&!e.description.includes(t.description)?e.description=`${e.description} 2${t.description}`:e.description||ee("description",t,e)}function ed(e,t){var r;if(!1===t.additionalProperties)e.additionalProperties=!1;else if(!1!==e.additionalProperties&&t.additionalProperties&&"object"==typeof t.additionalProperties){let n=null!=(r=e.additionalProperties)?r:{allOf:[]};n.allOf.push(t.additionalProperties),e.additionalProperties=n}}function eh(e){let t=e.discriminator;if(null==t||!t.mapping)return!1;{let r=Object.values(t.mapping).map(e=>e),n=[];"allOf"in e&&Array.isArray(e.allOf)&&e.allOf.forEach(e=>{"$ref"in e&&n.push(e.$ref)}),"oneOf"in e&&Array.isArray(e.oneOf)&&e.oneOf.forEach(e=>{"$ref"in e&&n.push(e.$ref)}),"anyOf"in e&&Array.isArray(e.anyOf)&&e.anyOf.forEach(e=>{"$ref"in e&&n.push(e.$ref)});let i=new Set(r),o=new Set(n);return i.size===o.size&&[...i].every(e=>o.has(e))}}e.s(["buildRecursiveParamFieldId",()=>tn,"convertAnySchemaToOneOfs",()=>eX,"decodePathSegment",()=>eQ,"encodeBasicAuth",()=>te,"escapeDots",()=>eZ,"filterSchemasWithConsts",()=>e3,"generateSchemaOptionLabels",()=>tr,"generateSimpleSchemaLabel",()=>tt,"getBodyDefaultsFromSchema",()=>e4,"getBooleanEnumOptions",()=>e$,"getDeepObjectParentName",()=>to,"getDifferentiatedType",()=>eq,"getParametersPerSection",()=>eW,"getPrefillRequestExamples",()=>eV,"getRecursiveParentName",()=>ti,"getRequestBodyContentType",()=>eG,"getSchemaDefault",()=>eY,"getSchemaPlaceholder",()=>eF,"getSecurityOptionInputKeyPrefix",()=>e8,"getSecuritySchemeName",()=>e9,"hasPropertyChildren",()=>eM,"isArrayObject",()=>eD,"isBasicAuth",()=>e7,"isCircularRef",()=>eL,"isEnum",()=>eR,"isFileExample",()=>ta,"isNumberSchema",()=>eK,"isObjectArray",()=>eU,"isSchemaObject",()=>eB,"isStringSchema",()=>ez,"mapParamInToPlaygroundInputKey",()=>e0,"mapResponseExamples",()=>eH,"unflattenInputs",()=>e1],819701);var em=e.i(462153);let ey={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)},eg=new Uint8Array(16),eb=[];for(let e=0;e<256;++e)eb.push((e+256).toString(16).slice(1));let ev=function(e,r,n){if(ey.randomUUID&&!r&&!e)return ey.randomUUID();let i=(e=e||{}).random??e.rng?.()??function(){if(!t){if("undefined"==typeof crypto||!crypto.getRandomValues)throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");t=crypto.getRandomValues.bind(crypto)}return t(eg)}();if(i.length<16)throw Error("Random bytes length must be >= 16");if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,r){if((n=n||0)<0||n+16>r.length)throw RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let e=0;e<16;++e)r[n+e]=i[e];return r}return function(e,t=0){return(eb[e[t+0]]+eb[e[t+1]]+eb[e[t+2]]+eb[e[t+3]]+"-"+eb[e[t+4]]+eb[e[t+5]]+"-"+eb[e[t+6]]+eb[e[t+7]]+"-"+eb[e[t+8]]+eb[e[t+9]]+"-"+eb[e[t+10]]+eb[e[t+11]]+eb[e[t+12]]+eb[e[t+13]]+eb[e[t+14]]+eb[e[t+15]]).toLowerCase()}(i)};var ex=e.i(368971);let ew=({schema:e,refUuidMap:t,uuidObjectHashMap:r,hashedNodeMap:n,schemaToUuidMap:i=new WeakMap})=>{if("$ref"in e){let r=t[e.$ref]||ev();e.$ref=r;return}if(i.has(e))return void i.get(e);if(i.set(e,""),"properties"in e&&e.properties&&"object"==typeof e.properties&&Object.entries(e.properties).forEach(([o,a])=>{var s;if("object"!=typeof a||null===a)return;let l=eO({childSchema:a,refUuidMap:t,uuidObjectHashMap:r,hashedNodeMap:n,schemaToUuidMap:i});l&&(null==(s=e.properties)?void 0:s[o])&&(e.properties[o]=l)}),"items"in e&&e.items&&"object"==typeof e.items){let o=eO({childSchema:e.items,refUuidMap:t,uuidObjectHashMap:r,hashedNodeMap:n,schemaToUuidMap:i});o&&(e.items=o)}if("additionalProperties"in e&&"object"==typeof e.additionalProperties){let o=eO({childSchema:e.additionalProperties,refUuidMap:t,uuidObjectHashMap:r,hashedNodeMap:n,schemaToUuidMap:i});o&&(e.additionalProperties=o)}if("oneOf"in e&&e.oneOf&&Array.isArray(e.oneOf)&&e.oneOf.forEach((o,a)=>{var s;if("object"!=typeof o)return;let l=eO({childSchema:o,refUuidMap:t,uuidObjectHashMap:r,hashedNodeMap:n,schemaToUuidMap:i});l&&(null==(s=e.oneOf)?void 0:s[a])&&(e.oneOf[a]=l)}),"anyOf"in e&&e.anyOf&&Array.isArray(e.anyOf)&&e.anyOf.forEach((o,a)=>{var s;if("object"!=typeof o)return;let l=eO({childSchema:o,refUuidMap:t,uuidObjectHashMap:r,hashedNodeMap:n,schemaToUuidMap:i});l&&(null==(s=e.anyOf)?void 0:s[a])&&(e.anyOf[a]=l)}),"allOf"in e&&e.allOf&&Array.isArray(e.allOf)&&e.allOf.forEach((o,a)=>{var s;if("object"!=typeof o)return;let l=eO({childSchema:o,refUuidMap:t,uuidObjectHashMap:r,hashedNodeMap:n,schemaToUuidMap:i});l&&(null==(s=e.allOf)?void 0:s[a])&&(e.allOf[a]=l)}),"not"in e&&e.not&&"object"==typeof e.not){let o=eO({childSchema:e.not,refUuidMap:t,uuidObjectHashMap:r,hashedNodeMap:n,schemaToUuidMap:i});o&&(e.not=o)}if("discriminator"in e&&e.discriminator&&"object"==typeof e.discriminator&&"mapping"in e.discriminator&&e.discriminator.mapping){let r=e.discriminator.mapping;
2for(let e of Object.keys(r)){let n=r[e];if("string"==typeof n&&n.startsWith("#/")){let i=t[n];i&&(r[e]=i)}}}},eO=({childSchema:e,refUuidMap:t,uuidObjectHashMap:r,hashedNodeMap:n,schemaToUuidMap:i})=>{if("object"!=typeof e)return;if("$ref"in e){let o=t[e.$ref]||ev();if(0===Object.keys(e).filter(e=>"$ref"!==e).length)return o;let a=ev();e.$ref=o;let s=(0,ex.default)(e);return s in n?r[a]=s:(r[a]=s,n[s]=e),i.set(e,a),a}if(i.has(e)){let t=i.get(e);if(t)return t}let o=ev(),a=(0,ex.default)(e);return a in n?(r[o]=a,i.set(e,o)):(r[o]=a,ew({schema:e,refUuidMap:t,uuidObjectHashMap:r,hashedNodeMap:n,schemaToUuidMap:i}),i.set(e,o),n[a]=e),o};var eE=e.i(866285);e.s(["CIRCULAR_REF_KEY",()=>ej,"MAX_SCHEMA_COMBINATION_SIZE",()=>eA,"apiPlaygroundInputKeys",()=>eI,"combinationKeys",()=>ek,"initialApiPlaygroundInputs",()=>eS,"orNullTypeString",()=>eC],863481);let eA=1e3,ej="$circularRef",ek=["properties","additionalProperties","items","oneOf","anyOf","allOf"],eS={server:{},path:{},query:{},header:{},cookie:{},body:void 0},eI={server:"server",path:"path",query:"query",header:"header",cookie:"cookie",body:"body"},eC=" | null";e.s(["getExampleBodyInputs",()=>e_],420078),e.s(["updateSchemaUniqueKeys",()=>eP],110683);let eP=(e,t,r)=>{if(!eB(e))return e;let n=Object.assign({},e);if(n.uniqueKey&&n.uniqueKey.startsWith(t)&&(n.uniqueKey=n.uniqueKey.replace(t,r)),n.oneOf&&Array.isArray(n.oneOf)&&(n.oneOf=n.oneOf.map(e=>eB(e)?eP(e,t,r):e)),n.properties&&"object"==typeof n.properties){let e={};Object.entries(n.properties).forEach(([n,i])=>{eB(i)?e[n]=eP(i,t,r):e[n]=i}),n.properties=e}return n.additionalProperties&&"object"==typeof n.additionalProperties&&eB(n.additionalProperties)&&(n.additionalProperties=eP(n.additionalProperties,t,r)),"array"===n.type&&"items"in n&&eB(n.items)&&(n.items=eP(n.items,t,r)),n},e_=({schema:e,example:t})=>(function e(t,r,n,i=[]){var o,a,s,l;let u={};if(null==r)return u;if(t.oneOf&&Array.isArray(t.oneOf)){let a=null;for(let e of t.oneOf)if(eB(e)&&function e(t,r){let n=typeof r;if(t.oneOf&&Array.isArray(t.oneOf))return t.oneOf.some(t=>!!eB(t)&&e(t,r));if(t.enum&&Array.isArray(t.enum))return t.enum.includes(r);if("string"===t.type&&"string"===n&&t.pattern&&"string"==typeof r)try{return new RegExp(t.pattern).test(r)}catch(e){return!1}if("object"===t.type&&"object"===n&&null!==r&&!Array.isArray(r)){if(t.properties&&"object"==typeof t.properties){let n=Object.keys(r),i=Object.keys(t.properties);if(t.required&&Array.isArray(t.required)&&t.required.some(e=>"string"==typeof e&&!n.includes(e)))return!1;for(let o of n)if(i.includes(o)){let n=t.properties[o],i=r[o];if(eB(n)&&!function t(r,n){if(r.enum&&Array.isArray(r.enum))return r.enum.includes(n);if(r.oneOf&&Array.isArray(r.oneOf))return r.oneOf.some(t=>!!eB(t)&&e(t,n));let i=typeof n;if("string"===r.type&&"string"!==i||"number"===r.type&&"number"!==i||"integer"===r.type&&("number"!==i||!Number.isInteger(n))||"boolean"===r.type&&"boolean"!==i||"array"===r.type&&!Array.isArray(n)||"object"===r.type&&("object"!==i||null===n||Array.isArray(n)))return!1;if("array"===r.type&&Array.isArray(n)&&eB(r.items)){for(let t of n)if(!e(r.items,t))return!1}if("object"===r.type&&null!==n&&"object"==typeof n&&!Array.isArray(n)&&r.properties){for(let[e,i]of Object.entries(r.properties))if(e in n&&eB(i)&&!t(i,n[e]))return!1}return!0}(n,i))return!1}if(n.length>0&&i.length>0)return n.some(e=>i.includes(e));if(0===n.length)return!(t.required&&Array.isArray(t.required)&&t.required.length>0)}return!0}return!!("string"===t.type&&"string"===n||"number"===t.type&&"number"===n||"integer"===t.type&&"number"===n&&Number.isInteger(r)||"boolean"===t.type&&"boolean"===n||"array"===t.type&&Array.isArray(r))}(e,r)){let t=function(e,t){if("object"===e.type&&"object"==typeof t&&null!==t&&!Array.isArray(t)&&e.properties&&"object"==typeof e.properties){let r=Object.keys(t),n=Object.keys(e.properties);return r.filter(e=>n.includes(e)).length}return 1}(e,r);(null===a||t>a.matchCount)&&(a={variant:e,matchCount:t})}let s=null!=(o=null==a?void 0:a.variant)?o:t.oneOf.length>0&&eB(t.oneOf[0])?t.oneOf[0]:null;if(s){if("object"!==s.type&&"array"!==s.type){if(s.uniqueKey){let e=eT(s.uniqueKey,i);u[`${n}.${e}`]=r}return u}return e(s,r,n,i)}}if("object"===t.type&&t.properties&&"object"==typeof r&&!Array.isArray(r))for(let[o,a]
2of Object.entries(t.properties)){if(!eB(a))continue;let t=r[o];if(void 0!==t){if("object"===a.type||"array"===a.type||a.oneOf)Object.assign(u,e(a,t,n,i));else if(a.uniqueKey){let e=eT(a.uniqueKey,i);u[`${n}.${e}`]=t}}}if("object"===t.type&&eB(t.additionalProperties)&&"object"==typeof r&&!Array.isArray(r)){let o=t.additionalProperties,l=null!=(a=o.uniqueKey)?a:"",c=null!=(s=t.uniqueKey)?s:"";for(let[a,s]of Object.entries(r)){if(!l)break;if("__proto__"===a||"constructor"===a||"prototype"===a||t.properties&&Object.prototype.hasOwnProperty.call(t.properties,a)||void 0===s)continue;let r=c?`${c}.${eZ(a)}`:eZ(a),p=e(eP(o,l,r),s,n,i);0===Object.keys(p).length?u[`${n}.${eT(r,i)}`]=s:Object.assign(u,p)}}if("array"===t.type&&Array.isArray(r)&&"items"in t&&eB(t.items)){let o=t.items;r.forEach((t,r)=>{Object.assign(u,e(o,t,n,[...i,r]))})}let c="object"===t.type&&(Object.keys(null!=(l=t.properties)?l:{}).length>0||eB(t.additionalProperties)),p="array"===t.type&&"items"in t&&eB(t.items);if(!c&&!p&&!t.oneOf&&t.uniqueKey){let e=eT(t.uniqueKey,i);u[`${n}.${e}`]=r}return u})(e,t,eI.body);function eT(e,t){let r=e;return t.forEach(e=>{r=r.replace("[INDEX]",e.toString())}),r}function eL(e){return"object"==typeof e&&null!==e&&ej in e&&"string"==typeof e[ej]}let eN=e=>"object"==typeof e&&null!==e&&!Array.isArray(e),eB=e=>!!eN(e)&&("type"in e||"properties"in e||"oneOf"in e||"anyOf"in e||"allOf"in e||"items"in e||"additionalProperties"in e||"enum"in e||"const"in e||"format"in e||"pattern"in e||"minimum"in e||"maximum"in e||"minLength"in e||"maxLength"in e||"minItems"in e||"maxItems"in e||"minProperties"in e||"maxProperties"in e||"required"in e||"nullable"in e||"description"in e),eM=e=>!!eB(e)&&(!!e.properties&&Object.keys(e.properties).length>0||!!e.additionalProperties&&Object.keys(e.additionalProperties).length>0),eD=e=>eB(e)&&"array"===e.type,eU=e=>eD(e)&&eB(e.items)&&"object"===e.items.type,eq=e=>{if(e.oneOf)return"oneOf";if(e.enum)switch(e.type){case"string":return"enum<string>";case"number":return"enum<number>";case"integer":return"enum<integer>";case"boolean":return"enum<boolean>";default:return e.type}return void 0!==Y(e)?"file":e.type},eR=e=>"enum"in e&&void 0!==e.enum,e$=e=>{if(e.enum&&e.enum.length>0){let t=e.enum.map(e=>"boolean"==typeof e?e:"true"===e||"false"!==e&&null).filter(e=>null!==e);if(t.length>0)return t}return[!0,!1]},eF=e=>"placeholder"in e&&"string"==typeof e.placeholder?e.placeholder:void 0,ez=e=>"string"===e.type,eK=e=>"number"===e.type||"integer"===e.type,eH=e=>{var t,r;let n={};return Object.entries(null!=(r=null==(t=e.operation)?void 0:t.responses)?r:{}).forEach(([t,r])=>{var i,o;let a=null==(o=null==(i=e.dependencies)?void 0:i.responses)?void 0:o[r];a&&a.content&&(n[t]=a.content)}),n},eV=e=>{var t,r,n;let i=null==(r=null==(t=e.dependencies)?void 0:t.requestBody)?void 0:r.content;if(void 0===i)return[];let o=Object.keys(i)[0];if(!o)return[];let a=i[o],s=null==a?void 0:a.schema;if(!eB(s))return[];let l=Object.values(null!=(n=null==a?void 0:a.examples)?n:{});if(0===l.length)return[];let u=[];for(let e of l)if("value"in e){let t=e_({schema:s,example:e.value});u.push(t)}return u},eW=e=>{var t;let r=null==(t=e.dependencies)?void 0:t.parameters;if(r){let e=Object.values(r),t=e.filter(e=>!("in"in e)||"header"===e.in),n=e.filter(e=>"cookie"===e.in);return{header:t,path:e.filter(e=>
2"path"===e.in),query:e.filter(e=>"query"===e.in),cookie:n}}return{header:[],path:[],query:[],cookie:[]}},eY=e=>{let t;if(e)return"object"==typeof e&&"default"in e&&(t=e.default),"object"==typeof e&&"x-default"in e&&(t=e["x-default"]),t},eX=()=>({oneOf:[{type:"string"},{type:"number"},{type:"boolean"},{type:"object",properties:{}},{type:"array",items:{oneOf:[{type:"string"},{type:"number"},{type:"boolean"},{type:"object",properties:{}},{type:"array",items:{}},{type:"null"}]}},{type:"null"}]}),eG=(e,t)=>{var r,n;let i=null==(n=null==(r=e.dependencies)?void 0:r.requestBody)?void 0:n.content;if(void 0!==i)return Object.keys(i)[t]},eJ=new Set(["oneOf","items","additionalProperties"]),eZ=e=>{let t=e.replace(/\./g,"\\.");return eJ.has(e)||t.startsWith("\\")?`\\${t}`:t},eQ=e=>e.startsWith("\\")?e.slice(1):e,e0=e=>{switch(e){case"header":default:return eI.header;case"path":return eI.path;case"query":return eI.query;case"cookie":return eI.cookie}},e1=e=>{let t={server:{},header:{},path:{},query:{},cookie:{},body:void 0};return Object.entries(e).forEach(([e,r])=>{if(void 0===r)return;let n=e.split(/(?<!\\)\./).map(e=>e.replace(/\\\./g,"."));if(n.length<2){"body"===e&&(t.body=r);return}let[i,...o]=n,a=Object.values(eI);if(i&&a.includes(i))if(i!==eI.body){if(null===r)return;e5(t[i],[...o],r)}else 0==[...o].length?t.body=r:((void 0===t.body||"object"!=typeof t.body)&&(t.body={}),e5(t.body,o,r))}),e2(t)},e2=e=>{if(null==e||(0,em.isFile)(e)||e instanceof FileList)return e;if(Array.isArray(e))return e.map(e2);if(eN(e)){if((e=>{if(!eN(e))return!1;let t=Object.keys(e);return 0!==t.length&&t.every(e=>null!==tu(e))})(e)){let t=[];for(let[r,n]of Object.entries(e)){let e=tu(r);null!==e&&t.push({index:e,value:e2(n)})}return t.sort((e,t)=>e.index-t.index),t.map(e=>e.value)}if((e=>{if(!eN(e))return!1;let t=Object.keys(e);return 0!==t.length&&t.every(e=>/^\d+$/.test(e))})(e))return Object.keys(e).sort((e,t)=>Number(e)-Number(t)).map(t=>e[t]).map(e2);let t={};for(let[r,n]of Object.entries(e))t[r]=e2(n);return t}return e},e6=new Set(["__proto__","constructor","prototype"]),e5=(e,t,r)=>{let n=[];for(let e=0;e<t.length;e++){let r=t[e];if(r&&e6.has(r))return;if("oneOf"===r){e++;continue}if("items"===r){let r=t[e+1];if(void 0!==r&&/^\d+$/.test(r))continue}if("additionalProperties"!==r&&r){let e=eQ(r);if(e6.has(e))return;n.push(e)}}let i=e;for(let e=0;e<n.length;e++){let t=n[e];e===n.length-1?t&&(i[t]=r):(!t||Object.prototype.hasOwnProperty.call(i,t)&&i[t]&&"object"==typeof i[t]||(i[t]={}),t&&(i=i[t]))}},e3=e=>e.filter(e=>!("enum"in e)||!e.enum||!("const"in e)||e.enum.includes(e.const)),e4=(e,t=0)=>{let r={};if("uniqueKey"in e&&void 0!==e.uniqueKey){let t=eY(e);if(void 0!==t){let n=`${eI.body}.${e.uniqueKey}`;r[n=n.replaceAll("[INDEX]","0")]=t}}if("oneOf"in e&&Array.isArray(e.oneOf)&&e.oneOf.length>0){let n=t<e.oneOf.length?t:0,i=e.oneOf[n];eB(i)&&Object.assign(r,e4(i,0))}return"object"===e.type&&e.properties&&Object.values(e.properties).forEach(e=>{eB(e)&&Object.assign(r,e4(e,0))}),e.additionalProperties&&"object"==typeof e.additionalProperties&&eB(e.additionalProperties)&&Object.assign(r,e4(e.additionalProperties,0)),r},e8=e=>{var t;let r="schemes"in e?null==(t=e.schemes[0])?void 0:t.scheme:e.scheme;if(!r)return"header.Authorization";let n="in"in r?r.in:"header",i="name"in r?r.name:e9(r);return`${e0(n)}.${eZ(i)}`},e7=e=>e&&"type"in e&&"http"===e.type&&"basic"===e.scheme,e9=e=>e&&"type"in e&&"apiKey"===e.type?e.name:"Authorization",te=(e,t)=>{let r=new TextEncoder().encode(`${null!=e?e:""}:${null!=t?t:""}`),n="";for(let e of r)n+=String.fromCharCode(e);return btoa(n)},tt=e=>{var t;let r=e.typeLabel,n="type"in e&&"string"==typeof e.type?e.type:void 0;return null!=(t=null!=r?r:n)?t:"unknown"},tr=e=>{if(e.length<=1)return e.map(e=>tt(e));let t=e.every(e=>"object"===e.type),r=e.map(e=>tt(e));return t?e.map((e,t)=>{var r;return null!=(r=e.title)?r:`Option ${t+1}`}):new Set(r).size===r.length?r:r.map((t,r)=>{var n,i;let o=null!=(i=null==(n=e[r])?void 0:n.title)?i:`Option ${r+1}`;return t.startsWith(`${o} \xb7 `)?t:`${o} \xb7 ${t}`})},tn=(e,t,r,n)=>(0,eE.default)(`${e?`${e}-`:""}${r?`${r}-`:""}${t||""}-${n||""}`,{decamelize:!0}),ti=(e,t)=>e?`${t?`${t}`:""}${e}.`:"",to=(e,t)=>e?t?`${t}${e}][`:`${e}[`:"",ta=e=>void 0!==Y(e),ts="_tupleOriginal",tl=e=>ts in e&&!0===e[ts],tu=e=>{let t=e.match(/^\[(\d+)\]$/);return t&&void 0!==t[1]?parseInt(t[1],10):null},tc=e=>{var t;let r=e.type;if("string"===e.type&&void 0!==Y(e))return"file";if(Array.isArray(r))return null!=(t=r[0])?t:"string";if(!r){if(e.oneOf&&Array.isArray(e.oneOf)){let t=e.oneOf.map(e=>eB(e)&&"typeLabel"in e?e.typeLabel:void 0).filter(e=>void 0!==e);if(t.length>0){let e=new Set(t);if(1===e.size){let t=Array.from(e)[0];if(t)return t}let r=e.size===t.length?" | ":" · ";return t.join(r)}}return"any"}switch(r){case"null":return"null";case"object":if(tl(e)){if(e.title)return`${e.title} \xb7 tuple`;return"tuple"}if(e.title)return`${e.title} \xb7 object`;return"object";
2case"array":if("items"in e&&e.items&&eB(e.items)){let t="typeLabel"in e.items&&"string"==typeof e.items.typeLabel?e.items.typeLabel:tc(e.items),r=t.includes(" | ")?`(${t})`:t;if("object"===t&&e.title)return`${e.title} \xb7 object[]`;return`${r}[]`}if(e.title)return`${e.title} \xb7 array`;return"array";default:if("enum"in e&&void 0!==e.enum)return`enum<${r}>`;return"format"in e&&"string"==typeof e.format?`${r}<${e.format}>`:r}},tp=e=>{if(!eB(e))return e;let t=Object.assign({},e);if(t.oneOf&&Array.isArray(t.oneOf)&&(t.oneOf=t.oneOf.map(e=>eB(e)?tp(e):e)),"object"===t.type&&t.properties){let e={};Object.entries(t.properties).forEach(([t,r])=>{eB(r)?e[t]=tp(r):e[t]=r}),t.properties=e}return t.additionalProperties&&"object"==typeof t.additionalProperties&&eB(t.additionalProperties)&&(t.additionalProperties=tp(t.additionalProperties)),"array"===t.type&&"items"in t&&eB(t.items)&&(t.items=tp(t.items)),t.typeLabel=tc(t),t};e.s(["addUniqueKeysToSchema",()=>tf,"getParamIdFromSchema",()=>th,"getUniqueInputKey",()=>td],939368);let tf=(e,t="")=>{if(!eB(e))return e;let r=Object.assign(Object.assign({},e),{uniqueKey:t});if(r.oneOf&&Array.isArray(r.oneOf)&&(r.oneOf=r.oneOf.map((e,r)=>eB(e)?tf(e,t?`${t}.oneOf.${r}`:`oneOf.${r}`):e)),"object"===r.type&&r.properties){let e={};Object.entries(r.properties).forEach(([r,n])=>{if(eB(n)){let i=t?`${t}.${eZ(r)}`:eZ(r);e[r]=tf(n,i)}else e[r]=n}),r.properties=e}if(r.additionalProperties&&"object"==typeof r.additionalProperties&&eB(r.additionalProperties)){let e=t?`${t}.additionalProperties`:"additionalProperties";r.additionalProperties=tf(r.additionalProperties,e)}if("array"===r.type&&"items"in r&&eB(r.items)){let e=t?`${t}.items`:"items";r.items=tf(r.items,e+".[INDEX]")}return r},td=(e,t,r,n)=>{if(!t.uniqueKey)return e;{let i=t.uniqueKey;return null==r||r.forEach(e=>{i=i.replace("[INDEX]",e.toString())}),`${e?e+".":""}${i}${void 0!==n?"."+eZ(n):""}`}},th=(e,t,r,n)=>{if(!e.uniqueKey)return tn(t,r,n);let i=e.uniqueKey.replace(/\[INDEX\]/g,""),o=t?`${t}-${i}`:i;return(0,eE.default)(o,{decamelize:!0})},tm=e=>{if(!eB(e))return e;if(e.oneOf&&Array.isArray(e.oneOf)&&e.oneOf.length>0)return Object.assign(Object.assign({},e),{oneOf:e.oneOf.map(t=>e.isRequired?Object.assign(Object.assign({},t),{isRequired:!0}):t).map(e=>eB(e)?tm(e):e)});if("object"===e.type&&e.additionalProperties&&eB(e.additionalProperties)&&(e.additionalProperties=tm(e.additionalProperties)),"object"===e.type&&e.properties){let t=new Set(Array.isArray(e.required)?e.required:[]),r=Object.entries(e.properties).filter(e=>eB(e[1])).sort(([e],[r])=>{let n=t.has(e);return n===t.has(r)?0:n?-1:1}),n={};return r.forEach(([e,r])=>{let i=t.has(e)?Object.assign(Object.assign({},r),{isRequired:!0}):r,o=eB(i)?tm(i):i;n[e]=o}),Object.assign(Object.assign({},e),{properties:n})}return"array"===e.type&&eB(e.items)?Object.assign(Object.assign({},e),{items:tm(e.items)}):e},ty=e=>tp(tf(tm(e),""));e.s(["generateExamplesFromSchema",()=>tx,"getFirstExampleValue",()=>tA,"getWebhookExamples",()=>tj,"mdxCodeExampleToExamples",()=>tv],450322),e.s(["default",()=>tb],251650);var tg=e.i(8452);tg.default.domToReact,tg.default.htmlToDOM,tg.default.attributesToProps,tg.default.Comment,tg.default.Element,tg.default.ProcessingInstruction,tg.default.Text;let tb=tg.default,tv=e=>{var t,r;let n=[],i=null==(t=e.attributes)?void 0:t.some(e=>"dropdown"===e.name&&"false"!==e.value);return null==(r=e.children)||r.map(e=>{var t,r;let o=tb(null!=(t=e.html)?t:""),a="object"!=typeof o||Array.isArray(o)||"pre"!==o.type?void 0:null!=(r=o.props.language)?r:function(e,t){var r;let n=/language-(\w+)/.exec(null!=e?e:"");return n?null!=(r=n[1])?r:"text":null!=t?t:"text"}(o.props.className,e.filename);n.push({dropdown:i,language:a,code:o,filename:e.filename})}),n},tx=(e,t="request")=>{let r="generated";return Object.entries(e).forEach(([n,i])=>{let o={};i.examples&&Object.keys(i.examples).length>0?(Object.entries(i.examples).forEach(([e,t])=>{"$ref"in t||(o[e]={title:e,description:t.description,value:t.value})}),e[n]&&(e[n].examples=o),r="examples"):i.example?(o.Example={title:"Example",value:i.example},e[n]&&(e[n].examples=o),r="examples"):eB(i.schema)&&(o.Example=tw(i.schema,t),e[n]&&(e[n].examples=o),r="generated")}),{content:e,exampleType:r}},tw=(e,t="request")=>{var r,n;let i={title:"Example",value:void 0};if(void 0!==e.example)return i.value=e.example,i;if("examples"in e&&(null==(r=e.examples)?void 0:r[0])!==void 0)return i.value=e.examples[0],i;if(void 0!==e.default)return i.value=e.default,i;if("const"in e&&void 0!==e.const)return i.value=e.const,i;if(e.enum)return("response"===t||1===e.enum.length)&&(i.value=e.enum[0]),i;if(e.oneOf&&Array.isArray(e.oneOf)&&e.oneOf.length>0){let r=e.oneOf.find(e=>eB(e)&&"null"!==e.type),n=null!=r?r:e.oneOf[0];if(eB(n))return tw(n,t)}switch(e.type){case"string":return i.value=tE(e),i;case"boolean":return i.value=!0,i;case"number":case"integer":return i.value=tO(e),i;case"object":let o=Object.fromEntries(Object.entries(null!=(n=e.properties)?n:{}).filter(([,e])=>{var r;return!("request"===t&&eB(e))||"isRequired"in e&&!!e.isRequired||void 0!==e.default||void 0!==e.example||"examples"in e&&(null==(r=e.examples)?void 0:r[0])!==void 0||!("object"===e.type&&Array.isArray(e.required)&&e.required.length>0)}).map(([e,r])=>eB(r)?[e,tw(r,t).value]:[e,"<object>"]).filter(([,t])=>tl(e)||void 0!==t));return i.value=tl(e)?(e=>{let t=[];for(let[r,n]of Object.entries(e)){let e=tu(r);null!==e&&t.push({index:e,value:n})}return t.sort((e,t)=>
2e.index-t.index),t.map(e=>e.value)})(o):o,i;case"array":if(eB(e.items)){let r=tw(e.items,t).value;i.value=void 0!==r?[r]:[]}else i.value="<array>";return i;case"null":return i.value=null,i;default:return i.value="<unknown>",i}},tO=e=>{let t="integer"===e.type?Math.floor:e=>e;return void 0!==e.minimum&&void 0!==e.maximum?t((e.minimum+e.maximum)/2):void 0!==e.minimum?t(e.minimum+1):void 0!==e.maximum?123<e.maximum?123:t(e.maximum-1):123},tE=e=>{var t;switch(null==(t=e.format)?void 0:t.toLowerCase()){case"byte":case"base64":return"aSDinaTvuI8gbWludGxpZnk=";case"date":return"2023-12-25";case"date-time":return"2023-11-07T05:31:56Z";case"email":return"[email protected]";case"uuid":return"3c90c3cc-0d44-4b50-8888-8dd25736052a";case"ipv4":return"127.0.0.1";case"ipv6":return"2606:4700:3108::ac42:2835";default:return"<string>"}},tA=(e,t)=>{var r;let n=Object.keys(e)[t];if(n){let t=e[n],i=Object.values(null!=(r=null==t?void 0:t.examples)?r:{})[0];if(i&&"value"in i)return i.value}},tj=(e,t)=>{var r,n,i;let o=[];if(null==(n=null==(r=e.dependencies)?void 0:r.requestBody)?void 0:n.content){let r=Object.keys(e.dependencies.requestBody.content)[t],n=void 0!==r?e.dependencies.requestBody.content[r]:void 0,a=Object.entries(null!=(i=null==n?void 0:n.examples)?i:{});if(0===a.length){let r=tA(e.dependencies.requestBody.content,t);r&&o.push({language:"json",filename:"Example Request Body",code:JSON.stringify(r,null,2)})}else for(let[e,t]of a)"value"in t&&void 0!==t.value&&o.push({language:"json",filename:e,code:JSON.stringify(t.value,null,2)})}return o},tk=["apiKey","http","oauth2"];var tS=e.i(271944);let tI=e=>"x-mint"in e&&e["x-mint"]&&"object"==typeof e["x-mint"]&&"groups"in e["x-mint"]&&Array.isArray(e["x-mint"].groups),tC=e=>"x-mint"in e&&e["x-mint"]&&"object"==typeof e["x-mint"]&&"groups"in e["x-mint"]&&Array.isArray(e["x-mint"].groups)?e["x-mint"].groups:[],tP=(e,t)=>{var r;let n=Object.assign({},e);if(n.properties&&"object"==typeof n.properties){let e={};for(let[r,i]of Object.entries(n.properties))if(eB(i))if(tI(i)){if(tC(i).some(e=>t.includes(e))){let n=tP(i,t);n&&(e[r]=n)}}else{let n=tP(i,t);n&&(e[r]=n)}else e[r]=i;n.properties=e}if("items"in n&&n.items&&"object"==typeof n.items&&eB(n.items))if(tI(n.items))if(tC(n.items).some(e=>t.includes(e))){let e=tP(n.items,t);e?n.items=e:delete n.items}else delete n.items;else{let e=tP(n.items,t);e?n.items=e:delete n.items}if("oneOf"in n&&n.oneOf&&Array.isArray(n.oneOf)){let e=[];n.oneOf.forEach(r=>{if(eB(r))if(tI(r)){if(tC(r).some(e=>t.includes(e))){let n=tP(r,t);n&&e.push(n)}}else{let n=tP(r,t);n&&e.push(n)}}),n.oneOf=e}if(n.additionalProperties&&"object"==typeof n.additionalProperties&&eB(n.additionalProperties)){let e=tP(n.additionalProperties,t);e?n.additionalProperties=e:delete n.additionalProperties}if(tI(n))return tC(n).some(e=>t.includes(e))?n:void 0;if("x-mint-enum"in n&&n.enum){let e=n.enum,i=[];Object.entries(null!=(r=n["x-mint-enum"])?r:{}).forEach(([e,r])=>{Array.isArray(r)&&r.some(e=>t.includes(e))||i.push(e)}),n.enum=e.filter(e=>!i.includes(e))}return n.typeLabel=tc(n),n},t_=(0,x.createContext)({openApiReferenceData:{}});function tT({pageMetadata:e,docsConfig:t,mdxExtracts:r,openApiReferenceData:i,userInfo:o,isFetchingUserInfo:a,children:s}){let l=(0,x.useMemo)(()=>{let n=(({pageMetadata:e,openApiReferenceData:t,mdxExtracts:r,docsConfig:n})=>{var i,o,a,s,l,u,c,p,f,d,h,m,y,g,b,v,x,w,O,E,A,j,k,S,I,C,P;let _=null!=t?t:{operation:void 0};if(!t&&(null==r?void 0:r.endpoint)){let{dependencies:e,parameterUuids:t,requestBodyUuid:n,responseUuids:i}=(e=>{let t,r,n={},i=[];["query","header","cookie","path"].forEach(t=>{Object.entries(e.request.parameters[t]).forEach(([e,r])=>{let o=(0,K.v4)();i.push(o);let a="path"===t||!!r.schema[0].required,s=H(r.schema),l=r.schema[0].description,u=ty(Object.assign(Object.assign({},s),{isRequired:a}));n[o]=Object.assign(Object.assign(Object.assign(Object.assign({name:e,in:t,required:a},l&&{description:l}),{schema:u}),r.style&&{style:r.style}),void 0!==r.explode&&{explode:r.explode})})});let o=Object.keys(e.request.body);if(o.length>0){r=(0,K.v4)();let n={};o.forEach(t=>{let r=e.request.body[t];if(!r)return;
2let i={schema:ty(H(r.schemaArray))};if(r.description&&(i.description=r.description),Object.keys(r.examples).length>0){let e={};Object.entries(r.examples).forEach(([t,r])=>{e[t]=Object.assign(Object.assign(Object.assign({},r.summary&&{summary:r.summary}),r.description&&{description:r.description}),{value:r.value})}),i.examples=e}n[t]=i}),t={content:n,required:!0}}let a={},s={};return Object.entries(e.response).forEach(([e,t])=>{let r=(0,K.v4)();s[e]=r;let n={};Object.entries(t).forEach(([e,t])=>{if(!t)return;let r={schema:ty(H(t.schemaArray))};if(t.description&&(r.description=t.description),Object.keys(t.examples).length>0){let e={};Object.entries(t.examples).forEach(([t,r])=>{e[t]=Object.assign(Object.assign(Object.assign({},r.summary&&{summary:r.summary}),r.description&&{description:r.description}),{value:r.value})}),r.examples=e}n[e]=r}),a[r]={description:`Response ${e}`,content:n}}),{dependencies:{parameters:Object.keys(n).length>0?n:void 0,requestBody:t,responses:Object.keys(a).length>0?a:void 0,servers:{},security:{},processedSecurityOptions:[],schemas:{}},parameterUuids:i,requestBodyUuid:r,responseUuids:s}})(r.endpoint);_.dependencies=e,_.operation=((e,t)=>{var r,n,i,o,a;let s=null!=(n=null==(r=e.servers)?void 0:r.map(e=>e.url))?n:[],l={path:e.path,method:e.method,title:null!=(i=e.title)?i:"",description:null!=(o=e.description)?o:"",type:null!=(a=e.type)?a:"path",baseUrlOptions:s,deprecated:e.deprecated};return(null==t?void 0:t.parameterUuids)&&t.parameterUuids.length>0&&(l.parameters=t.parameterUuids),(null==t?void 0:t.requestBodyUuid)&&(l.requestBody=t.requestBodyUuid),(null==t?void 0:t.responseUuids)&&Object.keys(t.responseUuids).length>0&&(l.responses=t.responseUuids),l})(r.endpoint,{parameterUuids:t,requestBodyUuid:n,responseUuids:i})}if(e.description&&_.operation&&(_.operation.description=e.description),!_.operation)return _;let T=null==(o=null==(i=null==n?void 0:n.api)?void 0:i.mdx)?void 0:o.server,L=null==(s=null==(a=null==n?void 0:n.api)?void 0:a.mdx)?void 0:s.auth,N=_.operation.baseUrlOptions.length>0;"string"!=typeof T||N?Array.isArray(T)&&T.length>0&&!N&&(_.operation.baseUrlOptions=T):_.operation.baseUrlOptions=[T];let B=Object.values(null!=(u=null==(l=_.dependencies)?void 0:l.parameters)?u:{}).some(e=>"Authorization"===e.name&&"header"===e.in);if(L&&0===Object.keys(null!=(p=null==(c=_.dependencies)?void 0:c.security)?p:{}).length){let e=(({method:e,name:t})=>{let r,n=(0,K.v4)();switch(e){case"basic":r={[n]:{Authorization:{type:"http",scheme:"basic",description:"Basic authentication header of the form `Basic <encoded-value>`, where `<encoded-value>` is the base64-encoded string `username:password`."}}};break;case"bearer":r={[n]:{Authorization:{type:"http",scheme:"bearer",description:"Bearer authentication header of the form `Bearer <token>`, where `<token>` is your auth token."}}};break;case"cobo":r={[n]:{CoboAuth:{type:"apiKey",in:"header",name:"API-SECRET"}}};break;case"key":r={[n]:{Key:{name:null!=t?t:"Key",type:"apiKey",in:"header"}}}}return r})({method:L.method,name:L.name});e&&!B&&(_.dependencies||(_.dependencies={servers:{},security:{}}),_.dependencies.security=Object.assign({},e))}let M=null==(f=null==r?void 0:r.codeExamples)?void 0:f.request,D=null==(d=null==r?void 0:r.codeExamples)?void 0:d.response,U=null==(y=null==(m=null==(h=null==n?void 0:n.api)?void 0:h.examples)?void 0:m.languages)?void 0:y.map(F);_.operation.requestExampleLanguages=U;let q=(null==(b=null==(g=null==n?void 0:n.api)?void 0:g.examples)?void 0:b.defaults)==="required";_.operation.requiredOnlyExamples=q;let R=(null==(x=null==(v=null==n?void 0:n.api)?void 0:v.examples)?void 0:x.autogenerate)!==!1;R||(_.operation.disableCodeSampleGeneration=!0),M?(_.operation.requestExamples=tv(M),_.operation.requestExampleType="mdx"):"webhook"===_.operation.type?(_.operation.requestExamples=tj(_,0),_.operation.requestExampleType="webhook"):_.operation.codeSamples&&_.operation.codeSamples.length>0?_.operation.requestExampleType="codeSamples":R&&(_.operation.requestExampleType="generated"),D?(_.operation.responseExamples=tv(D),_.operation.responseEx
2ampleType="mdx"):_.operation.responseExampleType="generated";let $=_.operation.baseUrlOptions.length>0,z=(null==(O=null==(w=null==n?void 0:n.api)?void 0:w.examples)?void 0:O.prefill)&&$;z&&(_.operation.prefillPlaygroundWithExample=!!z,_.operation.prefillPlaygroundExamples=eV(_)),(null==(j=null==(A=null==(E=null==n?void 0:n.api)?void 0:E.mdx)?void 0:A.auth)?void 0:j.method)==="cobo"&&(_.operation.isCobo=!0),(null==(S=null==(k=null==n?void 0:n.api)?void 0:k.playground)?void 0:S.proxy)===!1&&(_.operation.disableProxy=!0),(null==(C=null==(I=null==n?void 0:n.api)?void 0:I.playground)?void 0:C.credentials)===!0&&(_.operation.withCredentials=!0);let V=null==(P=null==n?void 0:n.api)?void 0:P.url;return V&&(_.operation.urlDisplay=V),_})({openApiReferenceData:i,mdxExtracts:r,docsConfig:t,pageMetadata:e}),a=(e=>{var t,r;let n=null!=(r=null==(t=e.dependencies)?void 0:t.security)?r:{};if(0===Object.keys(n).length)return[];let i=[];return Object.entries(n).forEach(([e,t])=>{let r=[];if(Object.entries(t).forEach(([e,t])=>{if(tk.includes(t.type)){let n=e9(t),i=(e=>{var t,r,n;switch(e.type){case"apiKey":return{title:e.name,type:"string",description:e.description,isRequired:!0,default:e["x-default"],typeLabel:"string"};case"http":return"basic"===e.scheme?{title:"Basic Auth",type:"object",description:null!=(t=e.description)?t:"Basic authentication header of the form `Basic <encoded-value>`, where `<encoded-value>` is the base64-encoded string `username:password`.",isRequired:!0,properties:{username:{type:"string",uniqueKey:"username",isRequired:!0,typeLabel:"string"},password:{type:"string",uniqueKey:"password",isRequired:!0,typeLabel:"string"}},additionalProperties:!1,default:e["x-default"]}:{title:"Bearer Auth",type:"string",isRequired:!0,description:null!=(r=e.description)?r:"Bearer authentication header of the form `Bearer <token>`, where `<token>` is your auth token.",format:"bearer",default:e["x-default"],typeLabel:"string<bearer>"};case"oauth2":return{title:"OAuth2 Auth",type:"string",isRequired:!0,description:null!=(n=e.description)?n:"The access token received from the authorization server in the OAuth 2.0 flow.",format:"bearer",typeLabel:"string<bearer>"};default:return}})(t);i&&r.push({scheme:t,schema:i,schemeName:e,name:n})}}),r.length>0){let e=r.map(e=>e.schemeName).join(" & ");i.push({schemes:r,title:e})}}),i})(n);return a.length>0&&(n.dependencies||(n.dependencies={servers:{},security:{},processedSecurityOptions:[]}),n.dependencies.processedSecurityOptions=a),(null==o?void 0:o.apiPlaygroundInputs)&&n.operation&&(n.operation.userInfoPlaygroundInputs=o.apiPlaygroundInputs),n},[i,r,t,e,o]),u=(0,x.useMemo)(()=>{var e;let t=a?[]:null!=(e=null==o?void 0:o.groups)?e:[];if(l.schemaData){let e=((e,t)=>{let r=tP((0,tS.default)(e),t);return r||e})(l.schemaData,t);return Object.assign(Object.assign({},l),{schemaData:e})}return(({apiReferenceData:e,groups:t})=>{var r,n;let{dependencies:i}=e;if(!i)return e;let o=(0,tS.default)(i);if(o.parameters&&Object.keys(o.parameters).length>0&&Object.entries(o.parameters).forEach(([e,r])=>{if(r.schema&&"object"==typeof r.schema&&eB(r.schema)){let e=tP(r.schema,t);e&&(r.schema=e)}}),o.requestBody&&Object.keys(o.requestBody.content).length>0&&Object.entries(o.requestBody.content).forEach(([e,r])=>{if(r.schema){let n=tP(r.schema,t);n&&(r.schema=n,o.requestBody&&(o.requestBody.content[e]=r))}}),o.responses&&Object.keys(o.responses).length>0&&Object.entries(o.responses).forEach(([e,r])=>{r.content&&Object.entries(r.content).forEach(([e,n])=>{if(n.schema){let i=tP(n.schema,t);i&&(n.schema=i,r.content&&(r.content[e]=n))}})}),o.callbacks&&o.callbacks.length>0&&(o.callbacks=o.callbacks.map(e=>{let r=e.resolved.dependencies;return r.requestBody&&Object.keys(r.requestBody.content).length>0&&Object.entries(r.requestBody.content).forEach(([e,n])=>{if(n.schema){let i=tP(n.schema,t);i&&(n.schema=i,r.requestBody&&(r.requestBody.content[e]=n))}}),r.responses&&Object.keys(r.responses).length>0&&Object.entries(r.responses).forEach(([e,r])=>{r.content&&Object.entries(r.content).forEach(([e,n])=>{if(n.schema){let i=tP(n.schema,t);i&&(n.schema=i,r.content&&(r.content[e]=n))}})}),e})),(null==(r=o.requestBody)?void 0:r.exampleType)==="generated"&&(null==(n=o.requestBody)?void 0:n.content)){Object.values(o.requestBody.content).forEach(e
2=>{delete e.examples,delete e.example});let{content:e,exampleType:t}=tx(o.requestBody.content);o.requestBody.content=e,o.requestBody.exampleType=t}return o.responses&&Object.values(o.responses).forEach(e=>{if("generated"===e.exampleType&&e.content){Object.values(e.content).forEach(e=>{delete e.examples,delete e.example});let{content:t,exampleType:r}=tx(e.content,"response");e.content=t,e.exampleType=r}}),Object.assign(Object.assign({},e),{dependencies:o})})({apiReferenceData:l,groups:t})},[l,o,a]),c=(0,x.useMemo)(()=>({openApiReferenceData:u}),[u]);return(0,n.jsx)(t_.Provider,{value:c,children:s})}var tL=e.i(752473);let tN=(0,x.createContext)({pageMetadata:{}}),tB=(0,x.createContext)({}),tM=(0,x.createContext)({}),tD=(0,x.createContext)({}),tU=(0,x.createContext)({apiReferenceData:{}});function tq({value:e,children:t}){return(0,n.jsx)(tB.Provider,{value:e,children:t})}function tR(e,t,r){if(!e||0===t.size)return e;let n=e=>{if(null==e)return e;if(Array.isArray(e))return e.map(n);if("object"!=typeof e)return e;let i=Object.assign({},e);if("href"in i&&"string"==typeof i.href){let e,n=(e=i.href,t.get(e)??t.get((0,N.normalizeLivePreviewPath)(e,r)));if(n){let e=n.sidebarTitle,t="string"==typeof e&&e.length>0?e:n.title;Object.assign(i,n,{href:i.href,..."string"==typeof t&&t.length>0?{title:t}:{}})}}for(let e of[...tL.divisions,"groups","pages"])e in i&&Array.isArray(i[e])&&(i[e]=i[e].map(n));return i};return n(e)}function t$({value:t,children:r}){let{basePath:s="",isLivePreview:u,livePreviewUpdateId:c,getDocsConfigOverrides:p,getNavigationOverride:f,liveMetadata:d,buildDecoratedNavigationFromConfig:h}=(0,x.useContext)(a.LivePreviewContext),m=u||i.IS_DEV||l.NEXT_PUBLIC.ENABLE_DOCS_CONFIG_OVERRIDES,[y,g]=(0,x.useState)(),b=h??y;(0,x.useEffect)(()=>{if(u||h||y||!m||null===(0,B.getItem)(o.DOCS_CONFIG_OVERRIDES_SESSION_STORAGE_KEY))return;let t=!1;return e.A(454394).then(e=>{t||g(()=>e.buildDecoratedNavigationFromConfig)}),()=>{t=!0}},[m,u,h,y,t]);let v=(0,x.useMemo)(()=>{let e,r,n;if(!m)return t;if(u)e=p(),r=f();else try{let t=(0,B.getItem)(o.DOCS_CONFIG_OVERRIDES_SESSION_STORAGE_KEY);if(t)try{e=JSON.parse(t)}catch{}}catch{}return(n=r?tR(r,d,s):e?.navigation&&b&&(!u||t.hasFullNav)?b(e.navigation,t.docsNavWithMetadata,d):tR(t.docsNavWithMetadata,d,s),e||n)?{...t,docsConfig:e?D({...t.docsConfig,...e}):t.docsConfig,docsNavWithMetadata:n??t.docsNavWithMetadata}:t},[m,s,u,c,t,p,f,d,b]);return(0,n.jsx)(tM.Provider,{value:v,children:r})}function tF({value:e,children:t}){let{userInfo:r,isFetchingUserInfo:i}=L(e.userAuth);return(0,n.jsx)(tD.Provider,{value:{...e,userInfo:r,isFetchingUserInfo:i},children:t})}function tz({value:e,children:t}){return(0,n.jsx)(tU.Provider,{value:e,children:t})}function tK({pageMetadata:e,docsConfig:t,mdxExtracts:r,openApiReferenceData:i,children:o}){let a=(0,s.useEffectivePageMetadata)(e),{docsConfig:l}=(0,x.useContext)(tM),{userInfo:u,isFetchingUserInfo:c}=(0,x.useContext)(tD);return(0,n.jsx)(tT,{pageMetadata:a,docsConfig:l??t,mdxExtracts:r,openApiReferenceData:i,userInfo:u,isFetchingUserInfo:c,children:o})}tN.displayName="PageContext",tB.displayName="DeploymentMetadataContext",tM.displayName="DocsConfigContext",tD.displayName="AuthContext",tU.displayName="ApiReferenceContext"}]);
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.