"use strict";function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}$.openNewWindow=function(e){var t=$("").attr("href",e)[0];"function"!=typeof t.click||/^Mozilla.*Firefox.*/.test(navigator.userAgent)?window.open(e):t.click()},$.openHref=function(e){window.location.href=e},$.fn.getScope=function(){return $(this).closest("[id^='c_']")},$.fn.onErrorImg=function(){$("img").off("error").on("error",function(){var e=$(this),t=e.attr("src"),r="/npublic/img/no-img.svg";t!=r&&e.attr("src",r).attr("errorsrc",t)})},$.formatDate=function(e,t){if("Invalid Date"==e)return"";var r,n={"M+":e.getMonth()+1,"d+":e.getDate(),"h+":e.getHours(),"m+":e.getMinutes(),"s+":e.getSeconds(),"q+":Math.floor((e.getMonth()+3)/3),S:e.getMilliseconds()};for(r in/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(e.getFullYear()+"").substr(4-RegExp.$1.length))),n)new RegExp("("+r+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?n[r]:("00"+n[r]).substr((""+n[r]).length)));return t},$.changeUrlArg=function(url,arg,val){var handle=function handle(url,arg,val){var pattern="[?|&]"+arg+"=([^&]*)",replaceText=arg+"="+val,nUrl=url,nUrl=url.match(pattern)?url.replace(eval("/[?]("+arg+"=)([^&]*)/gi"),"?"+replaceText).replace(eval("/[&]("+arg+"=)([^&]*)/gi"),"&"+replaceText):url+(url.match("[?]")?"&":"?")+replaceText;return nUrl};if("string"==typeof arg)return handle(url,arg,val);if("object"==_typeof(arg)){var tmpUrl=url,i;for(i in arg)tmpUrl=handle(tmpUrl,i,arg[i]);return tmpUrl}},$.delUrlArg=function(url,arg){var handle=function handle(url,arg){var pattern="[?|&]"+arg+"([^=]*)",nUrl=url;return url.match(pattern)&&(nUrl=url.replace(eval("/[?]("+arg+"=)([^&]*)/gi"),"?").replace(eval("/[&]("+arg+"=)([^&]*)/gi"),"")),nUrl=nUrl.replace("?&","?"),"?"==nUrl.substr(-1)&&(nUrl=nUrl.substr(0,nUrl.length-1)),nUrl};if("string"==typeof arg)return handle(url,arg);if("object"==_typeof(arg)){var tmpUrl=url;return arg.forEach(function(e){tmpUrl=handle(tmpUrl,e)}),tmpUrl}},$.handleDataImg=function(e){function t(e){var t=__ce.imgStaticUrl;return 3==e?"/repository":1==e?"":2==e?(null==__ce.imgStaticCount&&(__ce.imgStaticCount=0),e=__ce.imgStaticCount%t.length,__ce.imgStaticCount++,t[e]||t[0]):t[0]}function r(e,t){return i.test(e)&&(e.startsWith("/")||(e="/"+e),e=t+e),e}var n,i=/^(?!http(s)?:\/\/)(.*?)\/(.*?\.(png|jpg|gif|jpeg|webp|bmp|tiff|svg|PNG|JPG|GIF|JPEG|WEBP|BMP|TIFF|SVG))$/;if("string"==typeof e)i.test(e)&&(e=r(e,t(tenant.cdnFlag,tenant.unittype)));else for(var a in e)i.test(e[a])&&(n=t(tenant.cdnFlag,tenant.unittype),e[a]=r(e[a],n));return e},$.handleDataVideo=function(t){var e,r,n=/^(?!http(s)?:\/\/)(.*?)\/(.*?\.(mp4))$/;return n.test(t)&&(e=t,r=function(e){if(3==e)return"/repository";if(1==e&&-1==t.indexOf("/encryption/"))return"";e=__ce.videoStaticUrl;return-1c.value)return c.msg=c.msg.replace("%len",c.value),void s(t,c.msg);if("minLength"==l&&c.state&&e.lengthc.value)return c.msg=c.msg.replace("%len",c.value),void s(t,c.msg);if("min"==l&&c.state&&Number(e)Number(c.value))return c.msg=c.msg.replace("%len",c.value),void s(t,c.msg);if("custom"==l&&c.state&&!new RegExp(c.value).test(e))return void s(t,c.msg);s(t,!1)}}else s(t,r);else s(t,!1);function s(e,t){var r=e.find(".invalid-feedback"),e=e.find(".p_input");n&&(r=(e=n).parent().find(".invalid-feedback")),!1===t?(e.removeClass("is-invalid"),r.text("")):(e.addClass("is-invalid"),r.text(t))}},$.uuid=function(){function e(){return(65536*(1+Math.random())|0).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()},$.getSearch=function(){var e=new Object,t=decodeURIComponent(location.href).match(/c-.*?\.html/);if(t)for(var r=t[0].substr(2),n=(r=r.substring(0,r.length-5)).split("&"),i=0;i\n
\n

由于微信浏览器限制,请按照一下步骤操作:

\n

1、点击右上角...

\n

2、选择在浏览器中打开

\n
\n '),$(".openwithbrowser").off("click").on("click",function(){$(".openwithbrowser").remove()})},$.getProp=function(e,t){var r=(r=$("#"+e).children("input:hidden[name='propJson']").val())?JSON.parse(r):{},n={},i=t.split("-")[1];if(i)for(var a in r)a.endsWith("_"+i)&&(n[a.split("_")[0]]=r[a]);else n=r;return n},$.debounce=function(i){var a,o=1