mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
33 lines
77 KiB
JavaScript
33 lines
77 KiB
JavaScript
(()=>{var Ri=Object.create,ut=Object.defineProperty,Pi=Object.getPrototypeOf,zt=Object.prototype.hasOwnProperty,$i=Object.getOwnPropertyNames,Vi=Object.getOwnPropertyDescriptor,lt=Object.getOwnPropertySymbols,xr=Object.prototype.propertyIsEnumerable;var Sr=(e,t,r)=>t in e?ut(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,$=(e,t)=>{for(var r in t||(t={}))zt.call(t,r)&&Sr(e,r,t[r]);if(lt)for(var r of lt(t))xr.call(t,r)&&Sr(e,r,t[r]);return e},Di=e=>ut(e,"__esModule",{value:!0});var wr=(e,t)=>{var r={};for(var n in e)zt.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&<)for(var n of lt(e))t.indexOf(n)<0&&xr.call(e,n)&&(r[n]=e[n]);return r},ft=(e,t)=>()=>(t||(t={exports:{}},e(t.exports,t)),t.exports);var Ui=(e,t,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of $i(t))!zt.call(e,n)&&n!=="default"&&ut(e,n,{get:()=>t[n],enumerable:!(r=Vi(t,n))||r.enumerable});return e},Be=e=>Ui(Di(ut(e!=null?Ri(Pi(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var Or=ft((Qt,Er)=>{(function(e,t){typeof Qt=="object"&&typeof Er!="undefined"?t():typeof define=="function"&&define.amd?define(t):t()})(Qt,function(){"use strict";function e(r){var n=!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 s(T){return!!(T&&T!==document&&T.nodeName!=="HTML"&&T.nodeName!=="BODY"&&"classList"in T&&"contains"in T.classList)}function c(T){var at=T.type,st=T.tagName;return!!(st==="INPUT"&&a[at]&&!T.readOnly||st==="TEXTAREA"&&!T.readOnly||T.isContentEditable)}function u(T){T.classList.contains("focus-visible")||(T.classList.add("focus-visible"),T.setAttribute("data-focus-visible-added",""))}function l(T){!T.hasAttribute("data-focus-visible-added")||(T.classList.remove("focus-visible"),T.removeAttribute("data-focus-visible-added"))}function m(T){T.metaKey||T.altKey||T.ctrlKey||(s(r.activeElement)&&u(r.activeElement),n=!0)}function f(T){n=!1}function h(T){!s(T.target)||(n||c(T.target))&&u(T.target)}function y(T){!s(T.target)||(T.target.classList.contains("focus-visible")||T.target.hasAttribute("data-focus-visible-added"))&&(o=!0,window.clearTimeout(i),i=window.setTimeout(function(){o=!1},100),l(T.target))}function b(T){document.visibilityState==="hidden"&&(o&&(n=!0),z())}function z(){document.addEventListener("mousemove",C),document.addEventListener("mousedown",C),document.addEventListener("mouseup",C),document.addEventListener("pointermove",C),document.addEventListener("pointerdown",C),document.addEventListener("pointerup",C),document.addEventListener("touchmove",C),document.addEventListener("touchstart",C),document.addEventListener("touchend",C)}function P(){document.removeEventListener("mousemove",C),document.removeEventListener("mousedown",C),document.removeEventListener("mouseup",C),document.removeEventListener("pointermove",C),document.removeEventListener("pointerdown",C),document.removeEventListener("pointerup",C),document.removeEventListener("touchmove",C),document.removeEventListener("touchstart",C),document.removeEventListener("touchend",C)}function C(T){T.target.nodeName&&T.target.nodeName.toLowerCase()==="html"||(n=!1,P())}document.addEventListener("keydown",m,!0),document.addEventListener("mousedown",f,!0),document.addEventListener("pointerdown",f,!0),document.addEventListener("touchstart",f,!0),document.addEventListener("visibilitychange",b,!0),z(),r.addEventListener("focus",h,!0),r.addEventListener("blur",y,!0),r.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&r.host?r.host.setAttribute("data-js-focus-visible",""):r.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(r){t=document.createEvent("CustomEvent"),t.initCustomEvent("focus-visible-polyfill-ready",!1,!1,{})}window.dispatchEvent(t)}typeof document!="undefined"&&e(document)})});var Qr=ft((za,pt)=>{var Tr,_r,Mr,Ar,Lr,Hr,Cr,kr,jr,mt,qt,Fr,Ir,Rr,Pe,Pr,$r,Vr,Dr,Ur,Nr,Wr,zr,dt;(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(n){e(r(t,r(n)))}):typeof pt=="object"&&typeof pt.exports=="object"?e(r(t,r(pt.exports))):e(r(t));function r(n,o){return n!==t&&(typeof Object.create=="function"?Object.defineProperty(n,"__esModule",{value:!0}):n.__esModule=!0),function(i,a){return n[i]=o?o(i,a):a}}})(function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,o){n.__proto__=o}||function(n,o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(n[i]=o[i])};Tr=function(n,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");t(n,o);function i(){this.constructor=n}n.prototype=o===null?Object.create(o):(i.prototype=o.prototype,new i)},_r=Object.assign||function(n){for(var o,i=1,a=arguments.length;i<a;i++){o=arguments[i];for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&(n[s]=o[s])}return n},Mr=function(n,o){var i={};for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&o.indexOf(a)<0&&(i[a]=n[a]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,a=Object.getOwnPropertySymbols(n);s<a.length;s++)o.indexOf(a[s])<0&&Object.prototype.propertyIsEnumerable.call(n,a[s])&&(i[a[s]]=n[a[s]]);return i},Ar=function(n,o,i,a){var s=arguments.length,c=s<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,i):a,u;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(n,o,i,a);else for(var l=n.length-1;l>=0;l--)(u=n[l])&&(c=(s<3?u(c):s>3?u(o,i,c):u(o,i))||c);return s>3&&c&&Object.defineProperty(o,i,c),c},Lr=function(n,o){return function(i,a){o(i,a,n)}},Hr=function(n,o){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(n,o)},Cr=function(n,o,i,a){function s(c){return c instanceof i?c:new i(function(u){u(c)})}return new(i||(i=Promise))(function(c,u){function l(h){try{f(a.next(h))}catch(y){u(y)}}function m(h){try{f(a.throw(h))}catch(y){u(y)}}function f(h){h.done?c(h.value):s(h.value).then(l,m)}f((a=a.apply(n,o||[])).next())})},kr=function(n,o){var i={label:0,sent:function(){if(c[0]&1)throw c[1];return c[1]},trys:[],ops:[]},a,s,c,u;return u={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function l(f){return function(h){return m([f,h])}}function m(f){if(a)throw new TypeError("Generator is already executing.");for(;i;)try{if(a=1,s&&(c=f[0]&2?s.return:f[0]?s.throw||((c=s.return)&&c.call(s),0):s.next)&&!(c=c.call(s,f[1])).done)return c;switch(s=0,c&&(f=[f[0]&2,c.value]),f[0]){case 0:case 1:c=f;break;case 4:return i.label++,{value:f[1],done:!1};case 5:i.label++,s=f[1],f=[0];continue;case 7:f=i.ops.pop(),i.trys.pop();continue;default:if(c=i.trys,!(c=c.length>0&&c[c.length-1])&&(f[0]===6||f[0]===2)){i=0;continue}if(f[0]===3&&(!c||f[1]>c[0]&&f[1]<c[3])){i.label=f[1];break}if(f[0]===6&&i.label<c[1]){i.label=c[1],c=f;break}if(c&&i.label<c[2]){i.label=c[2],i.ops.push(f);break}c[2]&&i.ops.pop(),i.trys.pop();continue}f=o.call(n,i)}catch(h){f=[6,h],s=0}finally{a=c=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},jr=function(n,o){for(var i in n)i!=="default"&&!Object.prototype.hasOwnProperty.call(o,i)&&dt(o,n,i)},dt=Object.create?function(n,o,i,a){a===void 0&&(a=i),Object.defineProperty(n,a,{enumerable:!0,get:function(){return o[i]}})}:function(n,o,i,a){a===void 0&&(a=i),n[a]=o[i]},mt=function(n){var o=typeof Symbol=="function"&&Symbol.iterator,i=o&&n[o],a=0;if(i)return i.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&a>=n.length&&(n=void 0),{value:n&&n[a++],done:!n}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")},qt=function(n,o){var i=typeof Symbol=="function"&&n[Symbol.iterator];if(!i)return n;var a=i.call(n),s,c=[],u;try{for(;(o===void 0||o-- >0)&&!(s=a.next()).done;)c.push(s.value)}catch(l){u={error:l}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(u)throw u.error}}return c},Fr=function(){for(var n=[],o=0;o<arguments.length;o++)n=n.concat(qt(arguments[o]));return n},Ir=function(){for(var n=0,o=0,i=arguments.length;o<i;o++)n+=arguments[o].length;for(var a=Array(n),s=0,o=0;o<i;o++)for(var c=arguments[o],u=0,l=c.length;u<l;u++,s++)a[s]=c[u];return a},Rr=function(n,o){for(var i=0,a=o.length,s=n.length;i<a;i++,s++)n[s]=o[i];return n},Pe=function(n){return this instanceof Pe?(this.v=n,this):new Pe(n)},Pr=function(n,o,i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var a=i.apply(n,o||[]),s,c=[];return s={},u("next"),u("throw"),u("return"),s[Symbol.asyncIterator]=function(){return this},s;function u(b){a[b]&&(s[b]=function(z){return new Promise(function(P,C){c.push([b,z,P,C])>1||l(b,z)})})}function l(b,z){try{m(a[b](z))}catch(P){y(c[0][3],P)}}function m(b){b.value instanceof Pe?Promise.resolve(b.value.v).then(f,h):y(c[0][2],b)}function f(b){l("next",b)}function h(b){l("throw",b)}function y(b,z){b(z),c.shift(),c.length&&l(c[0][0],c[0][1])}},$r=function(n){var o,i;return o={},a("next"),a("throw",function(s){throw s}),a("return"),o[Symbol.iterator]=function(){return this},o;function a(s,c){o[s]=n[s]?function(u){return(i=!i)?{value:Pe(n[s](u)),done:s==="return"}:c?c(u):u}:c}},Vr=function(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o=n[Symbol.asyncIterator],i;return o?o.call(n):(n=typeof mt=="function"?mt(n):n[Symbol.iterator](),i={},a("next"),a("throw"),a("return"),i[Symbol.asyncIterator]=function(){return this},i);function a(c){i[c]=n[c]&&function(u){return new Promise(function(l,m){u=n[c](u),s(l,m,u.done,u.value)})}}function s(c,u,l,m){Promise.resolve(m).then(function(f){c({value:f,done:l})},u)}},Dr=function(n,o){return Object.defineProperty?Object.defineProperty(n,"raw",{value:o}):n.raw=o,n};var r=Object.create?function(n,o){Object.defineProperty(n,"default",{enumerable:!0,value:o})}:function(n,o){n.default=o};Ur=function(n){if(n&&n.__esModule)return n;var o={};if(n!=null)for(var i in n)i!=="default"&&Object.prototype.hasOwnProperty.call(n,i)&&dt(o,n,i);return r(o,n),o},Nr=function(n){return n&&n.__esModule?n:{default:n}},Wr=function(n,o){if(!o.has(n))throw new TypeError("attempted to get private field on non-instance");return o.get(n)},zr=function(n,o,i){if(!o.has(n))throw new TypeError("attempted to set private field on non-instance");return o.set(n,i),i},e("__extends",Tr),e("__assign",_r),e("__rest",Mr),e("__decorate",Ar),e("__param",Lr),e("__metadata",Hr),e("__awaiter",Cr),e("__generator",kr),e("__exportStar",jr),e("__createBinding",dt),e("__values",mt),e("__read",qt),e("__spread",Fr),e("__spreadArrays",Ir),e("__spreadArray",Rr),e("__await",Pe),e("__asyncGenerator",Pr),e("__asyncDelegator",$r),e("__asyncValues",Vr),e("__makeTemplateObject",Dr),e("__importStar",Ur),e("__importDefault",Nr),e("__classPrivateFieldGet",Wr),e("__classPrivateFieldSet",zr)})});var lr=ft((it,ur)=>{(function(t,r){typeof it=="object"&&typeof ur=="object"?ur.exports=r():typeof define=="function"&&define.amd?define([],r):typeof it=="object"?it.ClipboardJS=r():t.ClipboardJS=r()})(it,function(){return function(){var e={134:function(n,o,i){"use strict";i.d(o,{default:function(){return Fi}});var a=i(279),s=i.n(a),c=i(370),u=i.n(c),l=i(817),m=i.n(l);function f(w){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?f=function(d){return typeof d}:f=function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},f(w)}function h(w,v){if(!(w instanceof v))throw new TypeError("Cannot call a class as a function")}function y(w,v){for(var d=0;d<v.length;d++){var A=v[d];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(w,A.key,A)}}function b(w,v,d){return v&&y(w.prototype,v),d&&y(w,d),w}var z=function(){function w(v){h(this,w),this.resolveOptions(v),this.initSelection()}return b(w,[{key:"resolveOptions",value:function(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=d.action,this.container=d.container,this.emitter=d.emitter,this.target=d.target,this.text=d.text,this.trigger=d.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"createFakeElement",value:function(){var d=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[d?"right":"left"]="-9999px";var A=window.pageYOffset||document.documentElement.scrollTop;return this.fakeElem.style.top="".concat(A,"px"),this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.fakeElem}},{key:"selectFake",value:function(){var d=this,A=this.createFakeElement();this.fakeHandlerCallback=function(){return d.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.container.appendChild(A),this.selectedText=m()(A),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=m()(this.target),this.copyText()}},{key:"copyText",value:function(){var d;try{d=document.execCommand(this.action)}catch(A){d=!1}this.handleResult(d)}},{key:"handleResult",value:function(d){this.emitter.emit(d?"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 d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"copy";if(this._action=d,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(d){if(d!==void 0)if(d&&f(d)==="object"&&d.nodeType===1){if(this.action==="copy"&&d.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(this.action==="cut"&&(d.hasAttribute("readonly")||d.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`);this._target=d}else throw new Error('Invalid "target" value, use a valid Element')},get:function(){return this._target}}]),w}(),P=z;function C(w){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?C=function(d){return typeof d}:C=function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},C(w)}function T(w,v){if(!(w instanceof v))throw new TypeError("Cannot call a class as a function")}function at(w,v){for(var d=0;d<v.length;d++){var A=v[d];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(w,A.key,A)}}function st(w,v,d){return v&&at(w.prototype,v),d&&at(w,d),w}function Ai(w,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function");w.prototype=Object.create(v&&v.prototype,{constructor:{value:w,writable:!0,configurable:!0}}),v&&Nt(w,v)}function Nt(w,v){return Nt=Object.setPrototypeOf||function(A,I){return A.__proto__=I,A},Nt(w,v)}function Li(w){var v=ki();return function(){var A=ct(w),I;if(v){var X=ct(this).constructor;I=Reflect.construct(A,arguments,X)}else I=A.apply(this,arguments);return Hi(this,I)}}function Hi(w,v){return v&&(C(v)==="object"||typeof v=="function")?v:Ci(w)}function Ci(w){if(w===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return w}function ki(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(w){return!1}}function ct(w){return ct=Object.setPrototypeOf?Object.getPrototypeOf:function(d){return d.__proto__||Object.getPrototypeOf(d)},ct(w)}function Wt(w,v){var d="data-clipboard-".concat(w);if(!!v.hasAttribute(d))return v.getAttribute(d)}var ji=function(w){Ai(d,w);var v=Li(d);function d(A,I){var X;return T(this,d),X=v.call(this),X.resolveOptions(I),X.listenClick(A),X}return st(d,[{key:"resolveOptions",value:function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof I.action=="function"?I.action:this.defaultAction,this.target=typeof I.target=="function"?I.target:this.defaultTarget,this.text=typeof I.text=="function"?I.text:this.defaultText,this.container=C(I.container)==="object"?I.container:document.body}},{key:"listenClick",value:function(I){var X=this;this.listener=u()(I,"click",function(Ye){return X.onClick(Ye)})}},{key:"onClick",value:function(I){var X=I.delegateTarget||I.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new P({action:this.action(X),target:this.target(X),text:this.text(X),container:this.container,trigger:X,emitter:this})}},{key:"defaultAction",value:function(I){return Wt("action",I)}},{key:"defaultTarget",value:function(I){var X=Wt("target",I);if(X)return document.querySelector(X)}},{key:"defaultText",value:function(I){return Wt("text",I)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],X=typeof I=="string"?[I]:I,Ye=!!document.queryCommandSupported;return X.forEach(function(Ii){Ye=Ye&&!!document.queryCommandSupported(Ii)}),Ye}}]),d}(s()),Fi=ji},828:function(n){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(s,c){for(;s&&s.nodeType!==o;){if(typeof s.matches=="function"&&s.matches(c))return s;s=s.parentNode}}n.exports=a},438:function(n,o,i){var a=i(828);function s(l,m,f,h,y){var b=u.apply(this,arguments);return l.addEventListener(f,b,y),{destroy:function(){l.removeEventListener(f,b,y)}}}function c(l,m,f,h,y){return typeof l.addEventListener=="function"?s.apply(null,arguments):typeof f=="function"?s.bind(null,document).apply(null,arguments):(typeof l=="string"&&(l=document.querySelectorAll(l)),Array.prototype.map.call(l,function(b){return s(b,m,f,h,y)}))}function u(l,m,f,h){return function(y){y.delegateTarget=a(y.target,m),y.delegateTarget&&h.call(l,y)}}n.exports=c},879:function(n,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(n,o,i){var a=i(879),s=i(438);function c(f,h,y){if(!f&&!h&&!y)throw new Error("Missing required arguments");if(!a.string(h))throw new TypeError("Second argument must be a String");if(!a.fn(y))throw new TypeError("Third argument must be a Function");if(a.node(f))return u(f,h,y);if(a.nodeList(f))return l(f,h,y);if(a.string(f))return m(f,h,y);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function u(f,h,y){return f.addEventListener(h,y),{destroy:function(){f.removeEventListener(h,y)}}}function l(f,h,y){return Array.prototype.forEach.call(f,function(b){b.addEventListener(h,y)}),{destroy:function(){Array.prototype.forEach.call(f,function(b){b.removeEventListener(h,y)})}}}function m(f,h,y){return s(document.body,f,h,y)}n.exports=c},817:function(n){function o(i){var a;if(i.nodeName==="SELECT")i.focus(),a=i.value;else if(i.nodeName==="INPUT"||i.nodeName==="TEXTAREA"){var s=i.hasAttribute("readonly");s||i.setAttribute("readonly",""),i.select(),i.setSelectionRange(0,i.value.length),s||i.removeAttribute("readonly"),a=i.value}else{i.hasAttribute("contenteditable")&&i.focus();var c=window.getSelection(),u=document.createRange();u.selectNodeContents(i),c.removeAllRanges(),c.addRange(u),a=c.toString()}return a}n.exports=o},279:function(n){function o(){}o.prototype={on:function(i,a,s){var c=this.e||(this.e={});return(c[i]||(c[i]=[])).push({fn:a,ctx:s}),this},once:function(i,a,s){var c=this;function u(){c.off(i,u),a.apply(s,arguments)}return u._=a,this.on(i,u,s)},emit:function(i){var a=[].slice.call(arguments,1),s=((this.e||(this.e={}))[i]||[]).slice(),c=0,u=s.length;for(c;c<u;c++)s[c].fn.apply(s[c].ctx,a);return this},off:function(i,a){var s=this.e||(this.e={}),c=s[i],u=[];if(c&&a)for(var l=0,m=c.length;l<m;l++)c[l].fn!==a&&c[l].fn._!==a&&u.push(c[l]);return u.length?s[i]=u:delete s[i],this}},n.exports=o,n.exports.TinyEmitter=o}},t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={exports:{}};return e[n](o,o.exports,r),o.exports}return function(){r.n=function(n){var o=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(o,{a:o}),o}}(),function(){r.d=function(n,o){for(var i in o)r.o(o,i)&&!r.o(n,i)&&Object.defineProperty(n,i,{enumerable:!0,get:o[i]})}}(),function(){r.o=function(n,o){return Object.prototype.hasOwnProperty.call(n,o)}}(),r(134)}().default})});var oi=ft((vg,ni)=>{"use strict";var Aa=/["'&<>]/;ni.exports=La;function La(e){var t=""+e,r=Aa.exec(t);if(!r)return t;var n,o="",i=0,a=0;for(i=r.index;i<t.length;i++){switch(t.charCodeAt(i)){case 34:n=""";break;case 38:n="&";break;case 39:n="'";break;case 60:n="<";break;case 62:n=">";break;default:continue}a!==i&&(o+=t.substring(a,i)),a=i+1,o+=n}return a!==i?o+t.substring(a,i):o}});var CS=Be(Or());var qr=Be(Qr()),{__extends:K,__assign:qa,__rest:Ka,__decorate:Ja,__param:Ya,__metadata:Ba,__awaiter:Kr,__generator:Jr,__exportStar:Ga,__createBinding:Xa,__values:ce,__read:H,__spread:Za,__spreadArrays:es,__spreadArray:j,__await:ts,__asyncGenerator:rs,__asyncDelegator:ns,__asyncValues:Yr,__makeTemplateObject:os,__importStar:is,__importDefault:as,__classPrivateFieldGet:ss,__classPrivateFieldSet:cs}=qr.default;function S(e){return typeof e=="function"}function ht(e){var t=function(n){Error.call(n),n.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var bt=ht(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
|
|
`+r.map(function(n,o){return o+1+") "+n.toString()}).join(`
|
|
`):"",this.name="UnsubscriptionError",this.errors=r}});function xe(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var oe=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._teardowns=null}return e.prototype.unsubscribe=function(){var t,r,n,o,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(Array.isArray(a))try{for(var s=ce(a),c=s.next();!c.done;c=s.next()){var u=c.value;u.remove(this)}}catch(b){t={error:b}}finally{try{c&&!c.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}else a==null||a.remove(this);var l=this.initialTeardown;if(S(l))try{l()}catch(b){i=b instanceof bt?b.errors:[b]}var m=this._teardowns;if(m){this._teardowns=null;try{for(var f=ce(m),h=f.next();!h.done;h=f.next()){var y=h.value;try{Br(y)}catch(b){i=i!=null?i:[],b instanceof bt?i=j(j([],H(i)),H(b.errors)):i.push(b)}}}catch(b){n={error:b}}finally{try{h&&!h.done&&(o=f.return)&&o.call(f)}finally{if(n)throw n.error}}}if(i)throw new bt(i)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)Br(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._teardowns=(r=this._teardowns)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&xe(r,t)},e.prototype.remove=function(t){var r=this._teardowns;r&&xe(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}();var Kt=oe.EMPTY;function vt(e){return e instanceof oe||e&&"closed"in e&&S(e.remove)&&S(e.add)&&S(e.unsubscribe)}function Br(e){S(e)?e():e.unsubscribe()}var de={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var $e={setTimeout:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=$e.delegate;return((r==null?void 0:r.setTimeout)||setTimeout).apply(void 0,j([],H(e)))},clearTimeout:function(e){var t=$e.delegate;return((t==null?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function gt(e){$e.setTimeout(function(){var t=de.onUnhandledError;if(t)t(e);else throw e})}function Z(){}var Gr=function(){return Jt("C",void 0,void 0)}();function Xr(e){return Jt("E",void 0,e)}function Zr(e){return Jt("N",e,void 0)}function Jt(e,t,r){return{kind:e,value:t,error:r}}var Ge=function(e){K(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,vt(r)&&r.add(n)):n.destination=Ni,n}return t.create=function(r,n,o){return new Yt(r,n,o)},t.prototype.next=function(r){this.isStopped?Bt(Zr(r),this):this._next(r)},t.prototype.error=function(r){this.isStopped?Bt(Xr(r),this):(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped?Bt(Gr,this):(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(oe);var Yt=function(e){K(t,e);function t(r,n,o){var i=e.call(this)||this,a;if(S(r))a=r;else if(r){a=r.next,n=r.error,o=r.complete;var s;i&&de.useDeprecatedNextContext?(s=Object.create(r),s.unsubscribe=function(){return i.unsubscribe()}):s=r,a=a==null?void 0:a.bind(s),n=n==null?void 0:n.bind(s),o=o==null?void 0:o.bind(s)}return i.destination={next:a?Gt(a,i):Z,error:Gt(n!=null?n:en,i),complete:o?Gt(o,i):Z},i}return t}(Ge);function Gt(e,t){return function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];try{e.apply(void 0,j([],H(r)))}catch(o){if(de.useDeprecatedSynchronousErrorHandling)if(t._syncErrorHack_isSubscribing)t.__syncError=o;else throw o;else gt(o)}}}function en(e){throw e}function Bt(e,t){var r=de.onStoppedNotification;r&&$e.setTimeout(function(){return r(e,t)})}var Ni={closed:!0,next:Z,error:en,complete:Z};var Ee=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function ue(e){return e}function tn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Xt(e)}function Xt(e){return e.length===0?ue:e.length===1?e[0]:function(r){return e.reduce(function(n,o){return o(n)},r)}}var M=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,n){var o=Wi(t)?t:new Yt(t,r,n),i=this,a=i.operator,s=i.source,c=o;if(de.useDeprecatedSynchronousErrorHandling&&(c._syncErrorHack_isSubscribing=!0),o.add(a?a.call(o,s):s||de.useDeprecatedSynchronousErrorHandling?this._subscribe(o):this._trySubscribe(o)),de.useDeprecatedSynchronousErrorHandling)for(c._syncErrorHack_isSubscribing=!1;c;){if(c.__syncError)throw c.__syncError;c=c.destination}return o},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var n=this;return r=rn(r),new r(function(o,i){var a;a=n.subscribe(function(s){try{t(s)}catch(c){i(c),a==null||a.unsubscribe()}},i,o)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[Ee]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return t.length?Xt(t)(this):this},e.prototype.toPromise=function(t){var r=this;return t=rn(t),new t(function(n,o){var i;r.subscribe(function(a){return i=a},function(a){return o(a)},function(){return n(i)})})},e.create=function(t){return new e(t)},e}();function rn(e){var t;return(t=e!=null?e:de.Promise)!==null&&t!==void 0?t:Promise}function zi(e){return e&&S(e.next)&&S(e.error)&&S(e.complete)}function Wi(e){return e&&e instanceof Ge||zi(e)&&vt(e)}function Qi(e){return S(e==null?void 0:e.lift)}function g(e){return function(t){if(Qi(t))return t.lift(function(r){try{return e(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}var x=function(e){K(t,e);function t(r,n,o,i,a){var s=e.call(this,r)||this;return s.onFinalize=a,s._next=n?function(c){try{n(c)}catch(u){r.error(u)}}:e.prototype._next,s._error=o?function(c){try{o(c)}catch(u){r.error(u)}finally{this.unsubscribe()}}:e.prototype._error,s._complete=i?function(){try{i()}catch(c){r.error(c)}finally{this.unsubscribe()}}:e.prototype._complete,s}return t.prototype.unsubscribe=function(){var r,n=this.closed;e.prototype.unsubscribe.call(this),!n&&((r=this.onFinalize)===null||r===void 0||r.call(this))},t}(Ge);var Ve={schedule:function(e){var t=requestAnimationFrame,r=cancelAnimationFrame,n=Ve.delegate;n&&(t=n.requestAnimationFrame,r=n.cancelAnimationFrame);var o=t(function(i){r=void 0,e(i)});return new oe(function(){return r==null?void 0:r(o)})},requestAnimationFrame:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Ve.delegate;return((r==null?void 0:r.requestAnimationFrame)||requestAnimationFrame).apply(void 0,j([],H(e)))},cancelAnimationFrame:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Ve.delegate;return((r==null?void 0:r.cancelAnimationFrame)||cancelAnimationFrame).apply(void 0,j([],H(e)))},delegate:void 0};var nn=ht(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}});var _=function(e){K(t,e);function t(){var r=e.call(this)||this;return r.observers=[],r.closed=!1,r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var n=new on(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new nn},t.prototype.next=function(r){var n,o;if(this._throwIfClosed(),!this.isStopped){var i=this.observers.slice();try{for(var a=ce(i),s=a.next();!s.done;s=a.next()){var c=s.value;c.next(r)}}catch(u){n={error:u}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}}},t.prototype.error=function(r){if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=r;for(var n=this.observers;n.length;)n.shift().error(r)}},t.prototype.complete=function(){if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;for(var r=this.observers;r.length;)r.shift().complete()}},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var n=this,o=this,i=o.hasError,a=o.isStopped,s=o.observers;return i||a?Kt:(s.push(r),new oe(function(){return xe(n.observers,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,o=n.hasError,i=n.thrownError,a=n.isStopped;o?r.error(i):a&&r.complete()},t.prototype.asObservable=function(){var r=new M;return r.source=this,r},t.create=function(r,n){return new on(r,n)},t}(M);var on=function(e){K(t,e);function t(r,n){var o=e.call(this)||this;return o.destination=r,o.source=n,o}return t.prototype.next=function(r){var n,o;(o=(n=this.destination)===null||n===void 0?void 0:n.next)===null||o===void 0||o.call(n,r)},t.prototype.error=function(r){var n,o;(o=(n=this.destination)===null||n===void 0?void 0:n.error)===null||o===void 0||o.call(n,r)},t.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},t.prototype._subscribe=function(r){var n,o;return(o=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&o!==void 0?o:Kt},t}(_);var Xe={now:function(){return(Xe.delegate||Date).now()},delegate:void 0};var yt=function(e){K(t,e);function t(r,n,o){r===void 0&&(r=Infinity),n===void 0&&(n=Infinity),o===void 0&&(o=Xe);var i=e.call(this)||this;return i.bufferSize=r,i.windowTime=n,i.timestampProvider=o,i.buffer=[],i.infiniteTimeWindow=!0,i.infiniteTimeWindow=n===Infinity,i.bufferSize=Math.max(1,r),i.windowTime=Math.max(1,n),i}return t.prototype.next=function(r){var n=this,o=n.isStopped,i=n.buffer,a=n.infiniteTimeWindow,s=n.timestampProvider,c=n.windowTime;o||(i.push(r),!a&&i.push(s.now()+c)),this.trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this.trimBuffer();for(var n=this._innerSubscribe(r),o=this,i=o.infiniteTimeWindow,a=o.buffer,s=a.slice(),c=0;c<s.length&&!r.closed;c+=i?1:2)r.next(s[c]);return this._checkFinalizedStatuses(r),n},t.prototype.trimBuffer=function(){var r=this,n=r.bufferSize,o=r.timestampProvider,i=r.buffer,a=r.infiniteTimeWindow,s=(a?1:2)*n;if(n<Infinity&&s<i.length&&i.splice(0,i.length-s),!a){for(var c=o.now(),u=0,l=1;l<i.length&&i[l]<=c;l+=2)u=l;u&&i.splice(0,u+1)}},t}(_);var an=function(e){K(t,e);function t(r,n){return e.call(this)||this}return t.prototype.schedule=function(r,n){return n===void 0&&(n=0),this},t}(oe);var Ze={setInterval:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Ze.delegate;return((r==null?void 0:r.setInterval)||setInterval).apply(void 0,j([],H(e)))},clearInterval:function(e){var t=Ze.delegate;return((t==null?void 0:t.clearInterval)||clearInterval)(e)},delegate:void 0};var xt=function(e){K(t,e);function t(r,n){var o=e.call(this,r,n)||this;return o.scheduler=r,o.work=n,o.pending=!1,o}return t.prototype.schedule=function(r,n){if(n===void 0&&(n=0),this.closed)return this;this.state=r;var o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=this.id||this.requestAsyncId(i,this.id,n),this},t.prototype.requestAsyncId=function(r,n,o){return o===void 0&&(o=0),Ze.setInterval(r.flush.bind(r,this),o)},t.prototype.recycleAsyncId=function(r,n,o){if(o===void 0&&(o=0),o!=null&&this.delay===o&&this.pending===!1)return n;Ze.clearInterval(n)},t.prototype.execute=function(r,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var o=this._execute(r,n);if(o)return o;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(r,n){var o=!1,i;try{this.work(r)}catch(a){o=!0,i=!!a&&a||new Error(a)}if(o)return this.unsubscribe(),i},t.prototype.unsubscribe=function(){if(!this.closed){var r=this,n=r.id,o=r.scheduler,i=o.actions;this.work=this.state=this.scheduler=null,this.pending=!1,xe(i,this),n!=null&&(this.id=this.recycleAsyncId(o,n,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(an);var Zt=function(){function e(t,r){r===void 0&&(r=e.now),this.schedulerActionCtor=t,this.now=r}return e.prototype.schedule=function(t,r,n){return r===void 0&&(r=0),new this.schedulerActionCtor(this,t).schedule(n,r)},e.now=Xe.now,e}();var St=function(e){K(t,e);function t(r,n){n===void 0&&(n=Zt.now);var o=e.call(this,r,n)||this;return o.actions=[],o.active=!1,o.scheduled=void 0,o}return t.prototype.flush=function(r){var n=this.actions;if(this.active){n.push(r);return}var o;this.active=!0;do if(o=r.execute(r.state,r.delay))break;while(r=n.shift());if(this.active=!1,o){for(;r=n.shift();)r.unsubscribe();throw o}},t}(Zt);var et=new St(xt),sn=et;var cn=function(e){K(t,e);function t(r,n){var o=e.call(this,r,n)||this;return o.scheduler=r,o.work=n,o}return t.prototype.requestAsyncId=function(r,n,o){return o===void 0&&(o=0),o!==null&&o>0?e.prototype.requestAsyncId.call(this,r,n,o):(r.actions.push(this),r.scheduled||(r.scheduled=Ve.requestAnimationFrame(function(){return r.flush(void 0)})))},t.prototype.recycleAsyncId=function(r,n,o){if(o===void 0&&(o=0),o!=null&&o>0||o==null&&this.delay>0)return e.prototype.recycleAsyncId.call(this,r,n,o);r.actions.length===0&&(Ve.cancelAnimationFrame(n),r.scheduled=void 0)},t}(xt);var un=function(e){K(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.flush=function(r){this.active=!0,this.scheduled=void 0;var n=this.actions,o,i=-1;r=r||n.shift();var a=n.length;do if(o=r.execute(r.state,r.delay))break;while(++i<a&&(r=n.shift()));if(this.active=!1,o){for(;++i<a&&(r=n.shift());)r.unsubscribe();throw o}},t}(St);var J=new un(cn);var he=new M(function(e){return e.complete()});function De(e,t){return new M(function(r){var n=0;return t.schedule(function(){n===e.length?r.complete():(r.next(e[n++]),r.closed||this.schedule())})})}var Ue=function(e){return e&&typeof e.length=="number"&&typeof e!="function"};function wt(e){return S(e==null?void 0:e.then)}function ln(e,t){return new M(function(r){var n=new oe;return n.add(t.schedule(function(){var o=e[Ee]();n.add(o.subscribe({next:function(i){n.add(t.schedule(function(){return r.next(i)}))},error:function(i){n.add(t.schedule(function(){return r.error(i)}))},complete:function(){n.add(t.schedule(function(){return r.complete()}))}}))})),n})}function fn(e,t){return new M(function(r){return t.schedule(function(){return e.then(function(n){r.add(t.schedule(function(){r.next(n),r.add(t.schedule(function(){return r.complete()}))}))},function(n){r.add(t.schedule(function(){return r.error(n)}))})})})}function qi(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Et=qi();function pn(e,t,r,n){n===void 0&&(n=0);var o=t.schedule(function(){try{r.call(this)}catch(i){e.error(i)}},n);return e.add(o),o}function mn(e,t){return new M(function(r){var n;return r.add(t.schedule(function(){n=e[Et](),pn(r,t,function(){var o=n.next(),i=o.value,a=o.done;a?r.complete():(r.next(i),this.schedule())})})),function(){return S(n==null?void 0:n.return)&&n.return()}})}function Ot(e){return S(e[Ee])}function Tt(e){return S(e==null?void 0:e[Et])}function dn(e,t){if(!e)throw new Error("Iterable cannot be null");return new M(function(r){var n=new oe;return n.add(t.schedule(function(){var o=e[Symbol.asyncIterator]();n.add(t.schedule(function(){var i=this;o.next().then(function(a){a.done?r.complete():(r.next(a.value),i.schedule())})}))})),n})}function _t(e){return Symbol.asyncIterator&&S(e==null?void 0:e[Symbol.asyncIterator])}function Mt(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, Array, AsyncIterable, or Iterable.")}function hn(e,t){if(e!=null){if(Ot(e))return ln(e,t);if(Ue(e))return De(e,t);if(wt(e))return fn(e,t);if(_t(e))return dn(e,t);if(Tt(e))return mn(e,t)}throw Mt(e)}function Se(e,t){return t?hn(e,t):W(e)}function W(e){if(e instanceof M)return e;if(e!=null){if(Ot(e))return Ki(e);if(Ue(e))return er(e);if(wt(e))return Ji(e);if(_t(e))return Bi(e);if(Tt(e))return Yi(e)}throw Mt(e)}function Ki(e){return new M(function(t){var r=e[Ee]();if(S(r.subscribe))return r.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function er(e){return new M(function(t){for(var r=0;r<e.length&&!t.closed;r++)t.next(e[r]);t.complete()})}function Ji(e){return new M(function(t){e.then(function(r){t.closed||(t.next(r),t.complete())},function(r){return t.error(r)}).then(null,gt)})}function Yi(e){return new M(function(t){var r,n;try{for(var o=ce(e),i=o.next();!i.done;i=o.next()){var a=i.value;if(t.next(a),t.closed)return}}catch(s){r={error:s}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}t.complete()})}function Bi(e){return new M(function(t){Gi(e,t).catch(function(r){return t.error(r)})})}function Gi(e,t){var r,n,o,i;return Kr(this,void 0,void 0,function(){var a,s;return Jr(this,function(c){switch(c.label){case 0:c.trys.push([0,5,6,11]),r=Yr(e),c.label=1;case 1:return[4,r.next()];case 2:if(n=c.sent(),!!n.done)return[3,4];if(a=n.value,t.next(a),t.closed)return[2];c.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return s=c.sent(),o={error:s},[3,11];case 6:return c.trys.push([6,,9,10]),n&&!n.done&&(i=r.return)?[4,i.call(r)]:[3,8];case 7:c.sent(),c.label=8;case 8:return[3,10];case 9:if(o)throw o.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}})})}function be(e,t){return t?De(e,t):er(e)}function At(e){return e&&S(e.schedule)}function tr(e){return e[e.length-1]}function Oe(e){return S(tr(e))?e.pop():void 0}function fe(e){return At(tr(e))?e.pop():void 0}function Lt(e,t){return typeof tr(e)=="number"?e.pop():t}function F(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=fe(e);return r?De(e,r):be(e)}function bn(e){return e instanceof Date&&!isNaN(e)}function p(e,t){return g(function(r,n){var o=0;r.subscribe(new x(n,function(i){n.next(e.call(t,i,o++))}))})}var Xi=Array.isArray;function Zi(e,t){return Xi(t)?e.apply(void 0,j([],H(t))):e(t)}function Ne(e){return p(function(t){return Zi(e,t)})}function Y(e,t){return t===void 0&&(t=0),g(function(r,n){r.subscribe(new x(n,function(o){return n.add(e.schedule(function(){return n.next(o)},t))},function(o){return n.add(e.schedule(function(){return n.error(o)},t))},function(){return n.add(e.schedule(function(){return n.complete()},t))}))})}var ea=Array.isArray,ta=Object.getPrototypeOf,ra=Object.prototype,na=Object.keys;function vn(e){if(e.length===1){var t=e[0];if(ea(t))return{args:t,keys:null};if(oa(t)){var r=na(t);return{args:r.map(function(n){return t[n]}),keys:r}}}return{args:e,keys:null}}function oa(e){return e&&typeof e=="object"&&ta(e)===ra}function gn(e,t){return e.reduce(function(r,n,o){return r[n]=t[o],r},{})}function B(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=fe(e),n=Oe(e),o=vn(e),i=o.args,a=o.keys;if(i.length===0)return Se([],r);var s=new M(rr(i,r,a?function(c){return gn(a,c)}:ue));return n?s.pipe(Ne(n)):s}function rr(e,t,r){return r===void 0&&(r=ue),function(n){yn(t,function(){for(var o=e.length,i=new Array(o),a=o,s=o,c=function(l){yn(t,function(){var m=Se(e[l],t),f=!1;m.subscribe(new x(n,function(h){i[l]=h,f||(f=!0,s--),s||n.next(r(i.slice()))},void 0,function(){--a||n.complete()}))},n)},u=0;u<o;u++)c(u)},n)}}function yn(e,t,r){e?r.add(e.schedule(t)):t()}function xn(e,t,r,n,o,i,a,s){var c=[],u=0,l=0,m=!1,f=function(){m&&!c.length&&!u&&t.complete()},h=function(b){return u<n?y(b):c.push(b)},y=function(b){i&&t.next(b),u++;var z=!1;W(r(b,l++)).subscribe(new x(t,function(P){o==null||o(P),i?h(P):t.next(P)},void 0,function(){z=!0},function(){if(z)try{u--;for(var P=function(){var C=c.shift();a?t.add(a.schedule(function(){return y(C)})):y(C)};c.length&&u<n;)P();f()}catch(C){t.error(C)}}))};return e.subscribe(new x(t,h,void 0,function(){m=!0,f()})),function(){s==null||s()}}function te(e,t,r){return r===void 0&&(r=Infinity),S(t)?te(function(n,o){return p(function(i,a){return t(n,i,o,a)})(W(e(n,o)))},r):(typeof t=="number"&&(r=t),g(function(n,o){return xn(n,o,e,r)}))}function We(e){return e===void 0&&(e=Infinity),te(ue,e)}function Sn(){return We(1)}function tt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Sn()(be(e,fe(e)))}function Te(e){return new M(function(t){W(e()).subscribe(t)})}var ia=["addListener","removeListener"],aa=["addEventListener","removeEventListener"],sa=["on","off"];function O(e,t,r,n){if(S(r)&&(n=r,r=void 0),n)return O(e,t,r).pipe(Ne(n));var o=H(la(e)?aa.map(function(s){return function(c){return e[s](t,c,r)}}):ca(e)?ia.map(wn(e,t)):ua(e)?sa.map(wn(e,t)):[],2),i=o[0],a=o[1];if(!i&&Ue(e))return te(function(s){return O(s,t,r)})(be(e));if(!i)throw new TypeError("Invalid event target");return new M(function(s){var c=function(){for(var u=[],l=0;l<arguments.length;l++)u[l]=arguments[l];return s.next(1<u.length?u:u[0])};return i(c),function(){return a(c)}})}function wn(e,t){return function(r){return function(n){return e[r](t,n)}}}function ca(e){return S(e.addListener)&&S(e.removeListener)}function ua(e){return S(e.on)&&S(e.off)}function la(e){return S(e.addEventListener)&&S(e.removeEventListener)}function En(e,t,r){e===void 0&&(e=0),r===void 0&&(r=sn);var n=-1;return t!=null&&(At(t)?r=t:n=t),new M(function(o){var i=bn(e)?+e-r.now():e;i<0&&(i=0);var a=0;return r.schedule(function(){o.closed||(o.next(a++),0<=n?this.schedule(void 0,n):o.complete())},i)})}var fa=Array.isArray;function _e(e){return e.length===1&&fa(e[0])?e[0]:e}function R(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=fe(e),n=Lt(e,Infinity),o=_e(e);return o.length?o.length===1?W(o[0]):We(n)(be(o,r)):he}var ee=new M(Z);function L(e,t){return g(function(r,n){var o=0;r.subscribe(new x(n,function(i){return e.call(t,i,o++)&&n.next(i)}))})}function Ht(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Oe(e),n=_e(e);return n.length?new M(function(o){var i=n.map(function(){return[]}),a=n.map(function(){return!1});o.add(function(){i=a=null});for(var s=function(u){W(n[u]).subscribe(new x(o,function(l){if(i[u].push(l),i.every(function(f){return f.length})){var m=i.map(function(f){return f.shift()});o.next(r?r.apply(void 0,j([],H(m))):m),i.some(function(f,h){return!f.length&&a[h]})&&o.complete()}},void 0,function(){a[u]=!0,!i[u].length&&o.complete()}))},c=0;!o.closed&&c<n.length;c++)s(c);return function(){i=a=null}}):he}function ve(e,t){return t===void 0&&(t=null),t=t!=null?t:e,g(function(r,n){var o=[],i=0;r.subscribe(new x(n,function(a){var s,c,u,l,m=null;i++%t==0&&o.push([]);try{for(var f=ce(o),h=f.next();!h.done;h=f.next()){var y=h.value;y.push(a),e<=y.length&&(m=m!=null?m:[],m.push(y))}}catch(P){s={error:P}}finally{try{h&&!h.done&&(c=f.return)&&c.call(f)}finally{if(s)throw s.error}}if(m)try{for(var b=ce(m),z=b.next();!z.done;z=b.next()){var y=z.value;xe(o,y),n.next(y)}}catch(P){u={error:P}}finally{try{z&&!z.done&&(l=b.return)&&l.call(b)}finally{if(u)throw u.error}}},void 0,function(){var a,s;try{for(var c=ce(o),u=c.next();!u.done;u=c.next()){var l=u.value;n.next(l)}}catch(m){a={error:m}}finally{try{u&&!u.done&&(s=c.return)&&s.call(c)}finally{if(a)throw a.error}}n.complete()},function(){o=null}))})}function rt(e){return g(function(t,r){var n=null,o=!1,i;n=t.subscribe(new x(r,void 0,function(a){i=W(e(a,rt(e)(t))),n?(n.unsubscribe(),n=null,i.subscribe(r)):o=!0})),o&&(n.unsubscribe(),n=null,i.subscribe(r))})}function On(e,t,r,n,o){return function(i,a){var s=r,c=t,u=0;i.subscribe(new x(a,function(l){var m=u++;c=s?e(c,l,m):(s=!0,l),n&&a.next(c)},void 0,o&&function(){s&&a.next(c),a.complete()}))}}function nr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Oe(e);return r?tn(nr.apply(void 0,j([],H(e))),Ne(r)):g(function(n,o){rr(j([n],H(_e(e))))(o)})}function or(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return nr.apply(void 0,j([],H(e)))}function Tn(e,t){return S(t)?te(e,t,1):te(e,1)}function _n(e,t){return t===void 0&&(t=et),g(function(r,n){var o=null,i=null,a=null,s=function(){if(o){o.unsubscribe(),o=null;var u=i;i=null,n.next(u)}};function c(){var u=a+e,l=t.now();if(l<u){o=this.schedule(void 0,u-l);return}s()}r.subscribe(new x(n,function(u){i=u,a=t.now(),o||(o=t.schedule(c,e))},void 0,function(){s(),n.complete()},function(){i=o=null}))})}function ze(e){return g(function(t,r){var n=!1;t.subscribe(new x(r,function(o){n=!0,r.next(o)},void 0,function(){n||r.next(e),r.complete()}))})}function nt(e){return e<=0?function(){return he}:g(function(t,r){var n=0;t.subscribe(new x(r,function(o){++n<=e&&(r.next(o),e<=n&&r.complete())}))})}function Mn(){return g(function(e,t){e.subscribe(new x(t,Z))})}function ne(e){return g(function(t,r){t.subscribe(new x(r,function(){return r.next(e)}))})}function ir(e,t){return t?function(r){return tt(t.pipe(nt(1),Mn()),r.pipe(ir(e)))}:te(function(r,n){return e(r,n).pipe(nt(1),ne(r))})}function Me(e,t){t===void 0&&(t=et);var r=En(e,t);return ir(function(){return r})}function Q(e,t){return t===void 0&&(t=ue),e=e!=null?e:pa,g(function(r,n){var o,i=!0;r.subscribe(new x(n,function(a){var s=t(a);(i||!e(o,s))&&(i=!1,o=s,n.next(a))}))})}function pa(e,t){return e===t}function N(e,t){return Q(function(r,n){return t?t(r[e],n[e]):r[e]===n[e]})}function V(e){return g(function(t,r){t.subscribe(r),r.add(e)})}function An(e){return e<=0?function(){return he}:g(function(t,r){var n=[];t.subscribe(new x(r,function(o){n.push(o),e<n.length&&n.shift()},void 0,function(){var o,i;try{for(var a=ce(n),s=a.next();!s.done;s=a.next()){var c=s.value;r.next(c)}}catch(u){o={error:u}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(o)throw o.error}}r.complete()},function(){n=null}))})}function Ln(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=fe(e),n=Lt(e,Infinity);return e=_e(e),g(function(o,i){We(n)(be(j([o],H(e)),r)).subscribe(i)})}function Ct(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Ln.apply(void 0,j([],H(e)))}function ot(e){return g(function(t,r){var n=!1,o=null;t.subscribe(new x(r,function(a){n=!0,o=a}));var i=function(){if(n){n=!1;var a=o;o=null,r.next(a)}};e.subscribe(new x(r,i,void 0,Z))})}function Hn(e,t){return g(On(e,t,arguments.length>=2,!0))}function ie(e){e=e||{};var t=e.connector,r=t===void 0?function(){return new _}:t,n=e.resetOnComplete,o=n===void 0?!0:n,i=e.resetOnError,a=i===void 0?!0:i,s=e.resetOnRefCountZero,c=s===void 0?!0:s,u=null,l=null,m=0,f=!1,h=!1,y=function(){u=l=null,f=h=!1};return g(function(b,z){return m++,l=l!=null?l:r(),l.subscribe(z),u||(u=Se(b).subscribe({next:function(P){return l.next(P)},error:function(P){h=!0;var C=l;a&&y(),C.error(P)},complete:function(){f=!0;var P=l;o&&y(),P.complete()}})),function(){if(m--,c&&!m&&!h&&!f){var P=u;y(),P==null||P.unsubscribe()}}})}function re(e,t,r){var n,o,i,a=!1;return e&&typeof e=="object"?(i=(n=e.bufferSize)!==null&&n!==void 0?n:Infinity,t=(o=e.windowTime)!==null&&o!==void 0?o:Infinity,a=!!e.refCount,r=e.scheduler):i=e!=null?e:Infinity,ie({connector:function(){return new yt(i,t,r)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:a})}function ar(e){return L(function(t,r){return e<=r})}function Cn(e){return g(function(t,r){var n=!1,o=new x(r,function(){o==null||o.unsubscribe(),n=!0},void 0,Z);W(e).subscribe(o),t.subscribe(new x(r,function(i){return n&&r.next(i)}))})}function D(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=fe(e);return g(function(n,o){(r?tt(e,n,r):tt(e,n)).subscribe(o)})}function E(e,t){return g(function(r,n){var o=null,i=0,a=!1,s=function(){return a&&!o&&n.complete()};r.subscribe(new x(n,function(c){o==null||o.unsubscribe();var u=0,l=i++;W(e(c,l)).subscribe(o=new x(n,function(m){return n.next(t?t(c,m,l,u++):m)},void 0,function(){o=null,s()}))},void 0,function(){a=!0,s()}))})}function kn(e,t){return S(t)?E(function(){return e},t):E(function(){return e})}function jn(e){return g(function(t,r){W(e).subscribe(new x(r,function(){return r.complete()},void 0,Z)),!r.closed&&t.subscribe(r)})}function Fn(e,t){return t===void 0&&(t=!1),g(function(r,n){var o=0;r.subscribe(new x(n,function(i){var a=e(i,o++);(a||t)&&n.next(i),!a&&n.complete()}))})}function k(e,t,r){var n=S(e)||t||r?{next:e,error:t,complete:r}:e;return n?g(function(o,i){o.subscribe(new x(i,function(a){var s;(s=n.next)===null||s===void 0||s.call(n,a),i.next(a)},function(a){var s;(s=n.error)===null||s===void 0||s.call(n,a),i.error(a)},function(){var a;(a=n.complete)===null||a===void 0||a.call(n),i.complete()}))}):ue}var ma={leading:!0,trailing:!1};function In(e,t){var r=t===void 0?ma:t,n=r.leading,o=r.trailing;return g(function(i,a){var s=!1,c=null,u=null,l=!1,m=function(){u==null||u.unsubscribe(),u=null,o&&(y(),l&&a.complete())},f=function(){u=null,l&&a.complete()},h=function(b){return u=W(e(b)).subscribe(new x(a,m,void 0,f))},y=function(){if(s){s=!1;var b=c;c=null,a.next(b),!l&&h(b)}};i.subscribe(new x(a,function(b){s=!0,c=b,!(u&&!u.closed)&&(n?y():h(b))},void 0,function(){l=!0,!(o&&s&&u&&!u.closed)&&a.complete()}))})}function ge(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Oe(e);return g(function(n,o){for(var i=e.length,a=new Array(i),s=e.map(function(){return!1}),c=!1,u=function(m){W(e[m]).subscribe(new x(o,function(f){a[m]=f,!c&&!s[m]&&(s[m]=!0,(c=s.every(ue))&&(s=null))},void 0,Z))},l=0;l<i;l++)u(l);n.subscribe(new x(o,function(m){if(c){var f=j([m],H(a));o.next(r?r.apply(void 0,j([],H(f))):f)}}))})}function Rn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return g(function(r,n){Ht.apply(void 0,j([r],H(e))).subscribe(n)})}function Pn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Rn.apply(void 0,j([],H(e)))}function $n(){let e=new yt;return O(document,"DOMContentLoaded").pipe(ne(document)).subscribe(e),e}function ae(e,t=document){return t.querySelector(e)||void 0}function pe(e,t=document){let r=ae(e,t);if(typeof r=="undefined")throw new ReferenceError(`Missing element: expected "${e}" to be present`);return r}function ke(){return document.activeElement instanceof HTMLElement?document.activeElement:void 0}function q(e,t=document){return Array.from(t.querySelectorAll(e))}function Qe(e){return document.createElement(e)}function je(e,...t){e.replaceWith(...t)}function Ae(e,t=!0){t?e.focus():e.blur()}function Vn(e){return R(O(e,"focus"),O(e,"blur")).pipe(p(({type:t})=>t==="focus"),D(e===ke()))}var Dn=new _,da=Te(()=>F(new ResizeObserver(e=>{for(let t of e)Dn.next(t)}))).pipe(E(e=>ee.pipe(D(e)).pipe(V(()=>e.disconnect()))),re(1));function Le(e){return{width:e.offsetWidth,height:e.offsetHeight}}function kt(e){return{width:e.scrollWidth,height:e.scrollHeight}}function He(e){return da.pipe(k(t=>t.observe(e)),E(t=>Dn.pipe(L(({target:r})=>r===e),V(()=>t.unobserve(e)),p(()=>Le(e)))),D(Le(e)))}function Un(e){return{x:e.scrollLeft,y:e.scrollTop}}function ha(e){return R(O(e,"scroll"),O(window,"resize")).pipe(p(()=>Un(e)),D(Un(e)))}function Nn(e,t=16){return ha(e).pipe(p(({y:r})=>{let n=Le(e),o=kt(e);return r>=o.height-n.height-t}),Q())}function Wn(e){if(e instanceof HTMLInputElement)e.select();else throw new Error("Not implemented")}var jt={drawer:pe("[data-md-toggle=drawer]"),search:pe("[data-md-toggle=search]")};function zn(e){return jt[e].checked}function Fe(e,t){jt[e].checked!==t&&jt[e].click()}function Ft(e){let t=jt[e];return O(t,"change").pipe(p(()=>t.checked),D(t.checked))}function ba(e){switch(e.tagName){case"INPUT":case"SELECT":case"TEXTAREA":return!0;default:return e.isContentEditable}}function Qn(){return O(window,"keydown").pipe(L(e=>!(e.metaKey||e.ctrlKey)),p(e=>({mode:zn("search")?"search":"global",type:e.key,claim(){e.preventDefault(),e.stopPropagation()}})),L(({mode:e})=>{if(e==="global"){let t=ke();if(typeof t!="undefined")return!ba(t)}return!0}),ie())}function qn(){return new URL(location.href)}function Kn(e){location.href=e.href}function Jn(){return new _}function Yn(){return location.hash.substring(1)}function Bn(e){let t=Qe("a");t.href=e,t.addEventListener("click",r=>r.stopPropagation()),t.click()}function va(){return O(window,"hashchange").pipe(p(Yn),D(Yn()),L(e=>e.length>0),ie())}function Gn(){return va().pipe(E(e=>F(ae(`[id="${e}"]`))))}function qe(e){let t=matchMedia(e);return O(t,"change").pipe(p(r=>r.matches),D(t.matches))}function Xn(){return R(qe("print").pipe(L(Boolean)),O(window,"beforeprint")).pipe(ne(void 0))}function sr(e,t){return e.pipe(E(r=>r?t():ee))}function It(e,t={credentials:"same-origin"}){return Se(fetch(`${e}`,t)).pipe(L(r=>r.status===200))}function ye(e,t){return It(e,t).pipe(E(r=>r.json()),re(1))}function Zn(e,t){let r=new DOMParser;return It(e,t).pipe(E(n=>n.text()),p(n=>r.parseFromString(n,"text/xml")),re(1))}function eo(){return{x:Math.max(0,pageXOffset),y:Math.max(0,pageYOffset)}}function cr({x:e,y:t}){window.scrollTo(e||0,t||0)}function to(){return R(O(window,"scroll",{passive:!0}),O(window,"resize",{passive:!0})).pipe(p(eo),D(eo()))}function ro(){return{width:innerWidth,height:innerHeight}}function no(){return O(window,"resize",{passive:!0}).pipe(p(ro),D(ro()))}function oo(){return B([to(),no()]).pipe(p(([e,t])=>({offset:e,size:t})),re(1))}function Rt(e,{viewport$:t,header$:r}){let n=t.pipe(N("size")),o=B([n,r]).pipe(p(()=>({x:e.offsetLeft,y:e.offsetTop})));return B([r,t,o]).pipe(p(([{height:i},{offset:a,size:s},{x:c,y:u}])=>({offset:{x:a.x-c,y:a.y-u+i},size:s})))}function io(e,{tx$:t}){let r=O(e,"message").pipe(p(({data:n})=>n));return t.pipe(In(()=>r,{leading:!0,trailing:!0}),k(n=>e.postMessage(n)),kn(r),ie())}var ga=pe("#__config"),Ke=JSON.parse(ga.textContent);Ke.base=new URL(Ke.base,qn()).toString().replace(/\/$/,"");function se(){return Ke}function Pt(e){return Ke.features.includes(e)}function G(e,t){return typeof t!="undefined"?Ke.translations[e].replace("#",t.toString()):Ke.translations[e]}function Ce(e,t=document){return pe(`[data-md-component=${e}]`,t)}function me(e,t=document){return q(`[data-md-component=${e}]`,t)}var Wo=Be(lr());function ao(e,t=0){e.setAttribute("tabindex",t.toString())}function so(e){e.removeAttribute("tabindex")}function co(e,t){e.setAttribute("data-md-state","lock"),e.style.top=`-${t}px`}function uo(e){let t=-1*parseInt(e.style.top,10);e.removeAttribute("data-md-state"),e.style.top="",t&&window.scrollTo(0,t)}function lo(e,t){e.setAttribute("data-md-state",t)}function fo(e){e.removeAttribute("data-md-state")}function po(e,t){e.classList.toggle("md-nav__link--active",t)}function mo(e){e.classList.remove("md-nav__link--active")}function ho(e,t){e.firstElementChild.innerHTML=t}function bo(e,t){e.setAttribute("data-md-state",t)}function vo(e){e.removeAttribute("data-md-state")}function go(e,t){e.setAttribute("data-md-state",t)}function yo(e){e.removeAttribute("data-md-state")}function xo(e,t){e.setAttribute("data-md-state",t)}function So(e){e.removeAttribute("data-md-state")}function wo(e,t){e.placeholder=t}function Eo(e){e.placeholder=G("search.placeholder")}function Oo(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 r of t)Oo(e,r)}function U(e,t,...r){let n=document.createElement(e);if(t)for(let o of Object.keys(t))typeof t[o]!="boolean"?n.setAttribute(o,t[o]):t[o]&&n.setAttribute(o,"");for(let o of r)Oo(n,o);return n}function To(e,t){let r=t;if(e.length>r){for(;e[r]!==" "&&--r>0;);return`${e.substring(0,r)}...`}return e}function $t(e){if(e>999){let t=+((e-950)%1e3>99);return`${((e+1e-6)/1e3).toFixed(t)}k`}else return e.toString()}function _o(e,t){switch(t){case 0:e.textContent=G("search.result.none");break;case 1:e.textContent=G("search.result.one");break;default:e.textContent=G("search.result.other",$t(t))}}function Mo(e){e.textContent=G("search.result.placeholder")}function Ao(e,t){e.appendChild(t)}function Lo(e){e.innerHTML=""}function Ho(e,t){e.style.top=`${t}px`}function Co(e){e.style.top=""}function ko(e,t){let r=e.firstElementChild;r.style.height=`${t-2*r.offsetTop}px`}function jo(e){let t=e.firstElementChild;t.style.height=""}function Fo(e,t){e.lastElementChild.appendChild(t)}function Io(e,t){e.lastElementChild.setAttribute("data-md-state",t)}function Ro(e,t){e.setAttribute("data-md-state",t)}function fr(e){e.removeAttribute("data-md-state")}function Po(e,t){e.setAttribute("data-md-state",t)}function pr(e){e.removeAttribute("data-md-state")}function $o(e){return U("button",{class:"md-clipboard md-icon",title:G("clipboard.copy"),"data-clipboard-target":`#${e} > code`})}var Ie;(function(e){e[e.TEASER=1]="TEASER",e[e.PARENT=2]="PARENT"})(Ie||(Ie={}));function mr(e,t){let r=t&2,n=t&1,o=Object.keys(e.terms).filter(a=>!e.terms[a]).map(a=>[U("del",null,a)," "]).flat().slice(0,-1),i=e.location;return U("a",{href:i,class:"md-search-result__link",tabIndex:-1},U("article",{class:["md-search-result__article",...r?["md-search-result__article--document"]:[]].join(" "),"data-md-score":e.score.toFixed(2)},r>0&&U("div",{class:"md-search-result__icon md-icon"}),U("h1",{class:"md-search-result__title"},e.title),n>0&&e.text.length>0&&U("p",{class:"md-search-result__teaser"},To(e.text,320)),n>0&&o.length>0&&U("p",{class:"md-search-result__terms"},G("search.result.term.missing"),": ",o)))}function Vo(e){let t=e[0].score,r=[...e],n=r.findIndex(u=>!u.location.includes("#")),[o]=r.splice(n,1),i=r.findIndex(u=>u.score<t);i===-1&&(i=r.length);let a=r.slice(0,i),s=r.slice(i),c=[mr(o,2|+(!n&&i===0)),...a.map(u=>mr(u,1)),...s.length?[U("details",{class:"md-search-result__more"},U("summary",{tabIndex:-1},s.length>0&&s.length===1?G("search.result.more.one"):G("search.result.more.other",s.length)),s.map(u=>mr(u,1)))]:[]];return U("li",{class:"md-search-result__item"},c)}function Do(e){return U("ul",{class:"md-source__facts"},Object.entries(e).map(([t,r])=>U("li",{class:`md-source__fact md-source__fact--${t}`},typeof r=="number"?$t(r):r)))}function Uo(e){return U("div",{class:"md-typeset__scrollwrap"},U("div",{class:"md-typeset__table"},e))}function ya(e){let t=se(),r=new URL(`${e.version}/`,t.base);return U("li",{class:"md-version__item"},U("a",{href:r.toString(),class:"md-version__link"},e.title))}function No(e){let t=se(),[,r]=t.base.match(/([^/]+)\/?$/),n=e.find(({version:o,aliases:i})=>o===r||i.includes(r))||e[0];return U("div",{class:"md-version"},U("span",{class:"md-version__current"},n.title),U("ul",{class:"md-version__list"},e.map(ya)))}var xa=0;function Sa(e,{viewport$:t}){let r=F(e).pipe(E(n=>{let o=n.closest("[data-tabs]");return o instanceof HTMLElement?R(...q("input",o).map(i=>O(i,"change"))):ee}));return R(t.pipe(N("size")),r).pipe(p(()=>{let n=Le(e);return{scroll:kt(e).width>n.width}}),N("scroll"))}function zo(e,t){let r=new _;if(r.pipe(ge(qe("(hover)"))).subscribe(([{scroll:n},o])=>{n&&o?ao(e):so(e)}),Wo.default.isSupported()){let n=e.closest("pre");n.id=`__code_${xa++}`,n.insertBefore($o(n.id),e)}return Sa(e,t).pipe(k(r),V(()=>r.complete()),p(n=>$({ref:e},n)))}function wa(e,{target$:t,print$:r}){return t.pipe(p(n=>n.closest("details:not([open])")),L(n=>e===n),Ct(r),ne(e))}function Qo(e,t){let r=new _;return r.subscribe(()=>{e.setAttribute("open",""),e.scrollIntoView()}),wa(e,t).pipe(k(r),V(()=>r.complete()),ne({ref:e}))}var qo=Qe("table");function Ko(e){return je(e,qo),je(qo,Uo(e)),F({ref:e})}function Jo(e,{target$:t,viewport$:r,print$:n}){return R(...q("pre > code",e).map(o=>zo(o,{viewport$:r})),...q("table:not([class])",e).map(o=>Ko(o)),...q("details",e).map(o=>Qo(o,{target$:t,print$:n})))}function Ea(e,{alert$:t}){return t.pipe(E(r=>R(F(!0),F(!1).pipe(Me(2e3))).pipe(p(n=>({message:r,open:n})))))}function Yo(e,t){let r=new _;return r.pipe(Y(J)).subscribe(({message:n,open:o})=>{ho(e,n),o?bo(e,"open"):vo(e)}),Ea(e,t).pipe(k(r),V(()=>r.complete()),p(n=>$({ref:e},n)))}function Oa({viewport$:e}){if(!Pt("header.autohide"))return F(!1);let t=e.pipe(p(({offset:{y:o}})=>o),ve(2,1),p(([o,i])=>[o<i,i]),N(0)),r=B([e,t]).pipe(L(([{offset:o},[,i]])=>Math.abs(i-o.y)>100),p(([,[o]])=>o),Q()),n=Ft("search");return B([e,n]).pipe(p(([{offset:o},i])=>o.y>400&&!i),Q(),E(o=>o?r:F(!1)),D(!1))}function Bo(e,t){return Te(()=>{let r=getComputedStyle(e);return F(r.position==="sticky"||r.position==="-webkit-sticky")}).pipe(or(He(e),Oa(t)),p(([r,{height:n},o])=>({height:r?n:0,sticky:r,hidden:o})),Q((r,n)=>r.sticky===n.sticky&&r.height===n.height&&r.hidden===n.hidden),re(1))}function Go(e,{header$:t,main$:r}){let n=new _;return n.pipe(N("active"),or(t),Y(J)).subscribe(([{active:o},{hidden:i}])=>{o?go(e,i?"hidden":"shadow"):yo(e)}),r.subscribe(o=>n.next(o)),t.pipe(p(o=>$({ref:e},o)))}function Ta(e,{viewport$:t,header$:r}){return Rt(e,{header$:r,viewport$:t}).pipe(p(({offset:{y:n}})=>{let{height:o}=Le(e);return{active:n>=o}}),N("active"))}function Xo(e,t){let r=new _;r.pipe(Y(J)).subscribe(({active:o})=>{o?xo(e,"active"):So(e)});let n=ae("article h1");return typeof n=="undefined"?ee:Ta(n,t).pipe(k(r),V(()=>r.complete()),p(o=>$({ref:e},o)))}function Zo(e,{viewport$:t,header$:r}){let n=r.pipe(p(({height:i})=>i),Q()),o=n.pipe(E(()=>He(e).pipe(p(({height:i})=>({top:e.offsetTop,bottom:e.offsetTop+i})),N("bottom"))));return B([n,o,t]).pipe(p(([i,{top:a,bottom:s},{offset:{y:c},size:{height:u}}])=>(u=Math.max(0,u-Math.max(0,a-c,i)-Math.max(0,u+c-s)),{offset:a-i,height:u,active:a-i<=c})),Q((i,a)=>i.offset===a.offset&&i.height===a.height&&i.active===a.active))}function _a(e){let t=localStorage.getItem(__prefix("__palette")),r=JSON.parse(t)||{index:e.findIndex(o=>matchMedia(o.getAttribute("data-md-color-media")).matches)},n=F(...e).pipe(te(o=>O(o,"change").pipe(ne(o))),D(e[Math.max(0,r.index)]),p(o=>({index:e.indexOf(o),color:{scheme:o.getAttribute("data-md-color-scheme"),primary:o.getAttribute("data-md-color-primary"),accent:o.getAttribute("data-md-color-accent")}})),re(1));return n.subscribe(o=>{localStorage.setItem(__prefix("__palette"),JSON.stringify(o))}),n}function ei(e){let t=new _;t.subscribe(n=>{for(let[o,i]of Object.entries(n.color))typeof i=="string"&&document.body.setAttribute(`data-md-color-${o}`,i);for(let o=0;o<r.length;o++){let i=r[o].nextElementSibling;i.hidden=n.index!==o}});let r=q("input",e);return _a(r).pipe(k(t),V(()=>t.complete()),p(n=>$({ref:e},n)))}var dr=Be(lr());function ti({alert$:e}){dr.default.isSupported()&&new M(t=>{new dr.default("[data-clipboard-target], [data-clipboard-text]").on("success",r=>t.next(r))}).subscribe(()=>e.next(G("clipboard.copied")))}function Ma(e){if(e.length<2)return e;let[t,r]=e.sort((i,a)=>i.length-a.length).map(i=>i.replace(/[^/]+$/,"")),n=0;if(t===r)n=t.length;else for(;t.charCodeAt(n)===r.charCodeAt(n);)n++;let o=se();return e.map(i=>i.replace(t.slice(0,n),`${o.base}/`))}function ri({document$:e,location$:t,viewport$:r}){let n=se();if(location.protocol==="file:")return;"scrollRestoration"in history&&(history.scrollRestoration="manual",O(window,"beforeunload").subscribe(()=>{history.scrollRestoration="auto"}));let o=ae("link[rel=icon]");typeof o!="undefined"&&(o.href=o.href);let i=Zn(`${n.base}/sitemap.xml`).pipe(p(u=>Ma(q("loc",u).map(l=>l.textContent))),E(u=>O(document.body,"click").pipe(L(l=>!l.metaKey&&!l.ctrlKey),E(l=>{if(l.target instanceof Element){let m=l.target.closest("a");if(m&&!m.target&&u.includes(m.href))return l.preventDefault(),F({url:new URL(m.href)})}return ee}))),ie()),a=O(window,"popstate").pipe(L(u=>u.state!==null),p(u=>({url:new URL(location.href),offset:u.state})),ie());R(i,a).pipe(Q((u,l)=>u.url.href===l.url.href),p(({url:u})=>u)).subscribe(t);let s=t.pipe(N("pathname"),E(u=>It(u.href).pipe(rt(()=>(Kn(u),ee)))),ie());i.pipe(ot(s)).subscribe(({url:u})=>{history.pushState({},"",`${u}`)});let c=new DOMParser;s.pipe(E(u=>u.text()),p(u=>c.parseFromString(u,"text/html"))).subscribe(e),R(i,a).pipe(ot(e)).subscribe(({url:u,offset:l})=>{u.hash&&!l?Bn(u.hash):cr(l||{y:0})}),e.pipe(ar(1)).subscribe(u=>{for(let l 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], .md-logo","[data-md-component=skip]"]){let m=ae(l),f=ae(l,u);typeof m!="undefined"&&typeof f!="undefined"&&je(m,f)}}),e.pipe(ar(1),p(()=>Ce("container")),E(u=>F(...q("script",u))),Tn(u=>{let l=Qe("script");if(u.src){for(let m of u.getAttributeNames())l.setAttribute(m,u.getAttribute(m));return je(u,l),new M(m=>{l.onload=()=>m.complete()})}else return l.textContent=u.textContent,je(u,l),he})).subscribe(),r.pipe(Cn(i),_n(250),N("offset")).subscribe(({offset:u})=>{history.replaceState(u,"")}),R(i,a).pipe(ve(2,1),L(([u,l])=>u.url.pathname===l.url.pathname),p(([,u])=>u)).subscribe(({offset:u})=>{cr(u||{y:0})})}var Ha=Be(oi());function ii(e){return e.split(/"([^"]+)"/g).map((t,r)=>r&1?t.replace(/^\b|^(?![^\x00-\x7F]|$)|\s+/g," +"):t).join("").replace(/"|(?:^|\s+)[*+\-:^~]+(?=\s+|$)/g,"").trim()}var we;(function(e){e[e.SETUP=0]="SETUP",e[e.READY=1]="READY",e[e.QUERY=2]="QUERY",e[e.RESULT=3]="RESULT"})(we||(we={}));function ai(e){return e.type===1}function si(e){return e.type===2}function Vt(e){return e.type===3}function Ca({config:e,docs:t,index:r}){e.lang.length===1&&e.lang[0]==="en"&&(e.lang=[G("search.config.lang")]),e.separator==="[\\s\\-]+"&&(e.separator=G("search.config.separator"));let n=G("search.config.pipeline").split(/\s*,\s*/).filter(Boolean);return{config:e,docs:t,index:r,pipeline:n}}function ci(e,t){let r=se(),n=new Worker(e),o=new _,i=io(n,{tx$:o}).pipe(p(a=>{if(Vt(a))for(let s of a.data)for(let c of s)c.location=`${r.base}/${c.location}`;return a}),ie());return Se(t).pipe(p(a=>({type:we.SETUP,data:Ca(a)}))).subscribe(o.next.bind(o)),{tx$:o,rx$:i}}function ui(){let e=se();ye(new URL("versions.json",e.base)).subscribe(t=>{pe(".md-header__topic").appendChild(No(t))})}function ka(e){let t=(__search==null?void 0:__search.transform)||ii,r=Vn(e),n=R(O(e,"keyup"),O(e,"focus").pipe(Me(1))).pipe(p(()=>t(e.value)),Q());return B([n,r]).pipe(p(([o,i])=>({value:o,focus:i})))}function li(e,{tx$:t}){let r=new _;return r.pipe(N("value"),p(({value:n})=>({type:we.QUERY,data:n}))).subscribe(t.next.bind(t)),r.pipe(N("focus")).subscribe(({focus:n})=>{n?(Fe("search",n),wo(e,"")):Eo(e)}),O(e.form,"reset").pipe(jn(r.pipe(An(1)))).subscribe(()=>Ae(e)),ka(e).pipe(k(r),V(()=>r.complete()),p(n=>$({ref:e},n)))}function fi(e,{rx$:t},{query$:r}){let n=new _,o=Nn(e.parentElement).pipe(L(Boolean)),i=pe(":scope > :first-child",e);n.pipe(Y(J),ge(r)).subscribe(([{data:c},{value:u}])=>{u?_o(i,c.length):Mo(i)});let a=pe(":scope > :last-child",e);return n.pipe(Y(J),k(()=>Lo(a)),E(({data:c})=>R(F(...c.slice(0,10)),F(...c.slice(10)).pipe(ve(4),Pn(o),E(([u])=>F(...u)))))).subscribe(c=>{Ao(a,Vo(c))}),t.pipe(L(Vt),p(({data:c})=>({data:c})),D({data:[]})).pipe(k(n),V(()=>n.complete()),p(c=>$({ref:e},c)))}function pi(e,{index$:t,keyboard$:r}){let n=se(),o=ci(n.search,t),i=Ce("search-query",e),a=Ce("search-result",e),{tx$:s,rx$:c}=o;s.pipe(L(si),ot(c.pipe(L(ai))),nt(1)).subscribe(s.next.bind(s)),r.pipe(L(({mode:l})=>l==="search")).subscribe(l=>{let m=ke();switch(l.type){case"Enter":m===i&&l.claim();break;case"Escape":case"Tab":Fe("search",!1),Ae(i,!1);break;case"ArrowUp":case"ArrowDown":if(typeof m=="undefined")Ae(i);else{let f=[i,...q(":not(details) > [href], summary, details[open] [href]",a)],h=Math.max(0,(Math.max(0,f.indexOf(m))+f.length+(l.type==="ArrowUp"?-1:1))%f.length);Ae(f[h])}l.claim();break;default:i!==ke()&&Ae(i)}}),r.pipe(L(({mode:l})=>l==="global")).subscribe(l=>{switch(l.type){case"f":case"s":case"/":Ae(i),Wn(i),l.claim();break}});let u=li(i,o);return R(u,fi(a,o,{query$:u}))}function ja(e,{viewport$:t,main$:r}){let n=e.parentElement.offsetTop-e.parentElement.parentElement.offsetTop;return B([r,t]).pipe(p(([{offset:o,height:i},{offset:{y:a}}])=>(i=i+Math.min(n,Math.max(0,a-o))-n,{height:i,locked:a>=o+n})),Q((o,i)=>o.height===i.height&&o.locked===i.locked))}function hr(e,n){var{header$:t}=n,r=wr(n,["header$"]);let o=new _;return o.pipe(Y(J),ge(t)).subscribe({next([{height:i},{height:a}]){ko(e,i),Ho(e,a)},complete(){Co(e),jo(e)}}),ja(e,r).pipe(k(o),V(()=>o.complete()),p(i=>$({ref:e},i)))}function mi(e,t){if(typeof t!="undefined"){let r=`https://api.github.com/repos/${e}/${t}`;return Ht(ye(`${r}/releases/latest`).pipe(p(n=>({version:n.tag_name})),ze({})),ye(r).pipe(p(n=>({stars:n.stargazers_count,forks:n.forks_count})),ze({}))).pipe(p(([n,o])=>$($({},n),o)))}else{let r=`https://api.github.com/repos/${e}`;return ye(r).pipe(p(n=>({repositories:n.public_repos})),ze({}))}}function di(e,t){let r=`https://${e}/api/v4/projects/${encodeURIComponent(t)}`;return ye(r).pipe(p(({star_count:n,forks_count:o})=>({stars:n,forks:o})),ze({}))}function hi(e){let[t]=e.match(/(git(?:hub|lab))/i)||[];switch(t.toLowerCase()){case"github":let[,r,n]=e.match(/^.+github\.com\/([^/]+)\/?([^/]+)?/i);return mi(r,n);case"gitlab":let[,o,i]=e.match(/^.+?([^/]*gitlab[^/]+)\/(.+?)\/?$/i);return di(o,i);default:return ee}}var Fa;function Ia(e){return Fa||(Fa=Te(()=>{let t=sessionStorage.getItem(__prefix("__source"));if(t)return F(JSON.parse(t));{let r=hi(e.href);return r.subscribe(n=>{try{sessionStorage.setItem(__prefix("__source"),JSON.stringify(n))}catch(o){}}),r}}).pipe(rt(()=>ee),L(t=>Object.keys(t).length>0),p(t=>({facts:t})),re(1)))}function bi(e){let t=new _;return t.subscribe(({facts:r})=>{Fo(e,Do(r)),Io(e,"done")}),Ia(e).pipe(k(t),V(()=>t.complete()),p(r=>$({ref:e},r)))}function Ra(e,{viewport$:t,header$:r}){return He(document.body).pipe(E(()=>Rt(e,{header$:r,viewport$:t})),p(({offset:{y:n}})=>({hidden:n>=10})),N("hidden"))}function vi(e,t){let r=new _;return r.pipe(Y(J)).subscribe({next({hidden:n}){n?Ro(e,"hidden"):fr(e)},complete(){fr(e)}}),Ra(e,t).pipe(k(r),V(()=>r.complete()),p(n=>$({ref:e},n)))}function Pa(e,{viewport$:t,header$:r}){let n=new Map;for(let a of e){let s=decodeURIComponent(a.hash.substring(1)),c=ae(`[id="${s}"]`);typeof c!="undefined"&&n.set(a,c)}let o=r.pipe(p(a=>24+a.height));return He(document.body).pipe(N("height"),p(()=>{let a=[];return[...n].reduce((s,[c,u])=>{for(;a.length&&n.get(a[a.length-1]).tagName>=u.tagName;)a.pop();let l=u.offsetTop;for(;!l&&u.parentElement;)u=u.parentElement,l=u.offsetTop;return s.set([...a=[...a,c]].reverse(),l)},new Map)}),p(a=>new Map([...a].sort(([,s],[,c])=>s-c))),E(a=>B([o,t]).pipe(Hn(([s,c],[u,{offset:{y:l}}])=>{for(;c.length;){let[,m]=c[0];if(m-u<l)s=[...s,c.shift()];else break}for(;s.length;){let[,m]=s[s.length-1];if(m-u>=l)c=[s.pop(),...c];else break}return[s,c]},[[],[...a]]),Q((s,c)=>s[0]===c[0]&&s[1]===c[1])))).pipe(p(([a,s])=>({prev:a.map(([c])=>c),next:s.map(([c])=>c)})),D({prev:[],next:[]}),ve(2,1),p(([a,s])=>a.prev.length<s.prev.length?{prev:s.prev.slice(Math.max(0,a.prev.length-1),s.prev.length),next:[]}:{prev:s.prev.slice(-1),next:s.next.slice(0,s.next.length-a.next.length)}))}function gi(e,t){let r=new _;r.pipe(Y(J)).subscribe(({prev:o,next:i})=>{for(let[a]of i)mo(a),fo(a);for(let[a,[s]]of o.entries())po(s,a===o.length-1),lo(s,"blur")});let n=q("[href^=\\#]",e);return Pa(n,t).pipe(k(r),V(()=>r.complete()),p(o=>$({ref:e},o)))}function $a(e,{viewport$:t,main$:r}){let n=t.pipe(p(({offset:{y:i}})=>i),ve(2,1),p(([i,a])=>i>a),Q()),o=r.pipe(N("active"));return B([o,n]).pipe(p(([{active:i},a])=>({hidden:!(i&&a)})),Q((i,a)=>i.hidden===a.hidden))}function yi(e,t){let r=new _;return r.pipe(Y(J)).subscribe({next({hidden:n}){n?Po(e,"hidden"):pr(e)},complete(){pr(e)}}),$a(e,t).pipe(k(r),V(()=>r.complete()),p(n=>$({ref:e},n)))}function xi({document$:e,tablet$:t}){e.pipe(E(()=>F(...q("[data-md-state=indeterminate]"))),k(r=>{r.indeterminate=!0,r.checked=!1}),te(r=>O(r,"change").pipe(Fn(()=>r.hasAttribute("data-md-state")),ne(r))),ge(t)).subscribe(([r,n])=>{r.removeAttribute("data-md-state"),n&&(r.checked=!1)})}function Va(){return/(iPad|iPhone|iPod)/.test(navigator.userAgent)}function Si({document$:e}){e.pipe(E(()=>F(...q("[data-md-scrollfix]"))),k(t=>t.removeAttribute("data-md-scrollfix")),L(Va),te(t=>O(t,"touchstart").pipe(ne(t)))).subscribe(t=>{let r=t.scrollTop;r===0?t.scrollTop=1:r+t.offsetHeight===t.scrollHeight&&(t.scrollTop=r-1)})}function wi({viewport$:e,tablet$:t}){B([Ft("search"),t]).pipe(p(([r,n])=>r&&!n),E(r=>F(r).pipe(Me(r?400:100),Y(J))),ge(e)).subscribe(([r,{offset:{y:n}}])=>{r?co(document.body,n):uo(document.body)})}document.documentElement.classList.remove("no-js");document.documentElement.classList.add("js");var Je=$n(),br=Jn(),vr=Gn(),gr=Qn(),le=oo(),Dt=qe("(min-width: 960px)"),Ei=qe("(min-width: 1220px)"),Oi=Xn(),Ti=se(),Da=document.forms.namedItem("search")?(__search==null?void 0:__search.index)||ye(`${Ti.base}/search/search_index.json`):ee,yr=new _;ti({alert$:yr});Pt("navigation.instant")&&ri({document$:Je,location$:br,viewport$:le});var _i;((_i=Ti.version)==null?void 0:_i.provider)==="mike"&&ui();R(br,vr).pipe(Me(125)).subscribe(()=>{Fe("drawer",!1),Fe("search",!1)});gr.pipe(L(({mode:e})=>e==="global")).subscribe(e=>{switch(e.type){case"p":case",":let t=ae("[href][rel=prev]");typeof t!="undefined"&&t.click();break;case"n":case".":let r=ae("[href][rel=next]");typeof r!="undefined"&&r.click();break}});xi({document$:Je,tablet$:Dt});Si({document$:Je});wi({viewport$:le,tablet$:Dt});var Re=Bo(Ce("header"),{viewport$:le}),Ut=Je.pipe(p(()=>Ce("main")),E(e=>Zo(e,{viewport$:le,header$:Re})),re(1)),Ua=R(...me("dialog").map(e=>Yo(e,{alert$:yr})),...me("header").map(e=>Go(e,{viewport$:le,header$:Re,main$:Ut})),...me("palette").map(e=>ei(e)),...me("search").map(e=>pi(e,{index$:Da,keyboard$:gr})),...me("source").map(e=>bi(e))),Na=Te(()=>R(...me("content").map(e=>Jo(e,{target$:vr,viewport$:le,print$:Oi})),...me("header-title").map(e=>Xo(e,{viewport$:le,header$:Re})),...me("sidebar").map(e=>e.getAttribute("data-md-type")==="navigation"?sr(Ei,()=>hr(e,{viewport$:le,header$:Re,main$:Ut})):sr(Dt,()=>hr(e,{viewport$:le,header$:Re,main$:Ut}))),...me("tabs").map(e=>vi(e,{viewport$:le,header$:Re})),...me("toc").map(e=>gi(e,{viewport$:le,header$:Re})),...me("top").map(e=>yi(e,{viewport$:le,main$:Ut})))),Mi=Je.pipe(E(()=>Na),Ct(Ua),re(1));Mi.subscribe();window.document$=Je;window.location$=br;window.target$=vr;window.keyboard$=gr;window.viewport$=le;window.tablet$=Dt;window.screen$=Ei;window.print$=Oi;window.alert$=yr;window.component$=Mi;})();
|
|
/*!
|
|
* clipboard.js v2.0.8
|
|
* https://clipboardjs.com/
|
|
*
|
|
* Licensed MIT © Zeno Rocha
|
|
*/
|
|
/*!
|
|
* escape-html
|
|
* Copyright(c) 2012-2013 TJ Holowaychuk
|
|
* Copyright(c) 2015 Andreas Lubbe
|
|
* Copyright(c) 2015 Tiancheng "Timothy" Gu
|
|
* MIT Licensed
|
|
*/
|
|
/*! *****************************************************************************
|
|
Copyright (c) Microsoft Corporation.
|
|
|
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
purpose with or without fee is hereby granted.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
PERFORMANCE OF THIS SOFTWARE.
|
|
***************************************************************************** */
|
|
//# sourceMappingURL=bundle.d892486b.min.js.map
|
|
|