mirror of
https://github.com/janeczku/calibre-web
synced 2024-12-23 08:30:43 +00:00
7ba014ba49
Fix metadata excration of comic books updated bootstrap table updated handling of upload formats restrictions
11 lines
9.2 KiB
JavaScript
11 lines
9.2 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(t,n){"object"==typeof exports&&"undefined"!=typeof module?n(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],n):n((t=t||self).jQuery)}(this,(function(t){"use strict";t=t&&t.hasOwnProperty("default")?t.default:t;var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t,n){return t(n={exports:{}},n.exports),n.exports}var r=function(t){return t&&t.Math==Math&&t},o=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n&&n)||Function("return this")(),i=function(t){try{return!!t()}catch(t){return!0}},u=!i((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),c={}.propertyIsEnumerable,f=Object.getOwnPropertyDescriptor,a={f:f&&!c.call({1:2},1)?function(t){var n=f(this,t);return!!n&&n.enumerable}:c},l=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}},s={}.toString,p=function(t){return s.call(t).slice(8,-1)},g="".split,y=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==p(t)?g.call(t,""):Object(t)}:Object,d=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},h=function(t){return y(d(t))},m=function(t){return"object"==typeof t?null!==t:"function"==typeof t},v=function(t,n){if(!m(t))return t;var e,r;if(n&&"function"==typeof(e=t.toString)&&!m(r=e.call(t)))return r;if("function"==typeof(e=t.valueOf)&&!m(r=e.call(t)))return r;if(!n&&"function"==typeof(e=t.toString)&&!m(r=e.call(t)))return r;throw TypeError("Can't convert object to primitive value")},b={}.hasOwnProperty,w=function(t,n){return b.call(t,n)},S=o.document,j=m(S)&&m(S.createElement),O=!u&&!i((function(){return 7!=Object.defineProperty((t="div",j?S.createElement(t):{}),"a",{get:function(){return 7}}).a;var t})),P=Object.getOwnPropertyDescriptor,T={f:u?P:function(t,n){if(t=h(t),n=v(n,!0),O)try{return P(t,n)}catch(t){}if(w(t,n))return l(!a.f.call(t,n),t[n])}},x=function(t){if(!m(t))throw TypeError(String(t)+" is not an object");return t},A=Object.defineProperty,E={f:u?A:function(t,n,e){if(x(t),n=v(n,!0),x(e),O)try{return A(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported");return"value"in e&&(t[n]=e.value),t}},M=u?function(t,n,e){return E.f(t,n,l(1,e))}:function(t,n,e){return t[n]=e,t},C=function(t,n){try{M(o,t,n)}catch(e){o[t]=n}return n},_=o["__core-js_shared__"]||C("__core-js_shared__",{}),k=Function.toString;"function"!=typeof _.inspectSource&&(_.inspectSource=function(t){return k.call(t)});var R,z,F,N,L=_.inspectSource,I=o.WeakMap,D="function"==typeof I&&/native code/.test(L(I)),q=e((function(t){(t.exports=function(t,n){return _[t]||(_[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.6.0",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})})),H=0,B=Math.random(),G=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++H+B).toString(36)},K=q("keys"),U={},W=o.WeakMap;if(D){var J=new W,Q=J.get,V=J.has,Y=J.set;R=function(t,n){return Y.call(J,t,n),n},z=function(t){return Q.call(J,t)||{}},F=function(t){return V.call(J,t)}}else{var X=K[N="state"]||(K[N]=G(N));U[X]=!0,R=function(t,n){return M(t,X,n),n},z=function(t){return w(t,X)?t[X]:{}},F=function(t){return w(t,X)}}var Z,$,tt={set:R,get:z,has:F,enforce:function(t){return F(t)?z(t):R(t,{})},getterFor:function(t){return function(n){var e;if(!m(n)||(e=z(n)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return e}}},nt=e((function(t){var n=tt.get,e=tt.enforce,r=String(String).split("String");(t.exports=function(t,n,i,u){var c=!!u&&!!u.unsafe,f=!!u&&!!u.enumerable,a=!!u&&!!u.noTargetGet;"function"==typeof i&&("string"!=typeof n||w(i,"name")||M(i,"name",n),e(i).source=r.join("string"==typeof n?n:"")),t!==o?(c?!a&&t[n]&&(f=!0):delete t[n],f?t[n]=i:M(t,n,i)):f?t[n]=i:C(n,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&n(this).source||L(this)}))})),et=o,rt=function(t){return"function"==typeof t?t:void 0},ot=function(t,n){return arguments.length<2?rt(et[t])||rt(o[t]):et[t]&&et[t][n]||o[t]&&o[t][n]},it=Math.ceil,ut=Math.floor,ct=function(t){return isNaN(t=+t)?0:(t>0?ut:it)(t)},ft=Math.min,at=function(t){return t>0?ft(ct(t),9007199254740991):0},lt=Math.max,st=Math.min,pt=function(t){return function(n,e,r){var o,i=h(n),u=at(i.length),c=function(t,n){var e=ct(t);return e<0?lt(e+n,0):st(e,n)}(r,u);if(t&&e!=e){for(;u>c;)if((o=i[c++])!=o)return!0}else for(;u>c;c++)if((t||c in i)&&i[c]===e)return t||c||0;return!t&&-1}},gt={includes:pt(!0),indexOf:pt(!1)}.indexOf,yt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype"),dt={f:Object.getOwnPropertyNames||function(t){return function(t,n){var e,r=h(t),o=0,i=[];for(e in r)!w(U,e)&&w(r,e)&&i.push(e);for(;n.length>o;)w(r,e=n[o++])&&(~gt(i,e)||i.push(e));return i}(t,yt)}},ht={f:Object.getOwnPropertySymbols},mt=ot("Reflect","ownKeys")||function(t){var n=dt.f(x(t)),e=ht.f;return e?n.concat(e(t)):n},vt=function(t,n){for(var e=mt(n),r=E.f,o=T.f,i=0;i<e.length;i++){var u=e[i];w(t,u)||r(t,u,o(n,u))}},bt=/#|\.prototype\./,wt=function(t,n){var e=jt[St(t)];return e==Pt||e!=Ot&&("function"==typeof n?i(n):!!n)},St=wt.normalize=function(t){return String(t).replace(bt,".").toLowerCase()},jt=wt.data={},Ot=wt.NATIVE="N",Pt=wt.POLYFILL="P",Tt=wt,xt=T.f,At=Array.isArray||function(t){return"Array"==p(t)},Et=function(t){return Object(d(t))},Mt=function(t,n,e){var r=v(n);r in t?E.f(t,r,l(0,e)):t[r]=e},Ct=!!Object.getOwnPropertySymbols&&!i((function(){return!String(Symbol())})),_t=Ct&&!Symbol.sham&&"symbol"==typeof Symbol(),kt=q("wks"),Rt=o.Symbol,zt=_t?Rt:G,Ft=function(t){return w(kt,t)||(Ct&&w(Rt,t)?kt[t]=Rt[t]:kt[t]=zt("Symbol."+t)),kt[t]},Nt=Ft("species"),Lt=function(t,n){var e;return At(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!At(e.prototype)?m(e)&&null===(e=e[Nt])&&(e=void 0):e=void 0),new(void 0===e?Array:e)(0===n?0:n)},It=ot("navigator","userAgent")||"",Dt=o.process,qt=Dt&&Dt.versions,Ht=qt&&qt.v8;Ht?$=(Z=Ht.split("."))[0]+Z[1]:It&&(!(Z=It.match(/Edge\/(\d+)/))||Z[1]>=74)&&(Z=It.match(/Chrome\/(\d+)/))&&($=Z[1]);var Bt,Gt=$&&+$,Kt=Ft("species"),Ut=Ft("isConcatSpreadable"),Wt=Gt>=51||!i((function(){var t=[];return t[Ut]=!1,t.concat()[0]!==t})),Jt=(Bt="concat",Gt>=51||!i((function(){var t=[];return(t.constructor={})[Kt]=function(){return{foo:1}},1!==t[Bt](Boolean).foo}))),Qt=function(t){if(!m(t))return!1;var n=t[Ut];return void 0!==n?!!n:At(t)};!function(t,n){var e,r,i,u,c,f=t.target,a=t.global,l=t.stat;if(e=a?o:l?o[f]||C(f,{}):(o[f]||{}).prototype)for(r in n){if(u=n[r],i=t.noTargetGet?(c=xt(e,r))&&c.value:e[r],!Tt(a?r:f+(l?".":"#")+r,t.forced)&&void 0!==i){if(typeof u==typeof i)continue;vt(u,i)}(t.sham||i&&i.sham)&&M(u,"sham",!0),nt(e,r,u,t)}}({target:"Array",proto:!0,forced:!Wt||!Jt},{concat:function(t){var n,e,r,o,i,u=Et(this),c=Lt(u,0),f=0;for(n=-1,r=arguments.length;n<r;n++)if(i=-1===n?u:arguments[n],Qt(i)){if(f+(o=at(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(e=0;e<o;e++,f++)e in i&&Mt(c,f,i[e])}else{if(f>=9007199254740991)throw TypeError("Maximum allowed index exceeded");Mt(c,f++,i)}return c.length=f,c}}),t.fn.bootstrapTable.locales["hu-HU"]={formatLoadingMessage:function(){return"Betöltés, kérem várjon"},formatRecordsPerPage:function(t){return"".concat(t," rekord per oldal")},formatShowingRows:function(t,n,e,r){return void 0!==r&&r>0&&r>e?"Megjelenítve ".concat(t," - ").concat(n," / ").concat(e," összesen (filtered from ").concat(r," total rows)"):"Megjelenítve ".concat(t," - ").concat(n," / ").concat(e," összesen")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(t){return"to page ".concat(t)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(t){return"Showing ".concat(t," rows")},formatClearSearch:function(){return"Clear Search"},formatSearch:function(){return"Keresés"},formatNoMatches:function(){return"Nincs találat"},formatPaginationSwitch:function(){return"Lapozó elrejtése/megjelenítése"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Frissítés"},formatToggle:function(){return"Összecsuk/Kinyit"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Oszlopok"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"Összes"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Export data"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"}},t.extend(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["hu-HU"])}));
|