mirror of
https://github.com/janeczku/calibre-web
synced 2024-12-01 13:59:57 +00:00
7ba014ba49
Fix metadata excration of comic books updated bootstrap table updated handling of upload formats restrictions
11 lines
9.3 KiB
JavaScript
11 lines
9.3 KiB
JavaScript
/**
|
|
* bootstrap-table - An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation)
|
|
*
|
|
* @version v1.16.0
|
|
* @homepage https://bootstrap-table.com
|
|
* @author wenzhixin <wenzhixin2010@gmail.com> (http://wenzhixin.net.cn/)
|
|
* @license MIT
|
|
*/
|
|
|
|
!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):t((n=n||self).jQuery)}(this,(function(n){"use strict";n=n&&n.hasOwnProperty("default")?n.default:n;var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(n,t){return n(t={exports:{}},t.exports),t.exports}var r=function(n){return n&&n.Math==Math&&n},o=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||Function("return this")(),i=function(n){try{return!!n()}catch(n){return!0}},u=!i((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),c={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,f={f:a&&!c.call({1:2},1)?function(n){var t=a(this,n);return!!t&&t.enumerable}:c},l=function(n,t){return{enumerable:!(1&n),configurable:!(2&n),writable:!(4&n),value:t}},s={}.toString,p=function(n){return s.call(n).slice(8,-1)},g="".split,d=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(n){return"String"==p(n)?g.call(n,""):Object(n)}:Object,y=function(n){if(null==n)throw TypeError("Can't call method on "+n);return n},m=function(n){return d(y(n))},h=function(n){return"object"==typeof n?null!==n:"function"==typeof n},v=function(n,t){if(!h(n))return n;var e,r;if(t&&"function"==typeof(e=n.toString)&&!h(r=e.call(n)))return r;if("function"==typeof(e=n.valueOf)&&!h(r=e.call(n)))return r;if(!t&&"function"==typeof(e=n.toString)&&!h(r=e.call(n)))return r;throw TypeError("Can't convert object to primitive value")},b={}.hasOwnProperty,w=function(n,t){return b.call(n,t)},S=o.document,T=h(S)&&h(S.createElement),O=!u&&!i((function(){return 7!=Object.defineProperty((n="div",T?S.createElement(n):{}),"a",{get:function(){return 7}}).a;var n})),j=Object.getOwnPropertyDescriptor,P={f:u?j:function(n,t){if(n=m(n),t=v(t,!0),O)try{return j(n,t)}catch(n){}if(w(n,t))return l(!f.f.call(n,t),n[t])}},x=function(n){if(!h(n))throw TypeError(String(n)+" is not an object");return n},A=Object.defineProperty,E={f:u?A:function(n,t,e){if(x(n),t=v(t,!0),x(e),O)try{return A(n,t,e)}catch(n){}if("get"in e||"set"in e)throw TypeError("Accessors not supported");return"value"in e&&(n[t]=e.value),n}},M=u?function(n,t,e){return E.f(n,t,l(1,e))}:function(n,t,e){return n[t]=e,n},k=function(n,t){try{M(o,n,t)}catch(e){o[n]=t}return t},_=o["__core-js_shared__"]||k("__core-js_shared__",{}),C=Function.toString;"function"!=typeof _.inspectSource&&(_.inspectSource=function(n){return C.call(n)});var L,N,R,V,F=_.inspectSource,I=o.WeakMap,D="function"==typeof I&&/native code/.test(F(I)),G=e((function(n){(n.exports=function(n,t){return _[n]||(_[n]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.0",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})})),q=0,z=Math.random(),B=function(n){return"Symbol("+String(void 0===n?"":n)+")_"+(++q+z).toString(36)},K=G("keys"),W={},J=o.WeakMap;if(D){var Q=new J,U=Q.get,Y=Q.has,Z=Q.set;L=function(n,t){return Z.call(Q,n,t),t},N=function(n){return U.call(Q,n)||{}},R=function(n){return Y.call(Q,n)}}else{var H=K[V="state"]||(K[V]=B(V));W[H]=!0,L=function(n,t){return M(n,H,t),t},N=function(n){return w(n,H)?n[H]:{}},R=function(n){return w(n,H)}}var X,$,nn={set:L,get:N,has:R,enforce:function(n){return R(n)?N(n):L(n,{})},getterFor:function(n){return function(t){var e;if(!h(t)||(e=N(t)).type!==n)throw TypeError("Incompatible receiver, "+n+" required");return e}}},tn=e((function(n){var t=nn.get,e=nn.enforce,r=String(String).split("String");(n.exports=function(n,t,i,u){var c=!!u&&!!u.unsafe,a=!!u&&!!u.enumerable,f=!!u&&!!u.noTargetGet;"function"==typeof i&&("string"!=typeof t||w(i,"name")||M(i,"name",t),e(i).source=r.join("string"==typeof t?t:"")),n!==o?(c?!f&&n[t]&&(a=!0):delete n[t],a?n[t]=i:M(n,t,i)):a?n[t]=i:k(t,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&t(this).source||F(this)}))})),en=o,rn=function(n){return"function"==typeof n?n:void 0},on=function(n,t){return arguments.length<2?rn(en[n])||rn(o[n]):en[n]&&en[n][t]||o[n]&&o[n][t]},un=Math.ceil,cn=Math.floor,an=function(n){return isNaN(n=+n)?0:(n>0?cn:un)(n)},fn=Math.min,ln=function(n){return n>0?fn(an(n),9007199254740991):0},sn=Math.max,pn=Math.min,gn=function(n){return function(t,e,r){var o,i=m(t),u=ln(i.length),c=function(n,t){var e=an(n);return e<0?sn(e+t,0):pn(e,t)}(r,u);if(n&&e!=e){for(;u>c;)if((o=i[c++])!=o)return!0}else for(;u>c;c++)if((n||c in i)&&i[c]===e)return n||c||0;return!n&&-1}},dn={includes:gn(!0),indexOf:gn(!1)}.indexOf,yn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype"),mn={f:Object.getOwnPropertyNames||function(n){return function(n,t){var e,r=m(n),o=0,i=[];for(e in r)!w(W,e)&&w(r,e)&&i.push(e);for(;t.length>o;)w(r,e=t[o++])&&(~dn(i,e)||i.push(e));return i}(n,yn)}},hn={f:Object.getOwnPropertySymbols},vn=on("Reflect","ownKeys")||function(n){var t=mn.f(x(n)),e=hn.f;return e?t.concat(e(n)):t},bn=function(n,t){for(var e=vn(t),r=E.f,o=P.f,i=0;i<e.length;i++){var u=e[i];w(n,u)||r(n,u,o(t,u))}},wn=/#|\.prototype\./,Sn=function(n,t){var e=On[Tn(n)];return e==Pn||e!=jn&&("function"==typeof t?i(t):!!t)},Tn=Sn.normalize=function(n){return String(n).replace(wn,".").toLowerCase()},On=Sn.data={},jn=Sn.NATIVE="N",Pn=Sn.POLYFILL="P",xn=Sn,An=P.f,En=Array.isArray||function(n){return"Array"==p(n)},Mn=function(n){return Object(y(n))},kn=function(n,t,e){var r=v(t);r in n?E.f(n,r,l(0,e)):n[r]=e},_n=!!Object.getOwnPropertySymbols&&!i((function(){return!String(Symbol())})),Cn=_n&&!Symbol.sham&&"symbol"==typeof Symbol(),Ln=G("wks"),Nn=o.Symbol,Rn=Cn?Nn:B,Vn=function(n){return w(Ln,n)||(_n&&w(Nn,n)?Ln[n]=Nn[n]:Ln[n]=Rn("Symbol."+n)),Ln[n]},Fn=Vn("species"),In=function(n,t){var e;return En(n)&&("function"!=typeof(e=n.constructor)||e!==Array&&!En(e.prototype)?h(e)&&null===(e=e[Fn])&&(e=void 0):e=void 0),new(void 0===e?Array:e)(0===t?0:t)},Dn=on("navigator","userAgent")||"",Gn=o.process,qn=Gn&&Gn.versions,zn=qn&&qn.v8;zn?$=(X=zn.split("."))[0]+X[1]:Dn&&(!(X=Dn.match(/Edge\/(\d+)/))||X[1]>=74)&&(X=Dn.match(/Chrome\/(\d+)/))&&($=X[1]);var Bn,Kn=$&&+$,Wn=Vn("species"),Jn=Vn("isConcatSpreadable"),Qn=Kn>=51||!i((function(){var n=[];return n[Jn]=!1,n.concat()[0]!==n})),Un=(Bn="concat",Kn>=51||!i((function(){var n=[];return(n.constructor={})[Wn]=function(){return{foo:1}},1!==n[Bn](Boolean).foo}))),Yn=function(n){if(!h(n))return!1;var t=n[Jn];return void 0!==t?!!t:En(n)};!function(n,t){var e,r,i,u,c,a=n.target,f=n.global,l=n.stat;if(e=f?o:l?o[a]||k(a,{}):(o[a]||{}).prototype)for(r in t){if(u=t[r],i=n.noTargetGet?(c=An(e,r))&&c.value:e[r],!xn(f?r:a+(l?".":"#")+r,n.forced)&&void 0!==i){if(typeof u==typeof i)continue;bn(u,i)}(n.sham||i&&i.sham)&&M(u,"sham",!0),tn(e,r,u,n)}}({target:"Array",proto:!0,forced:!Qn||!Un},{concat:function(n){var t,e,r,o,i,u=Mn(this),c=In(u,0),a=0;for(t=-1,r=arguments.length;t<r;t++)if(i=-1===t?u:arguments[t],Yn(i)){if(a+(o=ln(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(e=0;e<o;e++,a++)e in i&&kn(c,a,i[e])}else{if(a>=9007199254740991)throw TypeError("Maximum allowed index exceeded");kn(c,a++,i)}return c.length=a,c}}),n.fn.bootstrapTable.locales["nl-NL"]={formatLoadingMessage:function(){return"Laden, even geduld"},formatRecordsPerPage:function(n){return"".concat(n," records per pagina")},formatShowingRows:function(n,t,e,r){return void 0!==r&&r>0&&r>e?"Toon ".concat(n," tot ").concat(t," van ").concat(e," record").concat(e>1?"s":""," (gefilterd van ").concat(r," records in totaal)"):"Toon ".concat(n," tot ").concat(t," van ").concat(e," record").concat(e>1?"s":"")},formatSRPaginationPreText:function(){return"vorige pagina"},formatSRPaginationPageText:function(n){return"tot pagina ".concat(n)},formatSRPaginationNextText:function(){return"volgende pagina"},formatDetailPagination:function(n){return"Toon ".concat(n," record").concat(n>1?"s":"")},formatClearSearch:function(){return"Verwijder filters"},formatSearch:function(){return"Zoeken"},formatNoMatches:function(){return"Geen resultaten gevonden"},formatPaginationSwitch:function(){return"Verberg/Toon paginering"},formatPaginationSwitchDown:function(){return"Toon paginering"},formatPaginationSwitchUp:function(){return"Verberg paginering"},formatRefresh:function(){return"Vernieuwen"},formatToggle:function(){return"Omschakelen"},formatToggleOn:function(){return"Toon kaartweergave"},formatToggleOff:function(){return"Verberg kaartweergave"},formatColumns:function(){return"Kolommen"},formatColumnsToggleAll:function(){return"Allen omschakelen"},formatFullscreen:function(){return"Volledig scherm"},formatAllRows:function(){return"Alle"},formatAutoRefresh:function(){return"Automatisch vernieuwen"},formatExport:function(){return"Exporteer gegevens"},formatJumpTo:function(){return"GA"},formatAdvancedSearch:function(){return"Geavanceerd zoeken"},formatAdvancedCloseButton:function(){return"Sluiten"}},n.extend(n.fn.bootstrapTable.defaults,n.fn.bootstrapTable.locales["nl-NL"])}));
|