403Webshell
Server IP : 80.87.202.40  /  Your IP : 216.73.216.169
Web Server : Apache
System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64
User : bitrix ( 600)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /home/bitrix/ext_www/rospirotorg.ru/bitrix/js/ui/vue/router/dist/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/rospirotorg.ru/bitrix/js/ui/vue/router/dist/vue.router.bitrix.bundle.min.js
(function(e,t){"use strict";if(typeof e!=="undefined"&&typeof e.VueRouter!=="undefined"){var r="3.4.8";if(e.VueRouterVendor.version!=r){console.warn("BX.VueRouter already loaded. Loaded: "+e.VueRouterVendor.version+", Skipped: "+r)}e.VueRouterVendor=e.VueRouterVendor}else{function n(e,t){if(!e){throw new Error("[vue-router] "+t)}}function i(e,t){if(!e){typeof console!=="undefined"&&console.warn("[vue-router] "+t)}}function a(e,t){for(var r in t){e[r]=t[r]}return e}var o=/[!'()*]/g;var u=function e(t){return"%"+t.charCodeAt(0).toString(16)};var s=/%2C/g;var f=function e(t){return encodeURIComponent(t).replace(o,u).replace(s,",")};function c(e){try{return decodeURIComponent(e)}catch(t){{i(false,'Error decoding "'+e+'". Leaving it intact.')}}return e}function l(e,t,r){if(t===void 0)t={};var n=r||h;var a;try{a=n(e||"")}catch(e){i(false,e.message);a={}}for(var o in t){var u=t[o];a[o]=Array.isArray(u)?u.map(p):p(u)}return a}var p=function e(t){return t==null||babelHelpers.typeof(t)==="object"?t:String(t)};function h(e){var t={};e=e.trim().replace(/^(\?|#|&)/,"");if(!e){return t}e.split("&").forEach(function(e){var r=e.replace(/\+/g," ").split("=");var n=c(r.shift());var i=r.length>0?c(r.join("=")):null;if(t[n]===undefined){t[n]=i}else if(Array.isArray(t[n])){t[n].push(i)}else{t[n]=[t[n],i]}});return t}function v(e){var t=e?Object.keys(e).map(function(t){var r=e[t];if(r===undefined){return""}if(r===null){return f(t)}if(Array.isArray(r)){var n=[];r.forEach(function(e){if(e===undefined){return}if(e===null){n.push(f(t))}else{n.push(f(t)+"="+f(e))}});return n.join("&")}return f(t)+"="+f(r)}).filter(function(e){return e.length>0}).join("&"):null;return t?"?"+t:""}var d=/\/?$/;function y(e,t,r,n){var i=n&&n.options.stringifyQuery;var a=t.query||{};try{a=m(a)}catch(e){}var o={name:t.name||e&&e.name,meta:e&&e.meta||{},path:t.path||"/",hash:t.hash||"",query:a,params:t.params||{},fullPath:w(t,i),matched:e?b(e):[]};if(r){o.redirectedFrom=w(r,i)}return Object.freeze(o)}function m(e){if(Array.isArray(e)){return e.map(m)}else if(e&&babelHelpers.typeof(e)==="object"){var t={};for(var r in e){t[r]=m(e[r])}return t}else{return e}}var g=y(null,{path:"/"});function b(e){var t=[];while(e){t.unshift(e);e=e.parent}return t}function w(e,t){var r=e.path;var n=e.query;if(n===void 0)n={};var i=e.hash;if(i===void 0)i="";var a=t||v;return(r||"/")+a(n)+i}function x(e,t){if(t===g){return e===t}else if(!t){return false}else if(e.path&&t.path){return e.path.replace(d,"")===t.path.replace(d,"")&&e.hash===t.hash&&R(e.query,t.query)}else if(e.name&&t.name){return e.name===t.name&&e.hash===t.hash&&R(e.query,t.query)&&R(e.params,t.params)}else{return false}}function R(e,t){if(e===void 0)e={};if(t===void 0)t={};if(!e||!t){return e===t}var r=Object.keys(e).sort();var n=Object.keys(t).sort();if(r.length!==n.length){return false}return r.every(function(r,i){var a=e[r];var o=n[i];if(o!==r){return false}var u=t[r];if(a==null||u==null){return a===u}if(babelHelpers.typeof(a)==="object"&&babelHelpers.typeof(u)==="object"){return R(a,u)}return String(a)===String(u)})}function k(e,t){return e.path.replace(d,"/").indexOf(t.path.replace(d,"/"))===0&&(!t.hash||e.hash===t.hash)&&E(e.query,t.query)}function E(e,t){for(var r in t){if(!(r in e)){return false}}return true}function C(e){for(var t=0;t<e.matched.length;t++){var r=e.matched[t];for(var n in r.instances){var i=r.instances[n];var a=r.enteredCbs[n];if(!i||!a){continue}delete r.enteredCbs[n];for(var o=0;o<a.length;o++){if(!i._isBeingDestroyed){a[o](i)}}}}}var A={name:"RouterView",functional:true,props:{name:{type:String,default:"default"}},render:function e(t,r){var n=r.props;var i=r.children;var o=r.parent;var u=r.data;u.routerView=true;var s=o.$createElement;var f=n.name;var c=o.$route;var l=o._routerViewCache||(o._routerViewCache={});var p=0;var h=false;while(o&&o._routerRoot!==o){var v=o.$vnode?o.$vnode.data:{};if(v.routerView){p++}if(v.keepAlive&&o._directInactive&&o._inactive){h=true}o=o.$parent}u.routerViewDepth=p;if(h){var d=l[f];var y=d&&d.component;if(y){if(d.configProps){O(y,u,d.route,d.configProps)}return s(y,u,i)}else{return s()}}var m=c.matched[p];var g=m&&m.components[f];if(!m||!g){l[f]=null;return s()}l[f]={component:g};u.registerRouteInstance=function(e,t){var r=m.instances[f];if(t&&r!==e||!t&&r===e){m.instances[f]=t}};(u.hook||(u.hook={})).prepatch=function(e,t){m.instances[f]=t.componentInstance};u.hook.init=function(e){if(e.data.keepAlive&&e.componentInstance&&e.componentInstance!==m.instances[f]){m.instances[f]=e.componentInstance}C(c)};var b=m.props&&m.props[f];if(b){a(l[f],{route:c,configProps:b});O(g,u,c,b)}return s(g,u,i)}};function O(e,t,r,n){var i=t.props=_(r,n);if(i){i=t.props=a({},i);var o=t.attrs=t.attrs||{};for(var u in i){if(!e.props||!(u in e.props)){o[u]=i[u];delete i[u]}}}}function _(e,t){switch(babelHelpers.typeof(t)){case"undefined":return;case"object":return t;case"function":return t(e);case"boolean":return t?e.params:undefined;default:{i(false,'props in "'+e.path+'" is a '+babelHelpers.typeof(t)+", "+"expecting an object, function or boolean.")}}}function j(e,t,r){var n=e.charAt(0);if(n==="/"){return e}if(n==="?"||n==="#"){return t+e}var i=t.split("/");if(!r||!i[i.length-1]){i.pop()}var a=e.replace(/^\//,"").split("/");for(var o=0;o<a.length;o++){var u=a[o];if(u===".."){i.pop()}else if(u!=="."){i.push(u)}}if(i[0]!==""){i.unshift("")}return i.join("/")}function S(e){var t="";var r="";var n=e.indexOf("#");if(n>=0){t=e.slice(n);e=e.slice(0,n)}var i=e.indexOf("?");if(i>=0){r=e.slice(i+1);e=e.slice(0,i)}return{path:e,query:r,hash:t}}function L(e){return e.replace(/\/\//g,"/")}var $=Array.isArray||function(e){return Object.prototype.toString.call(e)=="[object Array]"};var P=G;var T=B;var V=I;var H=F;var q=Q;var U=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function B(e,t){var r=[];var n=0;var i=0;var a="";var o=t&&t.delimiter||"/";var u;while((u=U.exec(e))!=null){var s=u[0];var f=u[1];var c=u.index;a+=e.slice(i,c);i=c+s.length;if(f){a+=f[1];continue}var l=e[i];var p=u[2];var h=u[3];var v=u[4];var d=u[5];var y=u[6];var m=u[7];if(a){r.push(a);a=""}var g=p!=null&&l!=null&&l!==p;var b=y==="+"||y==="*";var w=y==="?"||y==="*";var x=u[2]||o;var R=v||d;r.push({name:h||n++,prefix:p||"",delimiter:x,optional:w,repeat:b,partial:g,asterisk:!!m,pattern:R?D(R):m?".*":"[^"+z(x)+"]+?"})}if(i<e.length){a+=e.substr(i)}if(a){r.push(a)}return r}function I(e,t){return F(B(e,t),t)}function M(e){return encodeURI(e).replace(/[\/?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function N(e){return encodeURI(e).replace(/[?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function F(e,t){var r=new Array(e.length);for(var n=0;n<e.length;n++){if(babelHelpers.typeof(e[n])==="object"){r[n]=new RegExp("^(?:"+e[n].pattern+")$",J(t))}}return function(t,n){var i="";var a=t||{};var o=n||{};var u=o.pretty?M:encodeURIComponent;for(var s=0;s<e.length;s++){var f=e[s];if(typeof f==="string"){i+=f;continue}var c=a[f.name];var l;if(c==null){if(f.optional){if(f.partial){i+=f.prefix}continue}else{throw new TypeError('Expected "'+f.name+'" to be defined')}}if($(c)){if(!f.repeat){throw new TypeError('Expected "'+f.name+'" to not repeat, but received `'+JSON.stringify(c)+"`")}if(c.length===0){if(f.optional){continue}else{throw new TypeError('Expected "'+f.name+'" to not be empty')}}for(var p=0;p<c.length;p++){l=u(c[p]);if(!r[s].test(l)){throw new TypeError('Expected all "'+f.name+'" to match "'+f.pattern+'", but received `'+JSON.stringify(l)+"`")}i+=(p===0?f.prefix:f.delimiter)+l}continue}l=f.asterisk?N(c):u(c);if(!r[s].test(l)){throw new TypeError('Expected "'+f.name+'" to match "'+f.pattern+'", but received "'+l+'"')}i+=f.prefix+l}return i}}function z(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function D(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function X(e,t){e.keys=t;return e}function J(e){return e&&e.sensitive?"":"i"}function K(e,t){var r=e.source.match(/\((?!\?)/g);if(r){for(var n=0;n<r.length;n++){t.push({name:n,prefix:null,delimiter:null,optional:false,repeat:false,partial:false,asterisk:false,pattern:null})}}return X(e,t)}function W(e,t,r){var n=[];for(var i=0;i<e.length;i++){n.push(G(e[i],t,r).source)}var a=new RegExp("(?:"+n.join("|")+")",J(r));return X(a,t)}function Y(e,t,r){return Q(B(e,r),t,r)}function Q(e,t,r){if(!$(t)){r=t||r;t=[]}r=r||{};var n=r.strict;var i=r.end!==false;var a="";for(var o=0;o<e.length;o++){var u=e[o];if(typeof u==="string"){a+=z(u)}else{var s=z(u.prefix);var f="(?:"+u.pattern+")";t.push(u);if(u.repeat){f+="(?:"+s+f+")*"}if(u.optional){if(!u.partial){f="(?:"+s+"("+f+"))?"}else{f=s+"("+f+")?"}}else{f=s+"("+f+")"}a+=f}}var c=z(r.delimiter||"/");var l=a.slice(-c.length)===c;if(!n){a=(l?a.slice(0,-c.length):a)+"(?:"+c+"(?=$))?"}if(i){a+="$"}else{a+=n&&l?"":"(?="+c+"|$)"}return X(new RegExp("^"+a,J(r)),t)}function G(e,t,r){if(!$(t)){r=t||r;t=[]}r=r||{};if(e instanceof RegExp){return K(e,t)}if($(e)){return W(e,t,r)}return Y(e,t,r)}P.parse=T;P.compile=V;P.tokensToFunction=H;P.tokensToRegExp=q;var Z=Object.create(null);function ee(e,t,r){t=t||{};try{var n=Z[e]||(Z[e]=P.compile(e));if(typeof t.pathMatch==="string"){t[0]=t.pathMatch}return n(t,{pretty:true})}catch(e){{i(typeof t.pathMatch==="string","missing param for "+r+": "+e.message)}return""}finally{delete t[0]}}function te(e,t,r,n){var o=typeof e==="string"?{path:e}:e;if(o._normalized){return o}else if(o.name){o=a({},e);var u=o.params;if(u&&babelHelpers.typeof(u)==="object"){o.params=a({},u)}return o}if(!o.path&&o.params&&t){o=a({},o);o._normalized=true;var s=a(a({},t.params),o.params);if(t.name){o.name=t.name;o.params=s}else if(t.matched.length){var f=t.matched[t.matched.length-1].path;o.path=ee(f,s,"path "+t.path)}else{i(false,"relative params navigation requires a current route.")}return o}var c=S(o.path||"");var p=t&&t.path||"/";var h=c.path?j(c.path,p,r||o.append):p;var v=l(c.query,o.query,n&&n.options.parseQuery);var d=o.hash||c.hash;if(d&&d.charAt(0)!=="#"){d="#"+d}return{_normalized:true,path:h,query:v,hash:d}}var re=[String,Object];var ne=[String,Array];var ie=function e(){};var ae={name:"RouterLink",props:{to:{type:re,required:true},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:ne,default:"click"}},render:function e(t){var r=this;var n=this.$router;var o=this.$route;var u=n.resolve(this.to,o,this.append);var s=u.location;var f=u.route;var c=u.href;var l={};var p=n.options.linkActiveClass;var h=n.options.linkExactActiveClass;var v=p==null?"router-link-active":p;var d=h==null?"router-link-exact-active":h;var m=this.activeClass==null?v:this.activeClass;var g=this.exactActiveClass==null?d:this.exactActiveClass;var b=f.redirectedFrom?y(null,te(f.redirectedFrom),null,n):f;l[g]=x(o,b);l[m]=this.exact?l[g]:k(o,b);var w=l[g]?this.ariaCurrentValue:null;var R=function e(t){if(oe(t)){if(r.replace){n.replace(s,ie)}else{n.push(s,ie)}}};var E={click:oe};if(Array.isArray(this.event)){this.event.forEach(function(e){E[e]=R})}else{E[this.event]=R}var C={class:l};var A=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:c,route:f,navigate:R,isActive:l[m],isExactActive:l[g]});if(A){if(A.length===1){return A[0]}else if(A.length>1||!A.length){{i(false,'RouterLink with to="'+this.to+"\" is trying to use a scoped slot but it didn't provide exactly one child. Wrapping the content with a span element.")}return A.length===0?t():t("span",{},A)}}if(this.tag==="a"){C.on=E;C.attrs={href:c,"aria-current":w}}else{var O=ue(this.$slots.default);if(O){O.isStatic=false;var _=O.data=a({},O.data);_.on=_.on||{};for(var j in _.on){var S=_.on[j];if(j in E){_.on[j]=Array.isArray(S)?S:[S]}}for(var L in E){if(L in _.on){_.on[L].push(E[L])}else{_.on[L]=R}}var $=O.data.attrs=a({},O.data.attrs);$.href=c;$["aria-current"]=w}else{C.on=E}}return t(this.tag,C,this.$slots.default)}};function oe(e){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey){return}if(e.defaultPrevented){return}if(e.button!==undefined&&e.button!==0){return}if(e.currentTarget&&e.currentTarget.getAttribute){var t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t)){return}}if(e.preventDefault){e.preventDefault()}return true}function ue(e){if(e){var t;for(var r=0;r<e.length;r++){t=e[r];if(t.tag==="a"){return t}if(t.children&&(t=ue(t.children))){return t}}}}var se;function fe(e){if(fe.installed&&se===e){return}fe.installed=true;se=e;var t=function e(t){return t!==undefined};var r=function e(r,n){var i=r.$options._parentVnode;if(t(i)&&t(i=i.data)&&t(i=i.registerRouteInstance)){i(r,n)}};e.mixin({beforeCreate:function n(){if(t(this.$options.router)){this._routerRoot=this;this._router=this.$options.router;this._router.init(this);e.util.defineReactive(this,"_route",this._router.history.current)}else{this._routerRoot=this.$parent&&this.$parent._routerRoot||this}r(this,this)},destroyed:function e(){r(this)}});Object.defineProperty(e.prototype,"$router",{get:function e(){return this._routerRoot._router}});Object.defineProperty(e.prototype,"$route",{get:function e(){return this._routerRoot._route}});e.component("RouterView",A);e.component("RouterLink",ae);var n=e.config.optionMergeStrategies;n.beforeRouteEnter=n.beforeRouteLeave=n.beforeRouteUpdate=n.created}var ce=typeof window!=="undefined";function le(e,t,r,n){var a=t||[];var o=r||Object.create(null);var u=n||Object.create(null);e.forEach(function(e){pe(a,o,u,e)});for(var s=0,f=a.length;s<f;s++){if(a[s]==="*"){a.push(a.splice(s,1)[0]);f--;s--}}{var c=a.filter(function(e){return e&&e.charAt(0)!=="*"&&e.charAt(0)!=="/"});if(c.length>0){var l=c.map(function(e){return"- "+e}).join("\n");i(false,"Non-nested routes must include a leading slash character. Fix the following routes: \n"+l)}}return{pathList:a,pathMap:o,nameMap:u}}function pe(e,t,r,a,o,u){var s=a.path;var f=a.name;{n(s!=null,'"path" is required in a route configuration.');n(typeof a.component!=="string",'route config "component" for path: '+String(s||f)+" cannot be a "+"string id. Use an actual component instead.")}var c=a.pathToRegexpOptions||{};var l=ve(s,o,c.strict);if(typeof a.caseSensitive==="boolean"){c.sensitive=a.caseSensitive}var p={path:l,regex:he(l,c),components:a.components||{default:a.component},instances:{},enteredCbs:{},name:f,parent:o,matchAs:u,redirect:a.redirect,beforeEnter:a.beforeEnter,meta:a.meta||{},props:a.props==null?{}:a.components?a.props:{default:a.props}};if(a.children){{if(a.name&&!a.redirect&&a.children.some(function(e){return/^\/?$/.test(e.path)})){i(false,"Named Route '"+a.name+"' has a default child route. "+"When navigating to this named route (:to=\"{name: '"+a.name+"'\"), "+"the default child route will not be rendered. Remove the name from "+"this route and use the name of the default child route for named "+"links instead.")}}a.children.forEach(function(n){var i=u?L(u+"/"+n.path):undefined;pe(e,t,r,n,p,i)})}if(!t[p.path]){e.push(p.path);t[p.path]=p}if(a.alias!==undefined){var h=Array.isArray(a.alias)?a.alias:[a.alias];for(var v=0;v<h.length;++v){var d=h[v];if(d===s){i(false,'Found an alias with the same value as the path: "'+s+'". You have to remove that alias. It will be ignored in development.');continue}var y={path:d,children:a.children};pe(e,t,r,y,o,p.path||"/")}}if(f){if(!r[f]){r[f]=p}else if(!u){i(false,"Duplicate named routes definition: "+'{ name: "'+f+'", path: "'+p.path+'" }')}}}function he(e,t){var r=P(e,[],t);{var n=Object.create(null);r.keys.forEach(function(t){i(!n[t.name],'Duplicate param keys in route with path: "'+e+'"');n[t.name]=true})}return r}function ve(e,t,r){if(!r){e=e.replace(/\/$/,"")}if(e[0]==="/"){return e}if(t==null){return e}return L(t.path+"/"+e)}function de(e,t){var r=le(e);var a=r.pathList;var o=r.pathMap;var u=r.nameMap;function s(e){le(e,a,o,u)}function f(e,r,n){var s=te(e,r,false,t);var f=s.name;if(f){var c=u[f];{i(c,"Route with name '"+f+"' does not exist")}if(!c){return p(null,s)}var l=c.regex.keys.filter(function(e){return!e.optional}).map(function(e){return e.name});if(babelHelpers.typeof(s.params)!=="object"){s.params={}}if(r&&babelHelpers.typeof(r.params)==="object"){for(var h in r.params){if(!(h in s.params)&&l.indexOf(h)>-1){s.params[h]=r.params[h]}}}s.path=ee(c.path,s.params,'named route "'+f+'"');return p(c,s,n)}else if(s.path){s.params={};for(var v=0;v<a.length;v++){var d=a[v];var y=o[d];if(ye(y.regex,s.path,s.params)){return p(y,s,n)}}}return p(null,s)}function c(e,r){var a=e.redirect;var o=typeof a==="function"?a(y(e,r,null,t)):a;if(typeof o==="string"){o={path:o}}if(!o||babelHelpers.typeof(o)!=="object"){{i(false,"invalid redirect option: "+JSON.stringify(o))}return p(null,r)}var s=o;var c=s.name;var l=s.path;var h=r.query;var v=r.hash;var d=r.params;h=s.hasOwnProperty("query")?s.query:h;v=s.hasOwnProperty("hash")?s.hash:v;d=s.hasOwnProperty("params")?s.params:d;if(c){var m=u[c];{n(m,'redirect failed: named route "'+c+'" not found.')}return f({_normalized:true,name:c,query:h,hash:v,params:d},undefined,r)}else if(l){var g=me(l,e);var b=ee(g,d,'redirect route with path "'+g+'"');return f({_normalized:true,path:b,query:h,hash:v},undefined,r)}else{{i(false,"invalid redirect option: "+JSON.stringify(o))}return p(null,r)}}function l(e,t,r){var n=ee(r,t.params,'aliased route with path "'+r+'"');var i=f({_normalized:true,path:n});if(i){var a=i.matched;var o=a[a.length-1];t.params=i.params;return p(o,t)}return p(null,t)}function p(e,r,n){if(e&&e.redirect){return c(e,n||r)}if(e&&e.matchAs){return l(e,r,e.matchAs)}return y(e,r,n,t)}return{match:f,addRoutes:s}}function ye(e,t,r){try{t=decodeURI(t)}catch(e){{i(false,'Error decoding "'+t+'". Leaving it intact.')}}var n=t.match(e);if(!n){return false}else if(!r){return true}for(var a=1,o=n.length;a<o;++a){var u=e.keys[a-1];if(u){r[u.name||"pathMatch"]=n[a]}}return true}function me(e,t){return j(e,t.parent?t.parent.path:"/",true)}var ge=ce&&window.performance&&window.performance.now?window.performance:Date;function be(){return ge.now().toFixed(3)}var we=be();function xe(){return we}function Re(e){return we=e}var ke=Object.create(null);function Ee(){if("scrollRestoration"in window.history){window.history.scrollRestoration="manual"}var e=window.location.protocol+"//"+window.location.host;var t=window.location.href.replace(e,"");var r=a({},window.history.state);r.key=xe();window.history.replaceState(r,"",t);window.addEventListener("popstate",Oe);return function(){window.removeEventListener("popstate",Oe)}}function Ce(e,t,r,i){if(!e.app){return}var a=e.options.scrollBehavior;if(!a){return}{n(typeof a==="function","scrollBehavior must be a function")}e.app.$nextTick(function(){var o=_e();var u=a.call(e,t,r,i?o:null);if(!u){return}if(typeof u.then==="function"){u.then(function(e){Ve(e,o)}).catch(function(e){{n(false,e.toString())}})}else{Ve(u,o)}})}function Ae(){var e=xe();if(e){ke[e]={x:window.pageXOffset,y:window.pageYOffset}}}function Oe(e){Ae();if(e.state&&e.state.key){Re(e.state.key)}}function _e(){var e=xe();if(e){return ke[e]}}function je(e,t){var r=document.documentElement;var n=r.getBoundingClientRect();var i=e.getBoundingClientRect();return{x:i.left-n.left-t.x,y:i.top-n.top-t.y}}function Se(e){return Pe(e.x)||Pe(e.y)}function Le(e){return{x:Pe(e.x)?e.x:window.pageXOffset,y:Pe(e.y)?e.y:window.pageYOffset}}function $e(e){return{x:Pe(e.x)?e.x:0,y:Pe(e.y)?e.y:0}}function Pe(e){return typeof e==="number"}var Te=/^#\d/;function Ve(e,t){var r=babelHelpers.typeof(e)==="object";if(r&&typeof e.selector==="string"){var n=Te.test(e.selector)?document.getElementById(e.selector.slice(1)):document.querySelector(e.selector);if(n){var i=e.offset&&babelHelpers.typeof(e.offset)==="object"?e.offset:{};i=$e(i);t=je(n,i)}else if(Se(e)){t=Le(e)}}else if(r&&Se(e)){t=Le(e)}if(t){if("scrollBehavior"in document.documentElement.style){window.scrollTo({left:t.x,top:t.y,behavior:e.behavior})}else{window.scrollTo(t.x,t.y)}}}var He=ce&&function(){var e=window.navigator.userAgent;if((e.indexOf("Android 2.")!==-1||e.indexOf("Android 4.0")!==-1)&&e.indexOf("Mobile Safari")!==-1&&e.indexOf("Chrome")===-1&&e.indexOf("Windows Phone")===-1){return false}return window.history&&typeof window.history.pushState==="function"}();function qe(e,t){Ae();var r=window.history;try{if(t){var n=a({},r.state);n.key=xe();r.replaceState(n,"",e)}else{r.pushState({key:Re(be())},"",e)}}catch(r){window.location[t?"replace":"assign"](e)}}function Ue(e){qe(e,true)}function Be(e,t,r){var n=function n(i){if(i>=e.length){r()}else{if(e[i]){t(e[i],function(){n(i+1)})}else{n(i+1)}}};n(0)}var Ie={redirected:2,aborted:4,cancelled:8,duplicated:16};function Me(e,t){return De(e,t,Ie.redirected,'Redirected when going from "'+e.fullPath+'" to "'+Je(t)+'" via a navigation guard.')}function Ne(e,t){var r=De(e,t,Ie.duplicated,'Avoided redundant navigation to current location: "'+e.fullPath+'".');r.name="NavigationDuplicated";return r}function Fe(e,t){return De(e,t,Ie.cancelled,'Navigation cancelled from "'+e.fullPath+'" to "'+t.fullPath+'" with a new navigation.')}function ze(e,t){return De(e,t,Ie.aborted,'Navigation aborted from "'+e.fullPath+'" to "'+t.fullPath+'" via a navigation guard.')}function De(e,t,r,n){var i=new Error(n);i._isRouter=true;i.from=e;i.to=t;i.type=r;return i}var Xe=["params","query","hash"];function Je(e){if(typeof e==="string"){return e}if("path"in e){return e.path}var t={};Xe.forEach(function(r){if(r in e){t[r]=e[r]}});return JSON.stringify(t,null,2)}function Ke(e){return Object.prototype.toString.call(e).indexOf("Error")>-1}function We(e,t){return Ke(e)&&e._isRouter&&(t==null||e.type===t)}function Ye(e){return function(t,r,n){var a=false;var o=0;var u=null;Qe(e,function(e,t,r,s){if(typeof e==="function"&&e.cid===undefined){a=true;o++;var f=tt(function(t){if(et(t)){t=t.default}e.resolved=typeof t==="function"?t:se.extend(t);r.components[s]=t;o--;if(o<=0){n()}});var c=tt(function(e){var t="Failed to resolve async component "+s+": "+e;i(false,t);if(!u){u=Ke(e)?e:new Error(t);n(u)}});var l;try{l=e(f,c)}catch(e){c(e)}if(l){if(typeof l.then==="function"){l.then(f,c)}else{var p=l.component;if(p&&typeof p.then==="function"){p.then(f,c)}}}}});if(!a){n()}}}function Qe(e,t){return Ge(e.map(function(e){return Object.keys(e.components).map(function(r){return t(e.components[r],e.instances[r],e,r)})}))}function Ge(e){return Array.prototype.concat.apply([],e)}var Ze=typeof Symbol==="function"&&babelHelpers.typeof(Symbol.toStringTag)==="symbol";function et(e){return e.__esModule||Ze&&e[Symbol.toStringTag]==="Module"}function tt(e){var t=false;return function(){var r=[],n=arguments.length;while(n--){r[n]=arguments[n]}if(t){return}t=true;return e.apply(this,r)}}var rt=function e(t,r){this.router=t;this.base=nt(r);this.current=g;this.pending=null;this.ready=false;this.readyCbs=[];this.readyErrorCbs=[];this.errorCbs=[];this.listeners=[]};rt.prototype.listen=function e(t){this.cb=t};rt.prototype.onReady=function e(t,r){if(this.ready){t()}else{this.readyCbs.push(t);if(r){this.readyErrorCbs.push(r)}}};rt.prototype.onError=function e(t){this.errorCbs.push(t)};rt.prototype.transitionTo=function e(t,r,n){var i=this;var a;try{a=this.router.match(t,this.current)}catch(e){this.errorCbs.forEach(function(t){t(e)});throw e}var o=this.current;this.confirmTransition(a,function(){i.updateRoute(a);r&&r(a);i.ensureURL();i.router.afterHooks.forEach(function(e){e&&e(a,o)});if(!i.ready){i.ready=true;i.readyCbs.forEach(function(e){e(a)})}},function(e){if(n){n(e)}if(e&&!i.ready){if(!We(e,Ie.redirected)||o!==g){i.ready=true;i.readyErrorCbs.forEach(function(t){t(e)})}}})};rt.prototype.confirmTransition=function e(t,r,n){var a=this;var o=this.current;this.pending=t;var u=function e(t){if(!We(t)&&Ke(t)){if(a.errorCbs.length){a.errorCbs.forEach(function(e){e(t)})}else{i(false,"uncaught error during route navigation:");console.error(t)}}n&&n(t)};var s=t.matched.length-1;var f=o.matched.length-1;if(x(t,o)&&s===f&&t.matched[s]===o.matched[f]){this.ensureURL();return u(Ne(o,t))}var c=it(this.current.matched,t.matched);var l=c.updated;var p=c.deactivated;var h=c.activated;var v=[].concat(ut(p),this.router.beforeHooks,st(l),h.map(function(e){return e.beforeEnter}),Ye(h));var d=function e(r,n){if(a.pending!==t){return u(Fe(o,t))}try{r(t,o,function(e){if(e===false){a.ensureURL(true);u(ze(o,t))}else if(Ke(e)){a.ensureURL(true);u(e)}else if(typeof e==="string"||babelHelpers.typeof(e)==="object"&&(typeof e.path==="string"||typeof e.name==="string")){u(Me(o,t));if(babelHelpers.typeof(e)==="object"&&e.replace){a.replace(e)}else{a.push(e)}}else{n(e)}})}catch(e){u(e)}};Be(v,d,function(){var e=ct(h);var n=e.concat(a.router.resolveHooks);Be(n,d,function(){if(a.pending!==t){return u(Fe(o,t))}a.pending=null;r(t);if(a.router.app){a.router.app.$nextTick(function(){C(t)})}})})};rt.prototype.updateRoute=function e(t){this.current=t;this.cb&&this.cb(t)};rt.prototype.setupListeners=function e(){};rt.prototype.teardown=function e(){this.listeners.forEach(function(e){e()});this.listeners=[];this.current=g;this.pending=null};function nt(e){if(!e){if(ce){var t=document.querySelector("base");e=t&&t.getAttribute("href")||"/";e=e.replace(/^https?:\/\/[^\/]+/,"")}else{e="/"}}if(e.charAt(0)!=="/"){e="/"+e}return e.replace(/\/$/,"")}function it(e,t){var r;var n=Math.max(e.length,t.length);for(r=0;r<n;r++){if(e[r]!==t[r]){break}}return{updated:t.slice(0,r),activated:t.slice(r),deactivated:e.slice(r)}}function at(e,t,r,n){var i=Qe(e,function(e,n,i,a){var o=ot(e,t);if(o){return Array.isArray(o)?o.map(function(e){return r(e,n,i,a)}):r(o,n,i,a)}});return Ge(n?i.reverse():i)}function ot(e,t){if(typeof e!=="function"){e=se.extend(e)}return e.options[t]}function ut(e){return at(e,"beforeRouteLeave",ft,true)}function st(e){return at(e,"beforeRouteUpdate",ft)}function ft(e,t){if(t){return function r(){return e.apply(t,arguments)}}}function ct(e){return at(e,"beforeRouteEnter",function(e,t,r,n){return lt(e,r,n)})}function lt(e,t,r){return function n(i,a,o){return e(i,a,function(e){if(typeof e==="function"){if(!t.enteredCbs[r]){t.enteredCbs[r]=[]}t.enteredCbs[r].push(e)}o(e)})}}var pt=function(e){function t(t,r){e.call(this,t,r);this._startLocation=ht(this.base)}if(e)t.__proto__=e;t.prototype=Object.create(e&&e.prototype);t.prototype.constructor=t;t.prototype.setupListeners=function e(){var t=this;if(this.listeners.length>0){return}var r=this.router;var n=r.options.scrollBehavior;var i=He&&n;if(i){this.listeners.push(Ee())}var a=function e(){var n=t.current;var a=ht(t.base);if(t.current===g&&a===t._startLocation){return}t.transitionTo(a,function(e){if(i){Ce(r,e,n,true)}})};window.addEventListener("popstate",a);this.listeners.push(function(){window.removeEventListener("popstate",a)})};t.prototype.go=function e(t){window.history.go(t)};t.prototype.push=function e(t,r,n){var i=this;var a=this;var o=a.current;this.transitionTo(t,function(e){qe(L(i.base+e.fullPath));Ce(i.router,e,o,false);r&&r(e)},n)};t.prototype.replace=function e(t,r,n){var i=this;var a=this;var o=a.current;this.transitionTo(t,function(e){Ue(L(i.base+e.fullPath));Ce(i.router,e,o,false);r&&r(e)},n)};t.prototype.ensureURL=function e(t){if(ht(this.base)!==this.current.fullPath){var r=L(this.base+this.current.fullPath);t?qe(r):Ue(r)}};t.prototype.getCurrentLocation=function e(){return ht(this.base)};return t}(rt);function ht(e){var t=window.location.pathname;if(e&&t.toLowerCase().indexOf(e.toLowerCase())===0){t=t.slice(e.length)}return(t||"/")+window.location.search+window.location.hash}var vt=function(e){function t(t,r,n){e.call(this,t,r);if(n&&dt(this.base)){return}yt()}if(e)t.__proto__=e;t.prototype=Object.create(e&&e.prototype);t.prototype.constructor=t;t.prototype.setupListeners=function e(){var t=this;if(this.listeners.length>0){return}var r=this.router;var n=r.options.scrollBehavior;var i=He&&n;if(i){this.listeners.push(Ee())}var a=function e(){var r=t.current;if(!yt()){return}t.transitionTo(mt(),function(e){if(i){Ce(t.router,e,r,true)}if(!He){wt(e.fullPath)}})};var o=He?"popstate":"hashchange";window.addEventListener(o,a);this.listeners.push(function(){window.removeEventListener(o,a)})};t.prototype.push=function e(t,r,n){var i=this;var a=this;var o=a.current;this.transitionTo(t,function(e){bt(e.fullPath);Ce(i.router,e,o,false);r&&r(e)},n)};t.prototype.replace=function e(t,r,n){var i=this;var a=this;var o=a.current;this.transitionTo(t,function(e){wt(e.fullPath);Ce(i.router,e,o,false);r&&r(e)},n)};t.prototype.go=function e(t){window.history.go(t)};t.prototype.ensureURL=function e(t){var r=this.current.fullPath;if(mt()!==r){t?bt(r):wt(r)}};t.prototype.getCurrentLocation=function e(){return mt()};return t}(rt);function dt(e){var t=ht(e);if(!/^\/#/.test(t)){window.location.replace(L(e+"/#"+t));return true}}function yt(){var e=mt();if(e.charAt(0)==="/"){return true}wt("/"+e);return false}function mt(){var e=window.location.href;var t=e.indexOf("#");if(t<0){return""}e=e.slice(t+1);return e}function gt(e){var t=window.location.href;var r=t.indexOf("#");var n=r>=0?t.slice(0,r):t;return n+"#"+e}function bt(e){if(He){qe(gt(e))}else{window.location.hash=e}}function wt(e){if(He){Ue(gt(e))}else{window.location.replace(gt(e))}}var xt=function(e){function t(t,r){e.call(this,t,r);this.stack=[];this.index=-1}if(e)t.__proto__=e;t.prototype=Object.create(e&&e.prototype);t.prototype.constructor=t;t.prototype.push=function e(t,r,n){var i=this;this.transitionTo(t,function(e){i.stack=i.stack.slice(0,i.index+1).concat(e);i.index++;r&&r(e)},n)};t.prototype.replace=function e(t,r,n){var i=this;this.transitionTo(t,function(e){i.stack=i.stack.slice(0,i.index).concat(e);r&&r(e)},n)};t.prototype.go=function e(t){var r=this;var n=this.index+t;if(n<0||n>=this.stack.length){return}var i=this.stack[n];this.confirmTransition(i,function(){var e=r.current;r.index=n;r.updateRoute(i);r.router.afterHooks.forEach(function(t){t&&t(i,e)})},function(e){if(We(e,Ie.duplicated)){r.index=n}})};t.prototype.getCurrentLocation=function e(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"};t.prototype.ensureURL=function e(){};return t}(rt);var Rt=function e(t){if(t===void 0)t={};this.app=null;this.apps=[];this.options=t;this.beforeHooks=[];this.resolveHooks=[];this.afterHooks=[];this.matcher=de(t.routes||[],this);var r=t.mode||"hash";this.fallback=r==="history"&&!He&&t.fallback!==false;if(this.fallback){r="hash"}if(!ce){r="abstract"}this.mode=r;switch(r){case"history":this.history=new pt(this,t.base);break;case"hash":this.history=new vt(this,t.base,this.fallback);break;case"abstract":this.history=new xt(this,t.base);break;default:{n(false,"invalid mode: "+r)}}};var kt={currentRoute:{configurable:true}};Rt.prototype.match=function e(t,r,n){return this.matcher.match(t,r,n)};kt.currentRoute.get=function(){return this.history&&this.history.current};Rt.prototype.init=function e(t){var r=this;n(fe.installed,"not installed. Make sure to call `Vue.use(VueRouter)` "+"before creating root instance.");this.apps.push(t);t.$once("hook:destroyed",function(){var e=r.apps.indexOf(t);if(e>-1){r.apps.splice(e,1)}if(r.app===t){r.app=r.apps[0]||null}if(!r.app){r.history.teardown()}});if(this.app){return}this.app=t;var i=this.history;if(i instanceof pt||i instanceof vt){var a=function e(t){var n=i.current;var a=r.options.scrollBehavior;var o=He&&a;if(o&&"fullPath"in t){Ce(r,t,n,false)}};var o=function e(t){i.setupListeners();a(t)};i.transitionTo(i.getCurrentLocation(),o,o)}i.listen(function(e){r.apps.forEach(function(t){t._route=e})})};Rt.prototype.beforeEach=function e(t){return Et(this.beforeHooks,t)};Rt.prototype.beforeResolve=function e(t){return Et(this.resolveHooks,t)};Rt.prototype.afterEach=function e(t){return Et(this.afterHooks,t)};Rt.prototype.onReady=function e(t,r){this.history.onReady(t,r)};Rt.prototype.onError=function e(t){this.history.onError(t)};Rt.prototype.push=function e(t,r,n){var i=this;if(!r&&!n&&typeof Promise!=="undefined"){return new Promise(function(e,r){i.history.push(t,e,r)})}else{this.history.push(t,r,n)}};Rt.prototype.replace=function e(t,r,n){var i=this;if(!r&&!n&&typeof Promise!=="undefined"){return new Promise(function(e,r){i.history.replace(t,e,r)})}else{this.history.replace(t,r,n)}};Rt.prototype.go=function e(t){this.history.go(t)};Rt.prototype.back=function e(){this.go(-1)};Rt.prototype.forward=function e(){this.go(1)};Rt.prototype.getMatchedComponents=function e(t){var r=t?t.matched?t:this.resolve(t).route:this.currentRoute;if(!r){return[]}return[].concat.apply([],r.matched.map(function(e){return Object.keys(e.components).map(function(t){return e.components[t]})}))};Rt.prototype.resolve=function e(t,r,n){r=r||this.history.current;var i=te(t,r,n,this);var a=this.match(i,r);var o=a.redirectedFrom||a.fullPath;var u=this.history.base;var s=Ct(u,o,this.mode);return{location:i,route:a,href:s,normalizedTo:i,resolved:a}};Rt.prototype.addRoutes=function e(t){this.matcher.addRoutes(t);if(this.history.current!==g){this.history.transitionTo(this.history.getCurrentLocation())}};Object.defineProperties(Rt.prototype,kt);function Et(e,t){e.push(t);return function(){var r=e.indexOf(t);if(r>-1){e.splice(r,1)}}}function Ct(e,t,r){var n=r==="hash"?"#"+t:t;return e?L(e+"/"+n):n}Rt.install=fe;Rt.version="3.4.8";Rt.isNavigationFailure=We;Rt.NavigationFailureType=Ie;if(ce&&t.VueVendor){t.VueVendor.use(Rt)}e.VueRouterVendor=Rt}var At=function(){function t(){babelHelpers.classCallCheck(this,t)}babelHelpers.createClass(t,null,[{key:"create",value:function t(r){return new e.VueRouterVendor(r)}},{key:"version",value:function e(){return VueRouter.version}}]);return t}();e.VueRouter=At})(this.BX=this.BX||{},BX);
//# sourceMappingURL=vue.router.bitrix.bundle.map.js

Youez - 2016 - github.com/yon3zu
LinuXploit