bakalarska_praca/database/public/build/assets/app-1e58d95a.js

8 lines
108 KiB
JavaScript
Raw Normal View History

2023-05-11 19:57:12 +00:00
var P="top",k="bottom",V="right",x="left",Ie="auto",jt=[P,k,V,x],Tt="start",Pt="end",Gs="clippingParents",wn="viewport",Lt="popper",Xs="reference",hn=jt.reduce(function(e,t){return e.concat([t+"-"+Tt,t+"-"+Pt])},[]),On=[].concat(jt,[Ie]).reduce(function(e,t){return e.concat([t,t+"-"+Tt,t+"-"+Pt])},[]),Js="beforeRead",Qs="read",Zs="afterRead",tr="beforeMain",er="main",nr="afterMain",sr="beforeWrite",rr="write",ir="afterWrite",or=[Js,Qs,Zs,tr,er,nr,sr,rr,ir];function X(e){return e?(e.nodeName||"").toLowerCase():null}function H(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function wt(e){var t=H(e).Element;return e instanceof t||e instanceof Element}function B(e){var t=H(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Sn(e){if(typeof ShadowRoot>"u")return!1;var t=H(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function yi(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var s=t.styles[n]||{},r=t.attributes[n]||{},i=t.elements[n];!B(i)||!X(i)||(Object.assign(i.style,s),Object.keys(r).forEach(function(o){var a=r[o];a===!1?i.removeAttribute(o):i.setAttribute(o,a===!0?"":a)}))})}function Ai(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(s){var r=t.elements[s],i=t.attributes[s]||{},o=Object.keys(t.styles.hasOwnProperty(s)?t.styles[s]:n[s]),a=o.reduce(function(u,c){return u[c]="",u},{});!B(r)||!X(r)||(Object.assign(r.style,a),Object.keys(i).forEach(function(u){r.removeAttribute(u)}))})}}const Cn={name:"applyStyles",enabled:!0,phase:"write",fn:yi,effect:Ai,requires:["computeStyles"]};function q(e){return e.split("-")[0]}var At=Math.max,Ne=Math.min,xt=Math.round;function pn(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function ar(){return!/^((?!chrome|android).)*safari/i.test(pn())}function Mt(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var s=e.getBoundingClientRect(),r=1,i=1;t&&B(e)&&(r=e.offsetWidth>0&&xt(s.width)/e.offsetWidth||1,i=e.offsetHeight>0&&xt(s.height)/e.offsetHeight||1);var o=wt(e)?H(e):window,a=o.visualViewport,u=!ar()&&n,c=(s.left+(u&&a?a.offsetLeft:0))/r,l=(s.top+(u&&a?a.offsetTop:0))/i,h=s.width/r,g=s.height/i;return{width:h,height:g,top:l,right:c+h,bottom:l+g,left:c,x:c,y:l}}function Nn(e){var t=Mt(e),n=e.offsetWidth,s=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-s)<=1&&(s=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:s}}function cr(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Sn(n)){var s=t;do{if(s&&e.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function nt(e){return H(e).getComputedStyle(e)}function Ti(e){return["table","td","th"].indexOf(X(e))>=0}function dt(e){return((wt(e)?e.ownerDocument:e.document)||window.document).documentElement}function Pe(e){return X(e)==="html"?e:e.assignedSlot||e.parentNode||(Sn(e)?e.host:null)||dt(e)}function rs(e){return!B(e)||nt(e).position==="fixed"?null:e.offsetParent}function wi(e){var t=/firefox/i.test(pn()),n=/Trident/i.test(pn());if(n&&B(e)){var s=nt(e);if(s.position==="fixed")return null}var r=Pe(e);for(Sn(r)&&(r=r.host);B(r)&&["html","body"].indexOf(X(r))<0;){var i=nt(r);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return r;r=r.parentNode}return null}function ne(e){for(var t=H(e),n=rs(e);n&&Ti(n)&&nt(n).position==="static";)n=rs(n);return n&&(X(n)==="html"||X(n)==="body"&&nt(n).position==="static")?t:n||wi(e)||t}function Dn(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Qt(e,t,n){return At(e,Ne(t,n))}function Oi(e,t,n){var s=Qt(
* Bootstrap v5.2.3 (https://getbootstrap.com/)
* Copyright 2011-2022 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/const ao=1e6,co=1e3,mn="transitionend",lo=e=>e==null?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),uo=e=>{do e+=Math.floor(Math.random()*ao);while(document.getElementById(e));return e},vr=e=>{let t=e.getAttribute("data-bs-target");if(!t||t==="#"){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&n!=="#"?n.trim():null}return t},yr=e=>{const t=vr(e);return t&&document.querySelector(t)?t:null},Q=e=>{const t=vr(e);return t?document.querySelector(t):null},fo=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const s=Number.parseFloat(t),r=Number.parseFloat(n);return!s&&!r?0:(t=t.split(",")[0],n=n.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(n))*co)},Ar=e=>{e.dispatchEvent(new Event(mn))},Z=e=>!e||typeof e!="object"?!1:(typeof e.jquery<"u"&&(e=e[0]),typeof e.nodeType<"u"),ct=e=>Z(e)?e.jquery?e[0]:e:typeof e=="string"&&e.length>0?document.querySelector(e):null,Wt=e=>{if(!Z(e)||e.getClientRects().length===0)return!1;const t=getComputedStyle(e).getPropertyValue("visibility")==="visible",n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const s=e.closest("summary");if(s&&s.parentNode!==n||s===null)return!1}return t},lt=e=>!e||e.nodeType!==Node.ELEMENT_NODE||e.classList.contains("disabled")?!0:typeof e.disabled<"u"?e.disabled:e.hasAttribute("disabled")&&e.getAttribute("disabled")!=="false",Tr=e=>{if(!document.documentElement.attachShadow)return null;if(typeof e.getRootNode=="function"){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?Tr(e.parentNode):null},De=()=>{},se=e=>{e.offsetHeight},wr=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Ge=[],ho=e=>{document.readyState==="loading"?(Ge.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of Ge)t()}),Ge.push(e)):e()},F=()=>document.documentElement.dir==="rtl",j=e=>{ho(()=>{const t=wr();if(t){const n=e.NAME,s=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=s,e.jQueryInterface)}})},J=e=>{typeof e=="function"&&e()},Or=(e,t,n=!0)=>{if(!n){J(e);return}const s=5,r=fo(t)+s;let i=!1;const o=({target:a})=>{a===t&&(i=!0,t.removeEventListener(mn,o),J(e))};t.addEventListener(mn,o),setTimeout(()=>{i||Ar(t)},r)},kn=(e,t,n,s)=>{const r=e.length;let i=e.indexOf(t);return i===-1?!n&&s?e[r-1]:e[0]:(i+=n?1:-1,s&&(i=(i+r)%r),e[Math.max(0,Math.min(i,r-1))])},po=/[^.]*(?=\..*)\.|.*/,_o=/\..*/,mo=/::\d+$/,Xe={};let ds=1;const Sr={mouseenter:"mouseover",mouseleave:"mouseout"},go=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function Cr(e,t){return t&&`${t}::${ds++}`||e.uidEvent||ds++}function Nr(e){const t=Cr(e);return e.uidEvent=t,Xe[t]=Xe[t]||{},Xe[t]}function Eo(e,t){return function n(s){return Vn(s,{delegateTarget:e}),n.oneOff&&d.off(e,s.type,t),t.apply(e,[s])}}function bo(e,t,n){return function s(r){const i=e.querySelectorAll(t);for(let{target:o}=r;o&&o!==this;o=o.parentNode)for(const a of i)if(a===o)return Vn(r,{delegateTarget:o}),s.oneOff&&d.off(e,r.type,t,n),n.apply(o,[r])}}function Dr(e,t,n=null){return Object.values(e).find(s=>s.callable===t&&s.delegationSelector===n)}function Lr(e,t,n){const s=typeof t=="string",r=s?n:t||n;let i=Rr(e);return go.has(i)||(i=e),[s,r,i]}function hs(e,t,n,s,r){if(typeof t!="string"||!e)return;let[i,o,a]=Lr(t,n,s);t in Sr&&(o=(p=>function(_){if(!_.relatedTarget||_.relatedTarget!==_.delegateTarget&&!_.delegateTarget.contains
`).forEach(function(o){r=o.indexOf(":"),n=o.substring(0,r).trim().toLowerCase(),s=o.substring(r+1).trim(),!(!n||t[n]&&gf[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t},Us=Symbol("internals");function Jt(e){return e&&String(e).trim().toLowerCase()}function Oe(e){return e===!1||e==null?e:f.isArray(e)?e.map(Oe):String(e)}function bf(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}function vf(e){return/^[-_a-zA-Z]+$/.test(e.trim())}function un(e,t,n,s,r){if(f.isFunction(s))return s.call(this,t,n);if(r&&(t=n),!!f.isString(t)){if(f.isString(s))return t.indexOf(s)!==-1;if(f.isRegExp(s))return s.test(t)}}function yf(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function Af(e,t){const n=f.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{value:function(r,i,o){return this[s].call(this,t,r,i,o)},configurable:!0})})}class Ue{constructor(t){t&&this.set(t)}set(t,n,s){const r=this;function i(a,u,c){const l=Jt(u);if(!l)throw new Error("header name must be a non-empty string");const h=f.findKey(r,l);(!h||r[h]===void 0||c===!0||c===void 0&&r[h]!==!1)&&(r[h||u]=Oe(a))}const o=(a,u)=>f.forEach(a,(c,l)=>i(c,l,u));return f.isPlainObject(t)||t instanceof this.constructor?o(t,n):f.isString(t)&&(t=t.trim())&&!vf(t)?o(Ef(t),n):t!=null&&i(n,t,s),this}get(t,n){if(t=Jt(t),t){const s=f.findKey(this,t);if(s){const r=this[s];if(!n)return r;if(n===!0)return bf(r);if(f.isFunction(n))return n.call(this,r,s);if(f.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Jt(t),t){const s=f.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||un(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let r=!1;function i(o){if(o=Jt(o),o){const a=f.findKey(s,o);a&&(!n||un(s,s[a],a,n))&&(delete s[a],r=!0)}}return f.isArray(t)?t.forEach(i):i(t),r}clear(t){const n=Object.keys(this);let s=n.length,r=!1;for(;s--;){const i=n[s];(!t||un(this,this[i],i,t,!0))&&(delete this[i],r=!0)}return r}normalize(t){const n=this,s={};return f.forEach(this,(r,i)=>{const o=f.findKey(s,i);if(o){n[o]=Oe(r),delete n[i];return}const a=t?yf(i):String(i).trim();a!==i&&delete n[i],n[a]=Oe(r),s[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return f.forEach(this,(s,r)=>{s!=null&&s!==!1&&(n[r]=t&&f.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const s=new this(t);return n.forEach(r=>s.set(r)),s}static accessor(t){const s=(this[Us]=this[Us]={accessors:{}}).accessors,r=this.prototype;function i(o){const a=Jt(o);s[a]||(Af(r,o),s[a]=!0)}return f.isArray(t)?t.forEach(i):i(t),this}}Ue.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);f.freezeMethods(Ue.prototype);f.freezeMethods(Ue);const et=Ue;function fn(e,t){const n=this||Yn,s=t||n,r=et.from(s.headers);let i=s.data;return f.forEach(e,function(a){i=a.call(n,i,r.normalize(),t?t.status:void 0)}),r.normalize(),i}function fi(e){return!!(e&&e.__CANCEL__)}function ce(e,t,n){A.call(this,e??"canceled",A.ERR_CANCELED,t,n),this.name="CanceledError"}f.inherits(ce,A,{__CANCEL__:!0});function Tf(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new A("Request failed with status code "+n.status,[A.ERR_BAD_REQUEST,A.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const wf=z.isStandardBrowserEnv?function(){return{write:function(n,s,r,i,o,a){const u=[];u.push(n+"="+encodeURIComponent(s)),f.isNumber(r)&&u.push("expires="+new Date(r).toGMTString()),f.isString(i)&&u.push("path="+i),f.isString(o)&&u.push("domain="+o),a===!0&&u.push("secure"),document.cookie=u.join("; ")},read:function(n){const s=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return s?decodeURIComponent(s[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function Of(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Sf(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function di(e,t){return e&&!Of(t)?Sf(e,t):t}const Cf=z.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let s;function r(i){let o=i;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return s=r(window.location.href),function(o){const a=f.isString(o)?r(o):o;return a.protocol===s.protocol&&a.host===s.host}}():function(){return function(){return!0}}();function Nf(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Df(e,t){e=e||10;const n=new Array(e),s=new Array(e);let r=0,i=0,o;return t=t!==void 0?t:1e3,function(u){const c=Date.now(),l=s[i];o||(o=c),n[r]=u,s[r]=c;let h=i,g=0;for(;h!==r;)g+=n[h++],h=h%e;if(r=(r+1)%e,r===i&&(i=(i+1)%e),c-o<t)return;const m=l&&c-l;return m?Math.round(g*1e3/m):void 0}}function Ks(e,t){let n=0;const s=Df(50,250);return r=>{const i=r.loaded,o=r.lengthComputable?r.total:void 0,a=i-n,u=s(a),c=i<=o;n=i;const l={loaded:i,total:o,progress:o?i/o:void 0,bytes:a,rate:u||void 0,estimated:u&&o&&c?(o-i)/u:void 0,event:r};l[t?"download":"upload"]=!0,e(l)}}const Lf=typeof XMLHttpRequest<"u",Rf=Lf&&function(e){return new Promise(function(n,s){let r=e.data;const i=et.from(e.headers).normalize(),o=e.responseType;let a;function u(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}f.isFormData(r)&&(z.isStandardBrowserEnv||z.isStandardBrowserWebWorkerEnv)&&i.setContentType(!1);let c=new XMLHttpRequest;if(e.auth){const m=e.auth.username||"",p=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(m+":"+p))}const l=di(e.baseURL,e.url);c.open(e.method.toUpperCase(),ci(l,e.params,e.paramsSerializer),!0),c.timeout=e.timeout;function h(){if(!c)return;const m=et.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),_={data:!o||o==="text"||o==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:m,config:e,request:c};Tf(function(y){n(y),u()},function(y){s(y),u()},_),c=nul