diff --git a/.eslintrc.json b/.eslintrc.json index e3f4a3b..7b3cf5c 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -16,7 +16,7 @@ } } }, - "ignorePatterns": ["node_modules/**"], + "ignorePatterns": ["node_modules/**", ".nx/**", "jest.preset.js", "test.ts"], "overrides": [ { "files": ["*.ts"], @@ -24,15 +24,12 @@ "eslint:recommended", "plugin:@angular-eslint/recommended", "plugin:@angular-eslint/template/process-inline-templates", - "plugin:@angular-eslint/ng-cli-compat", - "plugin:@angular-eslint/ng-cli-compat--formatting-add-on", "plugin:@typescript-eslint/recommended", "plugin:@typescript-eslint/recommended-requiring-type-checking", "plugin:import/recommended", "plugin:import/typescript", "plugin:prettier/recommended", - "prettier", - "plugin:@angular-eslint/recommended--extra" + "prettier" ], "rules": { "import/no-unresolved": "off", @@ -45,10 +42,7 @@ ], "@typescript-eslint/unbound-method": "off", "@typescript-eslint/restrict-plus-operands": [ - "error", - { - "checkCompoundAssignments": true - } + "error" ], "@typescript-eslint/restrict-template-expressions": "off", "@typescript-eslint/no-floating-promises": [ @@ -159,10 +153,6 @@ "files": ["*.js"], "parser": "babel-eslint" }, - { - "files": ["*.html"], - "extends": ["plugin:@angular-eslint/template/recommended", "plugin:@nrwl/nx/angular-template"] - }, { "files": ["*.tsx"], "parser": "@typescript-eslint/parser" diff --git a/.gitignore b/.gitignore index 25bb45e..87ca481 100644 --- a/.gitignore +++ b/.gitignore @@ -107,4 +107,8 @@ dist .angular # DS_STORE -.DS_Store \ No newline at end of file +.DS_Store +.idea/ + +.nx/cache +.nx/workspace-data \ No newline at end of file diff --git a/.lintstagedrc b/.lintstagedrc index f4629db..f2ce298 100644 --- a/.lintstagedrc +++ b/.lintstagedrc @@ -1,5 +1,6 @@ { - "lint-staged": { - "*": ["eslint --fix", "git add"] - } -} \ No newline at end of file + "*.{js,jsx,ts,tsx,html}": [ + "eslint --fix", + "git add" + ] +} diff --git a/.nx/cache/cloud/2406.13.5.hotfix2/index.js b/.nx/cache/cloud/2406.13.5.hotfix2/index.js new file mode 100644 index 0000000..bc5f6c8 --- /dev/null +++ b/.nx/cache/cloud/2406.13.5.hotfix2/index.js @@ -0,0 +1,159 @@ +"use strict";var xA=Object.create;var Lc=Object.defineProperty;var vA=Object.getOwnPropertyDescriptor;var yA=Object.getOwnPropertyNames;var bA=Object.getPrototypeOf,EA=Object.prototype.hasOwnProperty;var me=(t,e)=>()=>(t&&(e=t(t=0)),e);var F=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),mn=(t,e)=>{for(var n in e)Lc(t,n,{get:e[n],enumerable:!0})},Sy=(t,e,n,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of yA(e))!EA.call(t,r)&&r!==n&&Lc(t,r,{get:()=>e[r],enumerable:!(i=vA(e,r))||i.enumerable});return t};var zt=(t,e,n)=>(n=t!=null?xA(bA(t)):{},Sy(e||!t||!t.__esModule?Lc(n,"default",{value:t,enumerable:!0}):n,t)),rt=t=>Sy(Lc({},"__esModule",{value:!0}),t);function Cy(){return process.env.CI==="true"||process.env.TF_BUILD==="true"||process.env.GITHUB_ACTIONS==="true"||process.env.BUILDKITE==="true"||process.env.CIRCLECI==="true"||process.env.CIRRUS_CI==="true"||process.env.TRAVIS==="true"||!!process.env["bamboo.buildKey"]||!!process.env.CODEBUILD_BUILD_ID||!!process.env.GITLAB_CI||!!process.env.HEROKU_TEST_RUN_ID||!!process.env.BUILD_ID||!!process.env.BUILD_BUILDID||!!process.env.TEAMCITY_VERSION}var Ry=me(()=>{"use strict"});var ky=F((HH,vf)=>{"use strict";var wA=require("fs"),Ty=require("path"),_A=require("os");function Oy(t){console.log(`[dotenv][DEBUG] ${t}`)}var SA=` +`,CA=/^\s*([\w.-]+)\s*=\s*(.*)?\s*$/,RA=/\\n/g,TA=/\r\n|\n|\r/;function Iy(t,e){let n=!!(e&&e.debug),i={};return t.toString().split(TA).forEach(function(r,s){let a=r.match(CA);if(a!=null){let c=a[1],l=a[2]||"",p=l.length-1,f=l[0]==='"'&&l[p]==='"';l[0]==="'"&&l[p]==="'"||f?(l=l.substring(1,p),f&&(l=l.replace(RA,SA))):l=l.trim(),i[c]=l}else n&&Oy(`did not match key and value when parsing line ${s+1}: ${r}`)}),i}function OA(t){return t[0]==="~"?Ty.join(_A.homedir(),t.slice(1)):t}function IA(t){let e=Ty.resolve(process.cwd(),".env"),n="utf8",i=!1;t&&(t.path!=null&&(e=OA(t.path)),t.encoding!=null&&(n=t.encoding),t.debug!=null&&(i=!0));try{let r=Iy(wA.readFileSync(e,{encoding:n}),{debug:i});return Object.keys(r).forEach(function(s){Object.prototype.hasOwnProperty.call(process.env,s)?i&&Oy(`"${s}" is already defined in \`process.env\` and will not be overwritten`):process.env[s]=r[s]}),{parsed:r}}catch(r){return{error:r}}}vf.exports.config=IA;vf.exports.parse=Iy});var Ay=F((Vo,yf)=>{"use strict";(function(t,e){typeof Vo=="object"&&typeof yf=="object"?yf.exports=e(require("child_process"),require("crypto")):typeof define=="function"&&define.amd?define(["child_process","crypto"],e):typeof Vo=="object"?Vo["electron-machine-id"]=e(require("child_process"),require("crypto")):t["electron-machine-id"]=e(t.child_process,t.crypto)})(Vo,function(t,e){return function(n){function i(s){if(r[s])return r[s].exports;var a=r[s]={exports:{},id:s,loaded:!1};return n[s].call(a.exports,a,a.exports,i),a.loaded=!0,a.exports}var r={};return i.m=n,i.c=r,i.p="",i(0)}([function(n,i,r){n.exports=r(34)},function(n,i,r){var s=r(29)("wks"),a=r(33),c=r(2).Symbol,l=typeof c=="function",p=n.exports=function(f){return s[f]||(s[f]=l&&c[f]||(l?c:a)("Symbol."+f))};p.store=s},function(n,i){var r=n.exports=typeof window<"u"&&window.Math==Math?window:typeof self<"u"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=r)},function(n,i,r){var s=r(9);n.exports=function(a){if(!s(a))throw TypeError(a+" is not an object!");return a}},function(n,i,r){n.exports=!r(24)(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},function(n,i,r){var s=r(12),a=r(17);n.exports=r(4)?function(c,l,p){return s.f(c,l,a(1,p))}:function(c,l,p){return c[l]=p,c}},function(n,i){var r=n.exports={version:"2.4.0"};typeof __e=="number"&&(__e=r)},function(n,i,r){var s=r(14);n.exports=function(a,c,l){if(s(a),c===void 0)return a;switch(l){case 1:return function(p){return a.call(c,p)};case 2:return function(p,f){return a.call(c,p,f)};case 3:return function(p,f,m){return a.call(c,p,f,m)}}return function(){return a.apply(c,arguments)}}},function(n,i){var r={}.hasOwnProperty;n.exports=function(s,a){return r.call(s,a)}},function(n,i){n.exports=function(r){return typeof r=="object"?r!==null:typeof r=="function"}},function(n,i){n.exports={}},function(n,i){var r={}.toString;n.exports=function(s){return r.call(s).slice(8,-1)}},function(n,i,r){var s=r(3),a=r(26),c=r(32),l=Object.defineProperty;i.f=r(4)?Object.defineProperty:function(p,f,m){if(s(p),f=c(f,!0),s(m),a)try{return l(p,f,m)}catch{}if("get"in m||"set"in m)throw TypeError("Accessors not supported!");return"value"in m&&(p[f]=m.value),p}},function(n,i,r){var s=r(42),a=r(15);n.exports=function(c){return s(a(c))}},function(n,i){n.exports=function(r){if(typeof r!="function")throw TypeError(r+" is not a function!");return r}},function(n,i){n.exports=function(r){if(r==null)throw TypeError("Can't call method on "+r);return r}},function(n,i,r){var s=r(9),a=r(2).document,c=s(a)&&s(a.createElement);n.exports=function(l){return c?a.createElement(l):{}}},function(n,i){n.exports=function(r,s){return{enumerable:!(1&r),configurable:!(2&r),writable:!(4&r),value:s}}},function(n,i,r){var s=r(12).f,a=r(8),c=r(1)("toStringTag");n.exports=function(l,p,f){l&&!a(l=f?l:l.prototype,c)&&s(l,c,{configurable:!0,value:p})}},function(n,i,r){var s=r(29)("keys"),a=r(33);n.exports=function(c){return s[c]||(s[c]=a(c))}},function(n,i){var r=Math.ceil,s=Math.floor;n.exports=function(a){return isNaN(a=+a)?0:(a>0?s:r)(a)}},function(n,i,r){var s=r(11),a=r(1)("toStringTag"),c=s(function(){return arguments}())=="Arguments",l=function(p,f){try{return p[f]}catch{}};n.exports=function(p){var f,m,y;return p===void 0?"Undefined":p===null?"Null":typeof(m=l(f=Object(p),a))=="string"?m:c?s(f):(y=s(f))=="Object"&&typeof f.callee=="function"?"Arguments":y}},function(n,i){n.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(n,i,r){var s=r(2),a=r(6),c=r(7),l=r(5),p="prototype",f=function(m,y,v){var E,b,d,w=m&f.F,T=m&f.G,C=m&f.S,h=m&f.P,O=m&f.B,P=m&f.W,L=T?a:a[y]||(a[y]={}),B=L[p],q=T?s:C?s[y]:(s[y]||{})[p];T&&(v=y);for(E in v)b=!w&&q&&q[E]!==void 0,b&&E in L||(d=b?q[E]:v[E],L[E]=T&&typeof q[E]!="function"?v[E]:O&&b?c(d,s):P&&q[E]==d?function(j){var te=function(ce,oe,V){if(this instanceof j){switch(arguments.length){case 0:return new j;case 1:return new j(ce);case 2:return new j(ce,oe)}return new j(ce,oe,V)}return j.apply(this,arguments)};return te[p]=j[p],te}(d):h&&typeof d=="function"?c(Function.call,d):d,h&&((L.virtual||(L.virtual={}))[E]=d,m&f.R&&B&&!B[E]&&l(B,E,d)))};f.F=1,f.G=2,f.S=4,f.P=8,f.B=16,f.W=32,f.U=64,f.R=128,n.exports=f},function(n,i){n.exports=function(r){try{return!!r()}catch{return!0}}},function(n,i,r){n.exports=r(2).document&&document.documentElement},function(n,i,r){n.exports=!r(4)&&!r(24)(function(){return Object.defineProperty(r(16)("div"),"a",{get:function(){return 7}}).a!=7})},function(n,i,r){"use strict";var s=r(28),a=r(23),c=r(57),l=r(5),p=r(8),f=r(10),m=r(45),y=r(18),v=r(52),E=r(1)("iterator"),b=!([].keys&&"next"in[].keys()),d="@@iterator",w="keys",T="values",C=function(){return this};n.exports=function(h,O,P,L,B,q,j){m(P,O,L);var te,ce,oe,V=function(re){if(!b&&re in W)return W[re];switch(re){case w:return function(){return new P(this,re)};case T:return function(){return new P(this,re)}}return function(){return new P(this,re)}},H=O+" Iterator",K=B==T,z=!1,W=h.prototype,Q=W[E]||W[d]||B&&W[B],de=Q||V(B),he=B?K?V("entries"):de:void 0,Z=O=="Array"&&W.entries||Q;if(Z&&(oe=v(Z.call(new h)),oe!==Object.prototype&&(y(oe,H,!0),s||p(oe,E)||l(oe,E,C))),K&&Q&&Q.name!==T&&(z=!0,de=function(){return Q.call(this)}),s&&!j||!b&&!z&&W[E]||l(W,E,de),f[O]=de,f[H]=C,B)if(te={values:K?de:V(T),keys:q?de:V(w),entries:he},j)for(ce in te)ce in W||c(W,ce,te[ce]);else a(a.P+a.F*(b||z),O,te);return te}},function(n,i){n.exports=!0},function(n,i,r){var s=r(2),a="__core-js_shared__",c=s[a]||(s[a]={});n.exports=function(l){return c[l]||(c[l]={})}},function(n,i,r){var s,a,c,l=r(7),p=r(41),f=r(25),m=r(16),y=r(2),v=y.process,E=y.setImmediate,b=y.clearImmediate,d=y.MessageChannel,w=0,T={},C="onreadystatechange",h=function(){var P=+this;if(T.hasOwnProperty(P)){var L=T[P];delete T[P],L()}},O=function(P){h.call(P.data)};E&&b||(E=function(P){for(var L=[],B=1;arguments.length>B;)L.push(arguments[B++]);return T[++w]=function(){p(typeof P=="function"?P:Function(P),L)},s(w),w},b=function(P){delete T[P]},r(11)(v)=="process"?s=function(P){v.nextTick(l(h,P,1))}:d?(a=new d,c=a.port2,a.port1.onmessage=O,s=l(c.postMessage,c,1)):y.addEventListener&&typeof postMessage=="function"&&!y.importScripts?(s=function(P){y.postMessage(P+"","*")},y.addEventListener("message",O,!1)):s=C in m("script")?function(P){f.appendChild(m("script"))[C]=function(){f.removeChild(this),h.call(P)}}:function(P){setTimeout(l(h,P,1),0)}),n.exports={set:E,clear:b}},function(n,i,r){var s=r(20),a=Math.min;n.exports=function(c){return c>0?a(s(c),9007199254740991):0}},function(n,i,r){var s=r(9);n.exports=function(a,c){if(!s(a))return a;var l,p;if(c&&typeof(l=a.toString)=="function"&&!s(p=l.call(a))||typeof(l=a.valueOf)=="function"&&!s(p=l.call(a))||!c&&typeof(l=a.toString)=="function"&&!s(p=l.call(a)))return p;throw TypeError("Can't convert object to primitive value")}},function(n,i){var r=0,s=Math.random();n.exports=function(a){return"Symbol(".concat(a===void 0?"":a,")_",(++r+s).toString(36))}},function(n,i,r){"use strict";function s(C){return C&&C.__esModule?C:{default:C}}function a(){return process.platform!=="win32"?"":process.arch==="ia32"&&process.env.hasOwnProperty("PROCESSOR_ARCHITEW6432")?"mixed":"native"}function c(C){return(0,E.createHash)("sha256").update(C).digest("hex")}function l(C){switch(d){case"darwin":return C.split("IOPlatformUUID")[1].split(` +`)[0].replace(/\=|\s+|\"/gi,"").toLowerCase();case"win32":return C.toString().split("REG_SZ")[1].replace(/\r+|\n+|\s+/gi,"").toLowerCase();case"linux":return C.toString().replace(/\r+|\n+|\s+/gi,"").toLowerCase();case"freebsd":return C.toString().replace(/\r+|\n+|\s+/gi,"").toLowerCase();default:throw new Error("Unsupported platform: "+process.platform)}}function p(C){var h=l((0,v.execSync)(T[d]).toString());return C?h:c(h)}function f(C){return new y.default(function(h,O){return(0,v.exec)(T[d],{},function(P,L,B){if(P)return O(new Error("Error while obtaining machine id: "+P.stack));var q=l(L.toString());return h(C?q:c(q))})})}Object.defineProperty(i,"__esModule",{value:!0});var m=r(35),y=s(m);i.machineIdSync=p,i.machineId=f;var v=r(70),E=r(71),b=process,d=b.platform,w={native:"%windir%\\System32",mixed:"%windir%\\sysnative\\cmd.exe /c %windir%\\System32"},T={darwin:"ioreg -rd1 -c IOPlatformExpertDevice",win32:w[a()]+"\\REG.exe QUERY HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Cryptography /v MachineGuid",linux:"( cat /var/lib/dbus/machine-id /etc/machine-id 2> /dev/null || hostname ) | head -n 1 || :",freebsd:"kenv -q smbios.system.uuid || sysctl -n kern.hostuuid"}},function(n,i,r){n.exports={default:r(36),__esModule:!0}},function(n,i,r){r(66),r(68),r(69),r(67),n.exports=r(6).Promise},function(n,i){n.exports=function(){}},function(n,i){n.exports=function(r,s,a,c){if(!(r instanceof s)||c!==void 0&&c in r)throw TypeError(a+": incorrect invocation!");return r}},function(n,i,r){var s=r(13),a=r(31),c=r(62);n.exports=function(l){return function(p,f,m){var y,v=s(p),E=a(v.length),b=c(m,E);if(l&&f!=f){for(;E>b;)if(y=v[b++],y!=y)return!0}else for(;E>b;b++)if((l||b in v)&&v[b]===f)return l||b||0;return!l&&-1}}},function(n,v,r){var s=r(7),a=r(44),c=r(43),l=r(3),p=r(31),f=r(64),m={},y={},v=n.exports=function(E,b,d,w,T){var C,h,O,P,L=T?function(){return E}:f(E),B=s(d,w,b?2:1),q=0;if(typeof L!="function")throw TypeError(E+" is not iterable!");if(c(L)){for(C=p(E.length);C>q;q++)if(P=b?B(l(h=E[q])[0],h[1]):B(E[q]),P===m||P===y)return P}else for(O=L.call(E);!(h=O.next()).done;)if(P=a(O,B,h.value,b),P===m||P===y)return P};v.BREAK=m,v.RETURN=y},function(n,i){n.exports=function(r,s,a){var c=a===void 0;switch(s.length){case 0:return c?r():r.call(a);case 1:return c?r(s[0]):r.call(a,s[0]);case 2:return c?r(s[0],s[1]):r.call(a,s[0],s[1]);case 3:return c?r(s[0],s[1],s[2]):r.call(a,s[0],s[1],s[2]);case 4:return c?r(s[0],s[1],s[2],s[3]):r.call(a,s[0],s[1],s[2],s[3])}return r.apply(a,s)}},function(n,i,r){var s=r(11);n.exports=Object("z").propertyIsEnumerable(0)?Object:function(a){return s(a)=="String"?a.split(""):Object(a)}},function(n,i,r){var s=r(10),a=r(1)("iterator"),c=Array.prototype;n.exports=function(l){return l!==void 0&&(s.Array===l||c[a]===l)}},function(n,i,r){var s=r(3);n.exports=function(a,c,l,p){try{return p?c(s(l)[0],l[1]):c(l)}catch(m){var f=a.return;throw f!==void 0&&s(f.call(a)),m}}},function(n,i,r){"use strict";var s=r(49),a=r(17),c=r(18),l={};r(5)(l,r(1)("iterator"),function(){return this}),n.exports=function(p,f,m){p.prototype=s(l,{next:a(1,m)}),c(p,f+" Iterator")}},function(n,i,r){var s=r(1)("iterator"),a=!1;try{var c=[7][s]();c.return=function(){a=!0},Array.from(c,function(){throw 2})}catch{}n.exports=function(l,p){if(!p&&!a)return!1;var f=!1;try{var m=[7],y=m[s]();y.next=function(){return{done:f=!0}},m[s]=function(){return y},l(m)}catch{}return f}},function(n,i){n.exports=function(r,s){return{value:s,done:!!r}}},function(n,i,r){var s=r(2),a=r(30).set,c=s.MutationObserver||s.WebKitMutationObserver,l=s.process,p=s.Promise,f=r(11)(l)=="process";n.exports=function(){var m,y,v,E=function(){var T,C;for(f&&(T=l.domain)&&T.exit();m;){C=m.fn,m=m.next;try{C()}catch(h){throw m?v():y=void 0,h}}y=void 0,T&&T.enter()};if(f)v=function(){l.nextTick(E)};else if(c){var b=!0,d=document.createTextNode("");new c(E).observe(d,{characterData:!0}),v=function(){d.data=b=!b}}else if(p&&p.resolve){var w=p.resolve();v=function(){w.then(E)}}else v=function(){a.call(s,E)};return function(T){var C={fn:T,next:void 0};y&&(y.next=C),m||(m=C,v()),y=C}}},function(n,i,r){var s=r(3),a=r(50),c=r(22),l=r(19)("IE_PROTO"),p=function(){},f="prototype",m=function(){var y,v=r(16)("iframe"),E=c.length,b=">";for(v.style.display="none",r(25).appendChild(v),v.src="javascript:",y=v.contentWindow.document,y.open(),y.write("