/* @preserve THIS IS A GENERATED/BUNDLED FILE BY ROLLUP if you want to view the source visit the plugins github repository */ "use strict";var t=require("obsidian"),e=require("@codemirror/state");function n(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i0&&s[0]<4?1:+(s[0]+s[1])),!l&&U&&(!(s=U.match(/Edge\/(\d+)/))||s[1]>=74)&&(s=U.match(/Chrome\/(\d+)/))&&(l=+s[1]);var V=l,q=!!Object.getOwnPropertySymbols&&!f((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&V&&V<41})),$=q&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Y=c.Object,G=$?function(t){return"symbol"==typeof t}:function(t){var e=D("Symbol");return N(e)&&j(e.prototype,Y(t))},Z=c.String,K=function(t){try{return Z(t)}catch(t){return"Object"}},X=c.TypeError,Q=function(t){if(N(t))return t;throw X(K(t)+" is not a function")},J=function(t,e){var n=t[e];return null==n?void 0:Q(n)},tt=c.TypeError,et=function(t,e){var n,r;if("string"===e&&N(n=t.toString)&&!z(r=h(n,t)))return r;if(N(n=t.valueOf)&&!z(r=h(n,t)))return r;if("string"!==e&&N(n=t.toString)&&!z(r=h(n,t)))return r;throw tt("Can't convert object to primitive value")},nt=Object.defineProperty,rt=function(t,e){try{nt(c,t,{value:e,configurable:!0,writable:!0})}catch(n){c[t]=e}return e},it=c["__core-js_shared__"]||rt("__core-js_shared__",{}),ot=o((function(t){(t.exports=function(t,e){return it[t]||(it[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.20.2",mode:"global",copyright:"© 2022 Denis Pushkarev (zloirock.ru)"})})),at=c.Object,st=function(t){return at(P(t))},lt=E({}.hasOwnProperty),ut=Object.hasOwn||function(t,e){return lt(st(t),e)},ct=0,ft=Math.random(),dt=E(1..toString),pt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+dt(++ct+ft,36)},ht=ot("wks"),vt=c.Symbol,gt=vt&&vt.for,mt=$?vt:vt&&vt.withoutSetter||pt,yt=function(t){if(!ut(ht,t)||!q&&"string"!=typeof ht[t]){var e="Symbol."+t;q&&ut(vt,t)?ht[t]=vt[t]:ht[t]=$&>?gt(e):mt(e)}return ht[t]},bt=c.TypeError,wt=yt("toPrimitive"),xt=function(t,e){if(!z(t)||G(t))return t;var n,r=J(t,wt);if(r){if(void 0===e&&(e="default"),n=h(r,t,e),!z(n)||G(n))return n;throw bt("Can't convert object to primitive value")}return void 0===e&&(e="number"),et(t,e)},kt=function(t){var e=xt(t,"string");return G(e)?e:e+""},_t=c.document,Et=z(_t)&&z(_t.createElement),St=function(t){return Et?_t.createElement(t):{}},At=!d&&!f((function(){return 7!=Object.defineProperty(St("div"),"a",{get:function(){return 7}}).a})),Tt=Object.getOwnPropertyDescriptor,Rt=d?Tt:function(t,e){if(t=M(t),e=kt(e),At)try{return Tt(t,e)}catch(t){}if(ut(t,e))return b(!h(y.f,t,e),t[e])},It={f:Rt},Ot=d&&f((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Ct=c.String,Pt=c.TypeError,Mt=function(t){if(z(t))return t;throw Pt(Ct(t)+" is not an object")},Nt=c.TypeError,zt=Object.defineProperty,Lt=Object.getOwnPropertyDescriptor,Dt=d?Ot?function(t,e,n){if(Mt(t),e=kt(e),Mt(n),"function"==typeof t&&"prototype"===e&&"value"in n&&"writable"in n&&!n.writable){var r=Lt(t,e);r&&r.writable&&(t[e]=n.value,n={configurable:"configurable"in n?n.configurable:r.configurable,enumerable:"enumerable"in n?n.enumerable:r.enumerable,writable:!1})}return zt(t,e,n)}:zt:function(t,e,n){if(Mt(t),e=kt(e),Mt(n),At)try{return zt(t,e,n)}catch(t){}if("get"in n||"set"in n)throw Nt("Accessors not supported");return"value"in n&&(t[e]=n.value),t},jt={f:Dt},Ut=d?function(t,e,n){return jt.f(t,e,b(1,n))}:function(t,e,n){return t[e]=n,t},Ft=E(Function.toString);N(it.inspectSource)||(it.inspectSource=function(t){return Ft(t)});var Bt,Wt,Ht,Vt=it.inspectSource,qt=c.WeakMap,$t=N(qt)&&/native code/.test(Vt(qt)),Yt=ot("keys"),Gt=function(t){return Yt[t]||(Yt[t]=pt(t))},Zt={},Kt=c.TypeError,Xt=c.WeakMap;if($t||it.state){var Qt=it.state||(it.state=new Xt),Jt=E(Qt.get),te=E(Qt.has),ee=E(Qt.set);Bt=function(t,e){if(te(Qt,t))throw new Kt("Object already initialized");return e.facade=t,ee(Qt,t,e),e},Wt=function(t){return Jt(Qt,t)||{}},Ht=function(t){return te(Qt,t)}}else{var ne=Gt("state");Zt[ne]=!0,Bt=function(t,e){if(ut(t,ne))throw new Kt("Object already initialized");return e.facade=t,Ut(t,ne,e),e},Wt=function(t){return ut(t,ne)?t[ne]:{}},Ht=function(t){return ut(t,ne)}}var re={set:Bt,get:Wt,has:Ht,enforce:function(t){return Ht(t)?Wt(t):Bt(t,{})},getterFor:function(t){return function(e){var n;if(!z(e)||(n=Wt(e)).type!==t)throw Kt("Incompatible receiver, "+t+" required");return n}}},ie=Function.prototype,oe=d&&Object.getOwnPropertyDescriptor,ae=ut(ie,"name"),se={EXISTS:ae,PROPER:ae&&"something"===function(){}.name,CONFIGURABLE:ae&&(!d||d&&oe(ie,"name").configurable)},le=o((function(t){var e=se.CONFIGURABLE,n=re.get,r=re.enforce,i=String(String).split("String");(t.exports=function(t,n,o,a){var s,l=!!a&&!!a.unsafe,u=!!a&&!!a.enumerable,f=!!a&&!!a.noTargetGet,d=a&&void 0!==a.name?a.name:n;N(o)&&("Symbol("===String(d).slice(0,7)&&(d="["+String(d).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!ut(o,"name")||e&&o.name!==d)&&Ut(o,"name",d),(s=r(o)).source||(s.source=i.join("string"==typeof d?d:""))),t!==c?(l?!f&&t[n]&&(u=!0):delete t[n],u?t[n]=o:Ut(t,n,o)):u?t[n]=o:rt(n,o)})(Function.prototype,"toString",(function(){return N(this)&&n(this).source||Vt(this)}))})),ue=Math.ceil,ce=Math.floor,fe=function(t){var e=+t;return e!=e||0===e?0:(e>0?ce:ue)(e)},de=Math.max,pe=Math.min,he=function(t,e){var n=fe(t);return n<0?de(n+e,0):pe(n,e)},ve=Math.min,ge=function(t){return t>0?ve(fe(t),9007199254740991):0},me=function(t){return ge(t.length)},ye=function(t){return function(e,n,r){var i,o=M(e),a=me(o),s=he(r,a);if(t&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((t||s in o)&&o[s]===n)return t||s||0;return!t&&-1}},be={includes:ye(!0),indexOf:ye(!1)},we=be.indexOf,xe=E([].push),ke=function(t,e){var n,r=M(t),i=0,o=[];for(n in r)!ut(Zt,n)&&ut(r,n)&&xe(o,n);for(;e.length>i;)ut(r,n=e[i++])&&(~we(o,n)||xe(o,n));return o},_e=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ee=_e.concat("length","prototype"),Se=Object.getOwnPropertyNames||function(t){return ke(t,Ee)},Ae={f:Se},Te={f:Object.getOwnPropertySymbols},Re=E([].concat),Ie=D("Reflect","ownKeys")||function(t){var e=Ae.f(Mt(t)),n=Te.f;return n?Re(e,n(t)):e},Oe=function(t,e,n){for(var r=Ie(e),i=jt.f,o=It.f,a=0;aa;)jt.f(t,n=i[a++],r[n]);return t},rn={f:nn},on=D("document","documentElement"),an=Gt("IE_PROTO"),sn=function(){},ln=function(t){return"