bpm-presentation/plugin/search/search.esm.js
2022-01-19 21:19:28 -05:00

8 lines
21 KiB
JavaScript

var e,t,n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},r=function(e){try{return!!e()}catch(e){return!0}},o=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),i=function(e){return e&&e.Math==Math&&e},u=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof n&&n)||function(){return this}()||Function("return this")(),c=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),a=c,l=Function.prototype,f=l.bind,s=l.call,p=a&&f.bind(s,s),d=a?function(e){return e&&p(e)}:function(e){return e&&function(){return s.apply(e,arguments)}},g=function(e){return"function"==typeof e},v=r,y=g,h=/#|\.prototype\./,b=function(e,t){var n=x[m(e)];return n==w||n!=S&&(y(t)?v(t):!!t)},m=b.normalize=function(e){return String(e).replace(h,".").toLowerCase()},x=b.data={},S=b.NATIVE="N",w=b.POLYFILL="P",O=b,E=g,j=function(e){return"object"==typeof e?null!==e:E(e)},R=u,I=j,T=R.String,P=R.TypeError,C=function(e){if(I(e))return e;throw P(T(e)+" is not an object")},_=u,k=g,A=_.String,N=_.TypeError,$=d,M=C,F=function(e){if("object"==typeof e||k(e))return e;throw N("Can't set "+A(e)+" as a prototype")},L=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=$(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return M(n),F(r),t?e(n,r):n.__proto__=r,n}}():void 0),D=g,z=j,K=L,B={},U=j,W=u.document,Y=U(W)&&U(W.createElement),G=function(e){return Y?W.createElement(e):{}},V=G,q=!o&&!r((function(){return 7!=Object.defineProperty(V("div"),"a",{get:function(){return 7}}).a})),X=o&&r((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),H=c,J=Function.prototype.call,Q=H?J.bind(J):function(){return J.apply(J,arguments)},Z=u,ee=g,te=function(e){return ee(e)?e:void 0},ne=function(e,t){return arguments.length<2?te(Z[e]):Z[e]&&Z[e][t]},re=d({}.isPrototypeOf),oe=u,ie=ne("navigator","userAgent")||"",ue=oe.process,ce=oe.Deno,ae=ue&&ue.versions||ce&&ce.version,le=ae&&ae.v8;le&&(t=(e=le.split("."))[0]>0&&e[0]<4?1:+(e[0]+e[1])),!t&&ie&&(!(e=ie.match(/Edge\/(\d+)/))||e[1]>=74)&&(e=ie.match(/Chrome\/(\d+)/))&&(t=+e[1]);var fe=t,se=r,pe=!!Object.getOwnPropertySymbols&&!se((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&fe&&fe<41})),de=pe&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ge=ne,ve=g,ye=re,he=de,be=u.Object,me=he?function(e){return"symbol"==typeof e}:function(e){var t=ge("Symbol");return ve(t)&&ye(t.prototype,be(e))},xe=u.String,Se=g,we=function(e){try{return xe(e)}catch(e){return"Object"}},Oe=u.TypeError,Ee=function(e){if(Se(e))return e;throw Oe(we(e)+" is not a function")},je=function(e,t){var n=e[t];return null==n?void 0:Ee(n)},Re=Q,Ie=g,Te=j,Pe=u.TypeError,Ce={exports:{}},_e=u,ke=Object.defineProperty,Ae=function(e,t){try{ke(_e,e,{value:t,configurable:!0,writable:!0})}catch(n){_e[e]=t}return t},Ne=Ae,$e=u["__core-js_shared__"]||Ne("__core-js_shared__",{}),Me=$e;(Ce.exports=function(e,t){return Me[e]||(Me[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.20.3",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.20.3/LICENSE",source:"https://github.com/zloirock/core-js"});var Fe=u.TypeError,Le=function(e){if(null==e)throw Fe("Can't call method on "+e);return e},De=Le,ze=u.Object,Ke=function(e){return ze(De(e))},Be=Ke,Ue=d({}.hasOwnProperty),We=Object.hasOwn||function(e,t){return Ue(Be(e),t)},Ye=d,Ge=0,Ve=Math.random(),qe=Ye(1..toString),Xe=function(e){return"Symbol("+(void 0===e?"":e)+")_"+qe(++Ge+Ve,36)},He=u,Je=Ce.exports,Qe=We,Ze=Xe,et=pe,tt=de,nt=Je("wks"),rt=He.Symbol,ot=rt&&rt.for,it=tt?rt:rt&&rt.withoutSetter||Ze,ut=function(e){if(!Qe(nt,e)||!et&&"string"!=typeof nt[e]){var t="Symbol."+e;et&&Qe(rt,e)?nt[e]=rt[e]:nt[e]=tt&&ot?ot(t):it(t)}return nt[e]},ct=Q,at=j,lt=me,ft=je,st=function(e,t){var n,r;if("string"===t&&Ie(n=e.toString)&&!Te(r=Re(n,e)))return r;if(Ie(n=e.valueOf)&&!Te(r=Re(n,e)))return r;if("string"!==t&&Ie(n=e.toString)&&!Te(r=Re(n,e)))return r;throw Pe("Can't convert object to primitive value")},pt=ut,dt=u.TypeError,gt=pt("toPrimitive"),vt=function(e,t){if(!at(e)||lt(e))return e;var n,r=ft(e,gt);if(r){if(void 0===t&&(t="default"),n=ct(r,e,t),!at(n)||lt(n))return n;throw dt("Can't convert object to primitive value")}return void 0===t&&(t="number"),st(e,t)},yt=me,ht=function(e){var t=vt(e,"string");return yt(t)?t:t+""},bt=o,mt=q,xt=X,St=C,wt=ht,Ot=u.TypeError,Et=Object.defineProperty,jt=Object.getOwnPropertyDescriptor;B.f=bt?xt?function(e,t,n){if(St(e),t=wt(t),St(n),"function"==typeof e&&"prototype"===t&&"value"in n&&"writable"in n&&!n.writable){var r=jt(e,t);r&&r.writable&&(e[t]=n.value,n={configurable:"configurable"in n?n.configurable:r.configurable,enumerable:"enumerable"in n?n.enumerable:r.enumerable,writable:!1})}return Et(e,t,n)}:Et:function(e,t,n){if(St(e),t=wt(t),St(n),mt)try{return Et(e,t,n)}catch(e){}if("get"in n||"set"in n)throw Ot("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var Rt=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},It=B,Tt=Rt,Pt=o?function(e,t,n){return It.f(e,t,Tt(1,n))}:function(e,t,n){return e[t]=n,e},Ct={},_t=d,kt=_t({}.toString),At=_t("".slice),Nt=function(e){return At(kt(e),8,-1)},$t=d,Mt=r,Ft=Nt,Lt=u.Object,Dt=$t("".split),zt=Mt((function(){return!Lt("z").propertyIsEnumerable(0)}))?function(e){return"String"==Ft(e)?Dt(e,""):Lt(e)}:Lt,Kt=Le,Bt=function(e){return zt(Kt(e))},Ut=Math.ceil,Wt=Math.floor,Yt=function(e){var t=+e;return t!=t||0===t?0:(t>0?Wt:Ut)(t)},Gt=Yt,Vt=Math.max,qt=Math.min,Xt=Yt,Ht=Math.min,Jt=function(e){return e>0?Ht(Xt(e),9007199254740991):0},Qt=Jt,Zt=Bt,en=function(e,t){var n=Gt(e);return n<0?Vt(n+t,0):qt(n,t)},tn=function(e){return Qt(e.length)},nn=function(e){return function(t,n,r){var o,i=Zt(t),u=tn(i),c=en(r,u);if(e&&n!=n){for(;u>c;)if((o=i[c++])!=o)return!0}else for(;u>c;c++)if((e||c in i)&&i[c]===n)return e||c||0;return!e&&-1}},rn={includes:nn(!0),indexOf:nn(!1)},on={},un=We,cn=Bt,an=rn.indexOf,ln=on,fn=d([].push),sn=function(e,t){var n,r=cn(e),o=0,i=[];for(n in r)!un(ln,n)&&un(r,n)&&fn(i,n);for(;t.length>o;)un(r,n=t[o++])&&(~an(i,n)||fn(i,n));return i},pn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],dn=sn,gn=pn.concat("length","prototype");Ct.f=Object.getOwnPropertyNames||function(e){return dn(e,gn)};var vn=j,yn=Nt,hn=ut("match"),bn={};bn[ut("toStringTag")]="z";var mn="[object z]"===String(bn),xn=u,Sn=mn,wn=g,On=Nt,En=ut("toStringTag"),jn=xn.Object,Rn="Arguments"==On(function(){return arguments}()),In=Sn?On:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=jn(e),En))?n:Rn?On(t):"Object"==(r=On(t))&&wn(t.callee)?"Arguments":r},Tn=In,Pn=u.String,Cn=function(e){if("Symbol"===Tn(e))throw TypeError("Cannot convert a Symbol value to a string");return Pn(e)},_n=C,kn=function(){var e=_n(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},An=r,Nn=u.RegExp,$n=An((function(){var e=Nn("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),Mn=$n||An((function(){return!Nn("a","y").sticky})),Fn={BROKEN_CARET:$n||An((function(){var e=Nn("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:Mn,UNSUPPORTED_Y:$n},Ln={exports:{}},Dn=g,zn=$e,Kn=d(Function.toString);Dn(zn.inspectSource)||(zn.inspectSource=function(e){return Kn(e)});var Bn,Un,Wn,Yn=zn.inspectSource,Gn=g,Vn=Yn,qn=u.WeakMap,Xn=Gn(qn)&&/native code/.test(Vn(qn)),Hn=Ce.exports,Jn=Xe,Qn=Hn("keys"),Zn=function(e){return Qn[e]||(Qn[e]=Jn(e))},er=Xn,tr=u,nr=d,rr=j,or=Pt,ir=We,ur=$e,cr=Zn,ar=on,lr=tr.TypeError,fr=tr.WeakMap;if(er||ur.state){var sr=ur.state||(ur.state=new fr),pr=nr(sr.get),dr=nr(sr.has),gr=nr(sr.set);Bn=function(e,t){if(dr(sr,e))throw new lr("Object already initialized");return t.facade=e,gr(sr,e,t),t},Un=function(e){return pr(sr,e)||{}},Wn=function(e){return dr(sr,e)}}else{var vr=cr("state");ar[vr]=!0,Bn=function(e,t){if(ir(e,vr))throw new lr("Object already initialized");return t.facade=e,or(e,vr,t),t},Un=function(e){return ir(e,vr)?e[vr]:{}},Wn=function(e){return ir(e,vr)}}var yr={set:Bn,get:Un,has:Wn,enforce:function(e){return Wn(e)?Un(e):Bn(e,{})},getterFor:function(e){return function(t){var n;if(!rr(t)||(n=Un(t)).type!==e)throw lr("Incompatible receiver, "+e+" required");return n}}},hr=o,br=We,mr=Function.prototype,xr=hr&&Object.getOwnPropertyDescriptor,Sr=br(mr,"name"),wr={EXISTS:Sr,PROPER:Sr&&"something"===function(){}.name,CONFIGURABLE:Sr&&(!hr||hr&&xr(mr,"name").configurable)},Or=u,Er=g,jr=We,Rr=Pt,Ir=Ae,Tr=Yn,Pr=wr.CONFIGURABLE,Cr=yr.get,_r=yr.enforce,kr=String(String).split("String");(Ln.exports=function(e,t,n,r){var o,i=!!r&&!!r.unsafe,u=!!r&&!!r.enumerable,c=!!r&&!!r.noTargetGet,a=r&&void 0!==r.name?r.name:t;Er(n)&&("Symbol("===String(a).slice(0,7)&&(a="["+String(a).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!jr(n,"name")||Pr&&n.name!==a)&&Rr(n,"name",a),(o=_r(n)).source||(o.source=kr.join("string"==typeof a?a:""))),e!==Or?(i?!c&&e[t]&&(u=!0):delete e[t],u?e[t]=n:Rr(e,t,n)):u?e[t]=n:Ir(t,n)})(Function.prototype,"toString",(function(){return Er(this)&&Cr(this).source||Tr(this)}));var Ar=ne,Nr=B,$r=o,Mr=ut("species"),Fr=r,Lr=u.RegExp,Dr=Fr((function(){var e=Lr(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),zr=r,Kr=u.RegExp,Br=zr((function(){var e=Kr("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),Ur=o,Wr=u,Yr=d,Gr=O,Vr=function(e,t,n){var r,o;return K&&D(r=t.constructor)&&r!==n&&z(o=r.prototype)&&o!==n.prototype&&K(e,o),e},qr=Pt,Xr=B.f,Hr=Ct.f,Jr=re,Qr=function(e){var t;return vn(e)&&(void 0!==(t=e[hn])?!!t:"RegExp"==yn(e))},Zr=Cn,eo=kn,to=Fn,no=Ln.exports,ro=r,oo=We,io=yr.enforce,uo=function(e){var t=Ar(e),n=Nr.f;$r&&t&&!t[Mr]&&n(t,Mr,{configurable:!0,get:function(){return this}})},co=Dr,ao=Br,lo=ut("match"),fo=Wr.RegExp,so=fo.prototype,po=Wr.SyntaxError,go=Yr(eo),vo=Yr(so.exec),yo=Yr("".charAt),ho=Yr("".replace),bo=Yr("".indexOf),mo=Yr("".slice),xo=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,So=/a/g,wo=/a/g,Oo=new fo(So)!==So,Eo=to.MISSED_STICKY,jo=to.UNSUPPORTED_Y,Ro=Ur&&(!Oo||Eo||co||ao||ro((function(){return wo[lo]=!1,fo(So)!=So||fo(wo)==wo||"/a/i"!=fo(So,"i")})));if(Gr("RegExp",Ro)){for(var Io=function(e,t){var n,r,o,i,u,c,a=Jr(so,this),l=Qr(e),f=void 0===t,s=[],p=e;if(!a&&l&&f&&e.constructor===Io)return e;if((l||Jr(so,e))&&(e=e.source,f&&(t="flags"in p?p.flags:go(p))),e=void 0===e?"":Zr(e),t=void 0===t?"":Zr(t),p=e,co&&"dotAll"in So&&(r=!!t&&bo(t,"s")>-1)&&(t=ho(t,/s/g,"")),n=t,Eo&&"sticky"in So&&(o=!!t&&bo(t,"y")>-1)&&jo&&(t=ho(t,/y/g,"")),ao&&(i=function(e){for(var t,n=e.length,r=0,o="",i=[],u={},c=!1,a=!1,l=0,f="";r<=n;r++){if("\\"===(t=yo(e,r)))t+=yo(e,++r);else if("]"===t)c=!1;else if(!c)switch(!0){case"["===t:c=!0;break;case"("===t:vo(xo,mo(e,r+1))&&(r+=2,a=!0),o+=t,l++;continue;case">"===t&&a:if(""===f||oo(u,f))throw new po("Invalid capture group name");u[f]=!0,i[i.length]=[f,l],a=!1,f="";continue}a?f+=t:o+=t}return[o,i]}(e),e=i[0],s=i[1]),u=Vr(fo(e,t),a?this:so,Io),(r||o||s.length)&&(c=io(u),r&&(c.dotAll=!0,c.raw=Io(function(e){for(var t,n=e.length,r=0,o="",i=!1;r<=n;r++)"\\"!==(t=yo(e,r))?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),o+=t):o+="[\\s\\S]":o+=t+yo(e,++r);return o}(e),n)),o&&(c.sticky=!0),s.length&&(c.groups=s)),e!==p)try{qr(u,"source",""===p?"(?:)":p)}catch(e){}return u},To=function(e){e in Io||Xr(Io,e,{configurable:!0,get:function(){return fo[e]},set:function(t){fo[e]=t}})},Po=Hr(fo),Co=0;Po.length>Co;)To(Po[Co++]);so.constructor=Io,Io.prototype=so,no(Wr,"RegExp",Io)}uo("RegExp");var _o={},ko={},Ao={}.propertyIsEnumerable,No=Object.getOwnPropertyDescriptor,$o=No&&!Ao.call({1:2},1);ko.f=$o?function(e){var t=No(this,e);return!!t&&t.enumerable}:Ao;var Mo=o,Fo=Q,Lo=ko,Do=Rt,zo=Bt,Ko=ht,Bo=We,Uo=q,Wo=Object.getOwnPropertyDescriptor;_o.f=Mo?Wo:function(e,t){if(e=zo(e),t=Ko(t),Uo)try{return Wo(e,t)}catch(e){}if(Bo(e,t))return Do(!Fo(Lo.f,e,t),e[t])};var Yo={};Yo.f=Object.getOwnPropertySymbols;var Go=ne,Vo=Ct,qo=Yo,Xo=C,Ho=d([].concat),Jo=Go("Reflect","ownKeys")||function(e){var t=Vo.f(Xo(e)),n=qo.f;return n?Ho(t,n(e)):t},Qo=We,Zo=Jo,ei=_o,ti=B,ni=u,ri=_o.f,oi=Pt,ii=Ln.exports,ui=Ae,ci=function(e,t,n){for(var r=Zo(t),o=ti.f,i=ei.f,u=0;u<r.length;u++){var c=r[u];Qo(e,c)||n&&Qo(n,c)||o(e,c,i(t,c))}},ai=O,li={},fi=sn,si=pn,pi=Object.keys||function(e){return fi(e,si)},di=o,gi=X,vi=B,yi=C,hi=Bt,bi=pi;li.f=di&&!gi?Object.defineProperties:function(e,t){yi(e);for(var n,r=hi(t),o=bi(t),i=o.length,u=0;i>u;)vi.f(e,n=o[u++],r[n]);return e};var mi,xi=ne("document","documentElement"),Si=C,wi=li,Oi=pn,Ei=on,ji=xi,Ri=G,Ii=Zn("IE_PROTO"),Ti=function(){},Pi=function(e){return"<script>"+e+"<\/script>"},Ci=function(e){e.write(Pi("")),e.close();var t=e.parentWindow.Object;return e=null,t},_i=function(){try{mi=new ActiveXObject("htmlfile")}catch(e){}var e,t;_i="undefined"!=typeof document?document.domain&&mi?Ci(mi):((t=Ri("iframe")).style.display="none",ji.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Pi("document.F=Object")),e.close(),e.F):Ci(mi);for(var n=Oi.length;n--;)delete _i.prototype[Oi[n]];return _i()};Ei[Ii]=!0;var ki=Object.create||function(e,t){var n;return null!==e?(Ti.prototype=Si(e),n=new Ti,Ti.prototype=null,n[Ii]=e):n=_i(),void 0===t?n:wi.f(n,t)},Ai=Q,Ni=d,$i=Cn,Mi=kn,Fi=Fn,Li=Ce.exports,Di=ki,zi=yr.get,Ki=Dr,Bi=Br,Ui=Li("native-string-replace",String.prototype.replace),Wi=RegExp.prototype.exec,Yi=Wi,Gi=Ni("".charAt),Vi=Ni("".indexOf),qi=Ni("".replace),Xi=Ni("".slice),Hi=function(){var e=/a/,t=/b*/g;return Ai(Wi,e,"a"),Ai(Wi,t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),Ji=Fi.BROKEN_CARET,Qi=void 0!==/()??/.exec("")[1];(Hi||Qi||Ji||Ki||Bi)&&(Yi=function(e){var t,n,r,o,i,u,c,a=this,l=zi(a),f=$i(e),s=l.raw;if(s)return s.lastIndex=a.lastIndex,t=Ai(Yi,s,f),a.lastIndex=s.lastIndex,t;var p=l.groups,d=Ji&&a.sticky,g=Ai(Mi,a),v=a.source,y=0,h=f;if(d&&(g=qi(g,"y",""),-1===Vi(g,"g")&&(g+="g"),h=Xi(f,a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==Gi(f,a.lastIndex-1))&&(v="(?: "+v+")",h=" "+h,y++),n=new RegExp("^(?:"+v+")",g)),Qi&&(n=new RegExp("^"+v+"$(?!\\s)",g)),Hi&&(r=a.lastIndex),o=Ai(Wi,d?n:a,h),d?o?(o.input=Xi(o.input,y),o[0]=Xi(o[0],y),o.index=a.lastIndex,a.lastIndex+=o[0].length):a.lastIndex=0:Hi&&o&&(a.lastIndex=a.global?o.index+o[0].length:r),Qi&&o&&o.length>1&&Ai(Ui,o[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&p)for(o.groups=u=Di(null),i=0;i<p.length;i++)u[(c=p[i])[0]]=o[c[1]];return o});var Zi=Yi;(function(e,t){var n,r,o,i,u,c=e.target,a=e.global,l=e.stat;if(n=a?ni:l?ni[c]||ui(c,{}):(ni[c]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(u=ri(n,r))&&u.value:n[r],!ai(a?r:c+(l?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;ci(i,o)}(e.sham||o&&o.sham)&&oi(i,"sham",!0),ii(n,r,i,e)}})({target:"RegExp",proto:!0,forced:/./.exec!==Zi},{exec:Zi});var eu=d,tu=wr.PROPER,nu=Ln.exports,ru=C,ou=re,iu=Cn,uu=r,cu=kn,au=RegExp.prototype,lu=au.toString,fu=eu(cu),su=uu((function(){return"/a/b"!=lu.call({source:"a",flags:"b"})})),pu=tu&&"toString"!=lu.name;(su||pu)&&nu(RegExp.prototype,"toString",(function(){var e=ru(this),t=iu(e.source),n=e.flags;return"/"+t+"/"+iu(void 0===n&&ou(au,e)&&!("flags"in au)?fu(e):n)}),{unsafe:!0});var du=c,gu=Function.prototype,vu=gu.apply,yu=gu.call,hu="object"==typeof Reflect&&Reflect.apply||(du?yu.bind(vu):function(){return yu.apply(vu,arguments)}),bu=d,mu=Ln.exports,xu=Zi,Su=r,wu=ut,Ou=Pt,Eu=wu("species"),ju=RegExp.prototype,Ru=d,Iu=Yt,Tu=Cn,Pu=Le,Cu=Ru("".charAt),_u=Ru("".charCodeAt),ku=Ru("".slice),Au=function(e){return function(t,n){var r,o,i=Tu(Pu(t)),u=Iu(n),c=i.length;return u<0||u>=c?e?"":void 0:(r=_u(i,u))<55296||r>56319||u+1===c||(o=_u(i,u+1))<56320||o>57343?e?Cu(i,u):r:e?ku(i,u,u+2):o-56320+(r-55296<<10)+65536}},Nu={codeAt:Au(!1),charAt:Au(!0)}.charAt,$u=d,Mu=Ke,Fu=Math.floor,Lu=$u("".charAt),Du=$u("".replace),zu=$u("".slice),Ku=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Bu=/\$([$&'`]|\d{1,2})/g,Uu=Q,Wu=C,Yu=g,Gu=Nt,Vu=Zi,qu=u.TypeError,Xu=hu,Hu=Q,Ju=d,Qu=function(e,t,n,r){var o=wu(e),i=!Su((function(){var t={};return t[o]=function(){return 7},7!=""[e](t)})),u=i&&!Su((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[Eu]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return t=!0,null},n[o](""),!t}));if(!i||!u||n){var c=bu(/./[o]),a=t(o,""[e],(function(e,t,n,r,o){var u=bu(e),a=t.exec;return a===xu||a===ju.exec?i&&!o?{done:!0,value:c(t,n,r)}:{done:!0,value:u(n,t,r)}:{done:!1}}));mu(String.prototype,e,a[0]),mu(ju,o,a[1])}r&&Ou(ju[o],"sham",!0)},Zu=r,ec=C,tc=g,nc=Yt,rc=Jt,oc=Cn,ic=Le,uc=function(e,t,n){return t+(n?Nu(e,t).length:1)},cc=je,ac=function(e,t,n,r,o,i){var u=n+e.length,c=r.length,a=Bu;return void 0!==o&&(o=Mu(o),a=Ku),Du(i,a,(function(i,a){var l;switch(Lu(a,0)){case"$":return"$";case"&":return e;case"`":return zu(t,0,n);case"'":return zu(t,u);case"<":l=o[zu(a,1,-1)];break;default:var f=+a;if(0===f)return i;if(f>c){var s=Fu(f/10);return 0===s?i:s<=c?void 0===r[s-1]?Lu(a,1):r[s-1]+Lu(a,1):i}l=r[f-1]}return void 0===l?"":l}))},lc=function(e,t){var n=e.exec;if(Yu(n)){var r=Uu(n,e,t);return null!==r&&Wu(r),r}if("RegExp"===Gu(e))return Uu(Vu,e,t);throw qu("RegExp#exec called on incompatible receiver")},fc=ut("replace"),sc=Math.max,pc=Math.min,dc=Ju([].concat),gc=Ju([].push),vc=Ju("".indexOf),yc=Ju("".slice),hc="$0"==="a".replace(/./,"$0"),bc=!!/./[fc]&&""===/./[fc]("a","$0");Qu("replace",(function(e,t,n){var r=bc?"$":"$0";return[function(e,n){var r=ic(this),o=null==e?void 0:cc(e,fc);return o?Hu(o,e,r,n):Hu(t,oc(r),e,n)},function(e,o){var i=ec(this),u=oc(e);if("string"==typeof o&&-1===vc(o,r)&&-1===vc(o,"$<")){var c=n(t,i,u,o);if(c.done)return c.value}var a=tc(o);a||(o=oc(o));var l=i.global;if(l){var f=i.unicode;i.lastIndex=0}for(var s=[];;){var p=lc(i,u);if(null===p)break;if(gc(s,p),!l)break;""===oc(p[0])&&(i.lastIndex=uc(u,rc(i.lastIndex),f))}for(var d,g="",v=0,y=0;y<s.length;y++){for(var h=oc((p=s[y])[0]),b=sc(pc(nc(p.index),u.length),0),m=[],x=1;x<p.length;x++)gc(m,void 0===(d=p[x])?d:String(d));var S=p.groups;if(a){var w=dc([h],m,b,u);void 0!==S&&gc(w,S);var O=oc(Xu(o,void 0,w))}else O=ac(h,u,b,m,S,o);b>=v&&(g+=yc(u,v,b)+O,v=b+h.length)}return g+yc(u,v)}]}),!!Zu((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!hc||bc);var mc=In,xc=mn?{}.toString:function(){return"[object "+mc(this)+"]"},Sc=mn,wc=Ln.exports,Oc=xc;Sc||wc(Object.prototype,"toString",Oc,{unsafe:!0})
/*!
* Handles finding a text string anywhere in the slides and showing the next occurrence to the user
* by navigatating to that slide and highlighting it.
*
* @author Jon Snyder <snyder.jon@gmail.com>, February 2013
*/;var Ec=function(){var e,t,n,r,o,i,u;function c(){(t=document.createElement("div")).classList.add("searchbox"),t.style.position="absolute",t.style.top="10px",t.style.right="10px",t.style.zIndex=10,t.innerHTML='<input type="search" class="searchinput" placeholder="Search..." style="vertical-align: top;"/>\n\t\t</span>',(n=t.querySelector(".searchinput")).style.width="240px",n.style.fontSize="14px",n.style.padding="4px 6px",n.style.color="#000",n.style.background="#fff",n.style.borderRadius="2px",n.style.border="0",n.style.outline="0",n.style.boxShadow="0 2px 18px rgba(0, 0, 0, 0.2)",n.style["-webkit-appearance"]="none",e.getRevealElement().appendChild(t),n.addEventListener("keyup",(function(t){if(13===t.keyCode)t.preventDefault(),function(){if(i){var t=n.value;""===t?(u&&u.remove(),r=null):(u=new f("slidecontent"),r=u.apply(t),o=0)}r&&(r.length&&r.length<=o&&(o=0),r.length>o&&(e.slide(r[o].h,r[o].v),o++))}(),i=!1;else i=!0}),!1),l()}function a(){t||c(),t.style.display="inline",n.focus(),n.select()}function l(){t||c(),t.style.display="none",u&&u.remove()}function f(t,n){var r=document.getElementById(t)||document.body,o=n||"EM",i=new RegExp("^(?:"+o+"|SCRIPT|FORM)$"),u=["#ff6","#a0ffff","#9f9","#f99","#f6f"],c=[],a=0,l="",f=[];this.setRegex=function(e){e=e.replace(/^[^\w]+|[^\w]+$/g,"").replace(/[^\w'-]+/g,"|"),l=new RegExp("("+e+")","i")},this.getRegex=function(){return l.toString().replace(/^\/\\b\(|\)\\b\/i$/g,"").replace(/\|/g," ")},this.hiliteWords=function(t){if(null!=t&&t&&l&&!i.test(t.nodeName)){if(t.hasChildNodes())for(var n=0;n<t.childNodes.length;n++)this.hiliteWords(t.childNodes[n]);var r,s;if(3==t.nodeType)if((r=t.nodeValue)&&(s=l.exec(r))){for(var p=t;null!=p&&"SECTION"!=p.nodeName;)p=p.parentNode;var d=e.getIndices(p),g=f.length,v=!1;for(n=0;n<g;n++)f[n].h===d.h&&f[n].v===d.v&&(v=!0);v||f.push(d),c[s[0].toLowerCase()]||(c[s[0].toLowerCase()]=u[a++%u.length]);var y=document.createElement(o);y.appendChild(document.createTextNode(s[0])),y.style.backgroundColor=c[s[0].toLowerCase()],y.style.fontStyle="inherit",y.style.color="#000";var h=t.splitText(s.index);h.nodeValue=h.nodeValue.substring(s[0].length),t.parentNode.insertBefore(y,h)}}},this.remove=function(){for(var e,t=document.getElementsByTagName(o);t.length&&(e=t[0]);)e.parentNode.replaceChild(e.firstChild,e)},this.apply=function(e){if(null!=e&&e)return this.remove(),this.setRegex(e),this.hiliteWords(r),f}}return{id:"search",init:function(n){(e=n).registerKeyboardShortcut("CTRL + Shift + F","Search"),document.addEventListener("keydown",(function(e){"F"==e.key&&(e.ctrlKey||e.metaKey)&&(e.preventDefault(),t||c(),"inline"!==t.style.display?a():l())}),!1)},open:a}};export{Ec as default};