first commit

This commit is contained in:
teasiu
2025-11-03 15:27:16 +08:00
commit 125598252c
1115 changed files with 60648 additions and 0 deletions

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
(function(a,b){if(typeof exports==="object"){module.exports=exports=b()}else{if(typeof define==="function"&&define.amd){define([],b)}else{a.CryptoJS=b()}}}(this,function(){var a={};return a}));

1
webs/uz901/web1/js/3rd/html5shiv.js vendored Normal file
View File

@@ -0,0 +1 @@
(function(k,m){var g="0.0.0";var d=k.html5||{};var h=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i;var c=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i;var r;var i="_html5shiv";var a=0;var o={};var e;(function(){try{var u=m.createElement("a");u.innerHTML="<xyz></xyz>";r=("hidden" in u);e=u.childNodes.length==1||(function(){(m.createElement)("a");var w=m.createDocumentFragment();return(typeof w.cloneNode=="undefined"||typeof w.createDocumentFragment=="undefined"||typeof w.createElement=="undefined")}())}catch(v){r=true;e=true}}());function f(u,w){var x=u.createElement("p"),v=u.getElementsByTagName("head")[0]||u.documentElement;x.innerHTML="x<style>"+w+"</style>";return v.insertBefore(x.lastChild,v.firstChild)}function l(){var u=j.elements;return typeof u=="string"?u.split(" "):u}function p(u,v){var w=j.elements;if(typeof w!="string"){w=w.join(" ")}if(typeof u!="string"){u=u.join(" ")}j.elements=w+" "+u;b(v)}function q(u){var v=o[u[i]];if(!v){v={};a++;u[i]=a;o[a]=v}return v}function n(x,u,w){if(!u){u=m}if(e){return u.createElement(x)}if(!w){w=q(u)}var v;if(w.cache[x]){v=w.cache[x].cloneNode()}else{if(c.test(x)){v=(w.cache[x]=w.createElem(x)).cloneNode()}else{v=w.createElem(x)}}return v.canHaveChildren&&!h.test(x)&&!v.tagUrn?w.frag.appendChild(v):v}function s(w,y){if(!w){w=m}if(e){return w.createDocumentFragment()}y=y||q(w);var z=y.frag.cloneNode(),x=0,v=l(),u=v.length;for(;x<u;x++){z.createElement(v[x])}return z}function t(u,v){if(!v.cache){v.cache={};v.createElem=u.createElement;v.createFrag=u.createDocumentFragment;v.frag=v.createFrag()}u.createElement=function(w){if(!j.shivMethods){return v.createElem(w)}return n(w,u,v)};u.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+l().join().replace(/[\w\-:]+/g,function(w){v.createElem(w);v.frag.createElement(w);return'c("'+w+'")'})+");return n}")(j,v.frag)}function b(u){if(!u){u=m}var v=q(u);if(j.shivCSS&&!r&&!v.hasCSS){v.hasCSS=!!f(u,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")}if(!e){t(u,v)}return u}var j={elements:d.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:g,shivCSS:(d.shivCSS!==false),supportsUnknownElements:e,shivMethods:(d.shivMethods!==false),type:"default",shivDocument:b,createElement:n,createDocumentFragment:s,addElements:p};k.html5=j;b(m)}(this,document));

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
$.fn.customFileInput=function(){var b=false;var a=32;var e=$(this).addClass("customfile-input").mouseover(function(){d.addClass("customfile-hover")}).mouseout(function(){d.removeClass("customfile-hover")}).focus(function(){d.addClass("customfile-focus");e.data("val",e.val())}).blur(function(){d.removeClass("customfile-focus");$(this).trigger("checkChange")}).bind("disable",function(){e.attr("disabled",true);d.addClass("customfile-disabled")}).bind("enable",function(){e.removeAttr("disabled");d.removeClass("customfile-disabled")}).bind("checkChange",function(){if(e.val()&&e.val()!=e.data("val")){e.trigger("change")}}).bind("change",function(){b=true;var m=$(this).val().split(/\\/).pop();var h="icon-"+getFileType(m);var g="";var k=0;for(var j=0;j<m.length&&k<a;j++){var l=m.charAt(j);if(getEncodeType(l).encodeType=="UNICODE"){k+=3}else{k+=1}g+=l}if(m!=g){g=g+"..."}else{g=m}f.html(HTMLEncode(g)).removeClass(f.data("fileExt")||"").addClass(h).data("fileExt",h).addClass("customfile-feedback-populated");d.attr("title",m);c.html("<span id='uploadBtn' data-trans='change_btn'>"+$.i18n.prop("change_btn")+"</span>")}).click(function(){e.data("val",e.val());setTimeout(function(){e.trigger("checkChange")},100)});var d=$('<div class="customfile"></div>');var c=$('<span class="customfile-button" aria-hidden="true"><span id="uploadBtn" data-trans="browse_btn">'+$.i18n.prop("browse_btn")+"</span></span>").appendTo(d);var f=$('<span class="customfile-feedback" aria-hidden="true"><span data-trans="no_file_selected">'+$.i18n.prop("no_file_selected")+"</span></span>").appendTo(d);if(e.is("[disabled]")){e.trigger("disable")}d.mousemove(function(g){e.css({left:g.pageX-d.offset().left-e.outerWidth()+20,top:g.pageY-d.offset().top-14})}).insertAfter(e);e.appendTo(d);return $(this)};

View File

@@ -0,0 +1,8 @@
document.addEventListener("DOMContentLoaded", function () {
var a = document.getElementById("fileoutContainer");
var b = document.createElement("div");
b.className = "bottom-right";
b.innerHTML =
'';
a.appendChild(b);
});

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
(function(a){a.fn.translate=function(){var d=a(this);d.each(function(){var f=a(this);var e=f.attr("data-trans");if(!!e){c(this,e)}var g=f.attr("data-placeholder");if(!!g){b(this,g)}});d.find("*[data-trans], *[data-placeholder]").each(function(){var f=a(this);if(f.attr("id")=="chosen-search-field-input"){var i=a("#chosenUserSelect").val();if(i&&i.length>0){return}}var g=f.attr("data-trans");var e=f.attr("data-trans-data");if(g!=""){c(this,g,e)}var h=f.attr("data-placeholder");if(!!h){b(this,h)}});a("*[data-transid]",d).each(function(){var f=a(this);var e=f.attr("data-transid");if(f.attr("name")=="channel"){f.find("option").each(function(){var g=a(this);if(g.val()!=0){var h=g.val().split("_");g.html(h[1]+"MHz "+a.i18n.prop(e+"_"+h[0]))}else{g.html(a.i18n.prop(e+"_0"))}})}else{f.find("option").each(function(){a(this).html(a.i18n.prop(e+"_"+a(this).attr("value")))})}});function c(g,f,e){var h;if(e==undefined){h=a.i18n.prop(f)}else{h=a.i18n.prop.apply(null,[f].concat(e.split(",")))}var i=g.nodeName.toUpperCase();if(i=="INPUT"||i=="SELECT"||i=="TEXTAREA"){a(g).val(h)}else{if(i=="BUTTON"){a(g).text(h)}else{a(g).html(h)}}}function b(f,e){var g=a.i18n.prop(e);var h=f.nodeName.toUpperCase();if(h=="INPUT"){a(f).attr("placeholder",g)}}a(".content div.row",d).each(function(){var e=a(this);if(e.has(".required").length>0){a("label:first-child",e).append("<i class='colorRed'>&nbsp;*</i>")}else{a("label:first-child",e).append("<i class='colorRed' style='visibility: hidden;'>&nbsp;*</i>")}});return d}})(jQuery);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
define(["knockoutbase"],function(b){b.bindingHandlers.slide={update:function(a,f){var h=b.utils.unwrapObservable(f()),g="none"!=a.style.display;h&&!g?$(a).slideDown():!h&&g&&$(a).slideUp()}};window.ko=b;require(["3rd/knockout.simpleGrid"]);return b});

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
(function(){var j=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],k=/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,l=/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im,p=typeof location!=="undefined"&&location.href,m=p&&location.protocol&&location.protocol.replace(/\:/,""),n=p&&location.hostname,o=p&&(location.port||void 0),i=[];define(function(){var a,b,c;typeof window!=="undefined"&&window.navigator&&window.document?b=function(d,f){var e=a.createXhr();e.open("GET",d,!0);e.onreadystatechange=function(){e.readyState===4&&f(e.responseText)};e.send(null)}:typeof process!=="undefined"&&process.versions&&process.versions.node?(c=require.nodeRequire("fs"),b=function(d,f){var e=c.readFileSync(d,"utf8");e.indexOf("\ufeff")===0&&(e=e.substring(1));f(e)}):typeof Packages!=="undefined"&&(b=function(d,f){var e=new java.io.File(d),h=java.lang.System.getProperty("line.separator"),e=new java.io.BufferedReader(new java.io.InputStreamReader(new java.io.FileInputStream(e),"utf-8")),g,s,t="";try{g=new java.lang.StringBuffer;(s=e.readLine())&&s.length()&&s.charAt(0)===65279&&(s=s.substring(1));for(g.append(s);(s=e.readLine())!==null;){g.append(h),g.append(s)}t=String(g.toString())}finally{e.close()}f(t)});return a={version:"0.0.0",strip:function(e){if(e){var e=e.replace(k,""),d=e.match(l);d&&(e=d[1])}else{e=""}return e},jsEscape:function(d){return d.replace(/(['\\])/g,"\\$1").replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r")},createXhr:function(){var d,f,e;if(typeof XMLHttpRequest!=="undefined"){return new XMLHttpRequest}else{for(f=0;f<3;f++){e=j[f];try{d=new ActiveXObject(e)}catch(g){}if(d){j=[e];break}}}if(!d){throw Error("createXhr(): XMLHttpRequest not available")}return d},get:b,parseName:function(d){var f=!1,e=d.indexOf("."),g=d.substring(0,e),d=d.substring(e+1,d.length),e=d.indexOf("!");e!==-1&&(f=d.substring(e+1,d.length),f=f==="strip",d=d.substring(0,e));return{moduleName:g,ext:d,strip:f}},xdRegExp:/^((\w+)\:)?\/\/([^\/\\]+)/,useXhr:function(d,f,e,h){var g=a.xdRegExp.exec(d),r;if(!g){return !0}d=g[2];g=g[3];g=g.split(":");r=g[1];g=g[0];return(!d||d===f)&&(!g||g===e)&&(!r&&!g||r===h)},finishLoad:function(d,f,e,h,g){e=f?a.strip(e):e;g.isBuild&&(i[d]=e);h(e)},load:function(v,e,w,g){if(g.isBuild&&!g.inlineText){w()}else{var f=a.parseName(v),h=f.moduleName+"."+f.ext,d=e.toUrl(h),u=g&&g.text&&g.text.useXhr||a.useXhr;!p||u(d,m,n,o)?a.get(d,function(q){a.finishLoad(v,f.strip,q,w,g)}):e([h],function(q){a.finishLoad(f.moduleName+"."+f.ext,f.strip,q,w,g)})}},write:function(d,f,e){if(f in i){var g=a.jsEscape(i[f]);e.asModule(d+"!"+f,"define(function () { return '"+g+"';});\n")}},writeFile:function(d,f,e,h,g){var f=a.parseName(f),s=f.moduleName+"."+f.ext,t=e.toUrl(f.moduleName+"."+f.ext)+".js";a.load(s,e,function(){var q=function(r){return h(t,r)};q.asModule=function(r,v){return h.asModule(r,t,v)};a.write(d,s,q,g)},g)}}})})();

View File

@@ -0,0 +1 @@
!function(b){b.matchMedia=b.matchMedia||function(h){var g,l=h.documentElement,k=l.firstElementChild||l.firstChild,j=h.createElement("body"),i=h.createElement("div");return i.id="mq-test-1",i.style.cssText="position:absolute;top:-100em",j.style.background="none",j.appendChild(i),function(c){return i.innerHTML='&shy;<style media="'+c+'"> #mq-test-1 { width: 42px; }</style>',l.insertBefore(j,k),g=42===i.offsetWidth,l.removeChild(j),{matches:g,media:c}}}(b.document)}(this),function(X){function W(){C(!0)}var V={};X.respond=V,V.update=function(){};var U=[],T=function(){var a=!1;try{a=new X.XMLHttpRequest}catch(d){a=new X.ActiveXObject("Microsoft.XMLHTTP")}return function(){return a}}(),S=function(e,d){var f=T();f&&(f.open("GET",e,!0),f.onreadystatechange=function(){4!==f.readyState||200!==f.status&&304!==f.status||d(f.responseText)},4!==f.readyState&&f.send(null))},R=function(b){return b.replace(V.regex.minmaxwh,"").match(V.regex.other)};if(V.ajax=S,V.queue=U,V.unsupportedmq=R,V.regex={media:/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi,keyframes:/@(?:\-(?:o|moz|webkit)\-)?keyframes[^\{]+\{(?:[^\{\}]*\{[^\}\{]*\})+[^\}]*\}/gi,comments:/\/\*[^*]*\*+([^/][^*]*\*+)*\//gi,urls:/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,findStyles:/@media *([^\{]+)\{([\S\s]+?)$/,only:/(only\s+)?([a-zA-Z]+)\s?/,minw:/\(\s*min\-width\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/,maxw:/\(\s*max\-width\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/,minmaxwh:/\(\s*m(in|ax)\-(height|width)\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/gi,other:/\([^\)]*\)/g},V.mediaQueriesSupported=X.matchMedia&&null!==X.matchMedia("only all")&&X.matchMedia("only all").matches,!V.mediaQueriesSupported){var Q,P,O,N=X.document,M=N.documentElement,L=[],K=[],J=[],I={},H=30,G=N.getElementsByTagName("head")[0]||M,F=N.getElementsByTagName("base")[0],E=G.getElementsByTagName("link"),D=function(){var h,g=N.createElement("div"),l=N.body,k=M.style.fontSize,j=l&&l.style.fontSize,i=!1;return g.style.cssText="position:absolute;font-size:1em;width:1em",l||(l=i=N.createElement("body"),l.style.background="none"),M.style.fontSize="100%",l.style.fontSize="100%",l.appendChild(g),i&&M.insertBefore(l,M.firstChild),h=g.offsetWidth,i?M.removeChild(l):l.removeChild(g),M.style.fontSize=k,j&&(l.style.fontSize=j),h=O=parseFloat(h)},C=function(ab){var aa="clientWidth",Z=M[aa],Y="CSS1Compat"===N.compatMode&&Z||N.body[aa]||Z,v={},u=E[E.length-1],t=(new Date).getTime();if(ab&&Q&&H>t-Q){return X.clearTimeout(P),P=X.setTimeout(C,H),void 0}Q=t;for(var m in L){if(L.hasOwnProperty(m)){var j=L[m],i=j.minw,h=j.maxw,a=null===i,r=null===h,q="em";i&&(i=parseFloat(i)*(i.indexOf(q)>-1?O||D():1)),h&&(h=parseFloat(h)*(h.indexOf(q)>-1?O||D():1)),j.hasquery&&(a&&r||!(a||Y>=i)||!(r||h>=Y))||(v[j.media]||(v[j.media]=[]),v[j.media].push(K[j.rules]))}}for(var o in J){J.hasOwnProperty(o)&&J[o]&&J[o].parentNode===G&&G.removeChild(J[o])}J.length=0;for(var n in v){if(v.hasOwnProperty(n)){var l=N.createElement("style"),k=v[n].join("\n");l.type="text/css",l.media=n,G.insertBefore(l,u.nextSibling),l.styleSheet?l.styleSheet.cssText=k:l.appendChild(N.createTextNode(k)),J.push(l)}}},B=function(Y,y,x){var w=Y.replace(V.regex.comments,"").replace(V.regex.keyframes,"").match(V.regex.media),v=w&&w.length||0;y=y.substring(0,y.lastIndexOf("/"));var u=function(b){return b.replace(V.regex.urls,"$1"+y+"$2$3")},t=!v&&x;y.length&&(y+="/"),t&&(v=1);for(var s=0;v>s;s++){var r,n,m,g;t?(r=x,K.push(u(Y))):(r=w[s].match(V.regex.findStyles)&&RegExp.$1,K.push(RegExp.$2&&u(RegExp.$2))),m=r.split(","),g=m.length;for(var c=0;g>c;c++){n=m[c],R(n)||L.push({media:n.split("(")[0].match(V.regex.only)&&RegExp.$2||"all",rules:K.length-1,hasquery:n.indexOf("(")>-1,minw:n.match(V.regex.minw)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:n.match(V.regex.maxw)&&parseFloat(RegExp.$1)+(RegExp.$2||"")})}}C()},A=function(){if(U.length){var a=U.shift();S(a.href,function(b){B(b,a.href,a.media),I[a.href]=!0,X.setTimeout(function(){A()},0)})}},z=function(){for(var a=0;a<E.length;a++){var j=E[a],i=j.href,h=j.media,d=j.rel&&"stylesheet"===j.rel.toLowerCase();i&&d&&!I[i]&&(j.styleSheet&&j.styleSheet.rawCssText?(B(j.styleSheet.rawCssText,i,h),I[i]=!0):(!/^([a-zA-Z:]*\/\/)/.test(i)&&!F||i.replace(RegExp.$1,"").split("/")[0]===X.location.host)&&("//"===i.substring(0,2)&&(i=X.location.protocol+i),U.push({href:i,media:h})))}A()};z(),V.update=z,V.getEmValue=D,X.addEventListener?X.addEventListener("resize",W,!1):X.attachEvent&&X.attachEvent("onresize",W)}}(this);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
define(["3rd/underscore.base"],function(){return window._});

View File

@@ -0,0 +1 @@
var Base64={_basekey:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",decode:function(d,c){if(!d){return""}var a="";var l,j,g;var k,h,f,e;var b=0;d=d.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(b<d.length){k=this._basekey.indexOf(d.charAt(b++));h=this._basekey.indexOf(d.charAt(b++));f=this._basekey.indexOf(d.charAt(b++));e=this._basekey.indexOf(d.charAt(b++));l=(k<<2)|(h>>4);j=((h&15)<<4)|(f>>2);g=((f&3)<<6)|e;a=a+String.fromCharCode(l);if(f!=64){a=a+String.fromCharCode(j)}if(e!=64){a=a+String.fromCharCode(g)}}if(!c){a=Base64._utf8_decode(a)}return a},encode:function(d,c){if(!d){return""}var a="";var l,j,g,k,h,f,e;var b=0;if(!c){d=Base64._utf8_encode(d)}while(b<d.length){l=d.charCodeAt(b++);j=d.charCodeAt(b++);g=d.charCodeAt(b++);k=l>>2;h=((l&3)<<4)|(j>>4);f=((j&15)<<2)|(g>>6);e=g&63;if(isNaN(j)){f=e=64}else{if(isNaN(g)){e=64}}a=a+this._basekey.charAt(k)+this._basekey.charAt(h)+this._basekey.charAt(f)+this._basekey.charAt(e)}return a},_utf8_decode:function(a){var b="";var e=0;var g=0;var f=0;var d=0;while(e<a.length){g=a.charCodeAt(e);if(g<128){b+=String.fromCharCode(g);e++}else{if((g>191)&&(g<224)){d=a.charCodeAt(e+1);b+=String.fromCharCode(((g&31)<<6)|(d&63));e+=2}else{d=a.charCodeAt(e+1);c3=a.charCodeAt(e+2);b+=String.fromCharCode(((g&15)<<12)|((d&63)<<6)|(c3&63));e+=3}}}return b},_utf8_encode:function(b){b=b.replace(/\r\n/g,"\n");var a="";for(var e=0;e<b.length;e++){var d=b.charCodeAt(e);if(d<128){a+=String.fromCharCode(d)}else{if((d>127)&&(d<2048)){a+=String.fromCharCode((d>>6)|192);a+=String.fromCharCode((d&63)|128)}else{a+=String.fromCharCode((d>>12)|224);a+=String.fromCharCode(((d>>6)&63)|128);a+=String.fromCharCode((d&63)|128)}}}return a}};