���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/alphpwcp/public_html/us/alphachat/design/defaulttheme/widget/wrapper/dist/dfd57fc42ff1cea8ec54.js.map
���ѧ٧ѧ�
{"version":3,"file":"dfd57fc42ff1cea8ec54.js","mappings":"4LAkGMA,G,QAAY,IAhGF,WAKX,OAAAC,EAAAA,EAAAA,IAJD,SAAAC,KAAcC,EAAAA,EAAAA,GAAA,KAAAD,GACVE,KAAKC,OAAS,CAAC,EACfD,KAAKE,WAAa,KAClBF,KAAKG,WAAa,IACtB,GAAC,EAAAC,IAAA,UAAAC,MAED,WACIL,KAAKM,WAAW,yBAChBN,KAAKM,WAAW,iBACpB,GAAC,CAAAF,IAAA,YAAAC,MAED,SAAUJ,EAAQC,EAAYC,GAAY,IAAAI,EAAA,KAEtCP,KAAKC,OAASA,EACdD,KAAKE,WAAaA,EAClBF,KAAKG,WAAaA,EAElBH,KAAKQ,OAAO,wJAAiL,GAAvBN,EAAWO,SAAmB,EAAI,IAA5L,iOACiH,GAAvBP,EAAWO,SAAmB,IAAM,IAD9H,2LAKZT,KAAKU,WAAW,wSAG8ET,EAAOU,IAAI,wCAAwCC,OAAOC,YAAc,KAAM,6IAA6IZ,EAAOa,MAAM,0CAA0Cb,EAAOU,IAAI,6KAA6KV,EAAOc,aAAa,gCAE5jB,IAAIC,EAAMC,SAASC,eAAe,aAC9BC,EAAQF,SAASC,eAAe,yBAEhCE,EAAOpB,KAEX,SAASqB,IACLT,OAAOU,oBAAoB,QAAQC,GACnCX,OAAOU,oBAAoB,SAASE,EACxC,CAOA,SAASD,EAAcE,GACfA,EAAMC,QAAUP,IAChBC,EAAKO,UACLN,IAER,CAEA,SAASG,EAAeC,GACNR,SAASC,eAAe,kBAE9BD,SAASC,eAAe,kBAAkBU,MAAMC,UAAajB,OAAOC,YAAc,IAAO,MAEzFQ,IACAD,EAAKO,UAEjB,CApBAX,EAAIc,QAAU,WACVvB,EAAKoB,UACLN,GACJ,EAmBAT,OAAOmB,iBAAiB,QAAQR,GAChCX,OAAOmB,iBAAiB,SAAUP,EACtC,GAAC,CAAApB,IAAA,aAAAC,MAED,SAAW2B,GAEP,IAAIC,EAAO,KACX,SAAOA,EAAOhB,SAASC,eAAec,KAAMC,EAAKC,WAAWC,YAAYF,EAC5E,GAAC,CAAA7B,IAAA,aAAAC,MAED,SAAW+B,GACP,IAAIC,EAAOpB,SAASqB,yBAChBC,EAAOtB,SAASuB,cAAc,OAElC,IADAD,EAAKE,UAAYL,EACVG,EAAKG,YACRL,EAAKM,YAAYJ,EAAKG,YAE1BzB,SAAS2B,KAAKC,aAAaR,EAAMpB,SAAS2B,KAAKE,WAAW,GAC9D,GAAC,CAAA1C,IAAA,SAAAC,MAED,SAAO0C,GACH,IAAIC,EAAO/B,SAASgC,qBAAqB,QAAQ,GAC7CrB,EAAQX,SAASuB,cAAc,SAGnC,GAFAZ,EAAMsB,KAAO,WACbtB,EAAMuB,GAAK,iBACPvB,EAAMwB,WACNxB,EAAMwB,WAAWC,QAAUN,MACxB,CACH,IAAIO,EAAQrC,SAASsC,eAAeR,GACpCnB,EAAMe,YAAYW,EACtB,CAEAN,EAAKL,YAAYf,EACrB,IAAC,CA7FW,I","sources":["webpack://LiveHelperChat/./src/util/zoomImage.js"],"sourcesContent":["import {helperFunctions} from '../lib/helperFunctions';\n\nclass _zoomImage {\n constructor() {\n this.params = {};\n this.attributes = null;\n this.chatEvents = null;\n }\n\n cleanup(){\n this.removeById('lhc-co-browsing-modal');\n this.removeById('lhc-zoom-style');\n }\n\n setParams(params, attributes, chatEvents) {\n\n this.params = params;\n this.attributes = attributes;\n this.chatEvents = chatEvents;\n\n this.addCss('body{overflow:hidden;}.lhc-modal *{box-sizing: border-box;}.lhc-modal { display: none; position: fixed; z-index: 2147483641 !important;padding-top: ' + (attributes.isMobile == true ? 0 : 20) +'px;left: 0;top: 0; width: 100%;height: 100%; overflow: auto; background-color: rgb(0,0,0); background-color: rgba(0,0,0,0.4); }'+\n '.lhc-modal-content {background-color: #fefefe; margin: auto; border: 1px solid #888; width: ' + (attributes.isMobile == true ? 100 : 80) +'%;border-radius:5px; }'+\n '#lhc-close { color: #aaaaaa; font-size: 34px; font-weight: bold; }'+\n '#lhc-close:hover,#lhc-close:focus {color: #000; text-decoration: none; cursor: pointer;}');\n\n this.appendHTML('<div id=\"lhc-co-browsing-modal\" style=\"display: block\" class=\"lhc-modal\">'+\n '<div class=\"lhc-modal-content\">'+\n '<div style=\"padding:5px 20px;clear: both; text-align: right\"><span id=\"lhc-close\">×</span></div>'+\n '<div style=\"text-align: center;background-color:#cecece\"><img id=\"lhc-zoom-image\" src=\"'+params.src+'\" style=\"max-width:100%;max-height: '+(window.innerHeight - 140) +'px;\" title=\"\" /></div><div><div style=\"height: 49px; padding:10px;\" ><span style=\"font-family: Arial; font-size: 18px;font-weight: bold;\">'+params.title+' </span> <a target=\"_blank\" href=\"'+params.src+'\" style=\"font-family: Arial; text-decoration: none;background-color: #dddddd; display: inline-block; padding:5px; border:1px solid #CECECE; color: #6d6d6d; float: right\">'+params.txt_download+'</a></div></div></div></div>');\n\n var btn = document.getElementById(\"lhc-close\");\n var modal = document.getElementById(\"lhc-co-browsing-modal\");\n\n var that = this;\n\n function removeListeners(){\n window.removeEventListener('click',clickListener);\n window.removeEventListener('resize',resizeListener);\n }\n\n btn.onclick = () => {\n this.cleanup();\n removeListeners();\n }\n\n function clickListener(event) {\n if (event.target == modal) {\n that.cleanup();\n removeListeners();\n }\n }\n\n function resizeListener(event) {\n var elm = document.getElementById('lhc-zoom-image');\n if (elm) {\n document.getElementById('lhc-zoom-image').style.maxHeight = (window.innerHeight - 140) + \"px\";\n } else {\n removeListeners();\n that.cleanup();\n }\n }\n\n window.addEventListener('click',clickListener);\n window.addEventListener('resize', resizeListener);\n }\n\n removeById(EId)\n {\n var EObj = null;\n return(EObj = document.getElementById(EId))?EObj.parentNode.removeChild(EObj):false;\n }\n\n appendHTML(htmlStr) {\n var frag = document.createDocumentFragment(),\n temp = document.createElement('div');\n temp.innerHTML = htmlStr;\n while (temp.firstChild) {\n frag.appendChild(temp.firstChild);\n };\n document.body.insertBefore(frag, document.body.childNodes[0]);\n }\n\n addCss(css_content) {\n var head = document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n style.id = \"lhc-zoom-style\";\n if (style.styleSheet) {\n style.styleSheet.cssText = css_content;\n } else {\n var rules = document.createTextNode(css_content);\n style.appendChild(rules);\n };\n\n head.appendChild(style);\n }\n}\n\nconst zoomImage = new _zoomImage();\nexport {zoomImage};\n\n"],"names":["zoomImage","_createClass","_zoomImage","_classCallCheck","this","params","attributes","chatEvents","key","value","removeById","_this","addCss","isMobile","appendHTML","src","window","innerHeight","title","txt_download","btn","document","getElementById","modal","that","removeListeners","removeEventListener","clickListener","resizeListener","event","target","cleanup","style","maxHeight","onclick","addEventListener","EId","EObj","parentNode","removeChild","htmlStr","frag","createDocumentFragment","temp","createElement","innerHTML","firstChild","appendChild","body","insertBefore","childNodes","css_content","head","getElementsByTagName","type","id","styleSheet","cssText","rules","createTextNode"],"sourceRoot":""}
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�