(original) (raw)

/*! jQuery Migrate v3.4.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */ "undefined"==typeof jQuery.migrateMute&&(jQuery.migrateMute=!0),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e,window)}):"object"==typeof module&&module.exports?module.exports=t(require("jquery"),window):t(jQuery,window)}(function(s,n){"use strict";function e(e){return 0<=function(e,t){for(var r=/^(\d+)\.(\d+)\.(\d+)/,n=r.exec(e)||[],o=r.exec(t)||[],a=1;a<=3;a++){if(+o[a]<+n[a])return 1;if(+n[a]<+o[a])return-1}return 0}(s.fn.jquery,e)}s.migrateVersion="3.4.1";var t=Object.create(null);s.migrateDisablePatches=function(){for(var e=0;e<arguments.length;e++)t[arguments[e]]=!0},s.migrateenablepatches=function(){for(var 0="==s.migrateTrace&&(s.migrateTrace=!0),s.migrateReset=function(){o={},s.migrateWarnings.length=0},"BackCompat"===n.document.compatMode&&u("quirks","jQuery" 1="==arguments.length?this.off(e,"**"):this.off(t,e||"**",r)},"pre-on-methods","jQuery.fn.undelegate()" e="0;e<arguments.length;e++)delete" t[arguments[e]]},s.migrateispatchenabled="function(e){return!t[e]},n.console&&n.console.log&&(s&&e("3.0.0")&&!e("5.0.0")||n.console.log("JQMIGRATE:" jquery="" 3.x-4.x="" required"),s.migratewarnings&&n.console.log("jqmigrate:="" migrate="" plugin="" loaded="" multiple="" times"),n.console.log("jqmigrate:="" is="" installed"+(s.migratemute?"":"="" with="" logging="" active")+",="" version="" "+s.migrateversion));var="" o="{};function" u(e,t){var="" r="n.console;!s.migrateIsPatchEnabled(e)||s.migrateDeduplicateWarnings&&o[t]||(o[t]=!0,s.migrateWarnings.push(t+"" ["+e+"]"),r&&r.warn&&!s.migratemute&&(r.warn("jqmigrate:="" "+t),s.migratetrace&&r.trace&&r.trace()))}function="" r(e,t,r,n,o){object.defineproperty(e,t,{configurable:!0,enumerable:!0,get:function(){return="" u(n,o),r},set:function(e){u(n,o),r="e}})}function" a(e,t,r,n,o){var="" a="e[t];e[t]=function(){return" o&&u(n,o),(s.migrateispatchenabled(n)?r:a||s.noop).apply(this,arguments)}}function="" c(e,t,r,n,o){if(!o)throw="" new="" error("no="" warning="" message="" provided");return="" a(e,t,r,n,o),0}function="" i(e,t,r,n){return="" a(e,t,r,n),0}s.migratededuplicatewarnings="!0,s.migrateWarnings=[],void" not="" compatible="" quirks="" mode");var="" d,l,p,f="{},m=s.fn.init,y=s.find,h=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,g=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g,v=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;for(d" in="" i(s.fn,"init",function(e){var="" t="Array.prototype.slice.call(arguments);return" s.migrateispatchenabled("selector-empty-id")&&"string"="=typeof" e&&"#"="==e&&(u("selector-empty-id","jQuery(" '#'="" )="" valid="" selector"),t[0]="[]),m.apply(this,t)},"selector-empty-id"),s.fn.init.prototype=s.fn,i(s,"find",function(t){var" t&&h.test(t))try{n.document.queryselector(t)}catch(e){t="t.replace(g,function(e,t,r,n){return"["+t+r+'"'+n+'"]'});try{n.document.querySelector(t),u("selector-hash","Attribute" selector="" must="" be="" quoted:="" "+r[0]),r[0]="t}catch(e){u("selector-hash","Attribute" was="" fixed:="" "+r[0])}}return="" y.apply(this,r)},"selector-hash"),y)object.prototype.hasownproperty.call(y,d)&&(s.find[d]="y[d]);c(s.fn,"size",function(){return" this.length},"size","jquery.fn.size()="" deprecated="" and="" removed;="" use="" the="" .length="" property"),c(s,"parsejson",function(){return="" json.parse.apply(null,arguments)},"parsejson","jquery.parsejson="" deprecated;="" json.parse"),c(s,"holdready",s.holdready,"holdready","jquery.holdready="" deprecated"),c(s,"unique",s.uniquesort,"unique","jquery.unique="" jquery.uniquesort"),r(s.expr,"filters",s.expr.pseudos,"expr-pre-pseudos","jquery.expr.filters="" jquery.expr.pseudos"),r(s.expr,":",s.expr.pseudos,"expr-pre-pseudos","jquery.expr[':']="" jquery.expr.pseudos"),e("3.1.1")&&c(s,"trim",function(e){return="" null="=e?"":(e+"").replace(v,"$1")},"trim","jQuery.trim" string.prototype.trim"),e("3.2.0")&&(c(s,"nodename",function(e,t){return="" e.nodename&&e.nodename.tolowercase()="==t.toLowerCase()},"nodeName","jQuery.nodeName" deprecated"),c(s,"isarray",array.isarray,"isarray","jquery.isarray="" array.isarray")),e("3.3.0")&&(c(s,"isnumeric",function(e){var="" e;return("number"="=t||"string"==t)&&!isNaN(e-parseFloat(e))},"isNumeric","jQuery.isNumeric()" deprecated"),s.each("boolean="" number="" string="" function="" array="" date="" regexp="" object="" error="" symbol".split("="" "),function(e,t){f["[object="" "+t+"]"]="t.toLowerCase()}),c(s,"type",function(e){return" e||"function"="=typeof" e?f[object.prototype.tostring.call(e)]||"object":typeof="" e},"type","jquery.type="" deprecated"),c(s,"isfunction",function(e){return"function"="=typeof" e},"isfunction","jquery.isfunction()="" deprecated"),c(s,"iswindow",function(e){return="" null!="e&&e===e.window},"isWindow","jQuery.isWindow()" deprecated")),s.ajax&&(l="s.ajax,p=/(=)\?(?=&|$)|\?\?/,i(s,"ajax",function(){var" e.promise&&(c(e,"success",e.done,"jqxhr-methods","jqxhr.success="" removed"),c(e,"error",e.fail,"jqxhr-methods","jqxhr.error="" removed"),c(e,"complete",e.always,"jqxhr-methods","jqxhr.complete="" removed")),e},"jqxhr-methods"),e("4.0.0")||s.ajaxprefilter("+json",function(e){!1!="=e.jsonp&&(p.test(e.url)||"string"==typeof" e.data&&0="==(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&p.test(e.data))&&u("jsonp-promotion","JSON-to-JSONP" auto-promotion="" deprecated")}));var="" j="s.fn.removeAttr,b=s.fn.toggleClass,w=/\S+/g;function" x(e){return="" e.replace(="" -([a-z])="" g,function(e,t){return="" t.touppercase()})}i(s.fn,"removeattr",function(e){var="" s.each(e.match(w),function(e,t){s.expr.match.bool.test(t)&&r.each(function(){if(!1!="=s(this).prop(t))return!(n=!0)}),n&&(u("removeAttr-bool","jQuery.fn.removeAttr" no="" longer="" sets="" boolean="" properties:="" "+t),r.prop(t,!1))}),j.apply(this,arguments)},"removeattr-bool"),i(s.fn,"toggleclass",function(t){return="" void="" 0!="=t&&"boolean"!=typeof" t?b.apply(this,arguments):(u("toggleclass-bool","jquery.fn.toggleclass(="" deprecated"),this.each(function(){var="" q,a,r="!1,C=/^[a-z]/,N=/^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;s.swap&&s.each(["height","width","reliableMarginRight"],function(e,t){var" e;return="" o,a,i="{};for(a" r||u("swap","jquery.swap()="" undocumented="" deprecated"),t)i[a]="e.style[a],e.style[a]=t[a];for(a" o},"swap"),e("3.4.0")&&"undefined"!="typeof" proxy&&(s.cssprops="new" proxy(s.cssprops||{},{set:function(){return="" u("cssprops","jquery.cssprops="" deprecated"),reflect.set.apply(this,arguments)}})),e("4.0.0")?(a="{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},"undefined"!=typeof" proxy?s.cssnumber="new" proxy(a,{get:function(){return="" u("css-number","jquery.cssnumber="" deprecated"),reflect.get.apply(this,arguments)},set:function(){return="" deprecated"),reflect.set.apply(this,arguments)}}):s.cssnumber="A):A=s.cssNumber,Q=s.fn.css,i(s.fn,"css",function(e,t){var" r,n,o="this;return" e&&"object"="=typeof" e&&!array.isarray(e)?(s.each(e,function(e,t){s.fn.css.call(o,e,t)}),this):("number"="=typeof" t&&(r="x(e),n=r,C.test(n)&&N.test(n[0].toUpperCase()+n.slice(1))||A[r]||u("css-number",'Number-typed" values="" are="" for="" jquery.fn.css(="" "'+e+'",="" value="" )')),q.apply(this,arguments))},"css-number");var="" s,p,k,h,e="s.data;i(s,"data",function(e,t,r){var" n,o,a;if(t&&"object"="=typeof" t&&2="==arguments.length){for(a" n="s.hasData(e)&&E.call(this,e),o={},t)a!==x(a)?(u("data-camelCase","jQuery.data()" always="" gets="" camelcased="" names:="" "+a),n[a]="t[a]):o[a]=t[a];return" e.call(this,e,o),t}return="" t&&"string"="=typeof" t&&t!="=x(t)&&(n=s.hasData(e)&&E.call(this,e))&&t" n?(u("data-camelcase","jquery.data()="" "+t),2<arguments.length&&(n[t]="r),n[t]):E.apply(this,arguments)},"data-camelCase"),s.fx&&(k=s.Tween.prototype.run,H=function(e){return" e},i(s.tween.prototype,"run",function(){1<s.easing[this.easing].length&&(u("easing-one-arg","'jquery.easing."+this.easing.tostring()+"'="" should="" only="" one="" argument"),s.easing[this.easing]="H),k.apply(this,arguments)},"easing-one-arg"),S=s.fx.interval,P="jQuery.fx.interval" deprecated",n.requestanimationframe&&object.defineproperty(s.fx,"interval",{configurable:!0,enumerable:!0,get:function(){return="" n.document.hidden||u("fx-interval",p),s.migrateispatchenabled("fx-interval")&&void="" m="s.fn.load,q=s.event.add,O=s.event.fix;s.event.props=[],s.event.fixHooks={},r(s.event.props,"concat",s.event.props.concat,"event-old-patch","jQuery.event.props.concat()" removed"),i(s.event,"fix",function(e){var="" t,r="e.type,n=this.fixHooks[r],o=s.event.props;if(o.length){u("event-old-patch","jQuery.event.props" removed:="" "+o.join());while(o.length)s.event.addprop(o.pop())}if(n&&!n._migrated_&&(n._migrated_="!0,u("event-old-patch","jQuery.event.fixHooks" "+r),(o="n.props)&&o.length))while(o.length)s.event.addProp(o.pop());return" called="" after="" load="" event="" occurred"),q.apply(this,arguments)},"load-after-event"),s.each(["load","unload","error"],function(e,t){i(s.fn,t,function(){var="" e[0]?m.apply(this,e):(u("shorthand-removed-v3","jquery.fn."+t+"()="" deprecated"),e.splice(0,0,t),arguments.length?this.on.apply(this,e):(this.triggerhandler.apply(this,e),this))},"shorthand-removed-v3")}),s.each("blur="" focus="" focusin="" focusout="" resize="" scroll="" click="" dblclick="" mousedown="" mouseup="" mousemove="" mouseover="" mouseout="" mouseenter="" mouseleave="" change="" select="" submit="" keydown="" keypress="" keyup="" contextmenu".split("="" "),function(e,r){c(s.fn,r,function(e,t){return="" 0<arguments.length?this.on(r,null,e,t):this.trigger(r)},"shorthand-deprecated-v3","jquery.fn."+r+"()="" shorthand="" deprecated")}),s(function(){s(n.document).triggerhandler("ready")}),s.event.special.ready="{setup:function(){this===n.document&&u("ready-event","'ready'" deprecated")}},c(s.fn,"bind",function(e,t,r){return="" this.on(e,null,t,r)},"pre-on-methods","jquery.fn.bind()="" deprecated"),c(s.fn,"unbind",function(e,t){return="" this.off(e,null,t)},"pre-on-methods","jquery.fn.unbind()="" deprecated"),c(s.fn,"delegate",function(e,t,r,n){return="" this.on(t,e,r,n)},"pre-on-methods","jquery.fn.delegate()="" deprecated"),c(s.fn,"undelegate",function(e,t,r){return="" deprecated"),c(s.fn,"hover",function(e,t){return="" this.on("mouseenter",e).on("mouseleave",t||e)},"pre-on-methods","jquery.fn.hover()="" deprecated");function="" t(e){var="" t.body.innerhtml="e,t.body&&t.body.innerHTML}var" f="/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0">\x20\t\r\n\f]*)[^>]*)\/>/gi;s.UNSAFE_restoreLegacyHtmlPrefilter=function(){s.migrateEnablePatches("self-closed-tags")},i(s,"htmlPrefilter",function(e){var t,r;return(r=(t=e).replace(F,"<$1>"))!==t&&T(t)!==T(r)&&u("self-closed-tags","HTML tags must be properly nested and closed: "+t),e.replace(F,"<$1>")},"self-closed-tags"),s.migrateDisablePatches("self-closed-tags");var D,W,_,I=s.fn.offset;return i(s.fn,"offset",function(){var e=this[0];return!e||e.nodeType&&e.getBoundingClientRect?I.apply(this,arguments):(u("offset-valid-elem","jQuery.fn.offset() requires a valid DOM element"),arguments.length?this:void 0)},"offset-valid-elem"),s.ajax&&(D=s.param,i(s,"param",function(e,t){var r=s.ajaxSettings&&s.ajaxSettings.traditional;return void 0===t&&r&&(u("param-ajax-traditional","jQuery.param() no longer uses jQuery.ajaxSettings.traditional"),t=r),D.call(this,e,t)},"param-ajax-traditional")),c(s.fn,"andSelf",s.fn.addBack,"andSelf","jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"),s.Deferred&&(W=s.Deferred,_=[["resolve","done",s.Callbacks("once memory"),s.Callbacks("once memory"),"resolved"],["reject","fail",s.Callbacks("once memory"),s.Callbacks("once memory"),"rejected"],["notify","progress",s.Callbacks("memory"),s.Callbacks("memory")]],i(s,"Deferred",function(e){var a=W(),i=a.promise();function t(){var o=arguments;return s.Deferred(function(n){s.each(_,function(e,t){var r="function"==typeof o[e]&&o[e];a[t[1]](function(){var e=r&&r.apply(this,arguments);e&&"function"==typeof e.promise?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[t[0]+"With"](this===i?n.promise():this,r?[e]:arguments)})}),o=null}).promise()}return c(a,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),c(i,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),e&&e.call(a,a),a},"deferred-pipe"),s.Deferred.exceptionHook=W.exceptionHook),s}); </arguments.length;e++)t[arguments[e]]=!0},s.migrateenablepatches=function(){for(var>