(()=>{var ea=Object.create;var At=Object.defineProperty;var ta=Object.getOwnPropertyDescriptor;var ra=Object.getOwnPropertyNames,Ct=Object.getOwnPropertySymbols,na=Object.getPrototypeOf,yr=Object.prototype.hasOwnProperty,en=Object.prototype.propertyIsEnumerable;var tn=(e,t,n)=>t in e?At(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,P=(e,t)=>{for(var n in t||(t={}))yr.call(t,n)&&tn(e,n,t[n]);if(Ct)for(var n of Ct(t))en.call(t,n)&&tn(e,n,t[n]);return e};var oa=e=>At(e,"__esModule",{value:!0});var rn=(e,t)=>{var n={};for(var r in e)yr.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Ct)for(var r of Ct(e))t.indexOf(r)<0&&en.call(e,r)&&(n[r]=e[r]);return n};var vt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var ia=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of ra(t))!yr.call(e,o)&&(n||o!=="default")&&At(e,o,{get:()=>t[o],enumerable:!(r=ta(t,o))||r.enumerable});return e},Ge=(e,t)=>ia(oa(At(e!=null?ea(na(e)):{},"default",!t&&e&&e.__esModule?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var on=vt((xr,nn)=>{(function(e,t){typeof xr=="object"&&typeof nn!="undefined"?t():typeof define=="function"&&define.amd?define(t):t()})(xr,function(){"use strict";function e(n){var r=!0,o=!1,i=null,a={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function u(M){return!!(M&&M!==document&&M.nodeName!=="HTML"&&M.nodeName!=="BODY"&&"classList"in M&&"contains"in M.classList)}function s(M){var He=M.type,Pe=M.tagName;return!!(Pe==="INPUT"&&a[He]&&!M.readOnly||Pe==="TEXTAREA"&&!M.readOnly||M.isContentEditable)}function c(M){M.classList.contains("focus-visible")||(M.classList.add("focus-visible"),M.setAttribute("data-focus-visible-added",""))}function f(M){!M.hasAttribute("data-focus-visible-added")||(M.classList.remove("focus-visible"),M.removeAttribute("data-focus-visible-added"))}function p(M){M.metaKey||M.altKey||M.ctrlKey||(u(n.activeElement)&&c(n.activeElement),r=!0)}function l(M){r=!1}function d(M){!u(M.target)||(r||s(M.target))&&c(M.target)}function h(M){!u(M.target)||(M.target.classList.contains("focus-visible")||M.target.hasAttribute("data-focus-visible-added"))&&(o=!0,window.clearTimeout(i),i=window.setTimeout(function(){o=!1},100),f(M.target))}function b(M){document.visibilityState==="hidden"&&(o&&(r=!0),j())}function j(){document.addEventListener("mousemove",$),document.addEventListener("mousedown",$),document.addEventListener("mouseup",$),document.addEventListener("pointermove",$),document.addEventListener("pointerdown",$),document.addEventListener("pointerup",$),document.addEventListener("touchmove",$),document.addEventListener("touchstart",$),document.addEventListener("touchend",$)}function B(){document.removeEventListener("mousemove",$),document.removeEventListener("mousedown",$),document.removeEventListener("mouseup",$),document.removeEventListener("pointermove",$),document.removeEventListener("pointerdown",$),document.removeEventListener("pointerup",$),document.removeEventListener("touchmove",$),document.removeEventListener("touchstart",$),document.removeEventListener("touchend",$)}function $(M){M.target.nodeName&&M.target.nodeName.toLowerCase()==="html"||(r=!1,B())}document.addEventListener("keydown",p,!0),document.addEventListener("mousedown",l,!0),document.addEventListener("pointerdown",l,!0),document.addEventListener("touchstart",l,!0),document.addEventListener("visibilitychange",b,!0),j(),n.addEventListener("focus",d,!0),n.addEventListener("blur",h,!0),n.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&n.host?n.host.setAttribute("data-js-focus-visible",""):n.nodeType===Node.DOCUMENT_NODE&&(document.documentElement.classList.add("js-focus-visible"),document.documentElement.setAttribute("data-js-focus-visible",""))}if(typeof window!="undefined"&&typeof document!="undefined"){window.applyFocusVisiblePolyfill=e;var t;try{t=new CustomEvent("focus-visible-polyfill-ready")}catch(n){t=document.createEvent("CustomEvent"),t.initCustomEvent("focus-visible-polyfill-ready",!1,!1,{})}window.dispatchEvent(t)}typeof document!="undefined"&&e(document)})});var an=vt(wr=>{(function(e){var t=function(){try{return!!Symbol.iterator}catch(c){return!1}},n=t(),r=function(c){var f={next:function(){var p=c.shift();return{done:p===void 0,value:p}}};return n&&(f[Symbol.iterator]=function(){return f}),f},o=function(c){return encodeURIComponent(c).replace(/%20/g,"+")},i=function(c){return decodeURIComponent(String(c).replace(/\+/g," "))},a=function(){var c=function(p){Object.defineProperty(this,"_entries",{writable:!0,value:{}});var l=typeof p;if(l!=="undefined")if(l==="string")p!==""&&this._fromString(p);else if(p instanceof c){var d=this;p.forEach(function(B,$){d.append($,B)})}else if(p!==null&&l==="object")if(Object.prototype.toString.call(p)==="[object Array]")for(var h=0;hd[0]?1:0}),c._entries&&(c._entries={});for(var p=0;p1?i(d[1]):"")}})})(typeof global!="undefined"?global:typeof window!="undefined"?window:typeof self!="undefined"?self:wr);(function(e){var t=function(){try{var o=new e.URL("b","http://a");return o.pathname="c d",o.href==="http://a/c%20d"&&o.searchParams}catch(i){return!1}},n=function(){var o=e.URL,i=function(s,c){typeof s!="string"&&(s=String(s)),c&&typeof c!="string"&&(c=String(c));var f=document,p;if(c&&(e.location===void 0||c!==e.location.href)){c=c.toLowerCase(),f=document.implementation.createHTMLDocument(""),p=f.createElement("base"),p.href=c,f.head.appendChild(p);try{if(p.href.indexOf(c)!==0)throw new Error(p.href)}catch(M){throw new Error("URL unable to set base "+c+" due to "+M)}}var l=f.createElement("a");l.href=s,p&&(f.body.appendChild(l),l.href=l.href);var d=f.createElement("input");if(d.type="url",d.value=s,l.protocol===":"||!/:/.test(l.href)||!d.checkValidity()&&!c)throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:l});var h=new e.URLSearchParams(this.search),b=!0,j=!0,B=this;["append","delete","set"].forEach(function(M){var He=h[M];h[M]=function(){He.apply(h,arguments),b&&(j=!1,B.search=h.toString(),j=!0)}}),Object.defineProperty(this,"searchParams",{value:h,enumerable:!0});var $=void 0;Object.defineProperty(this,"_updateSearchParams",{enumerable:!1,configurable:!1,writable:!1,value:function(){this.search!==$&&($=this.search,j&&(b=!1,this.searchParams._fromString(this.search),b=!0))}})},a=i.prototype,u=function(s){Object.defineProperty(a,s,{get:function(){return this._anchorElement[s]},set:function(c){this._anchorElement[s]=c},enumerable:!0})};["hash","host","hostname","port","protocol"].forEach(function(s){u(s)}),Object.defineProperty(a,"search",{get:function(){return this._anchorElement.search},set:function(s){this._anchorElement.search=s,this._updateSearchParams()},enumerable:!0}),Object.defineProperties(a,{toString:{get:function(){var s=this;return function(){return s.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(s){this._anchorElement.href=s,this._updateSearchParams()},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(s){this._anchorElement.pathname=s},enumerable:!0},origin:{get:function(){var s={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol],c=this._anchorElement.port!=s&&this._anchorElement.port!=="";return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(c?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(s){},enumerable:!0},username:{get:function(){return""},set:function(s){},enumerable:!0}}),i.createObjectURL=function(s){return o.createObjectURL.apply(o,arguments)},i.revokeObjectURL=function(s){return o.revokeObjectURL.apply(o,arguments)},e.URL=i};if(t()||n(),e.location!==void 0&&!("origin"in e.location)){var r=function(){return e.location.protocol+"//"+e.location.hostname+(e.location.port?":"+e.location.port:"")};try{Object.defineProperty(e.location,"origin",{get:r,enumerable:!0})}catch(o){setInterval(function(){e.location.origin=r()},100)}}})(typeof global!="undefined"?global:typeof window!="undefined"?window:typeof self!="undefined"?self:wr)});var Mn=vt((Is,Ht)=>{var sn,cn,un,fn,pn,ln,mn,dn,hn,kt,Sr,bn,vn,gn,Je,yn,xn,wn,Sn,En,On,Tn,_n,Rt;(function(e){var t=typeof global=="object"?global:typeof self=="object"?self:typeof this=="object"?this:{};typeof define=="function"&&define.amd?define("tslib",["exports"],function(r){e(n(t,n(r)))}):typeof Ht=="object"&&typeof Ht.exports=="object"?e(n(t,n(Ht.exports))):e(n(t));function n(r,o){return r!==t&&(typeof Object.create=="function"?Object.defineProperty(r,"__esModule",{value:!0}):r.__esModule=!0),function(i,a){return r[i]=o?o(i,a):a}}})(function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(r[i]=o[i])};sn=function(r,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");t(r,o);function i(){this.constructor=r}r.prototype=o===null?Object.create(o):(i.prototype=o.prototype,new i)},cn=Object.assign||function(r){for(var o,i=1,a=arguments.length;i=0;f--)(c=r[f])&&(s=(u<3?c(s):u>3?c(o,i,s):c(o,i))||s);return u>3&&s&&Object.defineProperty(o,i,s),s},pn=function(r,o){return function(i,a){o(i,a,r)}},ln=function(r,o){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,o)},mn=function(r,o,i,a){function u(s){return s instanceof i?s:new i(function(c){c(s)})}return new(i||(i=Promise))(function(s,c){function f(d){try{l(a.next(d))}catch(h){c(h)}}function p(d){try{l(a.throw(d))}catch(h){c(h)}}function l(d){d.done?s(d.value):u(d.value).then(f,p)}l((a=a.apply(r,o||[])).next())})},dn=function(r,o){var i={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},a,u,s,c;return c={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function f(l){return function(d){return p([l,d])}}function p(l){if(a)throw new TypeError("Generator is already executing.");for(;i;)try{if(a=1,u&&(s=l[0]&2?u.return:l[0]?u.throw||((s=u.return)&&s.call(u),0):u.next)&&!(s=s.call(u,l[1])).done)return s;switch(u=0,s&&(l=[l[0]&2,s.value]),l[0]){case 0:case 1:s=l;break;case 4:return i.label++,{value:l[1],done:!1};case 5:i.label++,u=l[1],l=[0];continue;case 7:l=i.ops.pop(),i.trys.pop();continue;default:if(s=i.trys,!(s=s.length>0&&s[s.length-1])&&(l[0]===6||l[0]===2)){i=0;continue}if(l[0]===3&&(!s||l[1]>s[0]&&l[1]=r.length&&(r=void 0),{value:r&&r[a++],done:!r}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")},Sr=function(r,o){var i=typeof Symbol=="function"&&r[Symbol.iterator];if(!i)return r;var a=i.call(r),u,s=[],c;try{for(;(o===void 0||o-- >0)&&!(u=a.next()).done;)s.push(u.value)}catch(f){c={error:f}}finally{try{u&&!u.done&&(i=a.return)&&i.call(a)}finally{if(c)throw c.error}}return s},bn=function(){for(var r=[],o=0;o1||f(b,j)})})}function f(b,j){try{p(a[b](j))}catch(B){h(s[0][3],B)}}function p(b){b.value instanceof Je?Promise.resolve(b.value.v).then(l,d):h(s[0][2],b)}function l(b){f("next",b)}function d(b){f("throw",b)}function h(b,j){b(j),s.shift(),s.length&&f(s[0][0],s[0][1])}},xn=function(r){var o,i;return o={},a("next"),a("throw",function(u){throw u}),a("return"),o[Symbol.iterator]=function(){return this},o;function a(u,s){o[u]=r[u]?function(c){return(i=!i)?{value:Je(r[u](c)),done:u==="return"}:s?s(c):c}:s}},wn=function(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o=r[Symbol.asyncIterator],i;return o?o.call(r):(r=typeof kt=="function"?kt(r):r[Symbol.iterator](),i={},a("next"),a("throw"),a("return"),i[Symbol.asyncIterator]=function(){return this},i);function a(s){i[s]=r[s]&&function(c){return new Promise(function(f,p){c=r[s](c),u(f,p,c.done,c.value)})}}function u(s,c,f,p){Promise.resolve(p).then(function(l){s({value:l,done:f})},c)}},Sn=function(r,o){return Object.defineProperty?Object.defineProperty(r,"raw",{value:o}):r.raw=o,r};var n=Object.create?function(r,o){Object.defineProperty(r,"default",{enumerable:!0,value:o})}:function(r,o){r.default=o};En=function(r){if(r&&r.__esModule)return r;var o={};if(r!=null)for(var i in r)i!=="default"&&Object.prototype.hasOwnProperty.call(r,i)&&Rt(o,r,i);return n(o,r),o},On=function(r){return r&&r.__esModule?r:{default:r}},Tn=function(r,o,i,a){if(i==="a"&&!a)throw new TypeError("Private accessor was defined without a getter");if(typeof o=="function"?r!==o||!a:!o.has(r))throw new TypeError("Cannot read private member from an object whose class did not declare it");return i==="m"?a:i==="a"?a.call(r):a?a.value:o.get(r)},_n=function(r,o,i,a,u){if(a==="m")throw new TypeError("Private method is not writable");if(a==="a"&&!u)throw new TypeError("Private accessor was defined without a setter");if(typeof o=="function"?r!==o||!u:!o.has(r))throw new TypeError("Cannot write private member to an object whose class did not declare it");return a==="a"?u.call(r,i):u?u.value=i:o.set(r,i),i},e("__extends",sn),e("__assign",cn),e("__rest",un),e("__decorate",fn),e("__param",pn),e("__metadata",ln),e("__awaiter",mn),e("__generator",dn),e("__exportStar",hn),e("__createBinding",Rt),e("__values",kt),e("__read",Sr),e("__spread",bn),e("__spreadArrays",vn),e("__spreadArray",gn),e("__await",Je),e("__asyncGenerator",yn),e("__asyncDelegator",xn),e("__asyncValues",wn),e("__makeTemplateObject",Sn),e("__importStar",En),e("__importDefault",On),e("__classPrivateFieldGet",Tn),e("__classPrivateFieldSet",_n)})});var Yr=vt((Mt,Qr)=>{(function(t,n){typeof Mt=="object"&&typeof Qr=="object"?Qr.exports=n():typeof define=="function"&&define.amd?define([],n):typeof Mt=="object"?Mt.ClipboardJS=n():t.ClipboardJS=n()})(Mt,function(){return function(){var e={134:function(r,o,i){"use strict";i.d(o,{default:function(){return Xi}});var a=i(279),u=i.n(a),s=i(370),c=i.n(s),f=i(817),p=i.n(f);function l(R){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?l=function(v){return typeof v}:l=function(v){return v&&typeof Symbol=="function"&&v.constructor===Symbol&&v!==Symbol.prototype?"symbol":typeof v},l(R)}function d(R,x){if(!(R instanceof x))throw new TypeError("Cannot call a class as a function")}function h(R,x){for(var v=0;v0&&arguments[0]!==void 0?arguments[0]:{};this.action=v.action,this.container=v.container,this.emitter=v.emitter,this.target=v.target,this.text=v.text,this.trigger=v.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"createFakeElement",value:function(){var v=document.documentElement.getAttribute("dir")==="rtl";this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[v?"right":"left"]="-9999px";var U=window.pageYOffset||document.documentElement.scrollTop;return this.fakeElem.style.top="".concat(U,"px"),this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.fakeElem}},{key:"selectFake",value:function(){var v=this,U=this.createFakeElement();this.fakeHandlerCallback=function(){return v.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.container.appendChild(U),this.selectedText=p()(U),this.copyText(),this.removeFake()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=p()(this.target),this.copyText()}},{key:"copyText",value:function(){var v;try{v=document.execCommand(this.action)}catch(U){v=!1}this.handleResult(v)}},{key:"handleResult",value:function(v){this.emitter.emit(v?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),document.activeElement.blur(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"copy";if(this._action=v,this._action!=="copy"&&this._action!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(v){if(v!==void 0)if(v&&l(v)==="object"&&v.nodeType===1){if(this.action==="copy"&&v.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(this.action==="cut"&&(v.hasAttribute("readonly")||v.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`);this._target=v}else throw new Error('Invalid "target" value, use a valid Element')},get:function(){return this._target}}]),R}(),B=j;function $(R){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?$=function(v){return typeof v}:$=function(v){return v&&typeof Symbol=="function"&&v.constructor===Symbol&&v!==Symbol.prototype?"symbol":typeof v},$(R)}function M(R,x){if(!(R instanceof x))throw new TypeError("Cannot call a class as a function")}function He(R,x){for(var v=0;v0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof K.action=="function"?K.action:this.defaultAction,this.target=typeof K.target=="function"?K.target:this.defaultTarget,this.text=typeof K.text=="function"?K.text:this.defaultText,this.container=$(K.container)==="object"?K.container:document.body}},{key:"listenClick",value:function(K){var ie=this;this.listener=c()(K,"click",function(bt){return ie.onClick(bt)})}},{key:"onClick",value:function(K){var ie=K.delegateTarget||K.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new B({action:this.action(ie),target:this.target(ie),text:this.text(ie),container:this.container,trigger:ie,emitter:this})}},{key:"defaultAction",value:function(K){return gr("action",K)}},{key:"defaultTarget",value:function(K){var ie=gr("target",K);if(ie)return document.querySelector(ie)}},{key:"defaultText",value:function(K){return gr("text",K)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],ie=typeof K=="string"?[K]:K,bt=!!document.queryCommandSupported;return ie.forEach(function(Zi){bt=bt&&!!document.queryCommandSupported(Zi)}),bt}}]),v}(u()),Xi=Ji},828:function(r){var o=9;if(typeof Element!="undefined"&&!Element.prototype.matches){var i=Element.prototype;i.matches=i.matchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.webkitMatchesSelector}function a(u,s){for(;u&&u.nodeType!==o;){if(typeof u.matches=="function"&&u.matches(s))return u;u=u.parentNode}}r.exports=a},438:function(r,o,i){var a=i(828);function u(f,p,l,d,h){var b=c.apply(this,arguments);return f.addEventListener(l,b,h),{destroy:function(){f.removeEventListener(l,b,h)}}}function s(f,p,l,d,h){return typeof f.addEventListener=="function"?u.apply(null,arguments):typeof l=="function"?u.bind(null,document).apply(null,arguments):(typeof f=="string"&&(f=document.querySelectorAll(f)),Array.prototype.map.call(f,function(b){return u(b,p,l,d,h)}))}function c(f,p,l,d){return function(h){h.delegateTarget=a(h.target,p),h.delegateTarget&&d.call(f,h)}}r.exports=s},879:function(r,o){o.node=function(i){return i!==void 0&&i instanceof HTMLElement&&i.nodeType===1},o.nodeList=function(i){var a=Object.prototype.toString.call(i);return i!==void 0&&(a==="[object NodeList]"||a==="[object HTMLCollection]")&&"length"in i&&(i.length===0||o.node(i[0]))},o.string=function(i){return typeof i=="string"||i instanceof String},o.fn=function(i){var a=Object.prototype.toString.call(i);return a==="[object Function]"}},370:function(r,o,i){var a=i(879),u=i(438);function s(l,d,h){if(!l&&!d&&!h)throw new Error("Missing required arguments");if(!a.string(d))throw new TypeError("Second argument must be a String");if(!a.fn(h))throw new TypeError("Third argument must be a Function");if(a.node(l))return c(l,d,h);if(a.nodeList(l))return f(l,d,h);if(a.string(l))return p(l,d,h);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function c(l,d,h){return l.addEventListener(d,h),{destroy:function(){l.removeEventListener(d,h)}}}function f(l,d,h){return Array.prototype.forEach.call(l,function(b){b.addEventListener(d,h)}),{destroy:function(){Array.prototype.forEach.call(l,function(b){b.removeEventListener(d,h)})}}}function p(l,d,h){return u(document.body,l,d,h)}r.exports=s},817:function(r){function o(i){var a;if(i.nodeName==="SELECT")i.focus(),a=i.value;else if(i.nodeName==="INPUT"||i.nodeName==="TEXTAREA"){var u=i.hasAttribute("readonly");u||i.setAttribute("readonly",""),i.select(),i.setSelectionRange(0,i.value.length),u||i.removeAttribute("readonly"),a=i.value}else{i.hasAttribute("contenteditable")&&i.focus();var s=window.getSelection(),c=document.createRange();c.selectNodeContents(i),s.removeAllRanges(),s.addRange(c),a=s.toString()}return a}r.exports=o},279:function(r){function o(){}o.prototype={on:function(i,a,u){var s=this.e||(this.e={});return(s[i]||(s[i]=[])).push({fn:a,ctx:u}),this},once:function(i,a,u){var s=this;function c(){s.off(i,c),a.apply(u,arguments)}return c._=a,this.on(i,c,u)},emit:function(i){var a=[].slice.call(arguments,1),u=((this.e||(this.e={}))[i]||[]).slice(),s=0,c=u.length;for(s;s{"use strict";var gs=/["'&<>]/;gi.exports=ys;function ys(e){var t=""+e,n=gs.exec(t);if(!n)return t;var r,o="",i=0,a=0;for(i=n.index;i0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(n){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,n)},t.prototype._subscribe=function(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)},t.prototype._innerSubscribe=function(n){var r=this,o=r.hasError,i=r.isStopped,a=r.observers;return o||i?Er:(a.push(n),new Le(function(){return Ie(a,n)}))},t.prototype._checkFinalizedStatuses=function(n){var r=this,o=r.hasError,i=r.thrownError,a=r.isStopped;o?n.error(i):a&&n.complete()},t.prototype.asObservable=function(){var n=new I;return n.source=this,n},t.create=function(n,r){return new Dn(n,r)},t}(I);var Dn=function(e){te(t,e);function t(n,r){var o=e.call(this)||this;return o.destination=n,o.source=r,o}return t.prototype.next=function(n){var r,o;(o=(r=this.destination)===null||r===void 0?void 0:r.next)===null||o===void 0||o.call(r,n)},t.prototype.error=function(n){var r,o;(o=(r=this.destination)===null||r===void 0?void 0:r.error)===null||o===void 0||o.call(r,n)},t.prototype.complete=function(){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||r===void 0||r.call(n)},t.prototype._subscribe=function(n){var r,o;return(o=(r=this.source)===null||r===void 0?void 0:r.subscribe(n))!==null&&o!==void 0?o:Er},t}(w);var yt={now:function(){return(yt.delegate||Date).now()},delegate:void 0};var xt=function(e){te(t,e);function t(n,r,o){n===void 0&&(n=1/0),r===void 0&&(r=1/0),o===void 0&&(o=yt);var i=e.call(this)||this;return i._bufferSize=n,i._windowTime=r,i._timestampProvider=o,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=r===1/0,i._bufferSize=Math.max(1,n),i._windowTime=Math.max(1,r),i}return t.prototype.next=function(n){var r=this,o=r.isStopped,i=r._buffer,a=r._infiniteTimeWindow,u=r._timestampProvider,s=r._windowTime;o||(i.push(n),!a&&i.push(u.now()+s)),this._trimBuffer(),e.prototype.next.call(this,n)},t.prototype._subscribe=function(n){this._throwIfClosed(),this._trimBuffer();for(var r=this._innerSubscribe(n),o=this,i=o._infiniteTimeWindow,a=o._buffer,u=a.slice(),s=0;s0?e.prototype.requestAsyncId.call(this,n,r,o):(n.actions.push(this),n._scheduled||(n._scheduled=rt.requestAnimationFrame(function(){return n.flush(void 0)})))},t.prototype.recycleAsyncId=function(n,r,o){if(o===void 0&&(o=0),o!=null&&o>0||o==null&&this.delay>0)return e.prototype.recycleAsyncId.call(this,n,r,o);n.actions.some(function(i){return i.id===r})||(rt.cancelAnimationFrame(r),n._scheduled=void 0)},t}(Wt);var Nn=function(e){te(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.flush=function(n){this._active=!0;var r=this._scheduled;this._scheduled=void 0;var o=this.actions,i;n=n||o.shift();do if(i=n.execute(n.state,n.delay))break;while((n=o[0])&&n.id===r&&o.shift());if(this._active=!1,i){for(;(n=o[0])&&n.id===r&&o.shift();)n.unsubscribe();throw i}},t}(Dt);var ve=new Nn(zn);var D=new I(function(e){return e.complete()});function Vt(e){return e&&_(e.schedule)}function Ar(e){return e[e.length-1]}function Ue(e){return _(Ar(e))?e.pop():void 0}function xe(e){return Vt(Ar(e))?e.pop():void 0}function zt(e,t){return typeof Ar(e)=="number"?e.pop():t}var nt=function(e){return e&&typeof e.length=="number"&&typeof e!="function"};function Nt(e){return _(e==null?void 0:e.then)}function qt(e){return _(e[tt])}function Kt(e){return Symbol.asyncIterator&&_(e==null?void 0:e[Symbol.asyncIterator])}function Qt(e){return new TypeError("You provided "+(e!==null&&typeof e=="object"?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function fa(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Yt=fa();function Bt(e){return _(e==null?void 0:e[Yt])}function Gt(e){return Cn(this,arguments,function(){var n,r,o,i;return Pt(this,function(a){switch(a.label){case 0:n=e.getReader(),a.label=1;case 1:a.trys.push([1,,9,10]),a.label=2;case 2:return[4,It(n.read())];case 3:return r=a.sent(),o=r.value,i=r.done,i?[4,It(void 0)]:[3,5];case 4:return[2,a.sent()];case 5:return[4,It(o)];case 6:return[4,a.sent()];case 7:return a.sent(),[3,2];case 8:return[3,10];case 9:return n.releaseLock(),[7];case 10:return[2]}})})}function Jt(e){return _(e==null?void 0:e.getReader)}function z(e){if(e instanceof I)return e;if(e!=null){if(qt(e))return pa(e);if(nt(e))return la(e);if(Nt(e))return ma(e);if(Kt(e))return qn(e);if(Bt(e))return da(e);if(Jt(e))return ha(e)}throw Qt(e)}function pa(e){return new I(function(t){var n=e[tt]();if(_(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function la(e){return new I(function(t){for(var n=0;n=2,!0))}function pe(e){e===void 0&&(e={});var t=e.connector,n=t===void 0?function(){return new w}:t,r=e.resetOnError,o=r===void 0?!0:r,i=e.resetOnComplete,a=i===void 0?!0:i,u=e.resetOnRefCountZero,s=u===void 0?!0:u;return function(c){var f=null,p=null,l=null,d=0,h=!1,b=!1,j=function(){p==null||p.unsubscribe(),p=null},B=function(){j(),f=l=null,h=b=!1},$=function(){var M=f;B(),M==null||M.unsubscribe()};return y(function(M,He){d++,!b&&!h&&j();var Pe=l=l!=null?l:n();He.add(function(){d--,d===0&&!b&&!h&&(p=Fr($,s))}),Pe.subscribe(He),f||(f=new et({next:function(Be){return Pe.next(Be)},error:function(Be){b=!0,j(),p=Fr(B,o,Be),Pe.error(Be)},complete:function(){h=!0,j(),p=Fr(B,a),Pe.complete()}}),ae(M).subscribe(f))})(c)}}function Fr(e,t){for(var n=[],r=2;re.next(document)),e}function q(e,t=document){return Array.from(t.querySelectorAll(e))}function V(e,t=document){let n=ce(e,t);if(typeof n=="undefined")throw new ReferenceError(`Missing element: expected "${e}" to be present`);return n}function ce(e,t=document){return t.querySelector(e)||void 0}function Ce(){return document.activeElement instanceof HTMLElement&&document.activeElement||void 0}function tr(e){return k(g(document.body,"focusin"),g(document.body,"focusout")).pipe(Fe(1),m(()=>{let t=Ce();return typeof t!="undefined"?e.contains(t):!1}),N(e===Ce()),Y())}function Ve(e){return{x:e.offsetLeft,y:e.offsetTop}}function po(e){return k(g(window,"load"),g(window,"resize")).pipe(Te(0,ve),m(()=>Ve(e)),N(Ve(e)))}function lo(e){return{x:e.scrollLeft,y:e.scrollTop}}function rr(e){return k(g(e,"scroll"),g(window,"resize")).pipe(Te(0,ve),m(()=>lo(e)),N(lo(e)))}var mo=function(){if(typeof Map!="undefined")return Map;function e(t,n){var r=-1;return t.some(function(o,i){return o[0]===n?(r=i,!0):!1}),r}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(n){var r=e(this.__entries__,n),o=this.__entries__[r];return o&&o[1]},t.prototype.set=function(n,r){var o=e(this.__entries__,n);~o?this.__entries__[o][1]=r:this.__entries__.push([n,r])},t.prototype.delete=function(n){var r=this.__entries__,o=e(r,n);~o&&r.splice(o,1)},t.prototype.has=function(n){return!!~e(this.__entries__,n)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(n,r){r===void 0&&(r=null);for(var o=0,i=this.__entries__;o0},e.prototype.connect_=function(){!Vr||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Fa?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!Vr||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var n=t.propertyName,r=n===void 0?"":n,o=$a.some(function(i){return!!~r.indexOf(i)});o&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),ho=function(e,t){for(var n=0,r=Object.keys(t);n0},e}(),go=typeof WeakMap!="undefined"?new WeakMap:new mo,yo=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=ja.getInstance(),r=new Ya(t,n,this);go.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach(function(e){yo.prototype[e]=function(){var t;return(t=go.get(this))[e].apply(t,arguments)}});var Ba=function(){return typeof nr.ResizeObserver!="undefined"?nr.ResizeObserver:yo}(),xo=Ba;var wo=new w,Ga=H(()=>C(new xo(e=>{for(let t of e)wo.next(t)}))).pipe(O(e=>k(we,C(e)).pipe(L(()=>e.disconnect()))),X(1));function me(e){return{width:e.offsetWidth,height:e.offsetHeight}}function ye(e){return Ga.pipe(S(t=>t.observe(e)),O(t=>wo.pipe(T(({target:n})=>n===e),L(()=>t.unobserve(e)),m(()=>me(e)))),N(me(e)))}function _t(e){return{width:e.scrollWidth,height:e.scrollHeight}}function So(e){let t=e.parentElement;for(;t&&t!==e.offsetParent;){let n=me(t);if(_t(t).height>n.height)return t;t=t.parentElement}}var Ja=new w,hv=H(()=>C(new IntersectionObserver(e=>{for(let t of e)Ja.next(t)},{threshold:1}))).pipe(O(e=>k(we,C(e)).pipe(L(()=>e.disconnect()))),X(1));function Eo(e,t=16){return rr(e).pipe(m(({y:n})=>{let r=me(e),o=_t(e);return n>=o.height-r.height-t}),Y())}var ar={drawer:V("[data-md-toggle=drawer]"),search:V("[data-md-toggle=search]")};function Oo(e){return ar[e].checked}function ze(e,t){ar[e].checked!==t&&ar[e].click()}function sr(e){let t=ar[e];return g(t,"change").pipe(m(()=>t.checked),N(t.checked))}function Xa(e,t){switch(e.constructor){case HTMLInputElement:return e.type==="radio"?/^Arrow/.test(t):!0;case HTMLSelectElement:case HTMLTextAreaElement:return!0;default:return e.isContentEditable}}function To(){return g(window,"keydown").pipe(T(e=>!(e.metaKey||e.ctrlKey)),m(e=>({mode:Oo("search")?"search":"global",type:e.key,claim(){e.preventDefault(),e.stopPropagation()}})),T(({mode:e,type:t})=>{if(e==="global"){let n=Ce();if(typeof n!="undefined")return!Xa(n,t)}return!0}),pe())}function Se(){return new URL(location.href)}function cr(e){location.href=e.href}function _o(){return new w}function Mo(e,t){if(typeof t=="string"||typeof t=="number")e.innerHTML+=t.toString();else if(t instanceof Node)e.appendChild(t);else if(Array.isArray(t))for(let n of t)Mo(e,n)}function A(e,t,...n){let r=document.createElement(e);if(t)for(let o of Object.keys(t))typeof t[o]!="undefined"&&(typeof t[o]!="boolean"?r.setAttribute(o,t[o]):r.setAttribute(o,""));for(let o of n)Mo(r,o);return r}function ur(e){if(e>999){let t=+((e-950)%1e3>99);return`${((e+1e-6)/1e3).toFixed(t)}k`}else return e.toString()}function zr(e,t,n){t=new RegExp(t,"g");let r,o=0;do{r=t.exec(e);let i=r?r.index:e.length;if(on.stopPropagation()),t.click()}function Za(){return g(window,"hashchange").pipe(m(Lo),N(Lo()),T(e=>e.length>0),X(1))}function Co(){return Za().pipe(m(e=>ce(`[id="${e}"]`)),T(e=>typeof e!="undefined"))}function Nr(e){let t=matchMedia(e);return er(n=>t.addListener(()=>n(t.matches))).pipe(N(t.matches))}function ko(){let e=matchMedia("print");return k(g(window,"beforeprint").pipe(J(!0)),g(window,"afterprint").pipe(J(!1))).pipe(N(e.matches))}function qr(e,t){return e.pipe(O(n=>n?t():D))}function pt(e,t={credentials:"same-origin"}){return ae(fetch(`${e}`,t)).pipe(T(n=>n.status===200),De(()=>D))}function ke(e,t){return pt(e,t).pipe(O(n=>n.json()),X(1))}function Ro(e,t){let n=new DOMParser;return pt(e,t).pipe(O(r=>r.text()),m(r=>n.parseFromString(r,"text/xml")),X(1))}function Ho(e){let t=A("script",{src:e});return H(()=>(document.head.appendChild(t),k(g(t,"load"),g(t,"error").pipe(O(()=>Cr(()=>new ReferenceError(`Invalid script: ${e}`))))).pipe(J(void 0),L(()=>document.head.removeChild(t)),se(1))))}function Po(){return{x:Math.max(0,scrollX),y:Math.max(0,scrollY)}}function Io(){return k(g(window,"scroll",{passive:!0}),g(window,"resize",{passive:!0})).pipe(m(Po),N(Po()))}function $o(){return{width:innerWidth,height:innerHeight}}function Fo(){return g(window,"resize",{passive:!0}).pipe(m($o),N($o()))}function jo(){return Q([Io(),Fo()]).pipe(m(([e,t])=>({offset:e,size:t})),X(1))}function fr(e,{viewport$:t,header$:n}){let r=t.pipe(G("size")),o=Q([r,n]).pipe(m(()=>Ve(e)));return Q([n,t,o]).pipe(m(([{height:i},{offset:a,size:u},{x:s,y:c}])=>({offset:{x:a.x-s,y:a.y-c+i},size:u})))}function Uo(e,{tx$:t}){let n=g(e,"message").pipe(m(({data:r})=>r));return t.pipe(Tt(()=>n,{leading:!0,trailing:!0}),S(r=>e.postMessage(r)),Ot(n),pe())}var es=V("#__config"),lt=JSON.parse(es.textContent);lt.base=`${new URL(lt.base,Se())}`;function de(){return lt}function Z(e){return lt.features.includes(e)}function ee(e,t){return typeof t!="undefined"?lt.translations[e].replace("#",t.toString()):lt.translations[e]}function Re(e,t=document){return V(`[data-md-component=${e}]`,t)}function re(e,t=document){return q(`[data-md-component=${e}]`,t)}function ts(e){let t=V(".md-typeset > :first-child",e);return g(t,"click",{once:!0}).pipe(J(V(".md-typeset",e)),m(n=>({hash:__md_hash(n.innerHTML)})))}function Wo(e){return!Z("announce.dismiss")||!e.childElementCount?D:H(()=>{let t=new w;return t.pipe(N({hash:__md_get("__announce")})).subscribe(({hash:n})=>{var r;n&&n===((r=__md_get("__announce"))!=null?r:n)&&(e.hidden=!0,__md_set("__announce",n))}),ts(e).pipe(S(n=>t.next(n)),L(()=>t.complete()),m(n=>P({ref:e},n)))})}function rs(e,{target$:t}){return t.pipe(m(n=>({hidden:n!==e})))}function Do(e,t){let n=new w;return n.subscribe(({hidden:r})=>{e.hidden=r}),rs(e,t).pipe(S(r=>n.next(r)),L(()=>n.complete()),m(r=>P({ref:e},r)))}function ns(e,t){let n=H(()=>Q([po(e),rr(t)])).pipe(m(([{x:r,y:o},i])=>{let{width:a,height:u}=me(e);return{x:r-i.x+a/2,y:o-i.y+u/2}}));return tr(e).pipe(O(r=>n.pipe(m(o=>({active:r,offset:o})),se(+!r||1/0))))}function Vo(e,t,{target$:n}){let[r,o]=Array.from(e.children);return H(()=>{let i=new w;return i.subscribe({next({offset:a}){e.style.setProperty("--md-tooltip-x",`${a.x}px`),e.style.setProperty("--md-tooltip-y",`${a.y}px`)},complete(){e.style.removeProperty("--md-tooltip-x"),e.style.removeProperty("--md-tooltip-y")}}),k(i.pipe(T(({active:a})=>a)),i.pipe(Fe(250),T(({active:a})=>!a))).subscribe({next({active:a}){a?e.prepend(r):r.remove()},complete(){e.prepend(r)}}),i.pipe(Te(0,ve)).subscribe(({active:a})=>{r.classList.toggle("md-tooltip--active",a)}),i.pipe(Wr(500,ve),T(()=>!!e.offsetParent),m(()=>e.offsetParent.getBoundingClientRect()),m(({x:a})=>a)).subscribe({next(a){a?e.style.setProperty("--md-tooltip-0",`${-a}px`):e.style.removeProperty("--md-tooltip-0")},complete(){e.style.removeProperty("--md-tooltip-0")}}),g(o,"click").pipe(oe(i.pipe(ne(1))),T(a=>!(a.metaKey||a.ctrlKey))).subscribe(a=>a.preventDefault()),g(o,"mousedown").pipe(oe(i.pipe(ne(1))),ge(i)).subscribe(([a,{active:u}])=>{var s;if(a.button!==0||a.metaKey||a.ctrlKey)a.preventDefault();else if(u){a.preventDefault();let c=e.parentElement.closest(".md-annotation");c instanceof HTMLElement?c.focus():(s=Ce())==null||s.blur()}}),n.pipe(oe(i.pipe(ne(1))),T(a=>a===r),Me(125)).subscribe(()=>e.focus()),ns(e,t).pipe(S(a=>i.next(a)),L(()=>i.complete()),m(a=>P({ref:e},a)))})}function zo(e){return A("div",{class:"md-tooltip",id:e},A("div",{class:"md-tooltip__inner md-typeset"}))}function No(e,t){t=t?`${t}_annotation_${e}`:void 0;let n=t?`#${t}`:void 0;return A("aside",{class:"md-annotation",tabIndex:0},zo(t),A("a",{href:n,class:"md-annotation__index",tabIndex:-1},A("span",{"data-md-annotation-id":e})))}function qo(e){return A("button",{class:"md-clipboard md-icon",title:ee("clipboard.copy"),"data-clipboard-target":`#${e} > code`})}function Kr(e,t){let n=t&2,r=t&1,o=Object.keys(e.terms).filter(a=>!e.terms[a]).reduce((a,u)=>[...a,A("del",null,u)," "],[]).slice(0,-1),i=new URL(e.location);return Z("search.highlight")&&i.searchParams.set("h",Object.entries(e.terms).filter(([,a])=>a).reduce((a,[u])=>`${a} ${u}`.trim(),"")),A("a",{href:`${i}`,class:"md-search-result__link",tabIndex:-1},A("article",{class:"md-search-result__article md-typeset","data-md-score":e.score.toFixed(2)},n>0&&A("div",{class:"md-search-result__icon md-icon"}),n>0&&A("h1",null,e.title),n<=0&&A("h2",null,e.title),r>0&&e.text.length>0&&e.text,e.tags&&e.tags.map(a=>A("span",{class:"md-tag"},a)),r>0&&o.length>0&&A("p",{class:"md-search-result__terms"},ee("search.result.term.missing"),": ",o)))}function Ko(e){let t=e[0].score,n=[...e],r=n.findIndex(c=>!c.location.includes("#")),[o]=n.splice(r,1),i=n.findIndex(c=>c.scoreKr(c,1)),...u.length?[A("details",{class:"md-search-result__more"},A("summary",{tabIndex:-1},A("div",null,u.length>0&&u.length===1?ee("search.result.more.one"):ee("search.result.more.other",u.length))),u.map(c=>Kr(c,1)))]:[]];return A("li",{class:"md-search-result__item"},s)}function Qo(e){return A("ul",{class:"md-source__facts"},Object.entries(e).map(([t,n])=>A("li",{class:`md-source__fact md-source__fact--${t}`},typeof n=="number"?ur(n):n)))}function Yo(e){return A("div",{class:"md-typeset__scrollwrap"},A("div",{class:"md-typeset__table"},e))}function os(e){let t=de(),n=new URL(`../${e.version}/`,t.base);return A("li",{class:"md-version__item"},A("a",{href:`${n}`,class:"md-version__link"},e.title))}function Bo(e,t){return A("div",{class:"md-version"},A("button",{class:"md-version__current","aria-label":ee("select.version.title")},t.title),A("ul",{class:"md-version__list"},e.map(os)))}function is(e){let t=[];for(let n of e.tagName==="CODE"?q(".c, .c1, .cm",e):[e]){let r=[],o=document.createNodeIterator(n,NodeFilter.SHOW_TEXT);for(let i=o.nextNode();i;i=o.nextNode())r.push(i);for(let i of r){let a;for(;a=/(\(\d+\))(!)?/.exec(i.textContent);){let[,u,s]=a;if(typeof s=="undefined"){let c=i.splitText(a.index);i=c.splitText(u.length),t.push(c)}else{i.textContent=u,t.push(i);break}}}}return t}function Go(e,t){t.append(...Array.from(e.childNodes))}function pr(e,t,{target$:n,print$:r}){let o=t.closest("[id]"),i=o==null?void 0:o.id,a=new Map;for(let u of is(t)){let[,s]=u.textContent.match(/\((\d+)\)/);ce(`li:nth-child(${s})`,e)&&(a.set(s,No(s,i)),u.replaceWith(a.get(s)))}return a.size===0?D:H(()=>{let u=new w,s=[];for(let[c,f]of a)s.push([V(".md-typeset",f),V(`li:nth-child(${c})`,e)]);return r.pipe(oe(u.pipe(ne(1)))).subscribe(c=>{e.hidden=!c;for(let[f,p]of s)c?Go(f,p):Go(p,f)}),k(...[...a].map(([,c])=>Vo(c,t,{target$:n}))).pipe(L(()=>u.complete()),pe())})}function Jo(e){if(e.nextElementSibling){let t=e.nextElementSibling;if(t.tagName==="OL")return t;if(t.tagName==="P"&&!t.children.length)return Jo(t)}}function Xo(e,t){return H(()=>{let n=Jo(e);return typeof n!="undefined"?pr(n,e,t):D})}var Zo=Ge(Yr());var as=0;function ei(e){if(e.nextElementSibling){let t=e.nextElementSibling;if(t.tagName==="OL")return t;if(t.tagName==="P"&&!t.children.length)return ei(t)}}function ti(e){return ye(e).pipe(m(({width:t})=>({scrollable:_t(e).width>t})),G("scrollable"))}function ri(e,t){let{matches:n}=matchMedia("(hover)");return H(()=>{let r=new w;if(r.subscribe(({scrollable:i})=>{i&&n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}),Zo.default.isSupported()){let i=e.closest("pre");i.id=`__code_${++as}`,i.insertBefore(qo(i.id),e)}let o=e.closest([":not(td):not(.code) > .highlight",".highlighttable"].join(", "));if(o instanceof HTMLElement){let i=ei(o);if(typeof i!="undefined"&&(o.classList.contains("annotate")||Z("content.code.annotate"))){let a=pr(i,e,t);return ti(e).pipe(S(u=>r.next(u)),L(()=>r.complete()),m(u=>P({ref:e},u)),Ye(ye(o).pipe(oe(r.pipe(ne(1))),m(({width:u,height:s})=>u&&s),Y(),O(u=>u?a:D))))}}return ti(e).pipe(S(i=>r.next(i)),L(()=>r.complete()),m(i=>P({ref:e},i)))})}var Br,ss=0;function cs(){return typeof mermaid!="undefined"?C(void 0):Ho("https://unpkg.com/mermaid@8.13.3/dist/mermaid.min.js")}function us(){let e=V("[rel=preload][href*=mermaid]");return pt(e.href).pipe(O(t=>t.text()))}function ni(e){return e.classList.remove("mermaid"),Br||(Br=Qe([cs(),us()]).pipe(S(([,t])=>mermaid.initialize({startOnLoad:!1,themeCSS:t})),J(void 0),X(1))),Br.subscribe(()=>{e.classList.add("mermaid");let t=`__mermaid_${ss++}`,n=A("div",{class:"mermaid"});mermaid.mermaidAPI.render(t,e.innerText,r=>{let o=n.attachShadow({mode:"closed"});o.innerHTML=r,e.replaceWith(n)})}),Br.pipe(J({ref:e}))}function fs(e,{target$:t,print$:n}){let r=!0;return k(t.pipe(m(o=>o.closest("details:not([open])")),T(o=>e===o),J({action:"open",reveal:!0})),n.pipe(T(o=>o||!r),S(()=>r=e.open),m(o=>({action:o?"open":"close"}))))}function oi(e,t){return H(()=>{let n=new w;return n.subscribe(({action:r,reveal:o})=>{r==="open"?e.setAttribute("open",""):e.removeAttribute("open"),o&&e.scrollIntoView()}),fs(e,t).pipe(S(r=>n.next(r)),L(()=>n.complete()),m(r=>P({ref:e},r)))})}var ii=A("table");function ai(e){return e.replaceWith(ii),ii.replaceWith(Yo(e)),C({ref:e})}function ps(e){let t=q(":scope > input",e),n=t.find(r=>r.checked);return k(...t.map(r=>g(r,"change").pipe(J({active:V(`label[for=${r.id}]`)})))).pipe(N({active:V(`label[for=${n.id}]`)}))}function si(e){let t=V(".tabbed-labels",e);return H(()=>{let n=new w;return Q([n,ye(e)]).pipe(Te(1,ve),oe(n.pipe(ne(1)))).subscribe({next([{active:r}]){let o=Ve(r),{width:i}=me(r);e.style.setProperty("--md-indicator-x",`${o.x}px`),e.style.setProperty("--md-indicator-width",`${i}px`),t.scrollTo({behavior:"smooth",left:o.x})},complete(){e.style.removeProperty("--md-indicator-x"),e.style.removeProperty("--md-indicator-width")}}),Z("content.tabs.link")&&n.pipe(ut(1)).subscribe(({active:r})=>{let o=r.innerText.trim();for(let a of q("[data-tabs]"))for(let u of q(":scope > input",a))if(V(`label[for=${u.id}]`).innerText.trim()===o){u.click();break}let i=__md_get("__tabs")||[];__md_set("__tabs",[...new Set([o,...i])])}),ps(e).pipe(S(r=>n.next(r)),L(()=>n.complete()),m(r=>P({ref:e},r)))})}function ci(e,{target$:t,print$:n}){return k(...q(".annotate:not(.highlight, .highlighttable)",e).map(r=>Xo(r,{target$:t,print$:n})),...q("pre:not(.mermaid) > code",e).map(r=>ri(r,{target$:t,print$:n})),...q("pre.mermaid",e).map(r=>ni(r)),...q("table:not([class])",e).map(r=>ai(r)),...q("details",e).map(r=>oi(r,{target$:t,print$:n})),...q("[data-tabs]",e).map(r=>si(r)))}function ls(e,{alert$:t}){return t.pipe(O(n=>k(C(!0),C(!1).pipe(Me(2e3))).pipe(m(r=>({message:n,active:r})))))}function ui(e,t){let n=V(".md-typeset",e);return H(()=>{let r=new w;return r.subscribe(({message:o,active:i})=>{e.classList.toggle("md-dialog--active",i),n.textContent=o}),ls(e,t).pipe(S(o=>r.next(o)),L(()=>r.complete()),m(o=>P({ref:e},o)))})}function ms({viewport$:e}){if(!Z("header.autohide"))return C(!1);let t=e.pipe(m(({offset:{y:o}})=>o),_e(2,1),m(([o,i])=>[oMath.abs(i-o.y)>100),m(([,[o]])=>o),Y()),r=sr("search");return Q([e,r]).pipe(m(([{offset:o},i])=>o.y>400&&!i),Y(),O(o=>o?n:C(!1)),N(!1))}function fi(e,t){return H(()=>{let n=getComputedStyle(e);return C(n.position==="sticky"||n.position==="-webkit-sticky")}).pipe(st(ye(e),ms(t)),m(([n,{height:r},o])=>({height:n?r:0,sticky:n,hidden:o})),Y((n,r)=>n.sticky===r.sticky&&n.height===r.height&&n.hidden===r.hidden),X(1))}function pi(e,{header$:t,main$:n}){return H(()=>{let r=new w;return r.pipe(G("active"),st(t)).subscribe(([{active:o},{hidden:i}])=>{e.classList.toggle("md-header--hidden",i),e.classList.toggle("md-header--shadow",o&&!i)}),n.subscribe(r),t.pipe(oe(r.pipe(ne(1))),m(o=>P({ref:e},o)))})}function ds(e,{viewport$:t,header$:n}){return fr(e,{viewport$:t,header$:n}).pipe(m(({offset:{y:r}})=>{let{height:o}=me(e);return{active:r>=o}}),G("active"))}function li(e,t){return H(()=>{let n=new w;n.subscribe(({active:o})=>{e.classList.toggle("md-header__title--active",o)});let r=ce("article h1");return typeof r=="undefined"?D:ds(r,t).pipe(S(o=>n.next(o)),L(()=>n.complete()),m(o=>P({ref:e},o)))})}function mi(e,{viewport$:t,header$:n}){let r=n.pipe(m(({height:i})=>i),Y()),o=r.pipe(O(()=>ye(e).pipe(m(({height:i})=>({top:e.offsetTop,bottom:e.offsetTop+i})),G("bottom"))));return Q([r,o,t]).pipe(m(([i,{top:a,bottom:u},{offset:{y:s},size:{height:c}}])=>(c=Math.max(0,c-Math.max(0,a-s,i)-Math.max(0,c+s-u)),{offset:a-i,height:c,active:a-i<=s})),Y((i,a)=>i.offset===a.offset&&i.height===a.height&&i.active===a.active))}function hs(e){let t=__md_get("__palette")||{index:e.findIndex(n=>matchMedia(n.getAttribute("data-md-color-media")).matches)};return C(...e).pipe(fe(n=>g(n,"change").pipe(J(n))),N(e[Math.max(0,t.index)]),m(n=>({index:e.indexOf(n),color:{scheme:n.getAttribute("data-md-color-scheme"),primary:n.getAttribute("data-md-color-primary"),accent:n.getAttribute("data-md-color-accent")}})),X(1))}function di(e){return H(()=>{let t=new w;t.subscribe(r=>{for(let[o,i]of Object.entries(r.color))document.body.setAttribute(`data-md-color-${o}`,i);for(let o=0;ot.next(r)),L(()=>t.complete()),m(r=>P({ref:e},r)))})}var Gr=Ge(Yr());function bs(e){e.setAttribute("data-md-copying","");let t=e.innerText;return e.removeAttribute("data-md-copying"),t}function hi({alert$:e}){Gr.default.isSupported()&&new I(t=>{new Gr.default("[data-clipboard-target], [data-clipboard-text]",{text:n=>n.getAttribute("data-clipboard-text")||bs(V(n.getAttribute("data-clipboard-target")))}).on("success",n=>t.next(n))}).pipe(S(t=>{t.trigger.focus()}),J(ee("clipboard.copied"))).subscribe(e)}function vs(e){if(e.length<2)return[""];let[t,n]=[...e].sort((o,i)=>o.length-i.length).map(o=>o.replace(/[^/]+$/,"")),r=0;if(t===n)r=t.length;else for(;t.charCodeAt(r)===n.charCodeAt(r);)r++;return e.map(o=>o.replace(t.slice(0,r),""))}function lr(e){let t=__md_get("__sitemap",sessionStorage,e);if(t)return C(t);{let n=de();return Ro(new URL("sitemap.xml",e||n.base)).pipe(m(r=>vs(q("loc",r).map(o=>o.textContent))),je([]),S(r=>__md_set("__sitemap",r,sessionStorage,e)))}}function bi({document$:e,location$:t,viewport$:n}){let r=de();if(location.protocol==="file:")return;"scrollRestoration"in history&&(history.scrollRestoration="manual",g(window,"beforeunload").subscribe(()=>{history.scrollRestoration="auto"}));let o=ce("link[rel=icon]");typeof o!="undefined"&&(o.href=o.href);let i=lr().pipe(m(c=>c.map(f=>`${new URL(f,r.base)}`)),O(c=>g(document.body,"click").pipe(T(f=>!f.metaKey&&!f.ctrlKey),O(f=>{if(f.target instanceof Element){let p=f.target.closest("a");if(p&&!p.target){let l=new URL(p.href);if(l.search="",l.hash="",l.pathname!==location.pathname&&c.includes(l.toString()))return f.preventDefault(),C({url:new URL(p.href)})}}return we}))),pe()),a=g(window,"popstate").pipe(T(c=>c.state!==null),m(c=>({url:new URL(location.href),offset:c.state})),pe());k(i,a).pipe(Y((c,f)=>c.url.href===f.url.href),m(({url:c})=>c)).subscribe(t);let u=t.pipe(G("pathname"),O(c=>pt(c.href).pipe(De(()=>(cr(c),we)))),pe());i.pipe(ct(u)).subscribe(({url:c})=>{history.pushState({},"",`${c}`)});let s=new DOMParser;u.pipe(O(c=>c.text()),m(c=>s.parseFromString(c,"text/html"))).subscribe(e),e.pipe(ut(1)).subscribe(c=>{for(let f of["title","link[rel=canonical]","meta[name=author]","meta[name=description]","[data-md-component=announce]","[data-md-component=container]","[data-md-component=header-topic]","[data-md-component=logo]","[data-md-component=skip]",...Z("navigation.tabs.sticky")?["[data-md-component=tabs]"]:[]]){let p=ce(f),l=ce(f,c);typeof p!="undefined"&&typeof l!="undefined"&&p.replaceWith(l)}}),e.pipe(ut(1),m(()=>Re("container")),O(c=>C(...q("script",c))),Hr(c=>{let f=A("script");if(c.src){for(let p of c.getAttributeNames())f.setAttribute(p,c.getAttribute(p));return c.replaceWith(f),new I(p=>{f.onload=()=>p.complete()})}else return f.textContent=c.textContent,c.replaceWith(f),D})).subscribe(),k(i,a).pipe(ct(e)).subscribe(({url:c,offset:f})=>{c.hash&&!f?Ao(c.hash):window.scrollTo(0,(f==null?void 0:f.y)||0)}),n.pipe(Et(i),Fe(250),G("offset")).subscribe(({offset:c})=>{history.replaceState(c,"")}),k(i,a).pipe(_e(2,1),T(([c,f])=>c.url.pathname===f.url.pathname),m(([,c])=>c)).subscribe(({offset:c})=>{window.scrollTo(0,(c==null?void 0:c.y)||0)})}function vi(e,t=n=>n){return e.split(/"([^"]+)"/g).map((n,r)=>r&1?n.replace(/^\b|^(?![^\x00-\x7F]|$)|\s+/g," +"):n).join("").replace(/"|(?:^|\s+)[*+\-:^~]+(?=\s+|$)/g,"").split(/\s+/g).flatMap(t).map(n=>/^[+-]/.test(n)?n:`${n}*`).join(" ").trim()}var xi=Ge(yi());function wi(e){let t=e.separator.split("|").map(o=>o.replace(/(\(\?[!=][^)]+\))/g,"").length===0?"\uFFFD":o).join("|"),n=new RegExp(t,"img"),r=(o,i,a)=>`${i}${a}`;return o=>{o=o.replace(/[\s*+\-:~^]+/g," ").trim();let i=new RegExp(`(^|${e.separator}|\\b)(${o.replace(/[|\\{}()[\]^$+*?.-]/g,"\\$&").replace(n,"|")})`,"img");return a=>(0,xi.default)(a).replace(i,r).replace(/<\/mark>(\s+)]*>/img,"$1")}}function mt(e){return e.type===1}function Si(e){return e.type===2}function dt(e){return e.type===3}function ws({config:e,docs:t}){e.lang.length===1&&e.lang[0]==="en"&&(e.lang=[ee("search.config.lang")]),e.separator==="[\\s\\-]+"&&(e.separator=ee("search.config.separator"));let r={pipeline:ee("search.config.pipeline").split(/\s*,\s*/).filter(Boolean),suggestions:Z("search.suggest")};return{config:e,docs:t,options:r}}function Ei(e,t){let n=de(),r=new Worker(e),o=new w,i=Uo(r,{tx$:o}).pipe(m(a=>{if(dt(a))for(let u of a.data.items)for(let s of u)s.location=`${new URL(s.location,n.base)}`;return a}),pe());return ae(t).pipe(m(a=>({type:0,data:ws(a)}))).subscribe(o.next.bind(o)),{tx$:o,rx$:i}}function Oi(){let e=de(),t=ke(new URL("../versions.json",e.base)),n=t.pipe(m(r=>{let[,o]=e.base.match(/([^/]+)\/?$/);return r.find(({version:i,aliases:a})=>i===o||a.includes(o))||r[0]}));Q([t,n]).pipe(m(([r,o])=>new Map(r.filter(i=>i!==o).map(i=>[`${new URL(`../${i.version}/`,e.base)}`,i]))),O(r=>g(document.body,"click").pipe(T(o=>!o.metaKey&&!o.ctrlKey),O(o=>{if(o.target instanceof Element){let i=o.target.closest("a");if(i&&!i.target&&r.has(i.href))return o.preventDefault(),C(i.href)}return D}),O(o=>{let{version:i}=r.get(o);return lr(new URL(o)).pipe(m(a=>{let s=Se().href.replace(e.base,"");return a.includes(s)?new URL(`../${i}/${s}`,e.base):new URL(o)}))})))).subscribe(r=>cr(r)),Q([t,n]).subscribe(([r,o])=>{var a;if(V(".md-header__topic").appendChild(Bo(r,o)),__md_get("__outdated",sessionStorage)===null){let u=((a=e.version)==null?void 0:a.default)||"latest",s=!o.aliases.includes(u);if(__md_set("__outdated",s,sessionStorage),s)for(let c of re("outdated"))c.hidden=!1}})}function Ss(e,{rx$:t},{index$:n}){let r=(__search==null?void 0:__search.transform)||vi,{searchParams:o}=Se();o.has("q")&&ze("search",!0);let i=t.pipe(T(mt),se(1),m(()=>o.get("q")||""));i.subscribe(s=>{s&&(e.value=s)});let a=tr(e),u=k(g(e,"keyup"),g(e,"focus").pipe(Me(1)),i).pipe(Ot(n),m(({config:s})=>r(e.value,c=>{let f=[];return zr(c,s.separator,p=>{f.push(c.slice(...p))}),f})),Y());return Q([u,a]).pipe(m(([s,c])=>({value:s,focus:c})),X(1))}function Ti(e,{tx$:t,rx$:n},r){let o=new w;return o.pipe(G("value"),m(({value:i})=>({type:2,data:i}))).subscribe(t.next.bind(t)),o.pipe(G("focus")).subscribe(({focus:i})=>{i?(ze("search",i),e.placeholder=""):e.placeholder=ee("search.placeholder")}),g(e.form,"reset").pipe(oe(o.pipe(ne(1)))).subscribe(()=>e.focus()),Ss(e,{tx$:t,rx$:n},r).pipe(S(i=>o.next(i)),L(()=>o.complete()),m(i=>P({ref:e},i)),pe())}function _i(e,{rx$:t},{query$:n}){let r=new w,o=Eo(e.parentElement).pipe(T(Boolean)),i=V(":scope > :first-child",e),a=V(":scope > :last-child",e),u=t.pipe(T(mt),se(1));return r.pipe(ge(n),Et(u)).subscribe(([{items:c},{value:f}])=>{if(f)switch(c.length){case 0:i.textContent=ee("search.result.none");break;case 1:i.textContent=ee("search.result.one");break;default:i.textContent=ee("search.result.other",ur(c.length))}else i.textContent=ee("search.result.placeholder")}),r.pipe(S(()=>a.innerHTML=""),O(({items:c})=>k(C(...c.slice(0,10)),C(...c.slice(10)).pipe(_e(4),Dr(o),O(([f])=>C(...f))))),m(c=>{let f=Ko(c);return a.appendChild(f),ce("details",f)})).subscribe(c=>{c&&c.addEventListener("toggle",()=>{!c.open&&c.offsetTop<=e.parentElement.scrollTop&&(e.parentElement.scrollTop=c.offsetTop)})}),t.pipe(T(dt),m(({data:c})=>c)).pipe(S(c=>r.next(c)),L(()=>r.complete()),m(c=>P({ref:e},c)))}function Es(e,{query$:t}){return t.pipe(m(({value:n})=>{let r=Se();return r.hash="",r.searchParams.delete("h"),r.searchParams.set("q",n),{url:r}}))}function Mi(e,t){let n=new w;return n.subscribe(({url:r})=>{e.setAttribute("data-clipboard-text",e.href),e.href=`${r}`}),g(e,"click").subscribe(r=>r.preventDefault()),Es(e,t).pipe(S(r=>n.next(r)),L(()=>n.complete()),m(r=>P({ref:e},r)))}function Li(e,{rx$:t},{keyboard$:n}){let r=new w,o=Re("search-query"),i=k(g(o,"keydown"),g(o,"focus")).pipe($e(Ae),m(()=>o.value),Y());return r.pipe(st(i),m(([{suggestions:u},s])=>{let c=s.split(/([\s-]+)/);if((u==null?void 0:u.length)&&c[c.length-1]){let f=u[u.length-1];f.startsWith(c[c.length-1])&&(c[c.length-1]=f)}else c.length=0;return c})).subscribe(u=>e.innerHTML=u.join("").replace(/\s/g," ")),n.pipe(T(({mode:u})=>u==="search")).subscribe(u=>{switch(u.type){case"ArrowRight":e.innerText.length&&o.selectionStart===o.value.length&&(o.value=e.innerText);break}}),t.pipe(T(dt),m(({data:u})=>u)).pipe(S(u=>r.next(u)),L(()=>r.complete()),m(()=>({ref:e})))}function Ai(e,{index$:t,keyboard$:n}){let r=de();try{let o=(__search==null?void 0:__search.worker)||r.search,i=Ei(o,t),a=Re("search-query",e),u=Re("search-result",e),{tx$:s,rx$:c}=i;s.pipe(T(Si),ct(c.pipe(T(mt))),se(1)).subscribe(s.next.bind(s)),n.pipe(T(({mode:l})=>l==="search")).subscribe(l=>{let d=Ce();switch(l.type){case"Enter":if(d===a){let h=new Map;for(let b of q(":first-child [href]",u)){let j=b.firstElementChild;h.set(b,parseFloat(j.getAttribute("data-md-score")))}if(h.size){let[[b]]=[...h].sort(([,j],[,B])=>B-j);b.click()}l.claim()}break;case"Escape":case"Tab":ze("search",!1),a.blur();break;case"ArrowUp":case"ArrowDown":if(typeof d=="undefined")a.focus();else{let h=[a,...q(":not(details) > [href], summary, details[open] [href]",u)],b=Math.max(0,(Math.max(0,h.indexOf(d))+h.length+(l.type==="ArrowUp"?-1:1))%h.length);h[b].focus()}l.claim();break;default:a!==Ce()&&a.focus()}}),n.pipe(T(({mode:l})=>l==="global")).subscribe(l=>{switch(l.type){case"f":case"s":case"/":a.focus(),a.select(),l.claim();break}});let f=Ti(a,i,{index$:t}),p=_i(u,i,{query$:f});return k(f,p).pipe(Ye(...re("search-share",e).map(l=>Mi(l,{query$:f})),...re("search-suggest",e).map(l=>Li(l,i,{keyboard$:n}))))}catch(o){return e.hidden=!0,we}}function Ci(e,{index$:t,location$:n}){return Q([t,n.pipe(N(Se()),T(r=>!!r.searchParams.get("h")))]).pipe(m(([r,o])=>wi(r.config)(o.searchParams.get("h"))),m(r=>{var a;let o=new Map,i=document.createNodeIterator(e,NodeFilter.SHOW_TEXT);for(let u=i.nextNode();u;u=i.nextNode())if((a=u.parentElement)==null?void 0:a.offsetHeight){let s=u.textContent,c=r(s);c.length>s.length&&o.set(u,c)}for(let[u,s]of o){let{childNodes:c}=A("span",null,s);u.replaceWith(...Array.from(c))}return{ref:e,nodes:o}}))}function Os(e,{viewport$:t,main$:n}){let r=e.parentElement,o=r.offsetTop-r.parentElement.offsetTop;return Q([n,t]).pipe(m(([{offset:i,height:a},{offset:{y:u}}])=>(a=a+Math.min(o,Math.max(0,u-i))-o,{height:a,locked:u>=i+o})),Y((i,a)=>i.height===a.height&&i.locked===a.locked))}function Jr(e,r){var o=r,{header$:t}=o,n=rn(o,["header$"]);let i=V(".md-sidebar__scrollwrap",e),{y:a}=Ve(i);return H(()=>{let u=new w;return u.pipe(Te(0,ve),ge(t)).subscribe({next([{height:s},{height:c}]){i.style.height=`${s-2*a}px`,e.style.top=`${c}px`},complete(){i.style.height="",e.style.top=""}}),u.pipe($e(ve),se(1)).subscribe(()=>{for(let s of q(".md-nav__link--active[href]",e)){let c=So(s);if(typeof c!="undefined"){let f=s.offsetTop-c.offsetTop,{height:p}=me(c);f-p+s.offsetHeight>0&&c.scrollTo(0,f-p/2)}}}),Os(e,n).pipe(S(s=>u.next(s)),L(()=>u.complete()),m(s=>P({ref:e},s)))})}function ki(e,t){if(typeof t!="undefined"){let n=`https://api.github.com/repos/${e}/${t}`;return Qe(ke(`${n}/releases/latest`).pipe(m(r=>({version:r.tag_name})),je({})),ke(n).pipe(m(r=>({stars:r.stargazers_count,forks:r.forks_count})),je({}))).pipe(m(([r,o])=>P(P({},r),o)))}else{let n=`https://api.github.com/users/${e}`;return ke(n).pipe(m(r=>({repositories:r.public_repos})),je({}))}}function Ri(e,t){let n=`https://${e}/api/v4/projects/${encodeURIComponent(t)}`;return ke(n).pipe(m(({star_count:r,forks_count:o})=>({stars:r,forks:o})),je({}))}function Hi(e){let[t]=e.match(/(git(?:hub|lab))/i)||[];switch(t.toLowerCase()){case"github":let[,n,r]=e.match(/^.+github\.com\/([^/]+)\/?([^/]+)?/i);return ki(n,r);case"gitlab":let[,o,i]=e.match(/^.+?([^/]*gitlab[^/]+)\/(.+?)\/?$/i);return Ri(o,i);default:return D}}var Ts;function _s(e){return Ts||(Ts=H(()=>{let t=__md_get("__source",sessionStorage);return t?C(t):Hi(e.href).pipe(S(n=>__md_set("__source",n,sessionStorage)))}).pipe(De(()=>D),T(t=>Object.keys(t).length>0),m(t=>({facts:t})),X(1)))}function Pi(e){let t=V(":scope > :last-child",e);return H(()=>{let n=new w;return n.subscribe(({facts:r})=>{t.appendChild(Qo(r)),t.classList.add("md-source__repository--active")}),_s(e).pipe(S(r=>n.next(r)),L(()=>n.complete()),m(r=>P({ref:e},r)))})}function Ms(e,{viewport$:t,header$:n}){return ye(document.body).pipe(O(()=>fr(e,{header$:n,viewport$:t})),m(({offset:{y:r}})=>({hidden:r>=10})),G("hidden"))}function Ii(e,t){return H(()=>{let n=new w;return n.subscribe({next({hidden:r}){e.classList.toggle("md-tabs--hidden",r)},complete(){e.classList.remove("md-tabs--hidden")}}),(Z("navigation.tabs.sticky")?C({hidden:!1}):Ms(e,t)).pipe(S(r=>n.next(r)),L(()=>n.complete()),m(r=>P({ref:e},r)))})}function Ls(e,{viewport$:t,header$:n}){let r=new Map,o=q("[href^=\\#]",e);for(let u of o){let s=decodeURIComponent(u.hash.substring(1)),c=ce(`[id="${s}"]`);typeof c!="undefined"&&r.set(u,c)}let i=n.pipe(m(u=>24+u.height));return ye(document.body).pipe(G("height"),O(u=>H(()=>{let s=[];return C([...r].reduce((c,[f,p])=>{for(;s.length&&r.get(s[s.length-1]).tagName>=p.tagName;)s.pop();let l=p.offsetTop;for(;!l&&p.parentElement;)p=p.parentElement,l=p.offsetTop;return c.set([...s=[...s,f]].reverse(),l)},new Map))}).pipe(m(s=>new Map([...s].sort(([,c],[,f])=>c-f))),O(s=>Q([t,i]).pipe($r(([c,f],[{offset:{y:p},size:l},d])=>{let h=p+l.height>=Math.floor(u.height);for(;f.length;){let[,b]=f[0];if(b-d=p&&!h)f=[c.pop(),...f];else break}return[c,f]},[[],[...s]]),Y((c,f)=>c[0]===f[0]&&c[1]===f[1])))))).pipe(m(([u,s])=>({prev:u.map(([c])=>c),next:s.map(([c])=>c)})),N({prev:[],next:[]}),_e(2,1),m(([u,s])=>u.prev.length{let r=new w;return r.subscribe(({prev:o,next:i})=>{for(let[a]of i)a.classList.remove("md-nav__link--passed"),a.classList.remove("md-nav__link--active");for(let[a,[u]]of o.entries())u.classList.add("md-nav__link--passed"),u.classList.toggle("md-nav__link--active",a===o.length-1)}),Z("navigation.tracking")&&t.pipe(oe(r.pipe(ne(1))),G("offset"),Fe(250),ge(r)).subscribe(([,{prev:o}])=>{let i=Se(),a=o[o.length-1];if(a&&a.length){let[u]=a,{hash:s}=new URL(u.href);i.hash!==s&&(i.hash=s,history.replaceState({},"",`${i}`))}else i.hash="",history.replaceState({},"",`${i}`)}),Ls(e,{viewport$:t,header$:n}).pipe(S(o=>r.next(o)),L(()=>r.complete()),m(o=>P({ref:e},o)))})}function As(e,{viewport$:t,main$:n}){let r=t.pipe(m(({offset:{y:i}})=>i),_e(2,1),m(([i,a])=>i>a&&a),Y()),o=n.pipe(G("active"));return Q([o,r]).pipe(m(([{active:i},a])=>({hidden:!(i&&a)})),Y((i,a)=>i.hidden===a.hidden))}function Fi(e,{viewport$:t,header$:n,main$:r}){let o=new w;return o.subscribe({next({hidden:i}){e.classList.toggle("md-top--hidden",i),i?(e.setAttribute("tabindex","-1"),e.blur()):e.removeAttribute("tabindex")},complete(){e.style.top="",e.classList.add("md-top--hidden"),e.removeAttribute("tabindex")}}),n.pipe(oe(o.pipe(Ir(0),ne(1))),G("height")).subscribe(({height:i})=>{e.style.top=`${i+16}px`}),As(e,{viewport$:t,header$:n,main$:r}).pipe(S(i=>o.next(i)),L(()=>o.complete()),m(i=>P({ref:e},i)))}function ji({document$:e,tablet$:t}){e.pipe(O(()=>C(...q(".md-toggle--indeterminate, [data-md-state=indeterminate]"))),S(n=>{n.indeterminate=!0,n.checked=!1}),fe(n=>g(n,"change").pipe(jr(()=>n.classList.contains("md-toggle--indeterminate")),J(n))),ge(t)).subscribe(([n,r])=>{n.classList.remove("md-toggle--indeterminate"),r&&(n.checked=!1)})}function Cs(){return/(iPad|iPhone|iPod)/.test(navigator.userAgent)}function Ui({document$:e}){e.pipe(O(()=>C(...q("[data-md-scrollfix]"))),S(t=>t.removeAttribute("data-md-scrollfix")),T(Cs),fe(t=>g(t,"touchstart").pipe(J(t)))).subscribe(t=>{let n=t.scrollTop;n===0?t.scrollTop=1:n+t.offsetHeight===t.scrollHeight&&(t.scrollTop=n-1)})}function Wi({viewport$:e,tablet$:t}){Q([sr("search"),t]).pipe(m(([n,r])=>n&&!r),O(n=>C(n).pipe(Me(n?400:100))),ge(e)).subscribe(([n,{offset:{y:r}}])=>{if(n)document.body.setAttribute("data-md-scrolllock",""),document.body.style.top=`-${r}px`;else{let o=-1*parseInt(document.body.style.top,10);document.body.removeAttribute("data-md-scrolllock"),document.body.style.top="",o&&window.scrollTo(0,o)}})}Object.entries||(Object.entries=function(e){let t=[];for(let n of Object.keys(e))t.push([n,e[n]]);return t});Object.values||(Object.values=function(e){let t=[];for(let n of Object.keys(e))t.push(e[n]);return t});typeof Element!="undefined"&&(Element.prototype.scrollTo||(Element.prototype.scrollTo=function(e,t){typeof e=="object"?(this.scrollLeft=e.left,this.scrollTop=e.top):(this.scrollLeft=e,this.scrollTop=t)}),Element.prototype.replaceWith||(Element.prototype.replaceWith=function(...e){let t=this.parentNode;if(t){e.length===0&&t.removeChild(this);for(let n=e.length-1;n>=0;n--){let r=e[n];typeof r!="object"?r=document.createTextNode(r):r.parentNode&&r.parentNode.removeChild(r),n?t.insertBefore(this.previousSibling,r):t.replaceChild(r,this)}}}));document.documentElement.classList.remove("no-js");document.documentElement.classList.add("js");var ht=fo(),mr=_o(),dr=Co(),Xr=To(),Ee=jo(),hr=Nr("(min-width: 960px)"),Di=Nr("(min-width: 1220px)"),Vi=ko(),zi=de(),Ni=document.forms.namedItem("search")?(__search==null?void 0:__search.index)||ke(new URL("search/search_index.json",zi.base)):we,Zr=new w;hi({alert$:Zr});Z("navigation.instant")&&bi({document$:ht,location$:mr,viewport$:Ee});var Ki;((Ki=zi.version)==null?void 0:Ki.provider)==="mike"&&Oi();k(mr,dr).pipe(Me(125)).subscribe(()=>{ze("drawer",!1),ze("search",!1)});Xr.pipe(T(({mode:e})=>e==="global")).subscribe(e=>{switch(e.type){case"p":case",":let t=ce("[href][rel=prev]");typeof t!="undefined"&&t.click();break;case"n":case".":let n=ce("[href][rel=next]");typeof n!="undefined"&&n.click();break}});ji({document$:ht,tablet$:hr});Ui({document$:ht});Wi({viewport$:Ee,tablet$:hr});var Ne=fi(Re("header"),{viewport$:Ee}),br=ht.pipe(m(()=>Re("main")),O(e=>mi(e,{viewport$:Ee,header$:Ne})),X(1)),ks=k(...re("consent").map(e=>Do(e,{target$:dr})),...re("dialog").map(e=>ui(e,{alert$:Zr})),...re("header").map(e=>pi(e,{viewport$:Ee,header$:Ne,main$:br})),...re("palette").map(e=>di(e)),...re("search").map(e=>Ai(e,{index$:Ni,keyboard$:Xr})),...re("source").map(e=>Pi(e))),Rs=H(()=>k(...re("announce").map(e=>Wo(e)),...re("content").map(e=>ci(e,{target$:dr,print$:Vi})),...re("content").map(e=>Z("search.highlight")?Ci(e,{index$:Ni,location$:mr}):D),...re("header-title").map(e=>li(e,{viewport$:Ee,header$:Ne})),...re("sidebar").map(e=>e.getAttribute("data-md-type")==="navigation"?qr(Di,()=>Jr(e,{viewport$:Ee,header$:Ne,main$:br})):qr(hr,()=>Jr(e,{viewport$:Ee,header$:Ne,main$:br}))),...re("tabs").map(e=>Ii(e,{viewport$:Ee,header$:Ne})),...re("toc").map(e=>$i(e,{viewport$:Ee,header$:Ne})),...re("top").map(e=>Fi(e,{viewport$:Ee,header$:Ne,main$:br})))),qi=ht.pipe(O(()=>Rs),Ye(ks),X(1));qi.subscribe();window.document$=ht;window.location$=mr;window.target$=dr;window.keyboard$=Xr;window.viewport$=Ee;window.tablet$=hr;window.screen$=Di;window.print$=Vi;window.alert$=Zr;window.component$=qi;})();