diff --git a/www/6927.753a85103d27e3ce.js b/www/6927.753a85103d27e3ce.js
deleted file mode 100644
index 7c6d4a4..0000000
--- a/www/6927.753a85103d27e3ce.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[6927],{6927:($,d,u)=>{u.r(d),u.d(d,{ViewProductPageModule:()=>j});var p=u(177),P=u(4341),n=u(7863),s=u(845),m=u(467),t=u(4438),f=u(385);function g(e,i){if(1&e&&(t.j41(0,"ion-item"),t.nrm(1,"ion-input",13),t.k0s()),2&e){const r=i.$implicit;t.R7$(),t.FS9("value",r)}}function v(e,i){if(1&e&&(t.j41(0,"ion-item"),t.nrm(1,"ion-input",13),t.k0s()),2&e){const r=i.$implicit;t.R7$(),t.FS9("value",r)}}function w(e,i){if(1&e&&(t.j41(0,"ion-item"),t.nrm(1,"ion-input",13),t.k0s()),2&e){const r=i.$implicit;t.R7$(),t.FS9("value",r)}}const V=[{path:"",component:(()=>{var e;class i{constructor(o){this.route=o,this.product={productObjective:"",productSteps:[],productServices:[],productSLOs:[]}}ngOnInit(){var o=this;return(0,m.A)(function*(){o.getProductFromParams()})()}getProductFromParams(){this.route.queryParams.subscribe(o=>{this.product=JSON.parse(o.product)}),console.log(this.product)}getAllInputValues(){const o=this.inputs.map(y=>y.value),c=this.product.productSteps.length,l=o.slice(0,c),a=o.slice(c,2*c),S=o.slice(2*c,3*c);console.log(l),console.log(a),console.log(S)}}return(e=i).\u0275fac=function(o){return new(o||e)(t.rXU(s.nX))},e.\u0275cmp=t.VBU({type:e,selectors:[["app-view-product"]],viewQuery:function(o,c){if(1&o&&t.GBs(n.$w,5),2&o){let l;t.mGM(l=t.lsd())&&(c.inputs=l)}},decls:40,vars:2,consts:[["stepList",""],[3,"title"],[3,"fullscreen"],[1,"flex","flex-col","flex-grow","lg:flex-row","md:flex-row","min-w-full","h-full"],[1,"flex","flex-col","flex-grow"],[1,"flex","flex-row","justify-center"],[1,"flex","flex-row","justify-center","items-center","mt-auto"],["color","light"],[1,"flex","justify-center","items-center","min-w-full","p-4"],[1,"p-1"],["color","success"],["color","primary",3,"click"],["color","danger"],[3,"value"]],template:function(o,c){if(1&o){const l=t.RV6();t.nrm(0,"app-header",1),t.j41(1,"ion-content",2)(2,"div",3)(3,"ion-card",4)(4,"ion-card-header",5)(5,"ion-card-title"),t.EFF(6,"Product Steps"),t.k0s()(),t.j41(7,"ion-card-content")(8,"ion-list",null,0),t.Z7z(10,g,2,1,"ion-item",null,t.fX1),t.k0s()()(),t.j41(12,"ion-card",4)(13,"ion-card-header",5)(14,"ion-card-title"),t.EFF(15,"Product Services"),t.k0s()(),t.j41(16,"ion-card-content")(17,"ion-list"),t.Z7z(18,v,2,1,"ion-item",null,t.fX1),t.k0s()()(),t.j41(20,"ion-card",4)(21,"ion-card-header",5)(22,"ion-card-title"),t.EFF(23,"Product SLOs"),t.k0s()(),t.j41(24,"ion-card-content")(25,"ion-list"),t.Z7z(26,w,2,1,"ion-item",null,t.fX1),t.k0s()()()(),t.j41(28,"div",6)(29,"ion-item-divider",7)(30,"div",8)(31,"div",9)(32,"ion-button",10),t.EFF(33,"Add Step"),t.k0s()(),t.j41(34,"div",9)(35,"ion-button",11),t.bIt("click",function(){return t.eBV(l),t.Njj(c.getAllInputValues())}),t.EFF(36,"Edit Product"),t.k0s()(),t.j41(37,"div",9)(38,"ion-button",12),t.EFF(39,"Delete Product"),t.k0s()()()()()()}2&o&&(t.Y8G("title",c.product.productObjective),t.R7$(),t.Y8G("fullscreen",!0),t.R7$(9),t.Dyx(c.product.productSteps),t.R7$(8),t.Dyx(c.product.productServices),t.R7$(8),t.Dyx(c.product.productSLOs))},dependencies:[n.Jm,n.b_,n.I9,n.ME,n.tN,n.W9,n.$w,n.uz,n.Dg,n.nf,n.Gw,f.l]}),i})()}];let h=(()=>{var e;class i{}return(e=i).\u0275fac=function(o){return new(o||e)},e.\u0275mod=t.$C({type:e}),e.\u0275inj=t.G2t({imports:[s.iI.forChild(V),s.iI]}),i})();var F=u(5553);let j=(()=>{var e;class i{}return(e=i).\u0275fac=function(o){return new(o||e)},e.\u0275mod=t.$C({type:e}),e.\u0275inj=t.G2t({imports:[p.MD,P.YN,n.bv,h,F.h]}),i})()}}]);
\ No newline at end of file
diff --git a/www/6927.965bbdc204b64792.js b/www/6927.965bbdc204b64792.js
new file mode 100644
index 0000000..cf6920d
--- /dev/null
+++ b/www/6927.965bbdc204b64792.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[6927],{6927:(L,m,u)=>{u.r(m),u.d(m,{ViewProductPageModule:()=>j});var g=u(177),h=u(4341),c=u(7863),a=u(845),s=u(467),e=u(4438),f=u(6241),P=u(385);function v(r,d){if(1&r){const n=e.RV6();e.j41(0,"ion-item"),e.nrm(1,"ion-input",12),e.j41(2,"ion-icon",13),e.bIt("click",function(){const o=e.eBV(n).$implicit,i=e.XpG();return e.Njj(i.deleteStep(o))}),e.k0s()()}if(2&r){const n=d.$implicit;e.R7$(),e.FS9("value",n)}}function y(r,d){if(1&r&&(e.j41(0,"ion-item"),e.nrm(1,"ion-input",12),e.k0s()),2&r){const n=d.$implicit;e.R7$(),e.FS9("value",n)}}function S(r,d){if(1&r&&(e.j41(0,"ion-item"),e.nrm(1,"ion-input",12),e.k0s()),2&r){const n=d.$implicit;e.R7$(),e.FS9("value",n)}}const w=[{path:"",component:(()=>{var r;class d{constructor(t,o,i,l,p){this.route=t,this.productService=o,this.alertCtrl=i,this.loadingCtrl=l,this.router=p,this.product={productObjective:"",productSteps:[],productServices:[],productSLOs:[]},this.orgName="orgName"}ngOnInit(){var t=this;return(0,s.A)(function*(){t.getProductFromParams(),t.getOrgName()})()}getOrgName(){const t=localStorage.getItem("user");if(!t)return;const o=JSON.parse(t);this.orgName=o.orgName}getProductFromParams(){this.route.queryParams.subscribe(t=>{this.product=JSON.parse(t.product)}),console.log(this.product)}upDateFields(){var t=this;return(0,s.A)(function*(){yield t.showLoading();const o=t.inputs.map(k=>k.value),i=t.product.productSteps.length,l=o.slice(0,i),p=o.slice(i,2*i),x=o.slice(2*i,3*i);t.product.productSteps=l,t.product.productServices=p,t.product.productSLOs=x,yield t.productService.addProduct(t.product,t.orgName),yield t.hideLoading(),yield t.showAlert("Product updated successfully")})()}deleteProduct(){var t=this;return(0,s.A)(function*(){yield t.showLoading(),yield t.productService.removeProduct(t.orgName,t.product.productObjective),yield t.hideLoading(),yield t.showAlert("Product deleted successfully"),yield t.router.navigate(["/model-product"])})()}deleteStep(t){var o=this;return(0,s.A)(function*(){yield o.showLoading();const i=o.product.productSteps.indexOf(t);o.product.productSteps.splice(i,1),o.product.productServices.splice(i,1),o.product.productSLOs.splice(i,1),yield o.productService.addProduct(o.product,o.orgName),yield o.hideLoading(),yield o.showAlert("Product step deleted successfully")})()}addStep(){var t=this;return(0,s.A)(function*(){var i;yield(yield t.alertCtrl.create({header:"Add Step",inputs:[{name:"step",type:"text",placeholder:"Step"},{name:"service",type:"text",placeholder:"Service"},{name:"slo",type:"text",placeholder:"SLO"}],buttons:[{text:"Cancel",role:"cancel"},{text:"Add",handler:(i=(0,s.A)(function*(l){yield t.showLoading(),t.product.productSteps.push(l.step),t.product.productServices.push(l.service),t.product.productSLOs.push(l.slo),yield t.productService.addProduct(t.product,t.orgName),yield t.hideLoading(),yield t.showAlert("Product step added successfully")}),function(p){return i.apply(this,arguments)})}]})).present()})()}showAlert(t){var o=this;return(0,s.A)(function*(){yield(yield o.alertCtrl.create({header:"Product Update",message:t,buttons:["OK"]})).present()})()}showLoading(){var t=this;return(0,s.A)(function*(){yield(yield t.loadingCtrl.create({})).present()})()}hideLoading(){var t=this;return(0,s.A)(function*(){yield t.loadingCtrl.dismiss()})()}}return(r=d).\u0275fac=function(t){return new(t||r)(e.rXU(a.nX),e.rXU(f.b),e.rXU(c.hG),e.rXU(c.Xi),e.rXU(a.Ix))},r.\u0275cmp=e.VBU({type:r,selectors:[["app-view-product"]],viewQuery:function(t,o){if(1&t&&e.GBs(c.$w,5),2&t){let i;e.mGM(i=e.lsd())&&(o.inputs=i)}},decls:39,vars:2,consts:[[3,"title"],[3,"fullscreen"],[1,"flex","flex-col","flex-grow","lg:flex-row","md:flex-row","min-w-full","h-full"],[1,"flex","flex-col","flex-grow"],[1,"flex","flex-row","justify-center"],[1,"flex","flex-row","justify-center","items-center","mt-auto"],["color","light"],[1,"flex","justify-center","items-center","min-w-full","p-4"],[1,"p-1"],["color","success",3,"click"],["color","primary",3,"click"],["color","danger",3,"click"],[3,"value"],["slot","end","name","trash",3,"click"]],template:function(t,o){1&t&&(e.nrm(0,"app-header",0),e.j41(1,"ion-content",1)(2,"div",2)(3,"ion-card",3)(4,"ion-card-header",4)(5,"ion-card-title"),e.EFF(6,"Product Steps"),e.k0s()(),e.j41(7,"ion-card-content")(8,"ion-list"),e.Z7z(9,v,3,1,"ion-item",null,e.fX1),e.k0s()()(),e.j41(11,"ion-card",3)(12,"ion-card-header",4)(13,"ion-card-title"),e.EFF(14,"Product Services"),e.k0s()(),e.j41(15,"ion-card-content")(16,"ion-list"),e.Z7z(17,y,2,1,"ion-item",null,e.fX1),e.k0s()()(),e.j41(19,"ion-card",3)(20,"ion-card-header",4)(21,"ion-card-title"),e.EFF(22,"Product SLOs"),e.k0s()(),e.j41(23,"ion-card-content")(24,"ion-list"),e.Z7z(25,S,2,1,"ion-item",null,e.fX1),e.k0s()()()(),e.j41(27,"div",5)(28,"ion-item-divider",6)(29,"div",7)(30,"div",8)(31,"ion-button",9),e.bIt("click",function(){return o.addStep()}),e.EFF(32,"Add Step"),e.k0s()(),e.j41(33,"div",8)(34,"ion-button",10),e.bIt("click",function(){return o.upDateFields()}),e.EFF(35,"Edit Product"),e.k0s()(),e.j41(36,"div",8)(37,"ion-button",11),e.bIt("click",function(){return o.deleteProduct()}),e.EFF(38,"Delete Product"),e.k0s()()()()()()),2&t&&(e.Y8G("title",o.product.productObjective),e.R7$(),e.Y8G("fullscreen",!0),e.R7$(8),e.Dyx(o.product.productSteps),e.R7$(8),e.Dyx(o.product.productServices),e.R7$(8),e.Dyx(o.product.productSLOs))},dependencies:[c.Jm,c.b_,c.I9,c.ME,c.tN,c.W9,c.iq,c.$w,c.uz,c.Dg,c.nf,c.Gw,P.l]}),d})()}];let V=(()=>{var r;class d{}return(r=d).\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.$C({type:r}),r.\u0275inj=e.G2t({imports:[a.iI.forChild(w),a.iI]}),d})();var F=u(5553);let j=(()=>{var r;class d{}return(r=d).\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.$C({type:r}),r.\u0275inj=e.G2t({imports:[g.MD,h.YN,c.bv,V,F.h]}),d})()}}]);
\ No newline at end of file
diff --git a/www/common.89df7778967c83d8.js b/www/common.12c32b694becf860.js
similarity index 54%
rename from www/common.89df7778967c83d8.js
rename to www/common.12c32b694becf860.js
index 17fef5d..d2a20a5 100644
--- a/www/common.89df7778967c83d8.js
+++ b/www/common.12c32b694becf860.js
@@ -1 +1 @@
-"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[2076],{1263:(y,f,i)=>{i.d(f,{c:()=>r});var _=i(9672),c=i(1086),a=i(8607);const r=(t,s)=>{let e,n;const l=(u,p,E)=>{if(typeof document>"u")return;const w=document.elementFromPoint(u,p);w&&s(w)&&!w.disabled?w!==e&&(o(),d(w,E)):o()},d=(u,p)=>{e=u,n||(n=e);const E=e;(0,_.w)(()=>E.classList.add("ion-activated")),p()},o=(u=!1)=>{if(!e)return;const p=e;(0,_.w)(()=>p.classList.remove("ion-activated")),u&&n!==e&&e.click(),e=void 0};return(0,a.createGesture)({el:t,gestureName:"buttonActiveDrag",threshold:0,onStart:u=>l(u.currentX,u.currentY,c.a),onMove:u=>l(u.currentX,u.currentY,c.b),onEnd:()=>{o(!0),(0,c.h)(),n=void 0}})}},8438:(y,f,i)=>{i.d(f,{g:()=>c});var _=i(8476);const c=()=>{if(void 0!==_.w)return _.w.Capacitor}},5572:(y,f,i)=>{i.d(f,{c:()=>_,i:()=>c});const _=(a,r,t)=>"function"==typeof t?t(a,r):"string"==typeof t?a[t]===r[t]:Array.isArray(r)?r.includes(a):a===r,c=(a,r,t)=>void 0!==a&&(Array.isArray(a)?a.some(s=>_(s,r,t)):_(a,r,t))},3351:(y,f,i)=>{i.d(f,{g:()=>_});const _=(s,e,n,l,d)=>a(s[1],e[1],n[1],l[1],d).map(o=>c(s[0],e[0],n[0],l[0],o)),c=(s,e,n,l,d)=>d*(3*e*Math.pow(d-1,2)+d*(-3*n*d+3*n+l*d))-s*Math.pow(d-1,3),a=(s,e,n,l,d)=>t((l-=d)-3*(n-=d)+3*(e-=d)-(s-=d),3*n-6*e+3*s,3*e-3*s,s).filter(u=>u>=0&&u<=1),t=(s,e,n,l)=>{if(0===s)return((s,e,n)=>{const l=e*e-4*s*n;return l<0?[]:[(-e+Math.sqrt(l))/(2*s),(-e-Math.sqrt(l))/(2*s)]})(e,n,l);const d=(3*(n/=s)-(e/=s)*e)/3,o=(2*e*e*e-9*e*n+27*(l/=s))/27;if(0===d)return[Math.pow(-o,1/3)];if(0===o)return[Math.sqrt(-d),-Math.sqrt(-d)];const u=Math.pow(o/2,2)+Math.pow(d/3,3);if(0===u)return[Math.pow(o/2,.5)-e/3];if(u>0)return[Math.pow(-o/2+Math.sqrt(u),1/3)-Math.pow(o/2+Math.sqrt(u),1/3)-e/3];const p=Math.sqrt(Math.pow(-d/3,3)),E=Math.acos(-o/(2*Math.sqrt(Math.pow(-d/3,3)))),w=2*Math.pow(p,1/3);return[w*Math.cos(E/3)-e/3,w*Math.cos((E+2*Math.PI)/3)-e/3,w*Math.cos((E+4*Math.PI)/3)-e/3]}},5083:(y,f,i)=>{i.d(f,{i:()=>_});const _=c=>c&&""!==c.dir?"rtl"===c.dir.toLowerCase():"rtl"===(null==document?void 0:document.dir.toLowerCase())},3126:(y,f,i)=>{i.r(f),i.d(f,{startFocusVisible:()=>r});const _="ion-focused",a=["Tab","ArrowDown","Space","Escape"," ","Shift","Enter","ArrowLeft","ArrowRight","ArrowUp","Home","End"],r=t=>{let s=[],e=!0;const n=t?t.shadowRoot:document,l=t||document.body,d=M=>{s.forEach(h=>h.classList.remove(_)),M.forEach(h=>h.classList.add(_)),s=M},o=()=>{e=!1,d([])},u=M=>{e=a.includes(M.key),e||d([])},p=M=>{if(e&&void 0!==M.composedPath){const h=M.composedPath().filter(g=>!!g.classList&&g.classList.contains("ion-focusable"));d(h)}},E=()=>{n.activeElement===l&&d([])};return n.addEventListener("keydown",u),n.addEventListener("focusin",p),n.addEventListener("focusout",E),n.addEventListener("touchstart",o,{passive:!0}),n.addEventListener("mousedown",o),{destroy:()=>{n.removeEventListener("keydown",u),n.removeEventListener("focusin",p),n.removeEventListener("focusout",E),n.removeEventListener("touchstart",o),n.removeEventListener("mousedown",o)},setFocus:d}}},1086:(y,f,i)=>{i.d(f,{I:()=>c,a:()=>e,b:()=>n,c:()=>s,d:()=>d,h:()=>l});var _=i(8438),c=function(o){return o.Heavy="HEAVY",o.Medium="MEDIUM",o.Light="LIGHT",o}(c||{});const r={getEngine(){const o=(0,_.g)();if(null!=o&&o.isPluginAvailable("Haptics"))return o.Plugins.Haptics},available(){if(!this.getEngine())return!1;const u=(0,_.g)();return"web"!==(null==u?void 0:u.getPlatform())||typeof navigator<"u"&&void 0!==navigator.vibrate},impact(o){const u=this.getEngine();u&&u.impact({style:o.style})},notification(o){const u=this.getEngine();u&&u.notification({type:o.type})},selection(){this.impact({style:c.Light})},selectionStart(){const o=this.getEngine();o&&o.selectionStart()},selectionChanged(){const o=this.getEngine();o&&o.selectionChanged()},selectionEnd(){const o=this.getEngine();o&&o.selectionEnd()}},t=()=>r.available(),s=()=>{t()&&r.selection()},e=()=>{t()&&r.selectionStart()},n=()=>{t()&&r.selectionChanged()},l=()=>{t()&&r.selectionEnd()},d=o=>{t()&&r.impact(o)}},909:(y,f,i)=>{i.d(f,{I:()=>s,a:()=>d,b:()=>t,c:()=>p,d:()=>w,f:()=>o,g:()=>l,i:()=>n,p:()=>E,r:()=>M,s:()=>u});var _=i(467),c=i(4920),a=i(4929);const t="ion-content",s=".ion-content-scroll-host",e=`${t}, ${s}`,n=h=>"ION-CONTENT"===h.tagName,l=function(){var h=(0,_.A)(function*(g){return n(g)?(yield new Promise(m=>(0,c.c)(g,m)),g.getScrollElement()):g});return function(m){return h.apply(this,arguments)}}(),d=h=>h.querySelector(s)||h.querySelector(e),o=h=>h.closest(e),u=(h,g)=>n(h)?h.scrollToTop(g):Promise.resolve(h.scrollTo({top:0,left:0,behavior:g>0?"smooth":"auto"})),p=(h,g,m,O)=>n(h)?h.scrollByPoint(g,m,O):Promise.resolve(h.scrollBy({top:m,left:g,behavior:O>0?"smooth":"auto"})),E=h=>(0,a.b)(h,t),w=h=>{if(n(h)){const m=h.scrollY;return h.scrollY=!1,m}return h.style.setProperty("overflow","hidden"),!0},M=(h,g)=>{n(h)?h.scrollY=g:h.style.removeProperty("overflow")}},3992:(y,f,i)=>{i.d(f,{a:()=>_,b:()=>p,c:()=>e,d:()=>E,e:()=>P,f:()=>s,g:()=>w,h:()=>a,i:()=>c,j:()=>v,k:()=>C,l:()=>n,m:()=>o,n:()=>M,o:()=>d,p:()=>t,q:()=>r,r:()=>D,s:()=>L,t:()=>u,u:()=>m,v:()=>O,w:()=>l,x:()=>h,y:()=>g});const _="data:image/svg+xml;utf8,",c="data:image/svg+xml;utf8,",a="data:image/svg+xml;utf8,",r="data:image/svg+xml;utf8,",t="data:image/svg+xml;utf8,",s="data:image/svg+xml;utf8,",e="data:image/svg+xml;utf8,",n="data:image/svg+xml;utf8,",l="data:image/svg+xml;utf8,",d="data:image/svg+xml;utf8,",o="data:image/svg+xml;utf8,",u="data:image/svg+xml;utf8,",p="data:image/svg+xml;utf8,",E="data:image/svg+xml;utf8,",w="data:image/svg+xml;utf8,",M="data:image/svg+xml;utf8,",h="data:image/svg+xml;utf8,",g="data:image/svg+xml;utf8,",m="data:image/svg+xml;utf8,",O="data:image/svg+xml;utf8,",D="data:image/svg+xml;utf8,",v="data:image/svg+xml;utf8,",C="data:image/svg+xml;utf8,",L="data:image/svg+xml;utf8,",P="data:image/svg+xml;utf8,"},243:(y,f,i)=>{i.d(f,{c:()=>r,g:()=>t});var _=i(8476),c=i(4920),a=i(4929);const r=(e,n,l)=>{let d,o;if(void 0!==_.w&&"MutationObserver"in _.w){const w=Array.isArray(n)?n:[n];d=new MutationObserver(M=>{for(const h of M)for(const g of h.addedNodes)if(g.nodeType===Node.ELEMENT_NODE&&w.includes(g.slot))return l(),void(0,c.r)(()=>u(g))}),d.observe(e,{childList:!0,subtree:!0})}const u=w=>{var M;o&&(o.disconnect(),o=void 0),o=new MutationObserver(h=>{l();for(const g of h)for(const m of g.removedNodes)m.nodeType===Node.ELEMENT_NODE&&m.slot===n&&E()}),o.observe(null!==(M=w.parentElement)&&void 0!==M?M:w,{subtree:!0,childList:!0})},E=()=>{o&&(o.disconnect(),o=void 0)};return{destroy:()=>{d&&(d.disconnect(),d=void 0),E()}}},t=(e,n,l)=>{const d=null==e?0:e.toString().length,o=s(d,n);if(void 0===l)return o;try{return l(d,n)}catch(u){return(0,a.a)("Exception in provided `counterFormatter`.",u),o}},s=(e,n)=>`${e} / ${n}`},1622:(y,f,i)=>{i.r(f),i.d(f,{KEYBOARD_DID_CLOSE:()=>t,KEYBOARD_DID_OPEN:()=>r,copyVisualViewport:()=>D,keyboardDidClose:()=>h,keyboardDidOpen:()=>w,keyboardDidResize:()=>M,resetKeyboardAssist:()=>d,setKeyboardClose:()=>E,setKeyboardOpen:()=>p,startKeyboardAssist:()=>o,trackViewportChanges:()=>O});var _=i(4379);i(8438),i(8476);const r="ionKeyboardDidShow",t="ionKeyboardDidHide";let e={},n={},l=!1;const d=()=>{e={},n={},l=!1},o=v=>{if(_.K.getEngine())u(v);else{if(!v.visualViewport)return;n=D(v.visualViewport),v.visualViewport.onresize=()=>{O(v),w()||M(v)?p(v):h(v)&&E(v)}}},u=v=>{v.addEventListener("keyboardDidShow",C=>p(v,C)),v.addEventListener("keyboardDidHide",()=>E(v))},p=(v,C)=>{g(v,C),l=!0},E=v=>{m(v),l=!1},w=()=>!l&&e.width===n.width&&(e.height-n.height)*n.scale>150,M=v=>l&&!h(v),h=v=>l&&n.height===v.innerHeight,g=(v,C)=>{const P=new CustomEvent(r,{detail:{keyboardHeight:C?C.keyboardHeight:v.innerHeight-n.height}});v.dispatchEvent(P)},m=v=>{const C=new CustomEvent(t);v.dispatchEvent(C)},O=v=>{e=Object.assign({},n),n=D(v.visualViewport)},D=v=>({width:Math.round(v.width),height:Math.round(v.height),offsetTop:v.offsetTop,offsetLeft:v.offsetLeft,pageTop:v.pageTop,pageLeft:v.pageLeft,scale:v.scale})},4379:(y,f,i)=>{i.d(f,{K:()=>r,a:()=>a});var _=i(8438),c=function(t){return t.Unimplemented="UNIMPLEMENTED",t.Unavailable="UNAVAILABLE",t}(c||{}),a=function(t){return t.Body="body",t.Ionic="ionic",t.Native="native",t.None="none",t}(a||{});const r={getEngine(){const t=(0,_.g)();if(null!=t&&t.isPluginAvailable("Keyboard"))return t.Plugins.Keyboard},getResizeMode(){const t=this.getEngine();return null!=t&&t.getResizeMode?t.getResizeMode().catch(s=>{if(s.code!==c.Unimplemented)throw s}):Promise.resolve(void 0)}}},4731:(y,f,i)=>{i.d(f,{c:()=>s});var _=i(467),c=i(8476),a=i(4379);const r=e=>{if(void 0===c.d||e===a.a.None||void 0===e)return null;const n=c.d.querySelector("ion-app");return null!=n?n:c.d.body},t=e=>{const n=r(e);return null===n?0:n.clientHeight},s=function(){var e=(0,_.A)(function*(n){let l,d,o,u;const p=function(){var g=(0,_.A)(function*(){const m=yield a.K.getResizeMode(),O=void 0===m?void 0:m.mode;l=()=>{void 0===u&&(u=t(O)),o=!0,E(o,O)},d=()=>{o=!1,E(o,O)},null==c.w||c.w.addEventListener("keyboardWillShow",l),null==c.w||c.w.addEventListener("keyboardWillHide",d)});return function(){return g.apply(this,arguments)}}(),E=(g,m)=>{n&&n(g,w(m))},w=g=>{if(0===u||u===t(g))return;const m=r(g);return null!==m?new Promise(O=>{const v=new ResizeObserver(()=>{m.clientHeight===u&&(v.disconnect(),O())});v.observe(m)}):void 0};return yield p(),{init:p,destroy:()=>{null==c.w||c.w.removeEventListener("keyboardWillShow",l),null==c.w||c.w.removeEventListener("keyboardWillHide",d),l=d=void 0},isKeyboardVisible:()=>o}});return function(l){return e.apply(this,arguments)}}()},7838:(y,f,i)=>{i.d(f,{c:()=>c});var _=i(467);const c=()=>{let a;return{lock:function(){var t=(0,_.A)(function*(){const s=a;let e;return a=new Promise(n=>e=n),void 0!==s&&(yield s),e});return function(){return t.apply(this,arguments)}}()}}},9001:(y,f,i)=>{i.d(f,{c:()=>a});var _=i(8476),c=i(4920);const a=(r,t,s)=>{let e;const n=()=>!(void 0===t()||void 0!==r.label||null===s()),d=()=>{const u=t();if(void 0===u)return;if(!n())return void u.style.removeProperty("width");const p=s().scrollWidth;if(0===p&&null===u.offsetParent&&void 0!==_.w&&"IntersectionObserver"in _.w){if(void 0!==e)return;const E=e=new IntersectionObserver(w=>{1===w[0].intersectionRatio&&(d(),E.disconnect(),e=void 0)},{threshold:.01,root:r});E.observe(u)}else u.style.setProperty("width",.75*p+"px")};return{calculateNotchWidth:()=>{n()&&(0,c.r)(()=>{d()})},destroy:()=>{e&&(e.disconnect(),e=void 0)}}}},7895:(y,f,i)=>{i.d(f,{S:()=>c});const c={bubbles:{dur:1e3,circles:9,fn:(a,r,t)=>{const s=a*r/t-a+"ms",e=2*Math.PI*r/t;return{r:5,style:{top:32*Math.sin(e)+"%",left:32*Math.cos(e)+"%","animation-delay":s}}}},circles:{dur:1e3,circles:8,fn:(a,r,t)=>{const s=r/t,e=a*s-a+"ms",n=2*Math.PI*s;return{r:5,style:{top:32*Math.sin(n)+"%",left:32*Math.cos(n)+"%","animation-delay":e}}}},circular:{dur:1400,elmDuration:!0,circles:1,fn:()=>({r:20,cx:48,cy:48,fill:"none",viewBox:"24 24 48 48",transform:"translate(0,0)",style:{}})},crescent:{dur:750,circles:1,fn:()=>({r:26,style:{}})},dots:{dur:750,circles:3,fn:(a,r)=>({r:6,style:{left:32-32*r+"%","animation-delay":-110*r+"ms"}})},lines:{dur:1e3,lines:8,fn:(a,r,t)=>({y1:14,y2:26,style:{transform:`rotate(${360/t*r+(r({y1:12,y2:20,style:{transform:`rotate(${360/t*r+(r({y1:17,y2:29,style:{transform:`rotate(${30*r+(r<6?180:-180)}deg)`,"animation-delay":a*r/t-a+"ms"}})},"lines-sharp-small":{dur:1e3,lines:12,fn:(a,r,t)=>({y1:12,y2:20,style:{transform:`rotate(${30*r+(r<6?180:-180)}deg)`,"animation-delay":a*r/t-a+"ms"}})}}},7166:(y,f,i)=>{i.r(f),i.d(f,{createSwipeBackGesture:()=>t});var _=i(4920),c=i(5083),a=i(8607);i(1970);const t=(s,e,n,l,d)=>{const o=s.ownerDocument.defaultView;let u=(0,c.i)(s);const E=m=>u?-m.deltaX:m.deltaX;return(0,a.createGesture)({el:s,gestureName:"goback-swipe",gesturePriority:101,threshold:10,canStart:m=>(u=(0,c.i)(s),(m=>{const{startX:D}=m;return u?D>=o.innerWidth-50:D<=50})(m)&&e()),onStart:n,onMove:m=>{const D=E(m)/o.innerWidth;l(D)},onEnd:m=>{const O=E(m),D=o.innerWidth,v=O/D,C=(m=>u?-m.velocityX:m.velocityX)(m),P=C>=0&&(C>.2||O>D/2),A=(P?1-v:v)*D;let B=0;if(A>5){const T=A/Math.abs(C);B=Math.min(T,540)}d(P,v<=0?.01:(0,_.j)(0,v,.9999),B)}})}},2935:(y,f,i)=>{i.d(f,{w:()=>_});const _=(r,t,s)=>{if(typeof MutationObserver>"u")return;const e=new MutationObserver(n=>{s(c(n,t))});return e.observe(r,{childList:!0,subtree:!0}),e},c=(r,t)=>{let s;return r.forEach(e=>{for(let n=0;n{if(1!==r.nodeType)return;const s=r;return(s.tagName===t.toUpperCase()?[s]:Array.from(s.querySelectorAll(t))).find(n=>n.value===s.value)}},5553:(y,f,i)=>{i.d(f,{h:()=>r});var _=i(177),c=i(7863),a=i(4438);let r=(()=>{var t;class s{}return(t=s).\u0275fac=function(n){return new(n||t)},t.\u0275mod=a.$C({type:t}),t.\u0275inj=a.G2t({imports:[_.MD,c.bv]}),s})()},385:(y,f,i)=>{i.d(f,{l:()=>a});var _=i(4438),c=i(7863);let a=(()=>{var r;class t{constructor(){this.title="Header Title"}ngOnInit(){}}return(r=t).\u0275fac=function(e){return new(e||r)},r.\u0275cmp=_.VBU({type:r,selectors:[["app-header"]],inputs:{title:"title"},decls:5,vars:2,consts:[[3,"translucent"],["slot","start","menu","menu-id"]],template:function(e,n){1&e&&(_.j41(0,"ion-header",0)(1,"ion-toolbar"),_.nrm(2,"ion-menu-button",1),_.j41(3,"ion-title"),_.EFF(4),_.k0s()()()),2&e&&(_.Y8G("translucent",!0),_.R7$(4),_.JRh(n.title))},dependencies:[c.eU,c.MC,c.BC,c.ai]}),t})()},8453:(y,f,i)=>{i.d(f,{W:()=>a});var _=i(4438),c=i(7863);let a=(()=>{var r;class t{constructor(){this.title="Title"}ngOnInit(){}}return(r=t).\u0275fac=function(e){return new(e||r)},r.\u0275cmp=_.VBU({type:r,selectors:[["app-title"]],inputs:{title:"title"},decls:4,vars:1,consts:[[1,"lg:m-10"],["size","12","size-md","6","size-lg","6"],[1,"text-4xl","lg:text-6xl","font-bold"]],template:function(e,n){1&e&&(_.j41(0,"ion-row",0)(1,"ion-col",1)(2,"h1",2),_.EFF(3),_.k0s()()()),2&e&&(_.R7$(3),_.JRh(n.title))},dependencies:[c.hU,c.ln]}),t})()},4796:(y,f,i)=>{i.d(f,{u:()=>t});var _=i(467),c=i(8737),a=i(4262),r=i(4438);let t=(()=>{var s;class e{constructor(l,d){this.auth=l,this.firestore=d}registerUser(l){var d=this;return(0,_.A)(function*(){try{const o=yield(0,c.eJ)(d.auth,l.email,l.password);return o.user?(yield(0,a.BN)((0,a.H9)(d.firestore,"users",o.user.uid),{email:l.email,name:l.name,orgName:l.orgName,uid:o.user.uid}),yield(0,a.BN)((0,a.H9)(d.firestore,"teams",`${l.orgName}`),{name:l.orgName,members:[o.user.uid]}),o):null}catch{return null}})()}loginUser(l){var d=this;return(0,_.A)(function*(){try{var o;const u=yield(0,c.x9)(d.auth,l.email,l.password);if(null!==(o=u.user)&&void 0!==o&&o.uid){const p=yield(0,a.x7)((0,a.H9)(d.firestore,"users",u.user.uid));if(p.exists())return localStorage.setItem("user",JSON.stringify(p.data())),u}}catch(u){console.error(u)}return null})()}logoutUser(){var l=this;return(0,_.A)(function*(){yield l.auth.signOut()})()}addMember(l){var d=this;return(0,_.A)(function*(){try{const o=yield(0,c.eJ)(d.auth,l.email,l.password);if(!o.user)return!1;const u={email:l.email,name:l.name,orgName:l.orgName,uid:o.user.uid};return yield(0,a.BN)((0,a.H9)(d.firestore,"users",o.user.uid),u),u}catch{return!1}})()}}return(s=e).\u0275fac=function(l){return new(l||s)(r.KVO(c.Nj),r.KVO(a._7))},s.\u0275prov=r.jDH({token:s,factory:s.\u0275fac,providedIn:"root"}),e})()},6241:(y,f,i)=>{i.d(f,{b:()=>r});var _=i(467),c=i(4262),a=i(4438);let r=(()=>{var t;class s{constructor(n){this.firestore=n}addProduct(n,l){var d=this;return(0,_.A)(function*(){try{console.log(n);const o=(0,c.H9)(d.firestore,"teams",l,"products",n.productObjective);return yield(0,c.BN)(o,n),!0}catch(o){return console.log(o),!1}})()}getProducts(n){var l=this;return(0,_.A)(function*(){try{const d=(0,c.rJ)(l.firestore,"teams",n,"products");return(yield(0,c.GG)(d)).docs.map(u=>u.data())}catch(d){return console.log(d),[]}})()}}return(t=s).\u0275fac=function(n){return new(n||t)(a.KVO(c._7))},t.\u0275prov=a.jDH({token:t,factory:t.\u0275fac,providedIn:"root"}),s})()}}]);
\ No newline at end of file
+"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[2076],{1263:(y,f,i)=>{i.d(f,{c:()=>r});var _=i(9672),a=i(1086),c=i(8607);const r=(n,s)=>{let e,t;const l=(u,p,E)=>{if(typeof document>"u")return;const w=document.elementFromPoint(u,p);w&&s(w)&&!w.disabled?w!==e&&(o(),d(w,E)):o()},d=(u,p)=>{e=u,t||(t=e);const E=e;(0,_.w)(()=>E.classList.add("ion-activated")),p()},o=(u=!1)=>{if(!e)return;const p=e;(0,_.w)(()=>p.classList.remove("ion-activated")),u&&t!==e&&e.click(),e=void 0};return(0,c.createGesture)({el:n,gestureName:"buttonActiveDrag",threshold:0,onStart:u=>l(u.currentX,u.currentY,a.a),onMove:u=>l(u.currentX,u.currentY,a.b),onEnd:()=>{o(!0),(0,a.h)(),t=void 0}})}},8438:(y,f,i)=>{i.d(f,{g:()=>a});var _=i(8476);const a=()=>{if(void 0!==_.w)return _.w.Capacitor}},5572:(y,f,i)=>{i.d(f,{c:()=>_,i:()=>a});const _=(c,r,n)=>"function"==typeof n?n(c,r):"string"==typeof n?c[n]===r[n]:Array.isArray(r)?r.includes(c):c===r,a=(c,r,n)=>void 0!==c&&(Array.isArray(c)?c.some(s=>_(s,r,n)):_(c,r,n))},3351:(y,f,i)=>{i.d(f,{g:()=>_});const _=(s,e,t,l,d)=>c(s[1],e[1],t[1],l[1],d).map(o=>a(s[0],e[0],t[0],l[0],o)),a=(s,e,t,l,d)=>d*(3*e*Math.pow(d-1,2)+d*(-3*t*d+3*t+l*d))-s*Math.pow(d-1,3),c=(s,e,t,l,d)=>n((l-=d)-3*(t-=d)+3*(e-=d)-(s-=d),3*t-6*e+3*s,3*e-3*s,s).filter(u=>u>=0&&u<=1),n=(s,e,t,l)=>{if(0===s)return((s,e,t)=>{const l=e*e-4*s*t;return l<0?[]:[(-e+Math.sqrt(l))/(2*s),(-e-Math.sqrt(l))/(2*s)]})(e,t,l);const d=(3*(t/=s)-(e/=s)*e)/3,o=(2*e*e*e-9*e*t+27*(l/=s))/27;if(0===d)return[Math.pow(-o,1/3)];if(0===o)return[Math.sqrt(-d),-Math.sqrt(-d)];const u=Math.pow(o/2,2)+Math.pow(d/3,3);if(0===u)return[Math.pow(o/2,.5)-e/3];if(u>0)return[Math.pow(-o/2+Math.sqrt(u),1/3)-Math.pow(o/2+Math.sqrt(u),1/3)-e/3];const p=Math.sqrt(Math.pow(-d/3,3)),E=Math.acos(-o/(2*Math.sqrt(Math.pow(-d/3,3)))),w=2*Math.pow(p,1/3);return[w*Math.cos(E/3)-e/3,w*Math.cos((E+2*Math.PI)/3)-e/3,w*Math.cos((E+4*Math.PI)/3)-e/3]}},5083:(y,f,i)=>{i.d(f,{i:()=>_});const _=a=>a&&""!==a.dir?"rtl"===a.dir.toLowerCase():"rtl"===(null==document?void 0:document.dir.toLowerCase())},3126:(y,f,i)=>{i.r(f),i.d(f,{startFocusVisible:()=>r});const _="ion-focused",c=["Tab","ArrowDown","Space","Escape"," ","Shift","Enter","ArrowLeft","ArrowRight","ArrowUp","Home","End"],r=n=>{let s=[],e=!0;const t=n?n.shadowRoot:document,l=n||document.body,d=M=>{s.forEach(h=>h.classList.remove(_)),M.forEach(h=>h.classList.add(_)),s=M},o=()=>{e=!1,d([])},u=M=>{e=c.includes(M.key),e||d([])},p=M=>{if(e&&void 0!==M.composedPath){const h=M.composedPath().filter(g=>!!g.classList&&g.classList.contains("ion-focusable"));d(h)}},E=()=>{t.activeElement===l&&d([])};return t.addEventListener("keydown",u),t.addEventListener("focusin",p),t.addEventListener("focusout",E),t.addEventListener("touchstart",o,{passive:!0}),t.addEventListener("mousedown",o),{destroy:()=>{t.removeEventListener("keydown",u),t.removeEventListener("focusin",p),t.removeEventListener("focusout",E),t.removeEventListener("touchstart",o),t.removeEventListener("mousedown",o)},setFocus:d}}},1086:(y,f,i)=>{i.d(f,{I:()=>a,a:()=>e,b:()=>t,c:()=>s,d:()=>d,h:()=>l});var _=i(8438),a=function(o){return o.Heavy="HEAVY",o.Medium="MEDIUM",o.Light="LIGHT",o}(a||{});const r={getEngine(){const o=(0,_.g)();if(null!=o&&o.isPluginAvailable("Haptics"))return o.Plugins.Haptics},available(){if(!this.getEngine())return!1;const u=(0,_.g)();return"web"!==(null==u?void 0:u.getPlatform())||typeof navigator<"u"&&void 0!==navigator.vibrate},impact(o){const u=this.getEngine();u&&u.impact({style:o.style})},notification(o){const u=this.getEngine();u&&u.notification({type:o.type})},selection(){this.impact({style:a.Light})},selectionStart(){const o=this.getEngine();o&&o.selectionStart()},selectionChanged(){const o=this.getEngine();o&&o.selectionChanged()},selectionEnd(){const o=this.getEngine();o&&o.selectionEnd()}},n=()=>r.available(),s=()=>{n()&&r.selection()},e=()=>{n()&&r.selectionStart()},t=()=>{n()&&r.selectionChanged()},l=()=>{n()&&r.selectionEnd()},d=o=>{n()&&r.impact(o)}},909:(y,f,i)=>{i.d(f,{I:()=>s,a:()=>d,b:()=>n,c:()=>p,d:()=>w,f:()=>o,g:()=>l,i:()=>t,p:()=>E,r:()=>M,s:()=>u});var _=i(467),a=i(4920),c=i(4929);const n="ion-content",s=".ion-content-scroll-host",e=`${n}, ${s}`,t=h=>"ION-CONTENT"===h.tagName,l=function(){var h=(0,_.A)(function*(g){return t(g)?(yield new Promise(m=>(0,a.c)(g,m)),g.getScrollElement()):g});return function(m){return h.apply(this,arguments)}}(),d=h=>h.querySelector(s)||h.querySelector(e),o=h=>h.closest(e),u=(h,g)=>t(h)?h.scrollToTop(g):Promise.resolve(h.scrollTo({top:0,left:0,behavior:g>0?"smooth":"auto"})),p=(h,g,m,O)=>t(h)?h.scrollByPoint(g,m,O):Promise.resolve(h.scrollBy({top:m,left:g,behavior:O>0?"smooth":"auto"})),E=h=>(0,c.b)(h,n),w=h=>{if(t(h)){const m=h.scrollY;return h.scrollY=!1,m}return h.style.setProperty("overflow","hidden"),!0},M=(h,g)=>{t(h)?h.scrollY=g:h.style.removeProperty("overflow")}},3992:(y,f,i)=>{i.d(f,{a:()=>_,b:()=>p,c:()=>e,d:()=>E,e:()=>P,f:()=>s,g:()=>w,h:()=>c,i:()=>a,j:()=>v,k:()=>C,l:()=>t,m:()=>o,n:()=>M,o:()=>d,p:()=>n,q:()=>r,r:()=>D,s:()=>L,t:()=>u,u:()=>m,v:()=>O,w:()=>l,x:()=>h,y:()=>g});const _="data:image/svg+xml;utf8,",a="data:image/svg+xml;utf8,",c="data:image/svg+xml;utf8,",r="data:image/svg+xml;utf8,",n="data:image/svg+xml;utf8,",s="data:image/svg+xml;utf8,",e="data:image/svg+xml;utf8,",t="data:image/svg+xml;utf8,",l="data:image/svg+xml;utf8,",d="data:image/svg+xml;utf8,",o="data:image/svg+xml;utf8,",u="data:image/svg+xml;utf8,",p="data:image/svg+xml;utf8,",E="data:image/svg+xml;utf8,",w="data:image/svg+xml;utf8,",M="data:image/svg+xml;utf8,",h="data:image/svg+xml;utf8,",g="data:image/svg+xml;utf8,",m="data:image/svg+xml;utf8,",O="data:image/svg+xml;utf8,",D="data:image/svg+xml;utf8,",v="data:image/svg+xml;utf8,",C="data:image/svg+xml;utf8,",L="data:image/svg+xml;utf8,",P="data:image/svg+xml;utf8,"},243:(y,f,i)=>{i.d(f,{c:()=>r,g:()=>n});var _=i(8476),a=i(4920),c=i(4929);const r=(e,t,l)=>{let d,o;if(void 0!==_.w&&"MutationObserver"in _.w){const w=Array.isArray(t)?t:[t];d=new MutationObserver(M=>{for(const h of M)for(const g of h.addedNodes)if(g.nodeType===Node.ELEMENT_NODE&&w.includes(g.slot))return l(),void(0,a.r)(()=>u(g))}),d.observe(e,{childList:!0,subtree:!0})}const u=w=>{var M;o&&(o.disconnect(),o=void 0),o=new MutationObserver(h=>{l();for(const g of h)for(const m of g.removedNodes)m.nodeType===Node.ELEMENT_NODE&&m.slot===t&&E()}),o.observe(null!==(M=w.parentElement)&&void 0!==M?M:w,{subtree:!0,childList:!0})},E=()=>{o&&(o.disconnect(),o=void 0)};return{destroy:()=>{d&&(d.disconnect(),d=void 0),E()}}},n=(e,t,l)=>{const d=null==e?0:e.toString().length,o=s(d,t);if(void 0===l)return o;try{return l(d,t)}catch(u){return(0,c.a)("Exception in provided `counterFormatter`.",u),o}},s=(e,t)=>`${e} / ${t}`},1622:(y,f,i)=>{i.r(f),i.d(f,{KEYBOARD_DID_CLOSE:()=>n,KEYBOARD_DID_OPEN:()=>r,copyVisualViewport:()=>D,keyboardDidClose:()=>h,keyboardDidOpen:()=>w,keyboardDidResize:()=>M,resetKeyboardAssist:()=>d,setKeyboardClose:()=>E,setKeyboardOpen:()=>p,startKeyboardAssist:()=>o,trackViewportChanges:()=>O});var _=i(4379);i(8438),i(8476);const r="ionKeyboardDidShow",n="ionKeyboardDidHide";let e={},t={},l=!1;const d=()=>{e={},t={},l=!1},o=v=>{if(_.K.getEngine())u(v);else{if(!v.visualViewport)return;t=D(v.visualViewport),v.visualViewport.onresize=()=>{O(v),w()||M(v)?p(v):h(v)&&E(v)}}},u=v=>{v.addEventListener("keyboardDidShow",C=>p(v,C)),v.addEventListener("keyboardDidHide",()=>E(v))},p=(v,C)=>{g(v,C),l=!0},E=v=>{m(v),l=!1},w=()=>!l&&e.width===t.width&&(e.height-t.height)*t.scale>150,M=v=>l&&!h(v),h=v=>l&&t.height===v.innerHeight,g=(v,C)=>{const P=new CustomEvent(r,{detail:{keyboardHeight:C?C.keyboardHeight:v.innerHeight-t.height}});v.dispatchEvent(P)},m=v=>{const C=new CustomEvent(n);v.dispatchEvent(C)},O=v=>{e=Object.assign({},t),t=D(v.visualViewport)},D=v=>({width:Math.round(v.width),height:Math.round(v.height),offsetTop:v.offsetTop,offsetLeft:v.offsetLeft,pageTop:v.pageTop,pageLeft:v.pageLeft,scale:v.scale})},4379:(y,f,i)=>{i.d(f,{K:()=>r,a:()=>c});var _=i(8438),a=function(n){return n.Unimplemented="UNIMPLEMENTED",n.Unavailable="UNAVAILABLE",n}(a||{}),c=function(n){return n.Body="body",n.Ionic="ionic",n.Native="native",n.None="none",n}(c||{});const r={getEngine(){const n=(0,_.g)();if(null!=n&&n.isPluginAvailable("Keyboard"))return n.Plugins.Keyboard},getResizeMode(){const n=this.getEngine();return null!=n&&n.getResizeMode?n.getResizeMode().catch(s=>{if(s.code!==a.Unimplemented)throw s}):Promise.resolve(void 0)}}},4731:(y,f,i)=>{i.d(f,{c:()=>s});var _=i(467),a=i(8476),c=i(4379);const r=e=>{if(void 0===a.d||e===c.a.None||void 0===e)return null;const t=a.d.querySelector("ion-app");return null!=t?t:a.d.body},n=e=>{const t=r(e);return null===t?0:t.clientHeight},s=function(){var e=(0,_.A)(function*(t){let l,d,o,u;const p=function(){var g=(0,_.A)(function*(){const m=yield c.K.getResizeMode(),O=void 0===m?void 0:m.mode;l=()=>{void 0===u&&(u=n(O)),o=!0,E(o,O)},d=()=>{o=!1,E(o,O)},null==a.w||a.w.addEventListener("keyboardWillShow",l),null==a.w||a.w.addEventListener("keyboardWillHide",d)});return function(){return g.apply(this,arguments)}}(),E=(g,m)=>{t&&t(g,w(m))},w=g=>{if(0===u||u===n(g))return;const m=r(g);return null!==m?new Promise(O=>{const v=new ResizeObserver(()=>{m.clientHeight===u&&(v.disconnect(),O())});v.observe(m)}):void 0};return yield p(),{init:p,destroy:()=>{null==a.w||a.w.removeEventListener("keyboardWillShow",l),null==a.w||a.w.removeEventListener("keyboardWillHide",d),l=d=void 0},isKeyboardVisible:()=>o}});return function(l){return e.apply(this,arguments)}}()},7838:(y,f,i)=>{i.d(f,{c:()=>a});var _=i(467);const a=()=>{let c;return{lock:function(){var n=(0,_.A)(function*(){const s=c;let e;return c=new Promise(t=>e=t),void 0!==s&&(yield s),e});return function(){return n.apply(this,arguments)}}()}}},9001:(y,f,i)=>{i.d(f,{c:()=>c});var _=i(8476),a=i(4920);const c=(r,n,s)=>{let e;const t=()=>!(void 0===n()||void 0!==r.label||null===s()),d=()=>{const u=n();if(void 0===u)return;if(!t())return void u.style.removeProperty("width");const p=s().scrollWidth;if(0===p&&null===u.offsetParent&&void 0!==_.w&&"IntersectionObserver"in _.w){if(void 0!==e)return;const E=e=new IntersectionObserver(w=>{1===w[0].intersectionRatio&&(d(),E.disconnect(),e=void 0)},{threshold:.01,root:r});E.observe(u)}else u.style.setProperty("width",.75*p+"px")};return{calculateNotchWidth:()=>{t()&&(0,a.r)(()=>{d()})},destroy:()=>{e&&(e.disconnect(),e=void 0)}}}},7895:(y,f,i)=>{i.d(f,{S:()=>a});const a={bubbles:{dur:1e3,circles:9,fn:(c,r,n)=>{const s=c*r/n-c+"ms",e=2*Math.PI*r/n;return{r:5,style:{top:32*Math.sin(e)+"%",left:32*Math.cos(e)+"%","animation-delay":s}}}},circles:{dur:1e3,circles:8,fn:(c,r,n)=>{const s=r/n,e=c*s-c+"ms",t=2*Math.PI*s;return{r:5,style:{top:32*Math.sin(t)+"%",left:32*Math.cos(t)+"%","animation-delay":e}}}},circular:{dur:1400,elmDuration:!0,circles:1,fn:()=>({r:20,cx:48,cy:48,fill:"none",viewBox:"24 24 48 48",transform:"translate(0,0)",style:{}})},crescent:{dur:750,circles:1,fn:()=>({r:26,style:{}})},dots:{dur:750,circles:3,fn:(c,r)=>({r:6,style:{left:32-32*r+"%","animation-delay":-110*r+"ms"}})},lines:{dur:1e3,lines:8,fn:(c,r,n)=>({y1:14,y2:26,style:{transform:`rotate(${360/n*r+(r({y1:12,y2:20,style:{transform:`rotate(${360/n*r+(r({y1:17,y2:29,style:{transform:`rotate(${30*r+(r<6?180:-180)}deg)`,"animation-delay":c*r/n-c+"ms"}})},"lines-sharp-small":{dur:1e3,lines:12,fn:(c,r,n)=>({y1:12,y2:20,style:{transform:`rotate(${30*r+(r<6?180:-180)}deg)`,"animation-delay":c*r/n-c+"ms"}})}}},7166:(y,f,i)=>{i.r(f),i.d(f,{createSwipeBackGesture:()=>n});var _=i(4920),a=i(5083),c=i(8607);i(1970);const n=(s,e,t,l,d)=>{const o=s.ownerDocument.defaultView;let u=(0,a.i)(s);const E=m=>u?-m.deltaX:m.deltaX;return(0,c.createGesture)({el:s,gestureName:"goback-swipe",gesturePriority:101,threshold:10,canStart:m=>(u=(0,a.i)(s),(m=>{const{startX:D}=m;return u?D>=o.innerWidth-50:D<=50})(m)&&e()),onStart:t,onMove:m=>{const D=E(m)/o.innerWidth;l(D)},onEnd:m=>{const O=E(m),D=o.innerWidth,v=O/D,C=(m=>u?-m.velocityX:m.velocityX)(m),P=C>=0&&(C>.2||O>D/2),A=(P?1-v:v)*D;let B=0;if(A>5){const T=A/Math.abs(C);B=Math.min(T,540)}d(P,v<=0?.01:(0,_.j)(0,v,.9999),B)}})}},2935:(y,f,i)=>{i.d(f,{w:()=>_});const _=(r,n,s)=>{if(typeof MutationObserver>"u")return;const e=new MutationObserver(t=>{s(a(t,n))});return e.observe(r,{childList:!0,subtree:!0}),e},a=(r,n)=>{let s;return r.forEach(e=>{for(let t=0;t{if(1!==r.nodeType)return;const s=r;return(s.tagName===n.toUpperCase()?[s]:Array.from(s.querySelectorAll(n))).find(t=>t.value===s.value)}},5553:(y,f,i)=>{i.d(f,{h:()=>r});var _=i(177),a=i(7863),c=i(4438);let r=(()=>{var n;class s{}return(n=s).\u0275fac=function(t){return new(t||n)},n.\u0275mod=c.$C({type:n}),n.\u0275inj=c.G2t({imports:[_.MD,a.bv]}),s})()},385:(y,f,i)=>{i.d(f,{l:()=>c});var _=i(4438),a=i(7863);let c=(()=>{var r;class n{constructor(){this.title="Header Title"}ngOnInit(){}}return(r=n).\u0275fac=function(e){return new(e||r)},r.\u0275cmp=_.VBU({type:r,selectors:[["app-header"]],inputs:{title:"title"},decls:5,vars:2,consts:[[3,"translucent"],["slot","start","menu","menu-id"]],template:function(e,t){1&e&&(_.j41(0,"ion-header",0)(1,"ion-toolbar"),_.nrm(2,"ion-menu-button",1),_.j41(3,"ion-title"),_.EFF(4),_.k0s()()()),2&e&&(_.Y8G("translucent",!0),_.R7$(4),_.JRh(t.title))},dependencies:[a.eU,a.MC,a.BC,a.ai]}),n})()},8453:(y,f,i)=>{i.d(f,{W:()=>c});var _=i(4438),a=i(7863);let c=(()=>{var r;class n{constructor(){this.title="Title"}ngOnInit(){}}return(r=n).\u0275fac=function(e){return new(e||r)},r.\u0275cmp=_.VBU({type:r,selectors:[["app-title"]],inputs:{title:"title"},decls:4,vars:1,consts:[[1,"lg:m-10"],["size","12","size-md","6","size-lg","6"],[1,"text-4xl","lg:text-6xl","font-bold"]],template:function(e,t){1&e&&(_.j41(0,"ion-row",0)(1,"ion-col",1)(2,"h1",2),_.EFF(3),_.k0s()()()),2&e&&(_.R7$(3),_.JRh(t.title))},dependencies:[a.hU,a.ln]}),n})()},4796:(y,f,i)=>{i.d(f,{u:()=>n});var _=i(467),a=i(8737),c=i(4262),r=i(4438);let n=(()=>{var s;class e{constructor(l,d){this.auth=l,this.firestore=d}registerUser(l){var d=this;return(0,_.A)(function*(){try{const o=yield(0,a.eJ)(d.auth,l.email,l.password);return o.user?(yield(0,c.BN)((0,c.H9)(d.firestore,"users",o.user.uid),{email:l.email,name:l.name,orgName:l.orgName,uid:o.user.uid}),yield(0,c.BN)((0,c.H9)(d.firestore,"teams",`${l.orgName}`),{name:l.orgName,members:[o.user.uid]}),o):null}catch{return null}})()}loginUser(l){var d=this;return(0,_.A)(function*(){try{var o;const u=yield(0,a.x9)(d.auth,l.email,l.password);if(null!==(o=u.user)&&void 0!==o&&o.uid){const p=yield(0,c.x7)((0,c.H9)(d.firestore,"users",u.user.uid));if(p.exists())return localStorage.setItem("user",JSON.stringify(p.data())),u}}catch(u){console.error(u)}return null})()}logoutUser(){var l=this;return(0,_.A)(function*(){yield l.auth.signOut()})()}addMember(l){var d=this;return(0,_.A)(function*(){try{const o=yield(0,a.eJ)(d.auth,l.email,l.password);if(!o.user)return!1;const u={email:l.email,name:l.name,orgName:l.orgName,uid:o.user.uid};return yield(0,c.BN)((0,c.H9)(d.firestore,"users",o.user.uid),u),u}catch{return!1}})()}}return(s=e).\u0275fac=function(l){return new(l||s)(r.KVO(a.Nj),r.KVO(c._7))},s.\u0275prov=r.jDH({token:s,factory:s.\u0275fac,providedIn:"root"}),e})()},6241:(y,f,i)=>{i.d(f,{b:()=>r});var _=i(467),a=i(4262),c=i(4438);let r=(()=>{var n;class s{constructor(t){this.firestore=t}addProduct(t,l){var d=this;return(0,_.A)(function*(){try{console.log(t);const o=(0,a.H9)(d.firestore,"teams",l,"products",t.productObjective);return yield(0,a.BN)(o,t),!0}catch(o){return console.log(o),!1}})()}getProducts(t){var l=this;return(0,_.A)(function*(){try{const d=(0,a.rJ)(l.firestore,"teams",t,"products");return(yield(0,a.GG)(d)).docs.map(u=>u.data())}catch(d){return console.log(d),[]}})()}removeProduct(t,l){var d=this;return(0,_.A)(function*(){try{const o=(0,a.H9)(d.firestore,"teams",t,"products",l);return yield(0,a.kd)(o),!0}catch(o){return console.log(o),!1}})()}}return(n=s).\u0275fac=function(t){return new(t||n)(c.KVO(a._7))},n.\u0275prov=c.jDH({token:n,factory:n.\u0275fac,providedIn:"root"}),s})()}}]);
\ No newline at end of file
diff --git a/www/index.html b/www/index.html
index b42c2dc..28cc558 100644
--- a/www/index.html
+++ b/www/index.html
@@ -21,6 +21,6 @@
-
+