1(this["webpackJsonpdressage-spa"]=this["webpackJsonpdressage-spa"]||[]).push([[0],{106:function(e,t,n){"use strict";n(0),n(10),n(38),n(2)},113:function(e,t,n){},115:function(e,t,n){},148:function(e,t,n){"use strict";n.r(t);var c=n(0),a=n.n(c),r=n(29),s=n.n(r),i=(n(113),n(114),n(115),n(71)),o=n(72),l=n(84),j=n(82),d=n(12),u=n(31),b=n(14),h=n(9),O=n(182),x=n(183),m=n(165),g=n(38),f=n(2),p=function(){var e=a.a.useState({}),t=Object(b.a)(e,2),n=t[0],c=t[1];return Object(f.jsx)("div",{className:"col-12 col-md-8 mx-auto fill-height",children:Object(f.jsxs)(h.a,{pad:"medium",children:[Object(f.jsx)("h2",{children:"Log In"}),Object(f.jsxs)(O.a,{value:n,onChange:function(e){return c(e)},onReset:function(){return c({})},onSubmit:function(e){e.value},children:[Object(f.jsx)(x.a,{name:"email",htmlFor:"text-input-id",label:"Email",children:Object(f.jsx)(m.a,{id:"text-input-id",name:"email"})}),Object(f.jsx)(x.a,{name:"password",htmlFor:"text-input-id",label:"Password",children:Object(f.jsx)(m.a,{id:"text-input-id",name:"password",type:"password"})}),Object(f.jsxs)(h.a,{direction:"row",gap:"medium",children:[Object(f.jsx)(g.a,{type:"submit",primary:!0,label:"Submit"}),Object(f.jsx)(g.a,{type:"reset",label:"Reset"})]})]})]})})},v=n(197),k=n(198),w=n(10),y=(n(25),n(36),function(){var e=Object(w.b)().user,t=e["https://dressage-tests.herokuapp.com/roles"];return console.log(e),Object(f.jsx)("div",{className:"fill-height",children:Object(f.jsxs)("div",{className:"container-fluid",children:[Object(f.jsxs)("div",{className:"row",children:[Object(f.jsx)("div",{className:"col align-self-center",style:{maxWidth:"130px",minWidth:"110px"},children:Object(f.jsx)(v.a,{src:e.picture,size:"xlarge"})}),Object(f.jsxs)("div",{className:"col",children:[Object(f.jsx)("strong",{children:"Nickname"}),": ",e.nickname," ",Object(f.jsx)("br",{}),Object(f.jsx)("strong",{children:"Name"}),": ",e.name," ",Object(f.jsx)("br",{}),Object(f.jsx)("strong",{children:"Email"}),": ",e.email," ",Object(f.jsx)("br",{}),Object(f.jsx)("strong",{children:"User ID"}),": ",e.sub," ",Object(f.jsx)("br",{}),t?"You are an ".concat(t):"",t.includes("Admin")&&Object(f.jsx)(k.a,{children:" Go here to the Admin Site "})]})]}),Object(f.jsxs)("p",{children:["Sorry, you cannot yet change your profile info. It is planned for the future."," "]}),Object(f.jsxs)("p",{children:['To change your password (if you are not logged in via Google or Facebook), log out, click log in and click "forget your password". Authorization and authentication is handled by'," ",Object(f.jsx)(k.a,{href:"https://auth0.com/Auth0",target:"_blank",rel:"noreferrer",children:"Auth0."})]})]})})}),C=n(42),F=n(101),N=n(49),S=function(e){var t=e.component,n=Object(F.a)(e,["component"]);return Object(f.jsx)(d.a,Object(C.a)({component:Object(w.c)(t,{onRedirecting:function(){return Object(f.jsx)(N.a,{})}})},n))},z=n(40),I=n(167),T=n(158),A=n(156),_=n(68),B=n(77),M=n(69),L=function(){return Object(f.jsx)("p",{children:'You have no favourites. Click on "Favourite" when viewing a test to add some.'})},D=function(){var e=Object(w.b)().user,t=Object(c.useState)([]),n=Object(b.a)(t,2),a=n[0],r=n[1],s=Object(c.useState)(!1),i=Object(b.a)(s,2),o=i[0],l=i[1],j=Object(c.useState)("hello"),d=Object(b.a)(j,2),u=d[0],O=d[1],x=Object(c.useState)(""),m=Object(b.a)(x,2),g=m[0],p=m[1],v=Object(c.useContext)(z.a),k=(v.isFaved,v.setIsFaved,v.favId),y=(v.setFavId,v.DeleteFavourite);v.CreateFavourite;Object(c.useEffect)((function(){_.b.getAllByUser(e.sub).then((function(e){r(e)})).catch((function(e){console.log(e)}))}),[k]),console.log("fav page",a,k);var F=function(e,t){l(!0),O(e),p(t),setTimeout((function(){l(!1)}),3e3)};return Object(f.jsxs)("div",{className:"fill-height container-fluid mb-3",children:[Object(f.jsx)(M.a,{message:u,open:o,onClose:function(){return l(!1)},icon:g}),Object(f.jsxs)(I.a,{level:2,children:[" ",Object(f.jsx)(A.a,{})," Favourited Tests"]}),0===a.length?Object(f.jsx)(L,{}):Object(f.jsxs)(h.a,{pad:{horizontal:"medium"},children:[Object(f.jsx)("p",{children:"To add a test, click the star button on a test."}),a.map((function(e){return Object(f.jsx)("div",{children:Object(f.jsx)(B.a,Object(C.a)(Object(C.a)({deleteHandler:function(){return t=e.fav_id,F("Favourite deleting!",Object(f.jsx)(T.a,{size:"large"})),void y(t);var t},full_name:(t=e.short_org_name,n=e.test.year,c=e.test.level,a=e.test.name,t+" "+n.toString()+" "+c+" "+a)},e.test),{},{deleteButton:!0}),e.fav_id)});var t,n,c,a}))]})]})},E=Object(u.a)((function(){return n.e(5).then(n.bind(null,263))})),J=Object(u.a)((function(){return Promise.all([n.e(3),n.e(12)]).then(n.bind(null,261))})),P=Object(u.a)((function(){return n.e(8).then(n.bind(null,252))})),U=Object(u.a)((function(){return n.e(7).then(n.bind(null,253))})),R=Object(u.a)((function(){return n.e(9).then(n.bind(null,264))})),W=Object(u.a)((function(){return n.e(11).then(n.bind(null,254))})),H=function(e){Object(l.a)(n,e);var t=Object(j.a)(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(o.a)(n,[{key:"render",value:function(){return Object(f.jsxs)(d.c,{
1children:[Object(f.jsx)(S,{path:"/profile",component:y}),Object(f.jsx)(S,{path:"/favourited-tests",component:D}),Object(f.jsx)(d.a,{exact:!0,path:"/about",children:Object(f.jsx)(P,{})}),Object(f.jsx)(d.a,{exact:!0,path:"/login",children:Object(f.jsx)(p,{})}),Object(f.jsx)(d.a,{exact:!0,path:"/roadmap",children:Object(f.jsx)(W,{})}),Object(f.jsx)(d.a,{exact:!0,path:"/settings",children:Object(f.jsx)(R,{})}),Object(f.jsx)(d.a,{path:"/tests/:id",children:Object(f.jsx)(J,{})}),Object(f.jsx)(d.a,{path:["/tests","/"],children:Object(f.jsx)(E,{})}),Object(f.jsx)(d.a,{component:U})]})}}]),n}(c.Component),Y=n(155),G=n(152),Z=n(187),Q=n(191),q=n(78),K=Object(c.createContext)(),V=function(e){var t=e.children,n=Object(c.useState)(!1),a=Object(b.a)(n,2),r=a[0],s=a[1];return Object(f.jsx)(K.Provider,{value:{isOpen:r,setIsOpen:s,openMenu:function(){s(!0)},closeMenu:function(){s(!1)}},children:t})},$=n(22),X=n(21),ee=function(e){var t=e.url,n=e.label,c=(e.color,e.style);return Object(f.jsx)(X.c,{to:t,exact:!0,className:"nav-link ".concat(c),activeClassName:"nav-link-current",children:Object(f.jsx)($.a,{as:"span",size:"24px",className:"nav-link",color:"light-1",weight:"bold",children:n})})},te=n(79),ne=(n(106),n(188)),ce=n(189),ae=n(190),re=function(){var e=Object(w.b)(),t=e.user,n=e.logout;return Object(f.jsx)("div",{children:Object(f.jsx)(Z.a,{pad:"xsmall",label:Object(f.jsxs)(h.a,{direction:"row",justifyContent:"center",children:[Object(f.jsx)(v.a,{src:t.picture,size:"35px",margin:"xsmall"}),Object(f.jsx)("div",{style:{alignSelf:"center"},children:t.nickname})]}),items:[{icon:Object(f.jsx)(h.a,{margin:"xsmall",children:Object(f.jsx)(A.a,{})}),label:"Favourited List",href:"/favourited-tests"},{icon:Object(f.jsx)(h.a,{margin:"xsmall",children:Object(f.jsx)(ne.a,{})}),label:"Profile",href:"/profile"},{icon:Object(f.jsx)(h.a,{margin:"xsmall",children:Object(f.jsx)(ce.a,{})}),label:"Settings",href:"/settings"},{icon:Object(f.jsx)(h.a,{margin:"xsmall",children:Object(f.jsx)(ae.a,{})}),label:"Logout",onClick:function(){return n({returnTo:window.location.origin})}}]})})},se=function(){var e=Object(w.b)().isAuthenticated;return console.log("logged in?",e),e?Object(f.jsx)(re,{}):Object(f.jsx)(te.a,{})},ie=function(){var e=Object(c.useState)(!1),t=Object(b.a)(e,2),n=t[0],a=(t[1],Object(c.useContext)(K)),r=(a.setIsOpen,a.openMenu);a.closeMenu;return Object(f.jsx)("div",{className:"navbar ".concat(n?"sticky-nav":"heading"),children:Object(f.jsxs)(Y.a,{pad:"".concat(n?"none":"medium"),height:"".concat(n?"xxsmall":"xsmall"),background:"brand",children:[Object(f.jsx)(h.a,{direction:"row",align:"center",gap:"small",children:Object(f.jsx)("h3",{children:"Dressage Tests"})}),Object(f.jsxs)(h.a,{direction:"row",children:[Object(f.jsx)(G.a.Consumer,{children:function(e){return"small"===e?Object(f.jsx)(Z.a,{label:"Menu",items:[{label:"Arena",onClick:r},{label:"Tests",href:"/"},{label:"About",href:"/about"}]}):Object(f.jsxs)(Q.a,{direction:"row",align:"center",children:[Object(f.jsx)(ee,{color:"light-1",label:"About",url:"/about"}),Object(f.jsx)(ee,{color:"light-1",label:"Roadmap",url:"/roadmap"}),Object(f.jsx)(ee,{color:"light-1",label:"Tests",url:"/"}),Object(f.jsx)(se,{}),Object(f.jsx)(g.a,{onClick:r,label:"Arena"})]})}}),Object(f.jsx)(Q.a,{direction:"row",margin:{left:"medium"},align:"center",children:Object(f.jsx)(q.a,{})})]})]})})},oe=ie,le=n(192),je=n(193),de=n(194),ue=n(195),be=n(196),he=(n(131),function(e){return Object(f.jsx)(le.a,{background:"brand",pad:"medium",children:Object(f.jsxs)("div",{className:"row mx-auto",children:[Object(f.jsx)("div",{className:"col-lg-6 col-12",children:Object(f.jsx)(h.a,{margin:"medium",children:Object(f.jsxs)($.a,{color:"",children:["Site by"," ",Object(f.jsx)(k.a,{href:"http://jenniferchow.ca",target:"_open",label:"Jennifer Chow"}),". Tests copyright of their copyright holders."]})})}),Object(f.jsx)("div",{className:"col-lg-4 col-6",children:Object(f.jsx)(h.a,{margin:"medium",children:Object(f.jsxs)($.a,{size:"small",children:["Complain or compliment here. ",Object(f.jsx)("br",{}),"Dressage Test Admin ",Object(f.jsx)("br",{}),"Site Copy Admin"]})})}),Object(f.jsx)("div",{className:"col-lg-2 col-6",children:Object(f.jsxs)(h.a,{direction:"row",justify:"end",margin:"medium",children:[Object(f.jsx)("a",{href:"https://www.facebook.com/jennego",rel:"noreferrer",target:"_blank",className:"social-share m-1",children:Object(f.jsx)(je.a,{})}),Object(f.jsx)("a",{href:"https://www.instagram.com/thejennego",rel:"noreferrer",target:"_blank",className:"social-share m-1",children:Object(f.jsx)(de.a,{})}),Object(f.jsx)("a",{href:"https://www.linkedin.com/in/jennego/",rel:"noreferrer",target:"_blank",className:"social-share m-1",children:Object(f.jsx)(ue.a,{})}
1),Object(f.jsx)("a",{href:"https://github.com/jennego/dressage-spa",rel:"noreferrer",target:"_blank",className:"social-share m-1",children:Object(f.jsx)(be.a,{})})]})})]})})}),Oe=n(201),xe=n(34),me=n(100),ge=n(199),fe=n(200),pe=n.p+"static/media/SMALL.f33bf055.svg",ve={bmBurgerBars:{background:"#373a47"},bmBurgerBarsHover:{background:"#a90000"},bmCrossButton:{height:"24px",width:"24px"},bmCross:{background:"#bdc3c7"},bmMenu:{background:"brand"},bmMorphShape:{fill:"#373a47"},bmItemList:{padding:"0"}},ke=function(){var e=Object(c.useContext)(K),t=e.closeMenu,n=e.openMenu,a=e.isOpen;return Object(f.jsx)(me.slide,{noOverlay:!0,styles:ve,customBurgerIcon:!1,onOpen:function(){n()},onClose:function(){t()},right:!0,isOpen:a,children:Object(f.jsxs)(h.a,{background:"slide",fill:"vertical",pad:"small",children:[Object(f.jsxs)(ge.a,{pad:"none",children:[Object(f.jsxs)(fe.a,{title:"Small",children:["20m x 40m",Object(f.jsx)("div",{style:{objectFit:"contain"},children:Object(f.jsx)("img",{src:pe,style:{width:"280px",backgroundColor:"white"},alt:"20x30 arena"})})]}),Object(f.jsxs)(fe.a,{title:"Large",children:["20x60",Object(f.jsx)("br",{}),"Coming later."]})]}),console.log("menu toggle",a)]})})},we={button:{padding:{horizontal:"13px"},size:{small:{border:{radius:"6px",size:"xsmall"},pad:{horizontal:"10px"}}}},global:{background:"background",font:{family:"Poppins",size:"20px",height:"normal",color:"font"},focus:{border:{color:"accent-1",width:"2px"}},tip:{content:{background:"black",text:"medium"}},hover:{background:{color:"hoverBackground",opacity:"strong"}},colors:{background:{light:"#d4d4d4",dark:"#000"},font:{light:"#000",dark:"#fff"},text:{light:"#000",dark:"#fff"},brand:{light:"#6939a8",dark:"#7b46c2"},focus:{light:"#7c38d6",dark:"#9857fa"},surface:{light:"light-1",dark:"dark-1"},slide:{light:"light-3",dark:"dark-1"},accentSubtle:{light:"light-2",dark:"dark-2"},hoverBackground:{light:"light-4",dark:"dark-2"}}}},ye=function(e){var t=e.children,n=Object(d.f)();return Object(f.jsx)(w.a,{domain:"dressagetests.us.auth0.com",clientId:"solQw6mTYzGzb5UjJMFncgadkJvT8mZM",redirectUri:window.location.origin,onRedirectCallback:function(e){n.push((null===e||void 0===e?void 0:e.returnTo)||window.location.pathname)},children:t})},Ce=function(){var e=Object(c.useContext)(xe.a).mode,t=Object(w.b)(),n=t.isLoading,a=t.error,r=Object(w.b)().user;return console.log("auth is loading",n),console.log("user",r),a?Object(f.jsxs)("div",{children:["Oops... ",a.message]}):n?Object(f.jsx)(N.a,{}):Object(f.jsx)(Oe.a,{theme:we,themeMode:e,children:Object(f.jsxs)(ye,{children:[Object(f.jsxs)("div",{className:"App",children:[Object(f.jsx)(ke,{}),Object(f.jsx)(oe,{}),Object(f.jsx)(H,{})]}),Object(f.jsx)(he,{})]})})};Boolean("localhost"===window.location.hostname||"[::1]"===window.location.hostname||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));function Fe(){var e=Object(d.g)().pathname;return Object(c.useEffect)((function(){document.body.scrollTo(0,0)}),[e]),null}s.a.render(Object(f.jsx)(w.a,{domain:"dressagetests.us.auth0.com",clientId:"solQw6mTYzGzb5UjJMFncgadkJvT8mZM",redirectUri:window.location.origin,children:Object(f.jsx)(xe.b,{children:Object(f.jsx)(V,{children:Object(f.jsx)(z.b,{children:Object(f.jsxs)(X.a,{children:[Object(f.jsx)(Fe,{}),Object(f.jsx)(Ce,{})]})})})})}),document.getElementById("root")),"serviceWorker"in navigator&&navigator.serviceWorker.ready.then((function(e){e.unregister()}))},34:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var c=n(14),a=n(0),r=n(2),s=Object(a.createContext)();t.b=function(e){var t=e.children,n=Object(a.useState)(localStorage.getItem("theme")||"light"),i=Object(c.a)(n,2),o=i[0],l=i[1];return Object(a.useEffect)((function(){localStorage.setItem("theme",o)}),[o]),Object(r.jsx)(s.Provider,{value:{mode:o,setTheme:function(){return l("dark"===o?"light":"dark")}},children:t})}},40:function(e,t,n){"use strict";n.d(t,"a",(function(){return j}));var c=n(25),a=n.n(c),r=n(36),s=n(14),i=n(0),o=n(10),l=n(2),j=Object(i.createContext)(),d="https://dressage-tests.herokuapp.com";t.b=function(e){var t=e.children,n=Object(o.b)().getAccessTokenSilently,c=Object(i.useState)(),u=Object(s.a)(c,2),b=u[0],h=u[1],O=Object(i.useState)("no fav set"),x=Object(s.a)(O,2),m=x[0],g=x[1],f=function(){var e=Object(r.a)(a.a.mark((function e(t,c){var r,s,i;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return h(!0),e.prev=1,e.next=4,n({audience:"https://rails-secure-api",clientId:{clientId:"fRhNc2FhYTKgDFq8JcHJZuTPe2NwMVut"}});case 4:return r=e.sent,console.log(r),e.next=8,fetch("".concat(d,"/api/v1/dressage_tests/").concat(t,"/favourites/?user=").concat(c),{method:"POST",headers:{Authorization:"Bearer ".concat(r)}});case 8:return s=e.sent,e.next=11,s.json();case 11:i=e.sent,g(i.id),console.log(i),e.next=19;break;case 16:e.prev=16,e.t0=e.catch(1),console.log(e.t0.message);case 19:case"end":return e.stop()}}),e,null,[[1,16]])})));return function(t,n){return e.apply(this,arguments)}}(),p=function(){var e=Object(r.a)(a.a.mark((function e(t){var c,r,s;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,n({audience:"https://rails-secure-api"});case 3:return c=e.sent,console.log(c),e.next=7,fetch("".concat(d,"/api/v1/favourites/").concat(t),{method:"DELETE",headers:{Authorization:"Bearer ".concat(c)}});case 7:return r=e.sent,e.next=10,r.json();case 10:s=e.sent,console.log(t+s),e.next=17;break;case 14:e.prev=14,e.t0=e.catch(0),console.log(e.t0.message);case 17:return e.prev=17,g("delete"+t),e.finish(17);case 20:case"end":return e.stop()}}),e,null,[[0,14,17,20]])})));return function(t){return e.apply(this,arguments)}}();return Object(l.jsx)(j.Provider,{value:{favId:m,isFaved:b,setFavId:g,setIsFaved:h,DeleteFavourite:p,CreateFavourite:f},children:t})}},49:function(e,t,n){"use strict";n(0);var c=n(9),a=n(151),r=n(22),s=n(2);t.a=function(){return Object(s.jsxs)(c.a,{align:"center",justify:"center",direction:"row",gap:"small",pad:"small",children:[Object(s.jsx)(a.a,{size:"large",message:"content is loading"})," ",Object(s.jsx)(r.a,{children:" Loading..."})]})}},68:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r}));var c="https://dressage-tests.herokuapp.com",a={getAll:function(){return fetch("".concat(c,"/api/v1/dressage_tests"),{}).then((function(e){return e.json()}))},getAllWithUser:function(e){return fetch("".concat(c,"/api/v1/dressage_tests?user=").concat(e),{}).then((function(e){return e.json()}))},get:function(e){return fetch("".concat(c,"/api/v1/dressage_tests/").concat(e),{}).then((function(e){return e.json()}))},getWithUser:function(e,t){return fetch("".concat(c,"/api/v1/dressage_tests/").concat(e,"?user=").concat(t),{}).then((function(e){return e.json()}))}},r={getAllByUser:function(e){return fetch("".concat(c,"/api/v1/favourites?user=").concat(e),{}).then((function(e){return e.json()}))}}},69:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));n(0);var c=n(159),a=n(9),r=n(164),s=n(22),i=n(38),o=n(2),l=function(e){var t=e.message,n=e.open,l=e.onClose,j=e.icon;return Object(o.jsxs)("div",{children:[Object(o.jsx)(a.a,{fill:!0,align:"center",justify:"center"}),n&&Object(o.jsx)(r.a,{position:"top",modal:!1,margin:{vertical:"medium",horizontal:"small"},onEsc:l,onClickOutside:l,responsive:!1,plain:!0,children:Object(o.jsxs)(a.a,{align:"center",direction:"row",gap:"small",justify:"between",background:"surface",round:"small",elevation:"medium",margin:{top:"10rem"},pad:{vertical:"small",horizontal:"medium"},children:[j,Object(o.jsx)(a.a,{align:"center",direction:"row",gap:"xsmall",children:Object(o.jsx)(s.a,{children:t})}),Object(o.jsx)(i.a,{icon:Object(o.jsx)(c.a,{}),onClick:l,plain:!0})]})})]})}}
1,77:function(e,t,n){"use strict";var c=n(0),a=n(156),r=n(158),s=n(152),i=n(153),o=n(103),l=n(154),j=n(167),d=n(157),u=n(22),b=n(9),h=n(150),O=n(12),x=n(2);t.a=function(e,t){var n=e.name,m=e.current,g=e.level,f=e.org_name,p=e.year,v=e.full_name,k=e.id,w=e.is_faved,y=e.deleteButton,C=e.deleteHandler,F=e.index,N=Object(O.f)(),S=Object(c.useContext)(s.a);return Object(x.jsx)("div",{className:"TestSegmentItem",children:Object(x.jsx)("div",{className:"row no-gutters",children:Object(x.jsxs)(i.a.Extend,{value:{anchor:{hover:{textDecoration:"none"}}},children:[Object(x.jsx)("div",{className:"col",children:Object(x.jsxs)(o.a,{className:"test-card",background:"surface",margin:"small",a11yTitle:v,onClick:function(){return function(e){N.push("/tests/".concat(e))}(k)},hoverIndicator:!0,animation:{type:"fadeIn",delay:200*F},children:[Object(x.jsxs)(l.a,{pad:{horizontal:"small"},children:[Object(x.jsx)(j.a,{level:2,margin:"xsmall",children:v}),!0===w?Object(x.jsx)(a.a,{}):""]}),Object(x.jsx)(d.a,{pad:{horizontal:"medium"},children:Object(x.jsxs)(u.a,{size:"small",children:["Organization: ",f," Level: ",g," Test: ",n," Year:"," ",p]})}),m?Object(x.jsx)(b.a,{background:"status-ok",children:Object(x.jsx)(u.a,{textAlign:"end",margin:{right:"small"},size:"small",children:"Current"})}):Object(x.jsx)(b.a,{background:"status-warning",children:Object(x.jsx)(u.a,{textAlign:"end",margin:{right:"small"},size:"small",children:"Outdated"})})]})}),y&&Object(x.jsx)("div",{className:"col-1 flex align-content-center",children:Object(x.jsx)(h.a,{plain:!0,content:Object(x.jsx)(b.a,{background:"background",pad:"small",round:"small",children:Object(x.jsx)(u.a,{size:"medium",children:"Delete from favourites list"})}),children:Object(x.jsxs)(o.a,{onClick:C,a11yTitle:"delete test from favourites",elevation:"none",border:{color:"status-critical"},hoverIndicator:!0,margin:{top:"12px"},pad:"small"!==S?"small":"medium",flex:!0,plain:!0,className:"align-items-center",tip:{content:"Delete from Favourites List"},children:[Object(x.jsx)(r.a,{color:"status-critical"}),"small"===S?"":Object(x.jsx)(u.a,{color:"status-critical",children:"Delete"})]})})})]})})},k)}},78:function(e,t,n){"use strict";var c=n(14),a=n(0),r=n(34),s=n(99),i=n.n(s),o=n(160),l=n(161),j=n(2);t.a=function(e){var t=Object(a.useContext)(r.a),n=t.setTheme,s=t.mode,d=Object(a.useState)(!1),u=Object(c.a)(d,2);u[0],u[1];return Object(j.jsx)("div",{children:Object(j.jsx)("div",{className:"example",children:Object(j.jsx)("label",{children:Object(j.jsx)(i.a,{onChange:n,checked:"light"===s,offColor:"#555555",onColor:"#F2F2F2",offHandleColor:"#6FFFB0",onHandleColor:"#6FFFB0",checkedIcon:Object(j.jsx)(o.a,{color:"dark-1",style:{marginLeft:"4px"}}),uncheckedIcon:Object(j.jsx)(l.a,{}),className:"react-switch"})})})})}},79:function(e,t,n){"use strict";n(0);var c=n(10),a=n(38),r=n(2);t.a=function(){var e=Object(c.b)().loginWithRedirect;return Object(r.jsx)(a.a,{color:"status-ok",label:"Log In",onClick:function(){return e()}})}}},[[148,1,2]]]); 2//# sourceMappingURL=main.732c3218.chunk.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.