Болванка для проекта с серверной частью на Yii2, к клиентской - на Vue3. Сборщик - Vite. База данных - PostgreSQL Для разработки нужен запущенный на компьютере Docker
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

4 lines
79 KiB

1 year ago
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();function Yn(e,t){const n=Object.create(null),r=e.split(",");for(let s=0;s<r.length;s++)n[r[s]]=!0;return t?s=>!!n[s.toLowerCase()]:s=>!!n[s]}const q={},Ye=[],de=()=>{},So=()=>!1,Co=/^on[^a-z]/,Gt=e=>Co.test(e),Qn=e=>e.startsWith("onUpdate:"),Q=Object.assign,Zn=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Po=Object.prototype.hasOwnProperty,L=(e,t)=>Po.call(e,t),N=Array.isArray,Qe=e=>en(e)==="[object Map]",ms=e=>en(e)==="[object Set]",v=e=>typeof e=="function",X=e=>typeof e=="string",Gn=e=>typeof e=="symbol",W=e=>e!==null&&typeof e=="object",gs=e=>W(e)&&v(e.then)&&v(e.catch),bs=Object.prototype.toString,en=e=>bs.call(e),Fo=e=>en(e).slice(8,-1),_s=e=>en(e)==="[object Object]",er=e=>X(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,jt=Yn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),tn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},No=/-(\w)/g,et=tn(e=>e.replace(No,(t,n)=>n?n.toUpperCase():"")),Io=/\B([A-Z])/g,ot=tn(e=>e.replace(Io,"-$1").toLowerCase()),ys=tn(e=>e.charAt(0).toUpperCase()+e.slice(1)),En=tn(e=>e?`on${ys(e)}`:""),_t=(e,t)=>!Object.is(e,t),wn=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Jt=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},vo=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Fr;const Mn=()=>Fr||(Fr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function tr(e){if(N(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=X(r)?Bo(r):tr(r);if(s)for(const o in s)t[o]=s[o]}return t}else{if(X(e))return e;if(W(e))return e}}const Mo=/;(?![^(]*\))/g,Lo=/:([^]+)/,Uo=/\/\*[^]*?\*\//g;function Bo(e){const t={};return e.replace(Uo,"").split(Mo).forEach(n=>{if(n){const r=n.split(Lo);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function nr(e){let t="";if(X(e))t=e;else if(N(e))for(let n=0;n<e.length;n++){const r=nr(e[n]);r&&(t+=r+" ")}else if(W(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Do="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",jo=Yn(Do);function Es(e){return!!e||e===""}const Ho=e=>X(e)?e:e==null?"":N(e)||W(e)&&(e.toString===bs||!v(e.toString))?JSON.stringify(e,ws,2):String(e),ws=(e,t)=>t&&t.__v_isRef?ws(e,t.value):Qe(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s])=>(n[`${r} =>`]=s,n),{})}:ms(t)?{[`Set(${t.size})`]:[...t.values()]}:W(t)&&!N(t)&&!_s(t)?String(t):t;let ce;class $o{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ce,!t&&ce&&(this.index=(ce.scopes||(ce.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=ce;try{return ce=this,t()}finally{ce=n}}}on(){ce=this}off(){ce=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0,this._active=!1}}}function Ko(e,t=ce){t&&t.active&&t.effects.push(e)}function qo(){return ce}const rr=e=>{const t=new Set(e);return t.w=0,t.n=0,t},xs=e=>(e.w&Me)>0,Os=e=>(e.n&Me)>0,zo=({deps:e})=>{if(e.length)fo
`).forEach(function(i){s=i.indexOf(":"),n=i.substring(0,s).trim().toLowerCase(),r=i.substring(s+1).trim(),!(!n||t[n]&&nu[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},fs=Symbol("internals");function ht(e){return e&&String(e).trim().toLowerCase()}function zt(e){return e===!1||e==null?e:p.isArray(e)?e.map(zt):String(e)}function su(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const ou=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Nn(e,t,n,r,s){if(p.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!p.isString(t)){if(p.isString(r))return t.indexOf(r)!==-1;if(p.isRegExp(r))return r.test(t)}}function iu(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function lu(e,t){const n=p.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,o,i){return this[r].call(this,t,s,o,i)},configurable:!0})})}class mn{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function o(l,u,f){const d=ht(u);if(!d)throw new Error("header name must be a non-empty string");const m=p.findKey(s,d);(!m||s[m]===void 0||f===!0||f===void 0&&s[m]!==!1)&&(s[m||u]=zt(l))}const i=(l,u)=>p.forEach(l,(f,d)=>o(f,d,u));return p.isPlainObject(t)||t instanceof this.constructor?i(t,n):p.isString(t)&&(t=t.trim())&&!ou(t)?i(ru(t),n):t!=null&&o(n,t,r),this}get(t,n){if(t=ht(t),t){const r=p.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return su(s);if(p.isFunction(n))return n.call(this,s,r);if(p.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=ht(t),t){const r=p.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Nn(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function o(i){if(i=ht(i),i){const l=p.findKey(r,i);l&&(!n||Nn(r,r[l],l,n))&&(delete r[l],s=!0)}}return p.isArray(t)?t.forEach(o):o(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const o=n[r];(!t||Nn(this,this[o],o,t,!0))&&(delete this[o],s=!0)}return s}normalize(t){const n=this,r={};return p.forEach(this,(s,o)=>{const i=p.findKey(r,o);if(i){n[i]=zt(s),delete n[o];return}const l=t?iu(o):String(o).trim();l!==o&&delete n[o],n[l]=zt(s),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return p.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&p.isArray(r)?r.join(", "):r)}),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 r=new this(t);return n.forEach(s=>r.set(s)),r}static accessor(t){const r=(this[fs]=this[fs]={accessors:{}}).accessors,s=this.prototype;function o(i){const l=ht(i);r[l]||(lu(s,i),r[l]=!0)}return p.isArray(t)?t.forEach(o):o(t),this}}mn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);p.freezeMethods(mn.prototype);p.freezeMethods(mn);const Ae=mn;function In(e,t){const n=this||Er,r=t||n,s=Ae.from(r.headers);let o=r.data;return p.forEach(e,function(l){o=l.call(n,o,s.normalize(),t?t.status:void 0)}),s.normalize(),o}function wo(e){return!!(e&&e.__CANCEL__)}function St(e,t,n){U.call(this,e??"canceled",U.ERR_CANCELED,t,n),this.name="CanceledError"}p.inherits(St,U,{__CANCEL__:!0});function cu(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new U("Request failed with status code "+n.status,[U.ERR_BAD_REQUEST,U.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const uu=Ee.isStandardBrowserEnv?function(){return{write:function(n,r,s,o,i,l){const u=[];u.push(n+"="+encodeURIComponent(r)),p.isNumber(s)&&u.push("expires="+new Date(s).toGMTString()),p.isString(o)&&u.push("path="+o),p.isString(i)&&u.push("domain="+i),l===!0&&u.push("secure"),document.cookie=u.join("; ")},read:function(n){const r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function fu(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function au(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function xo(e,t){return e&&!fu(t)?au(e,t):t}const du=Ee.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function s(o){let i=o;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{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 r=s(window.location.href),function(i){const l=p.isString(i)?s(i):i;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}();function hu(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function pu(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,o=0,i;return t=t!==void 0?t:1e3,function(u){const f=Date.now(),d=r[o];i||(i=f),n[s]=u,r[s]=f;let m=o,x=0;for(;m!==s;)x+=n[m++],m=m%e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),f-i<t)return;const R=d&&f-d;return R?Math.round(x*1e3/R):void 0}}function as(e,t){let n=0;const r=pu(50,250);return s=>{const o=s.loaded,i=s.lengthComputable?s.total:void 0,l=o-n,u=r(l),f=o<=i;n=o;const d={loaded:o,total:i,progress:i?o/i:void 0,bytes:l,rate:u||void 0,estimated:u&&i&&f?(i-o)/u:void 0,event:s};d[t?"download":"upload"]=!0,e(d)}}const mu=typeof XMLHttpRequest<"u",gu=mu&&function(e){return new Promise(function(n,r){let s=e.data;const o=Ae.from(e.headers).normalize(),i=e.responseType;let l;function u(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}p.isFormData(s)&&(Ee.isStandardBrowserEnv||Ee.isStandardBrowserWebWorkerEnv?o.setContentType(!1):o.setContentType("multipart/form-data;",!1));let f=new XMLHttpRequest;if(e.auth){const R=e.auth.username||"",O=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(R+":"+O))}const d=xo(e.baseURL,e.url);f.open(e.method.toUpperCase(),_o(d,e.params,e.paramsSerializer),!0),f.timeout=e.timeout;function m(){if(!f)return;const R=Ae.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders()),A={data:!i||i==="text"||i==="json"?f.responseText:f.response,status:f.status,statusText:f.statusText,headers:R,config:e,request:f};cu(funct