PageSourceSearch

https://rat-info.ru/assets/js/foruecwid.js?

js rat-info.ru collected 2026-10-08 18:47:12 UTC 2,744 bytes, 1 lines download raw bytes

1angular.module("YepCom").directive("foruecwid",function($state,$templateCache,Layout,ExtraBlock,$compile,ThemeLayer,iframeEvent,$timeout,$ocLazyLoad,ngDialog,Restangular){return{restrict:"EA",replace:!0,template:'<div class="foruecwid" extraname="forublockfooter" elementid="elforuecwidouter" ng-style="sitecontent.elforuecwidouter.style" ng-class="sitecontent.elforuecwidouter.classes"></div>',link:function(scope,element,attrs){return scope.setForuEcwid=function(event){return event.preventDefault(),scope.shopIdModel=scope.sitecontent.foruecwid.shopId,ngDialog.open({template:"/assets/templates-public/editor/foru-ecwid-modal/foru-ecwid-modal.html",className:"t-modal t-modal--foru-ecwid",showClose:!0,closeByEscape:!0,closeByDocument:!0,scope:scope})},scope.beforeInit=function(){var parts=("; "+document.cookie).split("; wizarduuid=");return 2===parts.length&&(parts=parts.pop().split(";").shift(),"preview2"!==$state.current.name)&&"localpreview"!==$state.current.name&&"templatepreview"!==$state.current.name&&"previewimage"!==$state.current.name?Restangular.one("/api/v1/userinfos").customGET(atob(parts),null).then(function(res){var ref;return res&&res.hasOwnProperty("data")?res.data.hasOwnProperty("ecwid_id")?(res.data.ecwid_id&&(null!=(ref=scope.sitecontent)&&ref.foruecwid||(scope.sitecontent.foruecwid={}),null!=(ref=scope.sitecontent)&&(ref.foruecwid.shopId=res.data.ecwid_id),scope.rebuildsitecontent(),scope.tojsoncontent()),scope.init()):void 0:scope.init()}):scope.init()},scope.init=function(){var fakeElm,ref;return"preview2"===$state.current.name||"localpreview"===$state.current.name||"templatepreview"===$state.current.name||"previewimage"===$state.current.name?fakeElm="":(fakeElm="<div class='fakeElementForuEcwid b-btn' style='min-height: 200px; min-width: 200px;' ng-click='setForuEcwid($event)'></div>",null!=(ref=scope.sitecontent)&&ref.foruecwid||(scope.sitecontent.foruecwid={}),null!=(ref=scope.sitecontent.foruecwid)&&ref.shopId||(null!=(ref=scope.sitecontent)&&(ref.foruecwid.shopId="15733052"),scope.rebuildsitecontent(),scope.tojsoncontent())),scope.shopId=scope.sitecontent.foruecwid.shopId,$compile(ThemeLayer.rewriteNgStyle('<div id="my-store-'+scope.shopId+'"></div>'+" "+fakeElm,scope.elemdata&&scope.elemdata.templatename,scope.sitecontent,scope))(scope,function(newelem){return element.html(newelem)}),$timeout(function(){return $ocLazyLoad.load("https://app.ecwid.com/script.js?"+scope.shopId).then(function(){return xProductBrowser("categoriesPerRow=3","views=grid(20,3) list(60) table(60)","categoryView=grid","searchView=list","id=my-store-"+scope.shopId)})},3e3),scope.updateForuEcwidDialog=function(id){return ngDialog.closeAll(),scope.sitecontent.foruecwid.shopId=id}},scope.beforeInit()}}});

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.