mirror of
https://github.com/JonathanHerrewijnen/calibre-web.git
synced 2024-11-14 23:20:24 +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}},u=!i((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),a={}.propertyIsEnumerable,c=Object.getOwnPropertyDescriptor,f={f:c&&!a.call({1:2},1)?function(t){var n=c(this,t);return!!n&&n.enumerable}:a},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,d=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},m=function(t){return d(y(t))},h=function(t){return"object"==typeof t?null!==t:"function"==typeof t},v=function(t,n){if(!h(t))return t;var r,e;if(n&&"function"==typeof(r=t.toString)&&!h(e=r.call(t)))return e;if("function"==typeof(r=t.valueOf)&&!h(e=r.call(t)))return e;if(!n&&"function"==typeof(r=t.toString)&&!h(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,j=h(S)&&h(S.createElement),P=!u&&!i((function(){return 7!=Object.defineProperty((t="div",j?S.createElement(t):{}),"a",{get:function(){return 7}}).a;var t})),O=Object.getOwnPropertyDescriptor,T={f:u?O:function(t,n){if(t=m(t),n=v(n,!0),P)try{return O(t,n)}catch(t){}if(w(t,n))return l(!f.f.call(t,n),t[n])}},x=function(t){if(!h(t))throw TypeError(String(t)+" is not an object");return t},A=Object.defineProperty,E={f:u?A:function(t,n,r){if(x(t),n=v(n,!0),x(r),P)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=u?function(t,n,r){return E.f(t,n,l(1,r))}:function(t,n,r){return t[n]=r,t},k=function(t,n){try{M(o,t,n)}catch(r){o[t]=n}return n},R=o["__core-js_shared__"]||k("__core-js_shared__",{}),C=Function.toString;"function"!=typeof R.inspectSource&&(R.inspectSource=function(t){return C.call(t)});var _,z,N,F,I=R.inspectSource,L=o.WeakMap,D="function"==typeof L&&/native code/.test(I(L)),q=r((function(t){(t.exports=function(t,n){return R[t]||(R[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.6.0",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})})),H=0,G=Math.random(),B=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++H+G).toString(36)},K=q("keys"),W={},J=o.WeakMap;if(D){var Q=new J,U=Q.get,V=Q.has,Y=Q.set;_=function(t,n){return Y.call(Q,t,n),n},z=function(t){return U.call(Q,t)||{}},N=function(t){return V.call(Q,t)}}else{var X=K[F="state"]||(K[F]=B(F));W[X]=!0,_=function(t,n){return M(t,X,n),n},z=function(t){return w(t,X)?t[X]:{}},N=function(t){return w(t,X)}}var Z,$,tt={set:_,get:z,has:N,enforce:function(t){return N(t)?z(t):_(t,{})},getterFor:function(t){return function(n){var r;if(!h(n)||(r=z(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,u){var a=!!u&&!!u.unsafe,c=!!u&&!!u.enumerable,f=!!u&&!!u.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?(a?!f&&t[n]&&(c=!0):delete t[n],c?t[n]=i:M(t,n,i)):c?t[n]=i:k(n,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&n(this).source||I(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,ut=Math.floor,at=function(t){return isNaN(t=+t)?0:(t>0?ut:it)(t)},ct=Math.min,ft=function(t){return t>0?ct(at(t),9007199254740991):0},lt=Math.max,st=Math.min,pt=function(t){return function(n,r,e){var o,i=m(n),u=ft(i.length),a=function(t,n){var r=at(t);return r<0?lt(r+n,0):st(r,n)}(e,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}},gt={includes:pt(!0),indexOf:pt(!1)}.indexOf,dt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype"),yt={f:Object.getOwnPropertyNames||function(t){return function(t,n){var r,e=m(t),o=0,i=[];for(r in e)!w(W,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,dt)}},mt={f:Object.getOwnPropertySymbols},ht=ot("Reflect","ownKeys")||function(t){var n=yt.f(x(t)),r=mt.f;return r?n.concat(r(t)):n},vt=function(t,n){for(var r=ht(n),e=E.f,o=T.f,i=0;i<r.length;i++){var u=r[i];w(t,u)||e(t,u,o(n,u))}},bt=/#|\.prototype\./,wt=function(t,n){var r=jt[St(t)];return r==Ot||r!=Pt&&("function"==typeof n?i(n):!!n)},St=wt.normalize=function(t){return String(t).replace(bt,".").toLowerCase()},jt=wt.data={},Pt=wt.NATIVE="N",Ot=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},kt=!!Object.getOwnPropertySymbols&&!i((function(){return!String(Symbol())})),Rt=kt&&!Symbol.sham&&"symbol"==typeof Symbol(),Ct=q("wks"),_t=o.Symbol,zt=Rt?_t:B,Nt=function(t){return w(Ct,t)||(kt&&w(_t,t)?Ct[t]=_t[t]:Ct[t]=zt("Symbol."+t)),Ct[t]},Ft=Nt("species"),It=function(t,n){var r;return At(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!At(r.prototype)?h(r)&&null===(r=r[Ft])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===n?0:n)},Lt=ot("navigator","userAgent")||"",Dt=o.process,qt=Dt&&Dt.versions,Ht=qt&&qt.v8;Ht?$=(Z=Ht.split("."))[0]+Z[1]:Lt&&(!(Z=Lt.match(/Edge\/(\d+)/))||Z[1]>=74)&&(Z=Lt.match(/Chrome\/(\d+)/))&&($=Z[1]);var Gt,Bt=$&&+$,Kt=Nt("species"),Wt=Nt("isConcatSpreadable"),Jt=Bt>=51||!i((function(){var t=[];return t[Wt]=!1,t.concat()[0]!==t})),Qt=(Gt="concat",Bt>=51||!i((function(){var t=[];return(t.constructor={})[Kt]=function(){return{foo:1}},1!==t[Gt](Boolean).foo}))),Ut=function(t){if(!h(t))return!1;var n=t[Wt];return void 0!==n?!!n:At(t)};!function(t,n){var r,e,i,u,a,c=t.target,f=t.global,l=t.stat;if(r=f?o:l?o[c]||k(c,{}):(o[c]||{}).prototype)for(e in n){if(u=n[e],i=t.noTargetGet?(a=xt(r,e))&&a.value:r[e],!Tt(f?e:c+(l?".":"#")+e,t.forced)&&void 0!==i){if(typeof u==typeof i)continue;vt(u,i)}(t.sham||i&&i.sham)&&M(u,"sham",!0),nt(r,e,u,t)}}({target:"Array",proto:!0,forced:!Jt||!Qt},{concat:function(t){var n,r,e,o,i,u=Et(this),a=It(u,0),c=0;for(n=-1,e=arguments.length;n<e;n++)if(i=-1===n?u:arguments[n],Ut(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(a,c,i[r])}else{if(c>=9007199254740991)throw TypeError("Maximum allowed index exceeded");Mt(a,c++,i)}return a.length=c,a}}),t.fn.bootstrapTable.locales["hr-HR"]={formatLoadingMessage:function(){return"Molimo pričekajte"},formatRecordsPerPage:function(t){return"".concat(t," broj zapisa po stranici")},formatShowingRows:function(t,n,r,e){return void 0!==e&&e>0&&e>r?"Prikazujem ".concat(t,". - ").concat(n,". od ukupnog broja zapisa ").concat(r," (filtered from ").concat(e," total rows)"):"Prikazujem ".concat(t,". - ").concat(n,". od ukupnog broja zapisa ").concat(r)},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"Pretraži"},formatNoMatches:function(){return"Nije pronađen niti jedan zapis"},formatPaginationSwitch:function(){return"Prikaži/sakrij stranice"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Osvježi"},formatToggle:function(){return"Promijeni prikaz"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Kolone"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"Sve"},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["hr-HR"])}));
|