/** * multiple-select - Multiple select is a jQuery plugin to select multiple elements with checkboxes :). * * @version v1.5.2 * @homepage http://multiple-select.wenzhixin.net.cn * @author wenzhixin (http://wenzhixin.net.cn/) * @license MIT */ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self).MultipleSelect=e()}(this,(function(){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t,e){return t(e={exports:{}},e.exports),e.exports}var r,n,o,i="object",u=function(t){return t&&t.Math==Math&&t},a=u(typeof globalThis==i&&globalThis)||u(typeof window==i&&window)||u(typeof self==i&&self)||u(typeof t==i&&t)||Function("return this")(),c=function(t){try{return!!t()}catch(t){return!0}},l=!c((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),f={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,p={f:s&&!f.call({1:2},1)?function(t){var e=s(this,t);return!!e&&e.enumerable}:f},h=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},d={}.toString,y=function(t){return d.call(t).slice(8,-1)},v="".split,g=c((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==y(t)?v.call(t,""):Object(t)}:Object,b=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},m=function(t){return g(b(t))},S=function(t){return"object"==typeof t?null!==t:"function"==typeof t},O=function(t,e){if(!S(t))return t;var r,n;if(e&&"function"==typeof(r=t.toString)&&!S(n=r.call(t)))return n;if("function"==typeof(r=t.valueOf)&&!S(n=r.call(t)))return n;if(!e&&"function"==typeof(r=t.toString)&&!S(n=r.call(t)))return n;throw TypeError("Can't convert object to primitive value")},w={}.hasOwnProperty,_=function(t,e){return w.call(t,e)},j=a.document,x=S(j)&&S(j.createElement),A=function(t){return x?j.createElement(t):{}},E=!l&&!c((function(){return 7!=Object.defineProperty(A("div"),"a",{get:function(){return 7}}).a})),T=Object.getOwnPropertyDescriptor,I={f:l?T:function(t,e){if(t=m(t),e=O(e,!0),E)try{return T(t,e)}catch(t){}if(_(t,e))return h(!p.f.call(t,e),t[e])}},P=function(t){if(!S(t))throw TypeError(String(t)+" is not an object");return t},V=Object.defineProperty,N={f:l?V:function(t,e,r){if(P(t),e=O(e,!0),P(r),E)try{return V(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},$=l?function(t,e,r){return N.f(t,e,h(1,r))}:function(t,e,r){return t[e]=r,t},L=function(t,e){try{$(a,t,e)}catch(r){a[t]=e}return e},k=e((function(t){var e=a["__core-js_shared__"]||L("__core-js_shared__",{});(t.exports=function(t,r){return e[t]||(e[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.2.1",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})})),M=k("native-function-to-string",Function.toString),R=a.WeakMap,C="function"==typeof R&&/native code/.test(M.call(R)),F=0,D=Math.random(),G=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++F+D).toString(36)},U=k("keys"),B=function(t){return U[t]||(U[t]=G(t))},z={},Y=a.WeakMap;if(C){var H=new Y,W=H.get,X=H.has,q=H.set;r=function(t,e){return q.call(H,t,e),e},n=function(t){return W.call(H,t)||{}},o=function(t){return X.call(H,t)}}else{var J=B("state");z[J]=!0,r=function(t,e){return $(t,J,e),e},n=function(t){return _(t,J)?t[J]:{}},o=function(t){return _(t,J)}}var Q={set:r,get:n,has:o,enforce:function(t){return o(t)?n(t):r(t,{})},getterFor:function(t){return function(e){var r;if(!S(e)||(r=n(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}},Z=e((function(t){var e=Q.get,r=Q.enforce,n=String(M).split("toString");k("inspectSource",(function(t){return M.call(t)})),(t.exports=function(t,e,o,i){var u=!!i&&!!i.unsafe,c=!!i&&!!i.enumerable,l=!!i&&!!i.noTargetGet;"function"==typeof o&&("string"!=typeof e||_(o,"name")||$(o,"name",e),r(o).source=n.join("string"==typeof e?e:"")),t!==a?(u?!l&&t[e]&&(c=!0):delete t[e],c?t[e]=o:$(t,e,o)):c?t[e]=o:L(e,o)})(Function.prototype,"toString",(function(){return"function"==typeof this&&e(this).source||M.call(this)}))})),K=a,tt=function(t){return"function"==typeof t?t:void 0},et=function(t,e){return arguments.length<2?tt(K[t])||tt(a[t]):K[t]&&K[t][e]||a[t]&&a[t][e]},rt=Math.ceil,nt=Math.floor,ot=function(t){return isNaN(t=+t)?0:(t>0?nt:rt)(t)},it=Math.min,ut=function(t){return t>0?it(ot(t),9007199254740991):0},at=Math.max,ct=Math.min,lt=function(t){return function(e,r,n){var o,i=m(e),u=ut(i.length),a=function(t,e){var r=ot(t);return r<0?at(r+e,0):ct(r,e)}(n,u);if(t&&r!=r){for(;u>a;)if((o=i[a++])!=o)return!0}else for(;u>a;a++)if((t||a in i)&&i[a]===r)return t||a||0;return!t&&-1}},ft={includes:lt(!0),indexOf:lt(!1)}.indexOf,st=function(t,e){var r,n=m(t),o=0,i=[];for(r in n)!_(z,r)&&_(n,r)&&i.push(r);for(;e.length>o;)_(n,r=e[o++])&&(~ft(i,r)||i.push(r));return i},pt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ht=pt.concat("length","prototype"),dt={f:Object.getOwnPropertyNames||function(t){return st(t,ht)}},yt={f:Object.getOwnPropertySymbols},vt=et("Reflect","ownKeys")||function(t){var e=dt.f(P(t)),r=yt.f;return r?e.concat(r(t)):e},gt=function(t,e){for(var r=vt(e),n=N.f,o=I.f,i=0;ii;)N.f(t,r=n[i++],e[r]);return t},Nt=et("document","documentElement"),$t=B("IE_PROTO"),Lt=function(){},kt=function(){var t,e=A("iframe"),r=pt.length;for(e.style.display="none",Nt.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write("