2021-02-14 18:19:46 +03:00
|
|
|
!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=10)}([,,function(e,t){(function(){var e,n,r,o,i,s,u,c,l,a,h,f,d,p,b,v;t.score=function(e,t,r){var o,s,u;return o=r.preparedQuery,r.allowErrors||i(e,o.core_lw,o.core_up)?(u=e.toLowerCase(),s=n(e,u,o),Math.ceil(s)):0},t.isMatch=i=function(e,t,n){var r,o,i,s,u,c,l;if(i=e.length,s=t.length,!i||s>i)return!1;for(r=-1,o=-1;++o<s;){for(u=t.charCodeAt(o),c=n.charCodeAt(o);++r<i&&(l=e.charCodeAt(r))!==u&&l!==c;);if(r===i)return!1}return!0},t.computeScore=n=function(e,t,n){var r,o,i,s,u,p,b,m,w,y,g,x,_,S,E,A,T,C,O,I,k,P,j,L;if(E=n.query,A=n.query_lw,y=e.length,_=E.length,o=(r=l(e,t,E,A)).score,r.count===_)return f(_,y,o,r.pos);if((S=t.indexOf(A))>-1)return d(e,t,E,A,S,_,y);for(I=new Array(_),u=new Array(_),L=v(_,y),x=g=Math.ceil(.75*_)+5,b=!0,w=-1;++w<_;)I[w]=0,u[w]=0;for(m=-1;++m<y;)if(!(P=t[m]).charCodeAt(0)in n.charCodes){if(b){for(w=-1;++w<_;)u[w]=0;b=!1}}else for(C=0,O=0,s=0,T=!0,b=!0,w=-1;++w<_;){if((k=I[w])>C&&(C=k),p=0,A[w]===P)if(j=c(m,e,t),p=s>0?s:h(e,t,E,A,m,w,j),(i=O+a(m,w,j,o,p))>C)C=i,x=g;else{if(T&&--x<=0)return Math.max(C,I[_-1])*L;T=!1}O=k,s=u[w],u[w]=p,I[w]=C}return(C=I[_-1])*L},t.isWordStart=c=function(e,t,n){var r,o;return 0===e||(r=t[e],o=t[e-1],s(o)||r!==n[e]&&o===n[e-1])},t.isWordEnd=u=function(e,t,n,r){var o,i;return e===r-1||(o=t[e],i=t[e+1],s(i)||o===n[e]&&i!==n[e+1])},s=function(e){return" "===e||"."===e||"-"===e||"_"===e||"/"===e||"\\"===e},b=function(e){var t;return e<20?100+(t=20-e)*t:Math.max(120-e,0)},t.scoreSize=v=function(e,t){return 150/(150+Math.abs(t-e))},f=function(e,t,n,r){return 2*e*(150*n+b(r))*v(e,t)},t.scorePattern=p=function(e,t,n,r,o){var i,s;return s=e,i=6,n===e&&(i+=2),r&&(i+=3),o&&(i+=1),e===t&&(r&&(s+=n===t?2:1),o&&(i+=1)),n+s*(s+i)},t.scoreCharacter=a=function(e,t,n,r,o){var i;return i=b(e),n?i+150*((r>o?r:o)+10):i+150*o},t.scoreConsecutives=h=function(e,t,n,r,o,i,s){var c,l,a,h,f,d,b;for(c=(a=(l=e.length)-o)<(f=(h=n.length)-i)?a:f,d=0,b=0,n[i]===e[o]&&d++;++b<c&&r[++i]===t[++o];)n[i]===e[o]&&d++;return b<c&&o--,1===b?1+2*d:p(b,h,d,s,u(o,e,t,l))},t.scoreExactMatch=d=function(e,t,n,r,o,i,s){var l,a,h,d,b;for((b=c(o,e,t))||(h=t.indexOf(r,o+1))>-1&&(b=c(h,e,t))&&(o=h),a=-1,d=0;++a<i;)n[o+a]===e[a]&&d++;return l=u(o+i-1,e,t,s),f(i,s,p(i,i,d,b,l),o)},r=new(e=function(e,t,n){this.score=e,this.pos=t,this.count=n})(0,.1,0),t.scoreAcronyms=l=function(t,n,i,u){var l,a,h,f,d,b,v,m,w,y,g;if(d=t.length,b=i.length,!(d>1&&b>1))return r;for(l=0,y=0,g=0,m=0,h=-1,f=-1;++f<b;){if(v=u[f],s(v)){if((h=n.indexOf(v,h+1))>-1){y++;continue}break}for(;++h<d;)if(v===n[h]&&c(h,t,n)){i[f]===t[h]&&m++,g+=h,l++;break}if(h===d)break}return l<2?r:(a=l===b&&o(t,n,i,l),w=p(l,b,m,!0,a),new e(w,g/l,l+y))},o=function(e,t,n,r){var o,i,s;if(o=0,(s=e.length)>12*n.length)return!1;for(i=-1;++i<s;)if(c(i,e,t)&&++o>r)return!1;return!0}}).call(this)},function(e,t,n){(function(t){(function(){var r,o,i,s,u,c,l,a;i=n(7),s=n(8),a=n(2),c=n(4),r=n(5),l=null,o="win32"===(null!=t?t.platform:void 0)?"\\":"/",e.exports={filter:function(e,t,n){return null==n&&(n={}),(null!=t?t.length:void 0)&&(null!=e?e.length:void 0)?(n=u(n,t),i(e,t,n)):[]},score:function(e,t,n){return null==n&&(n={}),(null!=e?e
|
2021-02-14 18:53:38 +03:00
|
|
|
***************************************************************************** */function A(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{c(r.next(e))}catch(e){i(e)}}function u(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,u)}c((r=r.apply(e,t||[])).next())}))}Object.create;function T(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function C(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=T(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,o,(t=e[n](t)).done,t.value)}))}}}Object.create;const O=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function I(e){return r(null==e?void 0:e.then)}const k="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator",P="function"==typeof Symbol&&Symbol.observable||"@@observable";function j(e){return e}function L(e){return 0===e.length?j:1===e.length?e[0]:function(t){return e.reduce((e,t)=>t(e),t)}}class q{constructor(e){e&&(this._subscribe=e)}lift(e){const t=new q;return t.source=this,t.operator=e,t}subscribe(e,t,n){const o=(i=e)&&i instanceof w||function(e){return e&&r(e.next)&&r(e.error)&&r(e.complete)}(i)&&a(i)?e:new y(e,t,n);var i;const{operator:s,source:u}=this;return o.add(s?s.call(o,u):u||f.useDeprecatedSynchronousErrorHandling?this._subscribe(o):this._trySubscribe(o)),o}_trySubscribe(e){try{return this._subscribe(e)}catch(t){if(f.useDeprecatedSynchronousErrorHandling)throw t;e.error(t)}}forEach(e,t){return new(t=M(t))((t,n)=>{let r;r=this.subscribe(t=>{try{e(t)}catch(e){n(e),null==r||r.unsubscribe()}},n,t)})}_subscribe(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)}[P](){return this}pipe(...e){return e.length?L(e)(this):this}toPromise(e){return new(e=M(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}function M(e){var t;return null!==(t=null!=e?e:f.Promise)&&void 0!==t?t:Promise}function $(e,t){return new q(n=>{let r=0;return t.schedule((function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())}))})}function F(e){return r(e[P])}function z(e){return r(null==e?void 0:e[k])}function H(e){return Symbol.asyncIterator&&r(null==e?void 0:e[Symbol.asyncIterator])}function D(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, Array, AsyncIterable, or Iterable.`)}function R(e,t){if(null!=e){if(F(e))return function(e,t){return new q(n=>{const r=new c;return r.add(t.schedule(()=>{const o=e[P]();r.add(o.subscribe({next(e){r.add(t.schedule(()=>n.next(e)))},error(e){r.add(t.schedule(()=>n.error(e)))},complete(){r.add(t.schedule(()=>n.complete()))}}))})),r})}(e,t);if(O(e))return $(e,t);if(I(e))return function(e,t){return new q(n=>t.schedule(()=>e.then(e=>{n.add(t.schedule(()=>{n.next(e),n.add(t.schedule(()=>n.complete()))}))},e=>{n.add(t.schedule(()=>n.error(e)))})))}(e,t);if(H(e))return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new q(n=>{const r=new c;return r.add(t.schedule(()=>{const o=e[Symbol.asyncIterator]();r.add(t.schedule((function(){o.next().then(e=>{e.done?n.complete():(n.next(e.value),this.schedule())})})))})),r})}(e,t);if(z(e))return function(e,t){return new q(n=>{let o;return n.add(t.schedule(()=>{o=e[k](),function(e,t,n,r=0){const o=t.schedule((function(){try{n.call(this)}catch(t){e.error(t)}}),r);e.add(o)}(n,t,(function(){const{value:e,done:t}=o.next();t?n.complete():(n.next(e),this.schedule())}))})),()=>r(null==o?void 0:o.retu
|