PageSourceSearch

https://nextgis.com/wp-content/themes/nextgisclean_wptheme/frontend/dist/js/app.js?ver=1789378685

js nextgis.com collected 2026-10-01 11:38:33 UTC 15,106 bytes, 2 lines download raw bytes

1(function(e){function t(t){for(var i,c,s=t[0],r=t[1],u=t[2],d=0,p=[];d<s.length;d++)c=s[d],Object.prototype.hasOwnProperty.call(o,c)&&o[c]&&p.push(o[c][0]),o[c]=0;for(i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i]);l&&l(t);while(p.length)p.shift()();return a.push.apply(a,u||[]),n()}function n(){for(var e,t=0;t<a.length;t++){for(var n=a[t],i=!0,s=1;s<n.length;s++){var r=n[s];0!==o[r]&&(i=!1)}i&&(a.splice(t--,1),e=c(c.s=n[0]))}return e}var i={},o={app:0},a=[];function c(t){if(i[t])return i[t].exports;var n=i[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,c),n.l=!0,n.exports}c.m=e,c.c=i,c.d=function(e,t,n){c.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},c.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,t){if(1&t&&(e=c(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(c.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)c.d(n,i,function(t){return e[t]}.bind(null,i));return n},c.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return c.d(t,"a",t),t},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.p="/";var s=window["webpackJsonp"]=window["webpackJsonp"]||[],r=s.push.bind(s);s.push=t,s=s.slice();for(var u=0;u<s.length;u++)t(s[u]);var l=r;a.push([0,"chunk-vendors"]),n()})({0:function(e,t,n){e.exports=n("56d7")},3033:function(e,t,n){"use strict";n("dad9")},"35ef":function(e,t,n){},"3a48":function(e,t,n){"use strict";n("c361")},"42f1":function(e,t,n){},"4f7b":function(e,t,n){"use strict";n("adb4")},"56d7":function(e,t,n){"use strict";n.r(t);n("cadf"),n("551c"),n("f751"),n("097d");var i=n("a026"),o=(n("ac6a"),25634717),a=function(e,t){window.ym&&window.ym(o,"reachGoal",e,t)},c=function(e,t){window.gtag&&window.gtag("event",e,t)},s=function(e){var t=e.el,n=e.eventType,i=e.eventName,o=e.eventOptions;t&&n&&i&&t.addEventListener(n,(function(){a(i,o),c(i,o)}))};document.addEventListener("DOMContentLoaded",(function(){var e=[{el:document.getElementById("btn-choose-plan-free"),eventType:"click",eventName:"click_select_FREE",eventOptions:{event_category:"click_select_FREE",event_action:"click_button"}},{el:document.getElementById("btn-choose-plan-mini"),eventType:"click",eventName:"click_select_MINI",eventOptions:{event_category:"click_select_MINI",event_action:"click_button"}},{el:document.getElementById("btn-choose-plan-premium"),eventType:"click",eventName:"click_select_PREMIUM",eventOptions:{event_category:"click_select_PREMIUM",event_action:"click_button"}}];e.forEach((function(e){return s(e)}))}));n("84ec");var r=n("042c"),u=n("85c0"),l=function(){var e=document.querySelector(".block-demo-projects .block-demo-projects__projects");if(e){var t=e.querySelectorAll(".block-demo-projects__project").length;t>7?document.querySelector(".block-demo-projects__swiper-nav").classList.remove("active"):new r["a"](".block-demo-projects .swiper",{modules:[u["a"]],navigation:{nextEl:".button-next",prevEl:".button-prev",disabledClass:"disabled-swiper-button"},breakpoints:{250:{slidesPerView:1},500:{slidesPerView:2,spaceBetween:10},850:{slidesPerView:3,spaceBetween:15},1150:{slidesPerView:4,spaceBetween:20}}})}};document.addEventListener("DOMContentLoaded",l),window.initBlockDemoProjects=l;n("7514");var d={submenuClass:".menu-item--helper",wrapper:null,showSubmenu:function(e){jQuery(".sub-menu.active").removeClass("active"),e.find(".sub-menu").addClass("active"),jQuery(".menu:not(.showSubmenu)").addClass("showSubmenu")},hideSubmenu:function(){jQuery(".menu").hasClass("showSubmenu")&&(jQuery(".menu.showSubmenu").removeClass("showSubmenu"),jQuery(".sub-menu.active").removeClass("active"))},_initSubmenu:function(){var e=this;e.wrapper.find(".menu > .menu-item-has-children").mouseenter((function(){e.showSubmenu(jQuery(this))})),e.wrapper.find(".menu").mouseleave((function(){e.hideSubmenu()})),e.wrapper.find(".menu > .menu-item:not(.menu-item-has-children, "+this.submenuClass+")").mouseenter((function(){e.hideSubmenu()}))},init:function(e){this.wrapper=jQuery(e),this.wrapper.find(".menu-item-has-children").length&&this._initSubmenu()}},p=n("75fc"),h=n("b0b4"),m=n("d225"),f=n("bd86"),v=Object(h["a"])((function e(t){var n=this,i=t.containerElem;Object(m["a"])(this,e),Object(f["a"])(this,"init",(function(){n.menuSwitch&&n.menuSwitch.addEventListener("click",n.toggleMobileMenu),window.addEventListener("resize",(function(e){window.innerWidth>=980&&n.closeMobileMenu()})),document.addEventListener("click",(function(e){!n.containerElem.classList.contains("top-nav-mobile--active")||e.target.closest(".top-nav-mobile")||e.target.closest(".top-nav-mobile__switch")||n.closeMobileMenu()}
1)),n.menuCarets&&Object(p["a"])(n.menuCarets).forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault(),Object(p["a"])(n.containerElem.querySelectorAll(".top-nav-mobile ul.menu > li.current-menu-item")).forEach((function(e){e.classList.remove("current-menu-item"),e.classList.remove("menu-item--opened")})),Object(p["a"])(n.containerElem.querySelectorAll(".top-nav-mobile ul.menu > li.current-menu-parent")).forEach((function(e){e.classList.remove("current-menu-parent")})),e.target.closest(".menu-item").classList.add("current-menu-item")}))}))})),Object(f["a"])(this,"toggleMobileMenu",(function(e){"undefined"!==typeof e&&e.preventDefault(),n.menuSwitch.classList.toggle("active"),n.containerElem.classList.toggle("top-nav-mobile--active")})),Object(f["a"])(this,"closeMobileMenu",(function(e){"undefined"!==typeof e&&e.preventDefault(),n.menuSwitch.classList.remove("active"),n.containerElem.classList.remove("top-nav-mobile--active")})),this.containerElem=i,this.menuSwitch=document.querySelector(".top-nav-mobile__switch"),this.menuCarets=i.querySelectorAll(".top-nav-mobile span.menu-caret"),this.init()}));jQuery(document).ready((function(e){e(".menu").length&&d.init(".top-nav")})),document.addEventListener("DOMContentLoaded",(function(e){var t=document.querySelector(".top-nav-mobile");t&&new v({containerElem:t})}));n("96cf");var b=n("3b8d"),g=Object(h["a"])((function e(){var t=this;Object(m["a"])(this,e),Object(f["a"])(this,"init",(function(){t.container.addEventListener("click",t.onContainerClick),t.closeBtn.addEventListener("click",t.closePopup);var e=document.querySelectorAll("[data-ng-popup]");console.log("openButtons:"),console.log(e),e.length&&e.forEach((function(e){console.log("openButton:"),console.log(e),e.addEventListener("click",t.onOpenButtonClick)}))})),Object(f["a"])(this,"onOpenButtonClick",(function(e){if(e.preventDefault(),e.target.dataset.ngPopup){var n=parseInt(e.target.dataset.ngPopup,10);n&&t.showPopup(n)}})),Object(f["a"])(this,"showPopup",function(){var e=Object(b["a"])(regeneratorRuntime.mark((function e(n){var i,o,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n){e.next=2;break}return e.abrupt("return");case 2:return i=new FormData,i.append("action","ng_get_popup"),i.append("ng_request_body",JSON.stringify({popupID:n})),e.next=7,fetch(backendData.ajaxUrl,{method:"POST",body:i});case 7:return o=e.sent,e.next=10,o.json();case 10:if(a=e.sent,"success"in a&&a.success){e.next=13;break}return e.abrupt("return");case 13:"data"in a&&(t.fillPopupData(a.data),t.container.classList.add("active"),document.body.classList.add("overflow-hidden"));case 14:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),Object(f["a"])(this,"fillPopupData",(function(e){"title"in e&&e.title?(t.title.classList.add("active"),t.title.textContent=e.title.trim()):t.title.classList.remove("active"),"content"in e&&e.content?(t.content.classList.add("active"),t.content.innerHTML=e.content.trim()):t.content.classList.remove("active"),"image"in e&&e.image?(t.body.classList.remove("popup__body--no-image"),t.image.classList.add("active"),t.image.querySelector("img").src=e.image.trim()):(t.body.classList.add("popup__body--no-image"),t.image.classList.remove("active")),"url"in e&&e.url?(t.btn.classList.add("active"),t.btn.textContent=e.url.title||"Перейти",t.btn.href=e.url.url,e.url.target?t.btn.target=e.url.target:t.btn.target="_self"):t.btn.classList.remove("active")})),Object(f["a"])(this,"closePopup",(function(){t.container.classList.remove("active"),document.body.classList.remove("overflow-hidden")})),Object(f["a"])(this,"onContainerClick",(function(e){e.target===t.container&&(e.preventDefault(),t.closePopup())})),this.container=document.querySelector(".popup-container"),this.container&&(this.popup=this.container.querySelector(".popup"),this.popup&&(this.image=this.popup.querySelector(".popup__image"),this.body=this.popup.querySelector(".popup__body"),this.title=this.body.querySelector(".popup__title"),this.content=this.body.querySelector(".popup__content"),this.btn=this.body.querySelector(".popup__btn"),this.closeBtn=this.body.querySelector(".popup__close"),this.init()))}
1));window.addEventListener("DOMContentLoaded",(function(){new g}));n("5903"),n("4917"),n("3b2b"),n("a481");function _(e,t,n){var i=new RegExp("([?&])"+t+"=.*?(&|#|$)","i");if(e.match(i))return e.replace(i,"$1"+t+"="+n+"$2");var o="";-1!==e.indexOf("#")&&(o=e.replace(/.*#/,"#"),e=e.replace(/#.*/,""));var a=-1!==e.indexOf("?")?"&":"?";return e+a+t+"="+n+o}n("5373"),n("42f1");var y=function(){function e(t){var n=this;Object(m["a"])(this,e),this.el=t.el,this.state=t.state,this.labelLeft=this.el.querySelector("[data-switch-left]"),this.labelRight=this.el.querySelector("[data-switch-right]"),this.control=this.el.querySelector(".dual-switcher__control-checkbox"),this.labelLeft.addEventListener("click",(function(){return n.changeState(0)})),this.labelRight.addEventListener("click",(function(){return n.changeState(1)})),this.control.addEventListener("change",(function(){var e=n.control.checked?1:0;n.changeState(e)})),this.changeState(this.state)}return Object(h["a"])(e,[{key:"changeState",value:function(e){var t=this.state;this.state=e,this.control.checked=1===this.state,this.el.classList.remove("state-"+t),this.el.classList.add("state-"+this.state);var n=new CustomEvent("switcherChanged",{detail:{value:this.state}});this.el.dispatchEvent(n)}}]),e}(),w=(n("35ef"),function(){function e(t){Object(m["a"])(this,e),this.el=t.el,this.annual=t.annual,this.chooseBtnSelector=t.chooseBtnSelector,this.chooseBtns=document.querySelectorAll(this.chooseBtnSelector),this.annual?(this.el[0].classList.add("annual"),this.updateChooseBtnLinks("period","annually")):this.updateChooseBtnLinks("period","monthly"),this._initAnnualSwitcher()}return Object(h["a"])(e,[{key:"_initAnnualSwitcher",value:function(){var e=this,t=document.getElementById("annual-switcher");t&&(this.annualSwitcher=new y({el:t,state:this.annual?1:0})),this.annualSwitcher.el.addEventListener("switcherChanged",(function(t){e.annual=1===t.detail.value,e.annual?(e.el[0].classList.add("annual"),e.updateChooseBtnLinks("period","annually")):(e.el[0].classList.remove("annual"),e.updateChooseBtnLinks("period","monthly"))}))}},{key:"updateChooseBtnLinks",value:function(e,t){Object(p["a"])(this.chooseBtns).forEach((function(n){var i=n.getAttribute("href");n.setAttribute("href",_(i,e,t))}))}}]),e}()),S=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"gridded-list-wrapper"},[e._t("default")],2)},L=[],j=(n("c5f6"),{name:"GriddedList",props:{textColumns:{type:Number,default:11},numberColumns:{type:Number,default:1}},data:function(){return{}},computed:{totalColumnCount:function(){return this.textColumns+this.numberColumns},list:function(){return this.$slots.default.filter((function(e){return"ul"===e.tag}))[0]},items:function(){return this.list?this.list.children.filter((function(e){return"li"===e.tag})):[]}},mounted:function(){this.list&&this.list.elm.classList.add("gridded-list"),this.renderListItems()},methods:{renderListItems:function(){var e=this;this.items.map((function(t,n){return t.elm.classList.add("row"),t.elm.innerHTML='<div class="gridded-list__number col-'.concat(e.numberColumns,'">').concat(n+1,'.</div><div class="gridded-list__text col-').concat(e.textColumns,'">').concat(t.elm.innerHTML,"</div>"),t}))}}}
1),C=j,k=(n("4f7b"),n("2877")),O=Object(k["a"])(C,S,L,!1,null,"77b460d9",null),E=O.exports,x=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"quote"},[n("span",{staticClass:"quote__icon"}),n("div",{staticClass:"quote__text"},[e._t("default")],2),e.author?n("div",{staticClass:"quote__author small text-muted"},[e._v(e._s(e.author))]):e._e()])},q=[],M={name:"Quote",props:{author:{type:String,required:!1}},data:function(){return{}}},B=M,P=(n("ba05"),Object(k["a"])(B,x,q,!1,null,null,null)),D=P.exports,I=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"pricing-sheet ng-sheet px-0 py-0"},[n("div",{staticClass:"row mx-0"},[e._t("default")],2)])},T=[],Q={name:"PricingSheet",data:function(){return{}}},A=Q,$=(n("3033"),Object(k["a"])(A,I,T,!1,null,"d1e7a1ba",null)),N=$.exports,R=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"pricing-sheet__item"},[n("header",{staticClass:"pricing-sheet__item-header"},[e.image?n("img",{staticClass:"pricing-sheet__item-pic",attrs:{src:e.image,alt:e.title}}):e._e(),n("h3",{staticClass:"pricing-sheet__item-title my-0"},[e._v(e._s(e.title))])]),n("div",{staticClass:"pricing-sheet__item-text small"},[e._t("text")],2),n("div",{staticClass:"pricing-sheet__item-price"},[e._t("price"),n("a",{staticClass:"pricing-sheet__item-btn btn btn-raised btn-light",attrs:{href:e.link,target:e.target}},[e._v(e._s(e.buttonText))])],2)])},V=[],F={name:"PricingSheetItem",props:{image:{type:String,required:!1},title:{type:String,required:!0},link:{type:String,required:!0},target:{type:String,required:!1,default:"_self"},buttonText:{type:String,required:!0}},data:function(){return{}}},H=F,J=(n("3a48"),Object(k["a"])(H,R,V,!1,null,"37cd9ff5",null)),U=J.exports;i["a"].component("gridded-list",E),i["a"].component("quote",D),i["a"].component("pricing-sheet",N),i["a"].component("pricing-sheet-item",U),new i["a"]({el:"#vue-app"});var G=function(){return{init:function(){var e=jQuery(".header");jQuery(window).on("scroll",(function(){jQuery(window).scrollTop()>83?e.hasClass("fixed")||e.addClass("fixed"):e.removeClass("fixed")}))}}}();jQuery(document).ready((function(e){if(e(".header").length&&G.init(),e(".plan-choice").length)new w({el:e(".plan-choice"),annual:!0,chooseBtnSelector:".js-choose-plan"});svg4everybody(),e(".open-chatwoot").click((function(){return window.$chatwoot&&window.$chatwoot.toggle("open"),!1}))}))},5903:function(e,t,n){},"84ec":function(e,t){var n=function(){};document.addEventListener("DOMContentLoaded",n),window.initBlockTemplate=n},adb4:function(e,t,n){},ba05:function(e,t,n){"use strict";n("dc04")},c361:function(e,t,n){},dad9:function(e,t,n){},dc04:function(e,t,n){}});
2//# sourceMappingURL=app.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.