Home
last modified time | relevance | path

Searched refs:slice (Results 251 – 275 of 536) sorted by relevance

1...<<11121314151617181920>>...22

/plugin/codemirror/dist/modes/
H A Dstex.min.js.map1slice","hasOwnProperty","beginParams","inMathMode","ch","next","skipToEnd","test","eatWhile","endM…
H A Djavascript.min.js1slice(0,a.start))){a.skipToEnd();return p("comment","comment")}else if(k.test(c)){if(c!=">"||!b.le…
H A Dcoffeescript.min.js1 …eol()||d==="indent"){t(a,b)}var f="[({".indexOf(e);if(f!==-1){t(a,b,"])}".slice(f,f+1))}if(j.exec(…
/plugin/fckg/scripts/
H A Dvki_kb.js374 'name': "Croatian", 'keys': this.VKI_layout['Bosanski'].keys.slice(0), 'lang': ["hr"]
703 'name': "Slovenian", 'keys': this.VKI_layout['Bosanski'].keys.slice(0), 'lang': ["sl"]
716 'name': "Serbian Latin", 'keys': this.VKI_layout['Bosanski'].keys.slice(0), 'lang': ["sr"]
/plugin/diagramsnet/lib/js/diagramly/vsdx/
H A DmxVsdxCanvas2D.js775 ("0" + parseInt(rgb[1],10).toString(16)).slice(-2) +
776 ("0" + parseInt(rgb[2],10).toString(16)).slice(-2) +
777 ("0" + parseInt(rgb[3],10).toString(16)).slice(-2) : '';
/plugin/bez/lib/jquery.timepicker-1.11.9-0/
H A Djquery.timepicker.min.js7 !function(a){"object"==typeof exports&&exports&&"object"==typeof module&&module&&module.exports===exports?a(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],a):a(jQuery)}(function(a){function b(a){var b=a[0];return b.offsetWidth>0&&b.offsetHeight>0}function c(b){if(b.minTime&&(b.minTime=t(b.minTime)),b.maxTime&&(b.maxTime=t(b.maxTime)),b.durationTime&&"function"!=typeof b.durationTime&&(b.durationTime=t(b.durationTime)),"now"==b.scrollDefault)b.scrollDefault=function(){return b.roundingFunction(t(new Date),b)};else if(b.scrollDefault&&"function"!=typeof b.scrollDefault){var c=b.scrollDefault;b.scrollDefault=function(){return b.roundingFunction(t(c),b)}}else b.minTime&&(b.scrollDefault=function(){return b.roundingFunction(b.minTime,b)});if("string"===a.type(b.timeFormat)&&b.timeFormat.match(/[gh]/)&&(b._twelveHourTime=!0),b.showOnFocus===!1&&-1!=b.showOn.indexOf("focus")&&b.showOn.splice(b.showOn.indexOf("focus"),1),b.disableTimeRanges.length>0){for(var d in b.disableTimeRanges)b.disableTimeRanges[d]=[t(b.disableTimeRanges[d][0]),t(b.disableTimeRanges[d][1])];b.disableTimeRanges=b.disableTimeRanges.sort(function(a,b){return a[0]-b[0]});for(var d=b.disableTimeRanges.length-1;d>0;d--)b.disableTimeRanges[d][0]<=b.disableTimeRanges[d-1][1]&&(b.disableTimeRanges[d-1]=[Math.min(b.disableTimeRanges[d][0],b.disableTimeRanges[d-1][0]),Math.max(b.disableTimeRanges[d][1],b.disableTimeRanges[d-1][1])],b.disableTimeRanges.splice(d,1))}return b}function d(b){var c=b.data("timepicker-settings"),d=b.data("timepicker-list");if(d&&d.length&&(d.remove(),b.data("timepicker-list",!1)),c.useSelect){d=a("<select />",{"class":"ui-timepicker-select"});var g=d}else{d=a("<ul />",{"class":"ui-timepicker-list"});var g=a("<div />",{"class":"ui-timepicker-wrapper",tabindex:-1});g.css({display:"none",position:"absolute"}).append(d)}if(c.noneOption)if(c.noneOption===!0&&(c.noneOption=c.useSelect?"Time...":"None"),a.isArray(c.noneOption)){for(var i in c.noneOption)if(parseInt(i,10)==i){var k=e(c.noneOption[i],c.useSelect);d.append(k)}}else{var k=e(c.noneOption,c.useSelect);d.append(k)}if(c.className&&g.addClass(c.className),(null!==c.minTime||null!==c.durationTime)&&c.showDuration){"function"==typeof c.step?"function":c.step;g.addClass("ui-timepicker-with-duration"),g.addClass("ui-timepicker-step-"+c.step)}var l=c.minTime;"function"==typeof c.durationTime?l=t(c.durationTime()):null!==c.durationTime&&(l=c.durationTime);var n=null!==c.minTime?c.minTime:0,o=null!==c.maxTime?c.maxTime:n+v-1;n>o&&(o+=v),o===v-1&&"string"===a.type(c.timeFormat)&&c.show2400&&(o=v);var p=c.disableTimeRanges,w=0,y=p.length,z=c.step;"function"!=typeof z&&(z=function(){return c.step});for(var i=n,A=0;o>=i;A++,i+=60*z(A)){var B=i,C=s(B,c);if(c.useSelect){var D=a("<option />",{value:C});D.text(C)}else{var D=a("<li />");D.addClass(v/2>B%v?"ui-timepicker-am":"ui-timepicker-pm"),D.data("time",u(B,c)),D.text(C)}if((null!==c.minTime||null!==c.durationTime)&&c.showDuration){var E=r(i-l,c.step);if(c.useSelect)D.text(D.text()+" ("+E+")");else{var F=a("<span />",{"class":"ui-timepicker-duration"});F.text(" ("+E+")"),D.append(F)}}y>w&&(B>=p[w][1]&&(w+=1),p[w]&&B>=p[w][0]&&B<p[w][1]&&(c.useSelect?D.prop("disabled",!0):D.addClass("ui-timepicker-disabled"))),d.append(D)}if(g.data("timepicker-input",b),b.data("timepicker-list",g),c.useSelect)b.val()&&d.val(f(t(b.val()),c)),d.on("focus",function(){a(this).data("timepicker-input").trigger("showTimepicker")}),d.on("blur",function(){a(this).data("timepicker-input").trigger("hideTimepicker")}),d.on("change",function(){m(b,a(this).val(),"select")}),m(b,d.val(),"initial"),b.hide().after(d);else{var G=c.appendTo;"string"==typeof G?G=a(G):"function"==typeof G&&(G=G(b)),G.append(g),j(b,d),d.on("mousedown click","li",function(c){b.off("focus.timepicker"),b.on("focus.timepicker-ie-hack",function(){b.off("focus.timepicker-ie-hack"),b.on("focus.timepicker",x.show)}),h(b)||b[0].focus(),d.find("li").removeClass("ui-timepicker-selected"),a(this).addClass("ui-timepicker-selected"),q(b)&&(b.trigger("hideTimepicker"),d.on("mouseup.timepicker click.timepicker","li",function(a){d.off("mouseup.timepicker click.timepicker"),g.hide()}))})}}function e(b,c){var d,e,f;return"object"==typeof b?(d=b.label,e=b.className,f=b.value):"string"==typeof b?d=b:a.error("Invalid noneOption value"),c?a("<option />",{value:f,"class":e,text:d}):a("<li />",{"class":e,text:d}).data("time",String(f))}function f(a,b){return a=b.roundingFunction(a,b),null!==a?s(a,b):void 0}function g(b){if(b.target!=window){var c=a(b.target);c.closest(".ui-timepicker-input").length||c.closest(".ui-timepicker-wrapper").length||(x.hide(),a(document).unbind(".ui-timepicker"),a(window).unbind(".ui-timepicker"))}}function h(a){var b=a.data("timepicker-settings");return(window.navigator.msMaxTouchPoints||"ontouchstart"in document)&&b.disableTouchKeyboard}function i(b,c,d){if(!d&&0!==d)return!1;var e=b.data("timepicker-settings"),f=!1,d=e.roundingFunction(d,e);return c.find("li").each(function(b,c){var e=a(c);if("number"==typeof e.data("time"))return e.data("time")==d?(f=e,!1):void 0}),f}function j(a,b){b.find("li").removeClass("ui-timepicker-selected");var c=t(l(a),a.data("timepicker-settings"));if(null!==c){var d=i(a,b,c);if(d){var e=d.offset().top-b.offset().top;(e+d.outerHeight()>b.outerHeight()||0>e)&&b.scrollTop(b.scrollTop()+d.position().top-d.outerHeight()),d.addClass("ui-timepicker-selected")}}}function k(b,c){if(""!==this.value&&"timepicker"!=c){var d=a(this);if(!d.is(":focus")||b&&"change"==b.type){var e=d.data("timepicker-settings"),f=t(this.value,e);if(null===f)return void d.trigger("timeFormatError");var g=!1;if(null!==e.minTime&&null!==e.maxTime&&(f<e.minTime||f>e.maxTime)&&(g=!0),a.each(e.disableTimeRanges,function(){return f>=this[0]&&f<this[1]?(g=!0,!1):void 0}),e.forceRoundTime){var h=e.roundingFunction(f,e);h!=f&&(f=h,c=null)}var i=s(f,e);g?(m(d,i,"error")||b&&"change"==b.type)&&d.trigger("timeRangeError"):m(d,i,c)}}}function l(a){return a.is("input")?a.val():a.data("ui-timepicker-value")}function m(a,b,c){if(a.is("input")){a.val(b);var d=a.data("timepicker-settings");d.useSelect&&"select"!=c&&"initial"!=c&&a.data("timepicker-list").val(f(t(b),d))}return a.data("ui-timepicker-value")!=b?(a.data("ui-timepicker-value",b),"select"==c?a.trigger("selectTime").trigger("changeTime").trigger("change","timepicker"):-1==["error","initial"].indexOf(c)&&a.trigger("changeTime"),!0):(a.trigger("selectTime"),!1)}function n(a){switch(a.keyCode){case 13:case 9:return;default:a.preventDefault()}}function o(c){var d=a(this),e=d.data("timepicker-list");if(!e||!b(e)){if(40!=c.keyCode)return!0;x.show.call(d.get(0)),e=d.data("timepicker-list"),h(d)||d.focus()}switch(c.keyCode){case 13:return q(d)&&(k.call(d.get(0),{type:"change"}),x.hide.apply(this)),c.preventDefault(),!1;case 38:var f=e.find(".ui-timepicker-selected");return f.length?f.is(":first-child")||(f.removeClass("ui-timepicker-selected"),f.prev().addClass("ui-timepicker-selected"),f.prev().position().top<f.outerHeight()&&e.scrollTop(e.scrollTop()-f.outerHeight())):(e.find("li").each(function(b,c){return a(c).position().top>0?(f=a(c),!1):void 0}),f.addClass("ui-timepicker-selected")),!1;case 40:return f=e.find(".ui-timepicker-selected"),0===f.length?(e.find("li").each(function(b,c){return a(c).position().top>0?(f=a(c),!1):void 0}),f.addClass("ui-timepicker-selected")):f.is(":last-child")||(f.removeClass("ui-timepicker-selected"),f.next().addClass("ui-timepicker-selected"),f.next().position().top+2*f.outerHeight()>e.outerHeight()&&e.scrollTop(e.scrollTop()+f.outerHeight())),!1;case 27:e.find("li").removeClass("ui-timepicker-selected"),x.hide();break;case 9:x.hide();break;default:return!0}}function p(c){var d=a(this),e=d.data("timepicker-list"),f=d.data("timepicker-settings");if(!e||!b(e)||f.disableTextInput)return!0;switch(c.keyCode){case 96:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 65:case 77:case 80:case 186:case 8:case 46:f.typeaheadHighlight?j(d,e):e.hide()}}function q(a){var b=a.data("timepicker-settings"),c=a.data("timepicker-list"),d=null,e=c.find(".ui-timepicker-selected");return e.hasClass("ui-timepicker-disabled")?!1:(e.length&&(d=e.data("time")),null!==d&&("string"!=typeof d&&(d=s(d,b)),m(a,d,"select")),!0)}function r(a,b){a=Math.abs(a);var c,d,e=Math.round(a/60),f=[];return 60>e?f=[e,w.mins]:(c=Math.floor(e/60),d=e%60,30==b&&30==d&&(c+=w.decimal+5),f.push(c),f.push(1==c?w.hr:w.hrs),30!=b&&d&&(f.push(d),f.push(w.mins))),f.join(" ")}function s(b,c){if("number"!=typeof b)return null;var d=parseInt(b%60),e=parseInt(b/60%60),f=parseInt(b/3600%24),g=new Date(1970,0,2,f,e,d,0);if(isNaN(g.getTime()))return null;if("function"===a.type(c.timeFormat))return c.timeFormat(g);for(var h,i,j="",k=0;k<c.timeFormat.length;k++)switch(i=c.timeFormat.charAt(k)){case"a":j+=g.getHours()>11?w.pm:w.am;break;case"A":j+=g.getHours()>11?w.PM:w.AM;break;case"g":h=g.getHours()%12,j+=0===h?"12":h;break;case"G":h=g.getHours(),b===v&&(h=c.show2400?24:0),j+=h;break;case"h":h=g.getHours()%12,0!==h&&10>h&&(h="0"+h),j+=0===h?"12":h;break;case"H":h=g.getHours(),b===v&&(h=c.show2400?24:0),j+=h>9?h:"0"+h;break;case"i":var e=g.getMinutes();j+=e>9?e:"0"+e;break;case"s":d=g.getSeconds(),j+=d>9?d:"0"+d;break;case"\\":k++,j+=c.timeFormat.charAt(k);break;default:j+=i}return j}function t(a,b){if(""===a||null===a)return null;if("object"==typeof a)return 3600*a.getHours()+60*a.getMinutes()+a.getSeconds();if("string"!=typeof a)return a;a=a.toLowerCase().replace(/[\s\.]/g,""),("a"==a.slice(-1)||"p"==a.slice(-1))&&(a+="m");var c="("+w.am.replace(".","")+"|"+w.pm.replace(".","")+"|"+w.AM.replace(".","")+"|"+w.PM.replace(".","")+")?",d=new RegExp("^"+c+"([0-9]?[0-9])\\W?([0-5][0-9])?\\W?([0-5][0-9])?"+c+"$"),e=a.match(d);if(!e)return null;var f=parseInt(1*e[2],10);if(f>24){if(b&&b.wrapHours===!1)return null;f%=24}var g=e[1]||e[5],h=f;if(12>=f&&g){var i=g==w.pm||g==w.PM;h=12==f?i?12:0:f+(i?12:0)}var j=1*e[3]||0,k=1*e[4]||0,l=3600*h+60*j+k;if(12>f&&!g&&b&&b._twelveHourTime&&b.scrollDefault){var m=l-b.scrollDefault();0>m&&m>=v/-2&&(l=(l+v/2)%v)}return l}function u(a,b){return a==v&&b.show2400?a:a%v}var v=86400,w={am:"am",pm:"pm",AM:"AM",PM:"PM",decimal:".",mins:"mins",hr:"hr",hrs:"hrs"},x={init:function(b){return this.each(function(){var e=a(this),f=[];for(var g in a.fn.timepicker.defaults)e.data(g)&&(f[g]=e.data(g));var h=a.extend({},a.fn.timepicker.defaults,b,f);if(h.lang&&(w=a.extend(w,h.lang)),h=c(h),e.data("timepicker-settings",h),e.addClass("ui-timepicker-input"),h.useSelect)d(e);else{if(e.prop("autocomplete","off"),h.showOn)for(var i in h.showOn)e.on(h.showOn[i]+".timepicker",x.show);e.on("change.timepicker",k),e.on("keydown.timepicker",o),e.on("keyup.timepicker",p),h.disableTextInput&&e.on("keydown.timepicker",n),k.call(e.get(0),null,"initial")}})},show:function(c){var e=a(this),f=e.data("timepicker-settings");if(c&&c.preventDefault(),f.useSelect)return void e.data("timepicker-list").focus();h(e)&&e.blur();var k=e.data("timepicker-list");if(!e.prop("readonly")&&(k&&0!==k.length&&"function"!=typeof f.durationTime||(d(e),k=e.data("timepicker-list")),!b(k))){e.data("ui-timepicker-value",e.val()),j(e,k),x.hide(),k.show();var m={};f.orientation.match(/r/)?m.left=e.offset().left+e.outerWidth()-k.outerWidth()+parseInt(k.css("marginLeft").replace("px",""),10):m.left=e.offset().left+parseInt(k.css("marginLeft").replace("px",""),10);var n;n=f.orientation.match(/t/)?"t":f.orientation.match(/b/)?"b":e.offset().top+e.outerHeight(!0)+k.outerHeight()>a(window).height()+a(window).scrollTop()?"t":"b","t"==n?(k.addClass("ui-timepicker-positioned-top"),m.top=e.offset().top-k.outerHeight()+parseInt(k.css("marginTop").replace("px",""),10)):(k.removeClass("ui-timepicker-positioned-top"),m.top=e.offset().top+e.outerHeight()+parseInt(k.css("marginTop").replace("px",""),10)),k.offset(m);var o=k.find(".ui-timepicker-selected");if(!o.length){var p=t(l(e));null!==p?o=i(e,k,p):f.scrollDefault&&(o=i(e,k,f.scrollDefault()))}if(o&&o.length){var q=k.scrollTop()+o.position().top-o.outerHeight();k.scrollTop(q)}else k.scrollTop(0);return f.stopScrollPropagation&&a(document).on("wheel.ui-timepicker",".ui-timepicker-wrapper",function(b){b.preventDefault();var c=a(this).scrollTop();a(this).scrollTop(c+b.originalEvent.deltaY)}),a(document).on("touchstart.ui-timepicker mousedown.ui-timepicker",g),a(window).on("resize.ui-timepicker",g),f.closeOnWindowScroll&&a(document).on("scroll.ui-timepicker",g),e.trigger("showTimepicker"),this}},hide:function(c){var d=a(this),e=d.data("timepicker-settings");return e&&e.useSelect&&d.blur(),a(".ui-timepicker-wrapper").each(function(){var c=a(this);if(b(c)){var d=c.data("timepicker-input"),e=d.data("timepicker-settings");e&&e.selectOnBlur&&q(d),c.hide(),d.trigger("hideTimepicker")}}),this},option:function(b,e){return"string"==typeof b&&"undefined"==typeof e?a(this).data("timepicker-settings")[b]:this.each(function(){var f=a(this),g=f.data("timepicker-settings"),h=f.data("timepicker-list");"object"==typeof b?g=a.extend(g,b):"string"==typeof b&&(g[b]=e),g=c(g),f.data("timepicker-settings",g),k.call(f.get(0),{type:"change"},"initial"),h&&(h.remove(),f.data("timepicker-list",!1)),g.useSelect&&d(f)})},getSecondsFromMidnight:function(){return t(l(this))},getTime:function(a){var b=this,c=l(b);if(!c)return null;var d=t(c);if(null===d)return null;a||(a=new Date);var e=new Date(a);return e.setHours(d/3600),e.setMinutes(d%3600/60),e.setSeconds(d%60),e.setMilliseconds(0),e},isVisible:function(){var a=this,c=a.data("timepicker-list");return!(!c||!b(c))},setTime:function(a){var b=this,c=b.data("timepicker-settings");if(c.forceRoundTime)var d=f(t(a),c);else var d=s(t(a),c);return a&&null===d&&c.noneOption&&(d=a),m(b,d),b.data("timepicker-list")&&j(b,b.data("timepicker-list")),this},remove:function(){var a=this;if(a.hasClass("ui-timepicker-input")){var b=a.data("timepicker-settings");return a.removeAttr("autocomplete","off"),a.removeClass("ui-timepicker-input"),a.removeData("timepicker-settings"),a.off(".timepicker"),a.data("timepicker-list")&&a.data("timepicker-list").remove(),b.useSelect&&a.show(),a.removeData("timepicker-list"),this}}};a.fn.timepicker=function(b){return this.length?x[b]?this.hasClass("ui-timepicker-input")?x[b].apply(this,Array.prototype.slice.call(arguments,1)):this:"object"!=typeof b&&b?void a.error("Method "+b+" does not exist on jQuery.timepicker"):x.init.apply(this,arguments):this},a.fn.timepicker.defaults={appendTo:"body",className:null,closeOnWindowScroll:!1,disableTextInput:!1,disableTimeRanges:[],disableTouchKeyboard:!1,durationTime:null,forceRoundTime:!1,maxTime:null,minTime:null,noneOption:!1,orientation:"l",roundingFunction:function(a,b){if(null===a)return null;if("number"!=typeof b.step)return a;var c=a%(60*b.step),d=b.minTime||0;return c-=d%(60*b.step),c>=30*b.step?a+=60*b.step-c:a-=c,u(a,b)},scrollDefault:null,selectOnBlur:!1,show2400:!1,showDuration:!1,showOn:["click","focus"],showOnFocus:!0,step:30,stopScrollPropagation:!1,timeFormat:"g:ia",typeaheadHighlight:!0,useSelect:!1,wrapHours:!0}});
/plugin/amcharts/assets/amcharts/plugins/export/libs/pdfmake/
H A Dpdfmake.min.js1slice(e,n))}function E(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;n>i;){var o=t[i],a=null,s=o>…
7slice.call(this._arr||this,0)}};var V=4096;t.prototype.slice=function(e,n){var r=this.length;e=~~e… method in t
8slice(1)}function to(t){return t=h(t),t&&t.replace(Rt,p)}function eo(t,e,n){t=h(t),e+="";var r=t.l… method in r
9slice.call(arguments,1),n=this.events[t];n&&n.forEach(function(t){t.apply(this,e)})},n.prototype.a…
10slice(-10),this._write(e+" 00000 n ");return this._write("trailer"),this._write(i.convert({Size:th…
11slice(r):e.buffer.length=0}e.bufferProcessing=!1}function m(t,e){return e.ending&&0===e.length&&!e…
13slice(0,e):t}function o(t){return i(JSON.stringify(t.actual,r),128)+" "+t.operator+" "+i(JSON.stri…
14slice(-4),e=(+e).toString(16),r.push("<"+e+"><"+i+">");return r.length&&(o+="\n"+r.length+" beginb… method in t
15slice;o=n(76),r=n(72),GlyfTable=function(t){function GlyfTable(){return GlyfTable.__super__.constr…
16slice(0,o)),this.text[a]=String.fromCharCode.apply(String,u.slice(o+1));break;case"IEND":return th…
[all …]
/plugin/katex/_assets/
H A Dkatex.min.js1slice(n,s).replace(/[^]/g,"$&\u0332");a+=(n>15?"\u2026"+o.slice(n-15,n):o.slice(0,n))+l+(s+15<o.le…
/plugin/jplayer/vendor/happyworm/jplayer/lib/aurora/
H A Daurora.js626 AVBuffer.prototype.slice = function(position, length) { method in AVBuffer
764 __slice = [].slice;
811 _ref1 = this.events[event].slice();
1211 result = this.list.first.slice(this.localOffset, length);
1218 result = this.list.first.slice(this.localOffset + offset, length);
2114 _ref = name.split('.').slice(0, -1);
3190 return this.outputBuffer.slice(0, sliceAmount);
3668 …this.file[this.slice = 'slice'] || this.file[this.slice = 'webkitSlice'] || this.file[this.slice =…
3716 blob = this.file[this.slice](this.offset, endPos);
/plugin/amcharts/assets/amcharts/plugins/export/libs/fabric.js/
H A Dfabric.js450 var r = t.slice(),
1139 var slice = Array.prototype.slice; variable
1464 (firstLetterOnly ? string.slice(1) : string.slice(1).toLowerCase());
1496 var slice = Array.prototype.slice,
1534 var slice = Array.prototype.slice, emptyFunction = function() { },
1587 ? fn.apply(this, slice.call(arguments, 1))
1600 properties = slice.call(arguments, 0);
1934 var _slice = Array.prototype.slice;
3041 args = m.slice(2).map(parseFloat);
22026 this.text = this.text.slice(0, start) +
[all …]
H A Dfabric.min.js1slice(),a=1/(t[0]*t[3]-t[1]*t[2]);r=[a*t[3],-a*t[1],-a*t[2],a*t[0],0,0];var o=fabric.util.transfor… variable
2 …er(function(match){return match!==""&&match!=null}),operation=m[1],args=m.slice(2).map(parseFloat)…
4slice(color.indexOf("#")+1),isShortNotation=value.length===3,r=isShortNotation?value.charAt(0)+val…
9slice()}),pathOffset:this.pathOffset});if(this.sourcePath){o.sourcePath=this.sourcePath}if(this.tr…
13slice(0,selectionStart),linesBeforeCursor=textBeforeCursor.split(this._reNewline);return{lineIndex…
15slice(0,selectionProp),textAfterCursor=this.text.slice(selectionProp),textOnSameLineBeforeCursor=t…
/plugin/html5video2/script/
H A Dvideo.min.js12slice(),n[e].splice(t,1),!0)},s="undefined"!=typeof e?e:"undefined"!=typeof window?window:{},o="un…
20slice(0,t).trim().toLowerCase(),t=e.slice(t+1).trim();"undefined"==typeof n[i]?n[i]=t:Array.isArra…
21slice(1))[0]=t[0].replace(/^\s+|\s+$/g,""),t[1]=t[1].replace(/^\s+|\s+$/g,""),t[1]=t[1].replace(/^…
/plugin/achart/assets/
H A Dapexcharts.min.js6slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Arr…
10slice.call(arguments))):this.attr("stdDeviation","0 0")},morphology:function(t,e){this.attr({opera…
14slice(),a=this.parameters.box.width/this.parameters.box.height,s=this.parameters.box.width+t[0],r=…
/plugin/freechat/phpfreechat/data/public/js/
H A Dprototype.js341 result += source.slice(0, match.index);
343 source = source.slice(match.index + match[0].length);
370 this.slice(0, length - truncation.length) + truncation : String(this);
436 return this.slice(0, this.length - 1) +
607 slices.push(array.slice(index, index+number));
692 return this.eachSlice(number, function(slice) { argument
693 while(slice.length < number) slice.push(fillWith);
694 return slice;
707 var args = $A(arguments).slice(1);
930 var n = this.slice(0, i).reverse().indexOf(item);
[all …]
/plugin/combo/resources/library/combo/
H A Dcombo.min.js4 </span>`):`<a href="${t}" title="${this.getDescription()}" data-bs-toggle="tooltip" style="text-decoration:none" target="_blank">${this.getLabel()}</a>`}setType(t){return this.type=t,this}setLabel(t){return this.label=t,this}setUrl(t){return this.url=t,this}addValue(t,e){return this.values.push(t),this.defaultValues.push(e),this}getType(){return this.type}getLabel(){return this.label===void 0?this.getName().split(/[_\-]/).map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" "):this.label}getUrl(){return this.url}getName(){return this.name}getDescription(){return this.description}getTab(){return this.tab}static createFromJson(t,e=null){t.hasOwnProperty("name")||E.getLogger().error("To create a form meta field, the name property is mandatory.");let s=t.name,l=w.createFromName(s);e!=null&&l.setParent(e);let r,n;for(let o in t){if(!t.hasOwnProperty(o))continue;let a=t[o];switch(o){case"name":continue;case"label":l.setLabel(a);continue;case"tab":l.setTab(a);continue;case"type":l.setType(a);continue;case"mutable":l.setMutable(a);continue;case"description":l.setDescription(a);continue;case"url":l.setUrl(a);continue;case"value":r=a;continue;case"default":n=a;continue;case"domain-values":l.setDomainValues(a);continue;case"multiple":l.setMultiple(a);continue;case"width":l.setControlWidth(a);continue;case"children":let p=a;for(let b in p){if(!p.hasOwnProperty(b))continue;let d=w.createFromJson(p[b],l);l.addChild(d)}continue;default:E.getLogger().error(`The property (${o}) of the form (${s}) is unknown`)}}return Array.isArray(r)?r.forEach((o,a)=>{let p=n[a];p!==void 0?l.addValue(o,p):l.addValue(o,"")}):l.addValue(r,n),l}setMultiple(t){return this.multiple=t,this}setParent(t){return this.parent=t,this}static createFromName(t){return new w(t)}isMutable(){return this.mutable}setTab(t){return this.tab=t,this}setMutable(t){return this.mutable=H.toBoolean(t),this}setDescription(t){return this.description=t,this}getDefaultValue(){return this.defaultValues[0]}getValue(){return this.values[0]}getDomainValues(){return this.domainValues}setDomainValues(t){if(!Array.isArray(t)){console.error(`The domains values should be an array. (${t}) is not an array`);return}return this.domainValues=t,this}setControlWidth(t){return this.width=t,this}getControlWidth(){return this.width===void 0&&this.parent!==void 0?12/this.parent.getChildren().length:this.width}getValues(){return this.values}getDefaultValues(){return this.defaultValues}getChildren(){return Object.values(this.children)}addChild(t){return this.children[t.getName()]=t,this}toHtmlLabel(t,e){let s=this.getLabelAnchor(),l;return this.getType()===w.BOOLEAN?l="form-check-label":l="col-form-label",typeof e<"u"&&(l=`${e} ${l}`),`<label for="${t}" class="${l}">${s}</label>`}toHtmlControl(t,e=null,s=null){let l=this.getType(),r=this.isMutable(),n=this.getDomainValues(),o,a;if(n!==void 0){a="select";let p="";s!==void 0&&(p=` (${s})`);let b="";this.getMultiple()&&(b="multiple"),a=`<select class="form-select" aria-label="${this.getLabel()}" name="${this.getName()}" id="${t}" ${b}>`;let d="";e===null&&(d="selected"),a+=`<option value="" ${d}>Default${p}</option>`;for(let h of n)h===e?d="selected":d="",a+=`<option value="${h}" ${d}>${h}</option>`;return a+="</select>",a}else{let p="No value";r&&(p=`Enter a ${this.getLabel()}`),s!=null&&(Q.isString(s)?p=$.toEntities(s):p=s);let b=`placeholder="${p}"`,d="",h,P=this.getName();r!==void 0&&!r?o="disabled":o="";let C="input",v="form-control",m="",A=3;switch(l){case w.DATE_TIME:h="datetime-local",e!==null?(e=e.slice(0,19),d=`value="${e}"`):!r&&s!==null&&(s=s.slice(0,19),d=`value="${s}"`),b="";break;case w.PARAGRAPH:C="textarea",e!==null&&(e=$.toEntities(e),d=`${e}`);break;case w.JSON:C="textarea",e!==null&&(typeof e=="object"&&(e=JSON.stringify(e,null,2)),e=$.toEntities(e),d=`${e}`),A=15;break;case w.BOOLEAN:h="checkbox",v="form-check-input",s!==null?(d=`value="${s}"`,e===s&&(m="checked")):e==="on"&&(m="checked"),b="";break;default:h="text",e!=null&&(d=`value="${e}"`)}switch(C){case"textarea":a=`<textarea id="${t}" name="${P}" class="${v}" rows="${A}" ${b} ${o}>${d}</textarea>`;break;default:case"input":a=`<input type="${h}" name="${P}" class="${v}" id="${t}" ${b} ${d} ${m} ${o}/>`;break}return a}}toJavascriptObject(){return{name:this.getName(),label:this.getLabel(),type:this.getType(),description:this.getDescription(),tab:this.getTab(),mutable:this.isMutable(),value:this.getValue(),default:this.getDefaultValue(),url:this.getUrl()}}getMultiple(){return this.multiple}};let T=w;i(T,"TABULAR_TYPE","tabular"),i(T,"DATE_TIME","datetime"),i(T,"PARAGRAPH","paragraph"),i(T,"BOOLEAN","boolean"),i(T,"JSON","json");class I{constructor(t){i(this,"name");i(this,"width");i(this,"label");i(this,"widthField");i(this,"widthLabel");this.name=t}getName(){return this.name}setWidth(t){return this.width=t,this}getWidth(){return this.width}static createFromJson(t){t.hasOwnProperty("name")||E.getLogger().error("A name property is mandatory to create a tab and was not found in the json provided");let e=t.name,s=new I(e);for(let l in t){if(!t.hasOwnProperty(l))continue;let r=t[l];switch(l){case"name":continue;case"label":s.setLabel(r);continue;case"width-field":s.setWidthField(r);continue;case"width-label":s.setWidthLabel(r);continue;default:E.getLogger().error(`The property (${l}) of the tab (${e}) is unknown`)}}return s}setLabel(t){return this.label=t,this}getLabel(){return this.label===void 0?this.name:this.label}setWidthField(t){return this.widthField=t,this}setWidthLabel(t){return this.widthLabel=t,this}getLabelWidth(){return this.widthLabel===void 0?3:this.widthLabel}getFieldWidth(){return this.widthField===void 0?12-this.getLabelWidth():this.widthField}static createFromName(t){return new I(t)}}class B{constructor(t){i(this,"formFields",{});i(this,"tabs",{});i(this,"width",8);i(this,"name");i(this,"label");i(this,"url");i(this,"getTabPaneId");i(this,"getTabNavId");i(this,"getControlId");if(t==null)throw new Error("The if of the form should not be null");this.name=t,this.getControlId=function(e){let s=$.toHtmlId(e);return`${t}-control-${s}`},this.getTabNavId=function(e){let s=$.toHtmlId(e.getName());return`${t}-tab-nav-${s}`},this.getTabPaneId=function(e){let s=$.toHtmlId(e.getName());return`${t}-tab-pane-${s}`}}getLabel(){return this.label}getUrl(){return this.url}getId(){return this.name}getControlWidth(){return this.width}getLabelWidth(){return 12-this.getControlWidth()}static createFromJson(t,e){let s=B.createFromId(t);for(let l in e){if(!e.hasOwnProperty(l))continue;let r=e[l];switch(l){case"fields":let n=r;for(let a in n)n.hasOwnProperty(a)&&s.addFormField(T.createFromJson(n[a]));continue;case"tabs":let o=r;for(let a in o)o.hasOwnProperty(a)&&s.addTab(I.createFromJson(o[a]));break;case"width":s.setControlWidth(r);break;case"label":s.setLabel(r);break;case"url":s.setUrl(r);break;default:E.getLogger().error(`The form property (${l}) is unknown`)}}return s}static createFromId(t){return new B(t)}addFormField(t){return this.formFields[t.getName()]=t,this.tabs.hasOwnProperty(t.getTab())||(this.tabs[t.getTab()]=I.createFromName(t.getTab())),this}getFields(){return Object.values(this.formFields)}getTabs(){return Object.values(this.tabs)}addTab(t){this.tabs[t.getName()]=t}valueOf(){return this.getId()}getFieldsForTab(t){return this.getFields().filter(e=>e.getTab()===t)}toHtmlElement(){let t=this.getId(),e='<ul class="nav nav-tabs mb-3">',s,l,r=this.getTabs(),n=r[0];for(let h of r){Object.is(h,n)?(s="active",l="true"):(s="",l="false");let P=h.getLabel(),C=this.getTabPaneId(h),v=this.getTabNavId(h);e+=`
/plugin/abc2/abc-libraries/abc2svg/
H A Dcombine-1.js89 tie_repl(s)}},do_pscom:function(of,text){if(text.slice(0,13)=="voicecombine ")
/plugin/tagging/script/
H A Deditable.js429 data[option].apply(data, Array.prototype.slice.call(arguments, 1));
/plugin/behave/
H A Dbehave.js235 start += normalizedValue.slice(0, start).split(newLine).length - 1;
241 end += normalizedValue.slice(0, end).split(newLine).length - 1;
/plugin/codemirror/dist/keymaps/
H A Dvim.min.js1slice(0,d-e);b=b.slice(d-e);if(a){for(var g=f.length-1;g>=0;g--){var h=f[g];if(a!==h.context){if(h…
2slice(0,-l[0].length)}}var m=new e(i.line-1,Number.MAX_VALUE);var n=b.firstLine()==b.lastLine();if…
3slice(1,f.length).join("/")}if(g){try{sb(a,g,true,true)}catch(p){nb(a,"Invalid regex: "+g);return}…
/plugin/sequencediagram/bower_components/underscore/
H A Dunderscore-min.js5slice,s=a.toString,p=a.hasOwnProperty,h=Array.isArray,v=Object.keys,g=c.bind,y=Object.create,d=fun…
/plugin/sequencediagram/bower_components/lodash/vendor/underscore/
H A Dunderscore-min.js5slice,s=a.toString,p=a.hasOwnProperty,h=Array.isArray,v=Object.keys,g=c.bind,y=Object.create,d=fun…
/plugin/amcharts/assets/amcharts/plugins/export/libs/xlsx/
H A Dxlsx.js894 var blob = file.slice(0,512);
908 var header = file.slice(0,ssz);
1021 sectors[nsectors-1] = file.slice(nsectors*ssz);
1150 blob = sector.slice(i, i+128);
1889 var b = data.slice(data.l, data.l+4);
2658 p.SheetNames = parts.slice(widx, widx + p.Worksheets);
2852 var bytes = blob.slice(blob.l,blob.l+size);
8699 else if(Rn[0].slice(-2) == "/>") break;
9209 var d = blob.slice(blob.l,blob.l+l);
9221 bufs.push(blob.slice(blob.l+4,blob.l+4+l));
[all …]
/plugin/diagramsnet/lib/js/
H A Dextensions.min.js9 …+}null!=A[Y]&&b.push({s:A[Y],n:"a",v:c.TextAlign||"center"});var A="",C=k.slice();C.sort(function(…
1083 ("0"+parseInt(m[2],10).toString(16)).slice(-2)+("0"+parseInt(m[3],10).toString(16)).slice(-2):"";d=…
1170 …MY_SET_$LI$=function(){null==d.MY_SET&&(d.MY_SET=d.SET_VALUES_$LI$().slice(0).slice(0));return d.M…
1177 …eType||null===b)&&(null!=a&&a instanceof Array||null===a))Array.prototype.slice.call(arguments),th…
1224 …{var b=function(a){if(0!=a.length){for(var c=[],g=0;g<a[0];g++)c.push(b(a.slice(1)));return c}};re…
1225slice(1)));return c};return b(a)}([4,4]);this.variantLineIdx=function(a){var b=function(a){if(0==a…
1226slice(1)));return c};return b(a)}([4,4]);this.variantFontIdx=function(a){var b=function(a){if(0==a…
1300 …=this.isRoundJoin=!1;if(null!=a&&1==a.nodeType||null===a){Array.prototype.slice.call(arguments);th… method in Array
1355 …ction a(a,b,c,d){this.__parent=a;this.nurbsValues=[];a=b.split(/\s*,\s*/).slice(0);for(b=0;b<a.len…
1359 …ng.IllegalArgumentException","java.lang.Exception"]});m=m.split(",").slice(0).slice(0);q=parseFloa…
[all …]
/plugin/pycode/
H A Dscript.js333 var ext = src_url.slice(-3); // get .py
/plugin/jquery-syntax/jquery-syntax/
H A Djquery.syntax.min.js5 …e.bind){Function.prototype.bind=function(target){var args=Array.prototype.slice.call(arguments,1),…

1...<<11121314151617181920>>...22