mirror of
https://github.com/janeczku/calibre-web
synced 2024-12-27 18:40:31 +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 r(t,n){return t(n={exports:{}},n.exports),n.exports}var e=function(t){return t&&t.Math==Math&&t},o=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof n&&n)||Function("return this")(),i=function(t){try{return!!t()}catch(t){return!0}},a=!i((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),u={}.propertyIsEnumerable,c=Object.getOwnPropertyDescriptor,f={f:c&&!u.call({1:2},1)?function(t){var n=c(this,t);return!!n&&n.enumerable}:u},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,h=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==p(t)?g.call(t,""):Object(t)}:Object,y=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},d=function(t){return h(y(t))},m=function(t){return"object"==typeof t?null!==t:"function"==typeof t},v=function(t,n){if(!m(t))return t;var r,e;if(n&&"function"==typeof(r=t.toString)&&!m(e=r.call(t)))return e;if("function"==typeof(r=t.valueOf)&&!m(e=r.call(t)))return e;if(!n&&"function"==typeof(r=t.toString)&&!m(e=r.call(t)))return e;throw TypeError("Can't convert object to primitive value")},b={}.hasOwnProperty,w=function(t,n){return b.call(t,n)},S=o.document,O=m(S)&&m(S.createElement),j=!a&&!i((function(){return 7!=Object.defineProperty((t="div",O?S.createElement(t):{}),"a",{get:function(){return 7}}).a;var t})),P=Object.getOwnPropertyDescriptor,T={f:a?P:function(t,n){if(t=d(t),n=v(n,!0),j)try{return P(t,n)}catch(t){}if(w(t,n))return l(!f.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:a?A:function(t,n,r){if(x(t),n=v(n,!0),x(r),j)try{return A(t,n,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[n]=r.value),t}},M=a?function(t,n,r){return E.f(t,n,l(1,r))}:function(t,n,r){return t[n]=r,t},_=function(t,n){try{M(o,t,n)}catch(r){o[t]=n}return n},k=o["__core-js_shared__"]||_("__core-js_shared__",{}),C=Function.toString;"function"!=typeof k.inspectSource&&(k.inspectSource=function(t){return C.call(t)});var R,F,L,q,N=k.inspectSource,z=o.WeakMap,I="function"==typeof z&&/native code/.test(N(z)),D=r((function(t){(t.exports=function(t,n){return k[t]||(k[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.6.0",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})})),H=0,K=Math.random(),U=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++H+K).toString(36)},G=D("keys"),Y={},B=o.WeakMap;if(I){var Q=new B,W=Q.get,Z=Q.has,J=Q.set;R=function(t,n){return J.call(Q,t,n),n},F=function(t){return W.call(Q,t)||{}},L=function(t){return Z.call(Q,t)}}else{var V=G[q="state"]||(G[q]=U(q));Y[V]=!0,R=function(t,n){return M(t,V,n),n},F=function(t){return w(t,V)?t[V]:{}},L=function(t){return w(t,V)}}var X,$,tt={set:R,get:F,has:L,enforce:function(t){return L(t)?F(t):R(t,{})},getterFor:function(t){return function(n){var r;if(!m(n)||(r=F(n)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}},nt=r((function(t){var n=tt.get,r=tt.enforce,e=String(String).split("String");(t.exports=function(t,n,i,a){var u=!!a&&!!a.unsafe,c=!!a&&!!a.enumerable,f=!!a&&!!a.noTargetGet;"function"==typeof i&&("string"!=typeof n||w(i,"name")||M(i,"name",n),r(i).source=e.join("string"==typeof n?n:"")),t!==o?(u?!f&&t[n]&&(c=!0):delete t[n],c?t[n]=i:M(t,n,i)):c?t[n]=i:_(n,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&n(this).source||N(this)}))})),rt=o,et=function(t){return"function"==typeof t?t:void 0},ot=function(t,n){return arguments.length<2?et(rt[t])||et(o[t]):rt[t]&&rt[t][n]||o[t]&&o[t][n]},it=Math.ceil,at=Math.floor,ut=function(t){return isNaN(t=+t)?0:(t>0?at:it)(t)},ct=Math.min,ft=function(t){return t>0?ct(ut(t),9007199254740991):0},lt=Math.max,st=Math.min,pt=function(t){return function(n,r,e){var o,i=d(n),a=ft(i.length),u=function(t,n){var r=ut(t);return r<0?lt(r+n,0):st(r,n)}(e,a);if(t&&r!=r){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===r)return t||u||0;return!t&&-1}},gt={includes:pt(!0),indexOf:pt(!1)}.indexOf,ht=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype"),yt={f:Object.getOwnPropertyNames||function(t){return function(t,n){var r,e=d(t),o=0,i=[];for(r in e)!w(Y,r)&&w(e,r)&&i.push(r);for(;n.length>o;)w(e,r=n[o++])&&(~gt(i,r)||i.push(r));return i}(t,ht)}},dt={f:Object.getOwnPropertySymbols},mt=ot("Reflect","ownKeys")||function(t){var n=yt.f(x(t)),r=dt.f;return r?n.concat(r(t)):n},vt=function(t,n){for(var r=mt(n),e=E.f,o=T.f,i=0;i<r.length;i++){var a=r[i];w(t,a)||e(t,a,o(n,a))}},bt=/#|\.prototype\./,wt=function(t,n){var r=Ot[St(t)];return r==Pt||r!=jt&&("function"==typeof n?i(n):!!n)},St=wt.normalize=function(t){return String(t).replace(bt,".").toLowerCase()},Ot=wt.data={},jt=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(y(t))},Mt=function(t,n,r){var e=v(n);e in t?E.f(t,e,l(0,r)):t[e]=r},_t=!!Object.getOwnPropertySymbols&&!i((function(){return!String(Symbol())})),kt=_t&&!Symbol.sham&&"symbol"==typeof Symbol(),Ct=D("wks"),Rt=o.Symbol,Ft=kt?Rt:U,Lt=function(t){return w(Ct,t)||(_t&&w(Rt,t)?Ct[t]=Rt[t]:Ct[t]=Ft("Symbol."+t)),Ct[t]},qt=Lt("species"),Nt=function(t,n){var r;return At(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!At(r.prototype)?m(r)&&null===(r=r[qt])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===n?0:n)},zt=ot("navigator","userAgent")||"",It=o.process,Dt=It&&It.versions,Ht=Dt&&Dt.v8;Ht?$=(X=Ht.split("."))[0]+X[1]:zt&&(!(X=zt.match(/Edge\/(\d+)/))||X[1]>=74)&&(X=zt.match(/Chrome\/(\d+)/))&&($=X[1]);var Kt,Ut=$&&+$,Gt=Lt("species"),Yt=Lt("isConcatSpreadable"),Bt=Ut>=51||!i((function(){var t=[];return t[Yt]=!1,t.concat()[0]!==t})),Qt=(Kt="concat",Ut>=51||!i((function(){var t=[];return(t.constructor={})[Gt]=function(){return{foo:1}},1!==t[Kt](Boolean).foo}))),Wt=function(t){if(!m(t))return!1;var n=t[Yt];return void 0!==n?!!n:At(t)};!function(t,n){var r,e,i,a,u,c=t.target,f=t.global,l=t.stat;if(r=f?o:l?o[c]||_(c,{}):(o[c]||{}).prototype)for(e in n){if(a=n[e],i=t.noTargetGet?(u=xt(r,e))&&u.value:r[e],!Tt(f?e:c+(l?".":"#")+e,t.forced)&&void 0!==i){if(typeof a==typeof i)continue;vt(a,i)}(t.sham||i&&i.sham)&&M(a,"sham",!0),nt(r,e,a,t)}}({target:"Array",proto:!0,forced:!Bt||!Qt},{concat:function(t){var n,r,e,o,i,a=Et(this),u=Nt(a,0),c=0;for(n=-1,e=arguments.length;n<e;n++)if(i=-1===n?a:arguments[n],Wt(i)){if(c+(o=ft(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(r=0;r<o;r++,c++)r in i&&Mt(u,c,i[r])}else{if(c>=9007199254740991)throw TypeError("Maximum allowed index exceeded");Mt(u,c++,i)}return u.length=c,u}}),t.fn.bootstrapTable.locales["uz-Latn-UZ"]={formatLoadingMessage:function(){return"Yuklanyapti, iltimos kuting"},formatRecordsPerPage:function(t){return"".concat(t," qator har sahifada")},formatShowingRows:function(t,n,r,e){return void 0!==e&&e>0&&e>r?"Ko'rsatypati ".concat(t," dan ").concat(n," gacha ").concat(r," qatorlarni (filtered from ").concat(e," total rows)"):"Ko'rsatypati ".concat(t," dan ").concat(n," gacha ").concat(r," qatorlarni")},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"Filtrlarni tozalash"},formatSearch:function(){return"Qidirish"},formatNoMatches:function(){return"Hech narsa topilmadi"},formatPaginationSwitch:function(){return"Sahifalashni yashirish/ko'rsatish"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Yangilash"},formatToggle:function(){return"Ko'rinish"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Ustunlar"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"Hammasi"},formatAutoRefresh:function(){return"Auto Refresh"},formatExport:function(){return"Eksport"},formatJumpTo:function(){return"GO"},formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"}},t.extend(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["uz-Latn-UZ"])}));
|