mirror of
https://github.com/janeczku/calibre-web
synced 2024-09-12 07:19:47 +00:00
![Ozzieisaacs](/assets/img/avatar_default.png)
Fix metadata excration of comic books updated bootstrap table updated handling of upload formats restrictions
11 lines
9.6 KiB
JavaScript
11 lines
9.6 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")(),u=function(t){try{return!!t()}catch(t){return!0}},i=!u((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),f={}.propertyIsEnumerable,c=Object.getOwnPropertyDescriptor,a={f:c&&!f.call({1:2},1)?function(t){var n=c(this,t);return!!n&&n.enumerable}:f},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)},y="".split,g=u((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==p(t)?y.call(t,""):Object(t)}:Object,m=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},d=function(t){return g(m(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,S=function(t,n){return b.call(t,n)},w=o.document,O=h(w)&&h(w.createElement),j=!i&&!u((function(){return 7!=Object.defineProperty((t="div",O?w.createElement(t):{}),"a",{get:function(){return 7}}).a;var t})),P=Object.getOwnPropertyDescriptor,T={f:i?P:function(t,n){if(t=d(t),n=v(n,!0),j)try{return P(t,n)}catch(t){}if(S(t,n))return l(!a.f.call(t,n),t[n])}},x=function(t){if(!h(t))throw TypeError(String(t)+" is not an object");return t},E=Object.defineProperty,A={f:i?E:function(t,n,r){if(x(t),n=v(n,!0),x(r),j)try{return E(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=i?function(t,n,r){return A.f(t,n,l(1,r))}:function(t,n,r){return t[n]=r,t},C=function(t,n){try{M(o,t,n)}catch(r){o[t]=n}return n},R=o["__core-js_shared__"]||C("__core-js_shared__",{}),_=Function.toString;"function"!=typeof R.inspectSource&&(R.inspectSource=function(t){return _.call(t)});var N,k,F,I,L=R.inspectSource,D=o.WeakMap,q="function"==typeof D&&/native code/.test(L(D)),z=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)"})})),B=0,G=Math.random(),W=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++B+G).toString(36)},J=z("keys"),K={},Q=o.WeakMap;if(q){var U=new Q,V=U.get,Y=U.has,H=U.set;N=function(t,n){return H.call(U,t,n),n},k=function(t){return V.call(U,t)||{}},F=function(t){return Y.call(U,t)}}else{var X=J[I="state"]||(J[I]=W(I));K[X]=!0,N=function(t,n){return M(t,X,n),n},k=function(t){return S(t,X)?t[X]:{}},F=function(t){return S(t,X)}}var Z,$,tt={set:N,get:k,has:F,enforce:function(t){return F(t)?k(t):N(t,{})},getterFor:function(t){return function(n){var r;if(!h(n)||(r=k(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,u,i){var f=!!i&&!!i.unsafe,c=!!i&&!!i.enumerable,a=!!i&&!!i.noTargetGet;"function"==typeof u&&("string"!=typeof n||S(u,"name")||M(u,"name",n),r(u).source=e.join("string"==typeof n?n:"")),t!==o?(f?!a&&t[n]&&(c=!0):delete t[n],c?t[n]=u:M(t,n,u)):c?t[n]=u:C(n,u)})(Function.prototype,"toString",(function(){return"function"==typeof this&&n(this).source||L(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]},ut=Math.ceil,it=Math.floor,ft=function(t){return isNaN(t=+t)?0:(t>0?it:ut)(t)},ct=Math.min,at=function(t){return t>0?ct(ft(t),9007199254740991):0},lt=Math.max,st=Math.min,pt=function(t){return function(n,r,e){var o,u=d(n),i=at(u.length),f=function(t,n){var r=ft(t);return r<0?lt(r+n,0):st(r,n)}(e,i);if(t&&r!=r){for(;i>f;)if((o=u[f++])!=o)return!0}else for(;i>f;f++)if((t||f in u)&&u[f]===r)return t||f||0;return!t&&-1}},yt={includes:pt(!0),indexOf:pt(!1)}.indexOf,gt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype"),mt={f:Object.getOwnPropertyNames||function(t){return function(t,n){var r,e=d(t),o=0,u=[];for(r in e)!S(K,r)&&S(e,r)&&u.push(r);for(;n.length>o;)S(e,r=n[o++])&&(~yt(u,r)||u.push(r));return u}(t,gt)}},dt={f:Object.getOwnPropertySymbols},ht=ot("Reflect","ownKeys")||function(t){var n=mt.f(x(t)),r=dt.f;return r?n.concat(r(t)):n},vt=function(t,n){for(var r=ht(n),e=A.f,o=T.f,u=0;u<r.length;u++){var i=r[u];S(t,i)||e(t,i,o(n,i))}},bt=/#|\.prototype\./,St=function(t,n){var r=Ot[wt(t)];return r==Pt||r!=jt&&("function"==typeof n?u(n):!!n)},wt=St.normalize=function(t){return String(t).replace(bt,".").toLowerCase()},Ot=St.data={},jt=St.NATIVE="N",Pt=St.POLYFILL="P",Tt=St,xt=T.f,Et=Array.isArray||function(t){return"Array"==p(t)},At=function(t){return Object(m(t))},Mt=function(t,n,r){var e=v(n);e in t?A.f(t,e,l(0,r)):t[e]=r},Ct=!!Object.getOwnPropertySymbols&&!u((function(){return!String(Symbol())})),Rt=Ct&&!Symbol.sham&&"symbol"==typeof Symbol(),_t=z("wks"),Nt=o.Symbol,kt=Rt?Nt:W,Ft=function(t){return S(_t,t)||(Ct&&S(Nt,t)?_t[t]=Nt[t]:_t[t]=kt("Symbol."+t)),_t[t]},It=Ft("species"),Lt=function(t,n){var r;return Et(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!Et(r.prototype)?h(r)&&null===(r=r[It])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===n?0:n)},Dt=ot("navigator","userAgent")||"",qt=o.process,zt=qt&&qt.versions,Bt=zt&&zt.v8;Bt?$=(Z=Bt.split("."))[0]+Z[1]:Dt&&(!(Z=Dt.match(/Edge\/(\d+)/))||Z[1]>=74)&&(Z=Dt.match(/Chrome\/(\d+)/))&&($=Z[1]);var Gt,Wt=$&&+$,Jt=Ft("species"),Kt=Ft("isConcatSpreadable"),Qt=Wt>=51||!u((function(){var t=[];return t[Kt]=!1,t.concat()[0]!==t})),Ut=(Gt="concat",Wt>=51||!u((function(){var t=[];return(t.constructor={})[Jt]=function(){return{foo:1}},1!==t[Gt](Boolean).foo}))),Vt=function(t){if(!h(t))return!1;var n=t[Kt];return void 0!==n?!!n:Et(t)};!function(t,n){var r,e,u,i,f,c=t.target,a=t.global,l=t.stat;if(r=a?o:l?o[c]||C(c,{}):(o[c]||{}).prototype)for(e in n){if(i=n[e],u=t.noTargetGet?(f=xt(r,e))&&f.value:r[e],!Tt(a?e:c+(l?".":"#")+e,t.forced)&&void 0!==u){if(typeof i==typeof u)continue;vt(i,u)}(t.sham||u&&u.sham)&&M(i,"sham",!0),nt(r,e,i,t)}}({target:"Array",proto:!0,forced:!Qt||!Ut},{concat:function(t){var n,r,e,o,u,i=At(this),f=Lt(i,0),c=0;for(n=-1,e=arguments.length;n<e;n++)if(u=-1===n?i:arguments[n],Vt(u)){if(c+(o=at(u.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(r=0;r<o;r++,c++)r in u&&Mt(f,c,u[r])}else{if(c>=9007199254740991)throw TypeError("Maximum allowed index exceeded");Mt(f,c++,u)}return f.length=c,f}}),t.fn.bootstrapTable.locales["sr-Cyrl-RS"]={formatLoadingMessage:function(){return"Молим сачекај"},formatRecordsPerPage:function(t){return"".concat(t," редова по страни")},formatShowingRows:function(t,n,r,e){return void 0!==e&&e>0&&e>r?"Приказано ".concat(t,". - ").concat(n,". од укупног броја редова ").concat(r," (филтрирано од ").concat(e,")"):"Приказано ".concat(t,". - ").concat(n,". од укупног броја редова ").concat(r)},formatSRPaginationPreText:function(){return"претходна страна"},formatSRPaginationPageText:function(t){return"на страну ".concat(t)},formatSRPaginationNextText:function(){return"следећа страна"},formatDetailPagination:function(t){return"Приказано ".concat(t," редова")},formatClearSearch:function(){return"Обриши претрагу"},formatSearch:function(){return"Пронађи"},formatNoMatches:function(){return"Није пронађен ни један податак"},formatPaginationSwitch:function(){return"Прикажи/сакриј пагинацију"},formatPaginationSwitchDown:function(){return"Прикажи пагинацију"},formatPaginationSwitchUp:function(){return"Сакриј пагинацију"},formatRefresh:function(){return"Освежи"},formatToggle:function(){return"Промени приказ"},formatToggleOn:function(){return"Прикажи картице"},formatToggleOff:function(){return"Сакриј картице"},formatColumns:function(){return"Колоне"},formatColumnsToggleAll:function(){return"Прикажи/сакриј све"},formatFullscreen:function(){return"Цео екран"},formatAllRows:function(){return"Све"},formatAutoRefresh:function(){return"Аутоматско освежавање"},formatExport:function(){return"Извези податке"},formatJumpTo:function(){return"Иди"},formatAdvancedSearch:function(){return"Напредна претрага"},formatAdvancedCloseButton:function(){return"Затвори"}},t.extend(t.fn.bootstrapTable.defaults,t.fn.bootstrapTable.locales["sr-Cyrl-RS"])}));
|