UNPKG

jira-web-components

Version:
1 lines 169 kB
var app=function(){"use strict";function e(){}function n(e){return e()}function i(){return Object.create(null)}function d(e){e.forEach(n)}function a(e){return"function"==typeof e}function t(e,n){return e!=e?n==n:e!==n||e&&"object"==typeof e||"function"==typeof e}function m(e,n,i){const d=n.subscribe(i);e.$$.on_destroy.push(d.unsubscribe?()=>d.unsubscribe():d)}function r(e,n){e.appendChild(n)}function s(e,n,i){e.insertBefore(n,i||null)}function c(e){e.parentNode.removeChild(e)}function x(e,n){for(let i=0;i<e.length;i+=1)e[i]&&e[i].d(n)}function p(e){return document.createElement(e)}function h(e){return document.createTextNode(e)}function o(){return h(" ")}function w(){return h("")}function l(e,n,i,d){return e.addEventListener(n,i,d),()=>e.removeEventListener(n,i,d)}function u(e,n,i){null==i?e.removeAttribute(n):e.setAttribute(n,i)}function g(e,n,i){n in e?e[n]=i:u(e,n,i)}function b(e,n){n=""+n,e.data!==n&&(e.data=n)}function f(e,n,i){e.classList[i?"add":"remove"](n)}let y;function k(e){y=e}function v(){const e=y;return(n,i)=>{const d=e.$$.callbacks[n];if(d){const a=function(e,n){const i=document.createEvent("CustomEvent");return i.initCustomEvent(e,!1,!1,n),i}(n,i);d.slice().forEach(n=>{n.call(e,a)})}}}const $=[],j=Promise.resolve();let A=!1;const _=[],S=[],E=[];function P(e){_.push(e)}function U(e){S.push(e)}function C(){const e=new Set;do{for(;$.length;){const e=$.shift();k(e),I(e.$$)}for(;_.length;)_.shift()();for(;S.length;){const n=S.pop();e.has(n)||(n(),e.add(n))}}while($.length);for(;E.length;)E.pop()();A=!1}function I(e){e.fragment&&(e.update(e.dirty),d(e.before_render),e.fragment.p(e.dirty,e.ctx),e.dirty=null,e.after_render.forEach(U))}const L=new Set;function z(e,n){e.$$.dirty||($.push(e),A||(A=!0,j.then(C)),e.$$.dirty=i()),e.$$.dirty[n]=!0}function F(t,m,r,s,c,x){const p=y;k(t);const h=m.props||{},o=t.$$={fragment:null,ctx:null,props:x,update:e,not_equal:c,bound:i(),on_mount:[],on_destroy:[],before_render:[],after_render:[],context:new Map(p?p.$$.context:[]),callbacks:i(),dirty:null};let w=!1;var l,u,g;o.ctx=r?r(t,h,(e,n)=>{o.ctx&&c(o.ctx[e],o.ctx[e]=n)&&(o.bound[e]&&o.bound[e](n),w&&z(t,e))}):h,o.update(),w=!0,d(o.before_render),o.fragment=s(o.ctx),m.target&&(m.hydrate?o.fragment.l((g=m.target,Array.from(g.childNodes))):o.fragment.c(),m.intro&&((l=t.$$.fragment)&&l.i&&(L.delete(l),l.i(u))),function(e,i,t){const{fragment:m,on_mount:r,on_destroy:s,after_render:c}=e.$$;m.m(i,t),U(()=>{const i=r.map(n).filter(a);s?s.push(...i):d(i),e.$$.on_mount=[]}),c.forEach(U)}(t,m.target,m.anchor),C()),k(p)}let R;function T(n,i=e){let d;const a=[];function m(e){if(t(n,e)){if(n=e,!d)return;a.forEach(e=>e[1]()),a.forEach(e=>e[0](n))}}return{set:m,update:function(e){m(e(n))},subscribe:function(t,r=e){const s=[t,r];return a.push(s),1===a.length&&(d=i(m)||e),t(n),()=>{const e=a.indexOf(s);-1!==e&&a.splice(e,1),0===a.length&&d()}}}}function B(n,i,t){const m=!Array.isArray(n),r=m?[n]:n,s=i.length<2,c=[],x={subscribe:T(t,n=>{let t=!1;const x=[];let p=0,h=e;const o=()=>{if(p)return;h();const d=i(m?x[0]:x,n);s?n(d):h=a(d)?d:e},w=r.map((e,n)=>e.subscribe(e=>{x[n]=e,p&=~(1<<n),t&&o()},()=>{d(c),p|=1<<n}));return t=!0,o(),function(){d(w),h()}}).subscribe};return{subscribe(n,i=e){c.push(i);const d=x.subscribe(n,i);return()=>{const e=c.indexOf(i);-1!==e&&c.splice(e,1),d()}}}}function D(e){let n;return e.subscribe(e=>n=e)(),n}"undefined"!=typeof HTMLElement&&(R=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,n,i){this[e]=i}$destroy(){var n,i;i=1,(n=this).$$.fragment&&(d(n.$$.on_destroy),i&&n.$$.fragment.d(1),n.$$.on_destroy=n.$$.fragment=null,n.$$.ctx={}),this.$destroy=e}$on(e,n){const i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(n),()=>{const e=i.indexOf(n);-1!==e&&i.splice(e,1)}}$set(){}});const K={corsUrl:null,isSafe:null},N=(...e)=>[K,...e].reduce((e,n)=>({...e,...n}),{}),O=(()=>{const e=T(N({})),{subscribe:n,update:i,set:d}=e,a=B(e,e=>e.isSafe,null),t=B(e,e=>e.corsUrl,null),m=B(e,({isSafe:e,corsUrl:n})=>(!0===e||!1===e)&&!!n,!1);return{subscribe:n,isSafe:a,corsUrl:t,valid:m,setIsSafe:e=>{!1!==e&&"false"!==e||i(e=>N(e,{isSafe:!1})),!0!==e&&"true"!==e||i(e=>N(e,{isSafe:!0}))},setCorsUrl:e=>i(n=>N(n,{corsUrl:e})),getIsSafe:()=>D(a),getCorsUrl:()=>D(t),getIsValid:()=>D(m),onSafeOff:e=>{n(({isSafe:n})=>{!0!==n&&e()})},onSafeOn:e=>{n(({isSafe:n})=>{!0===n&&e()})}}})(),H=e=>{const n=/\[JIRA\:([A-Z]+\-[0-9]+)\]/gi.exec(e);return n?(e=e.replace(n[0],`<jira-issue-tag key="${n[1]}"></jira-issue-tag>`),H(e)):e},M=e=>{let n=e;return{onChanged:(e,i)=>{e!==n&&(i(e,n),n=e)}}};function J(n){return{c(){this.c=e},m:e,p:e,i:e,o:e,d:e}}function W(e,n,i){let{cors:d=null,safe:a=null}=n;const t=M(d),m=M(a);return e.$set=(e=>{"cors"in e&&i("cors",d=e.cors),"safe"in e&&i("safe",a=e.safe)}),e.$$.update=((e={cors:1,safe:1})=>{(e.cors||e.safe)&&(t.onChanged(d,()=>{null!==d&&O.setCorsUrl(d)}),m.onChanged(a,()=>{null!==a&&O.setIsSafe(a)}))}),{cors:d,safe:a}}class q extends R{constructor(e){super(),F(this,{target:this.shadowRoot},W,J,t,["cors","safe"]),e&&(e.target&&s(e.target,this,e.anchor),e.props&&(this.$set(e.props),C()))}static get observedAttributes(){return["cors","safe"]}get cors(){return this.$$.ctx.cors}set cors(e){this.$set({cors:e}),C()}get safe(){return this.$$.ctx.safe}set safe(e){this.$set({safe:e}),C()}}customElements.define("jira-global-config",q);const V=e=>`__jira-${e}`,Y=e=>localStorage.getItem(V(e)),G=(e,n)=>localStorage.setItem(V(e),n||""),X=e=>localStorage.removeItem(V(e)),Z={emial:"",apiKey:"",url:""},Q=(...e)=>[Z,...e].reduce((e,n)=>({...e,...n}),{}),ee=(()=>{const e=T(Q({})),{subscribe:n,update:i,set:d}=e,a=e=>i(n=>Q(n,{email:e})),t=e=>i(n=>Q(n,{apiKey:e})),m=e=>i(n=>Q(n,{url:e})),r=()=>{a(""),t(""),m("")},s=B(e,e=>e.email,""),c=B(e,e=>e.apiKey,""),x=B(e,e=>e.url,"");return(()=>{let e=null;O.onSafeOff(()=>{const n=O.getIsValid();e&&(e(),e=null),r(),n&&(X("email"),X("apiKey"),X("url"))}),O.onSafeOn(()=>{O.getIsValid()&&(a(Y("email")),t(Y("apiKey")),m(Y("url")),e||(e=n(({email:e,apiKey:n,url:i})=>{G("email",e),G("apiKey",n),G("url",i)})))})})(),{subscribe:n,setEmail:a,setApiKey:t,setUrl:m,getEmail:()=>D(e).email,getApiKey:()=>D(e).apiKey,getUrl:()=>D(e).url,reset:r,email:s,apiKey:c,url:x}})(),ne=()=>({accept:"application/json","aontent-type":"application/json",authorization:`Basic ${btoa(ee.getEmail()+":"+ee.getApiKey())}`}),ie=async e=>{const n=O.getCorsUrl();if(!n)return Promise.reject("No CORS server URL specified!");const i=ee.getUrl();if(!i||!ee.getEmail()||!ee.getApiKey())return console.warn("Not authenticated!"),Promise.reject();if(!e)return console.warn("No URL specified!"),Promise.reject();try{const d=await fetch(`${n}/${i}${e}`,{method:"GET",headers:ne()});if(!d||!d.ok){let e=d,n="";return void 0!==d.ok&&(e=await d.json(),n=d.status),Promise.reject(e)}const a=await d.json();return Promise.resolve(a)}catch(e){return Promise.reject(e)}},de=async(e,n=50)=>{let i=!1,d=0,a=n;const t=[];for(;!i;){let n=await ie(e.replace("%start%",d).replace("%max%",a));i=n.isLast,a=n.maxResult,d=n.startAt+a,t.push(n)}return Promise.resolve(t)},ae=()=>(new Date).getTime(),te={isFetching:null,lastFetchTime:null,ok:null,error:null,result:null,errorResult:null},me=(e,n)=>{const i=(...i)=>[e,n?te:{},...i].reduce((e,n)=>({...e,...n}),{});return{data:i,success:(e,n)=>i(e,{isFetching:!1,ok:!0,lastFetchTime:ae(),result:n,errorResult:null}),error:(e,n)=>i(e,{isFetching:!1,ok:!1,lastFetchTime:ae(),result:null,errorResult:n})}},re={accountId:null,key:"",name:"",emailAddress:"",avatarUrls:(()=>{const e=Math.random();return{"16x16":`https://avatars.dicebear.com/v2/identicon/${e}.svg`,"24x24":`https://avatars.dicebear.com/v2/identicon/${e}.svg`,"32x32":`https://avatars.dicebear.com/v2/identicon/${e}.svg`,"48x48":`https://avatars.dicebear.com/v2/identicon/${e}.svg`}})(),displayName:"",isFetching:null,lastFetchTime:null,ok:null,error:null,result:null,errorResult:null},se=(...e)=>[re,...e,{key:"authuser"}].reduce((e,n)=>({...e,...n}),{}),ce=(()=>{const{subscribe:e,setIsFetching:n,setData:i,setSuccess:d,setError:a,loaded:t,ok:m,fetching:r,isFetching:s,isLoaded:c,isOk:x,getData:p,getKey:h,reset:o}=((e,n,i,d)=>{d||(d="key");const a=T(n(i||{},{[d]:e})),{subscribe:t,update:m,set:r}=a,s=B(a,e=>e.isFetching,null),c=B(a,e=>null!==e.ok,null),x=B(a,e=>e.ok,null),p=()=>D(a);return{store:a,subscribe:t,reset:()=>r(n({[d]:e})),setIsFetching:e=>m(i=>n(i,{isFetching:e})),setData:e=>m(i=>n(i,e)),setSuccess:(e,i)=>m(d=>n(d,e,{isFetching:!1,ok:!0,lastFetchTime:ae(),result:i,errorResult:null})),setError:i=>m(a=>n({[d]:e,isFetching:!1,ok:!1,lastFetchTime:ae(),result:null,errorResult:i})),getData:p,getKey:()=>p()[d],fetching:s,loaded:c,ok:x,isFetching:()=>D(s),isLoaded:()=>null!==D(c),isOk:()=>D(x)}})("authuser",se),w=async()=>{try{n(!0);const e=await ie("/rest/api/3/myself"),{accountId:i,key:t,name:m,emailAddress:r,displayName:s,avatarUrls:c}=e;d({accountId:i,key:t,name:m,emailAddress:r,displayName:s,avatarUrls:c},e)}catch(e){console.warn(`Authentication error: ${JSON.stringify(e)}`),a(e)}};return O.onSafeOff(()=>{O.getIsValid(),o()}),O.onSafeOn(()=>{O.getIsValid(),w()}),{subscribe:e,setIsFetching:n,setSuccess:d,setError:a,authenticated:m,fetching:r,authenticate:w,isFetching:s,isAuthenticated:x,getUserData:p,reset:o,onLogin:e=>m.subscribe(n=>{!0===n&&e()}),onLogout:e=>m.subscribe(n=>{!1===n&&e()})}})();function xe(n){return{c(){this.c=e},m:e,p:e,i:e,o:e,d:e}}function pe(e,n,i){const d=v();let{setEmail:a=(e=>ee.setEmail(e))}=n,{setApiKey:t=(e=>ee.setApiKey(e))}=n,{setUrl:m=(e=>ee.setUrl(e))}=n,{getUserData:r=(()=>ce.getUserData())}=n,{getEmail:s=(()=>ee.getEmail())}=n,{getApiKey:c=(()=>ee.getApiKey())}=n,{getUrl:x=(()=>ee.getUrl())}=n,{authenticate:p=(async()=>ce.authenticate())}=n,{isAuthenticated:h=(()=>ce.isAuthenticated)}=n,{isFetching:o=(()=>ce.isFetching)}=n;ce.subscribe(e=>{d("jira-auth-user-changed",e),d("jira-auth-status-changed",!!e.accountId)}),ce.fetching.subscribe(e=>d("jira-auth-user-fetching-changed",e)),ee.email.subscribe(e=>d("jira-auth-email-changed",e)),ee.apiKey.subscribe(e=>d("jira-auth-apikey-changed",e)),ee.url.subscribe(e=>d("jira-auth-url-changed",e));let{reset:w=(()=>{a(""),t(""),m("")})}=n;return e.$set=(e=>{"setEmail"in e&&i("setEmail",a=e.setEmail),"setApiKey"in e&&i("setApiKey",t=e.setApiKey),"setUrl"in e&&i("setUrl",m=e.setUrl),"getUserData"in e&&i("getUserData",r=e.getUserData),"getEmail"in e&&i("getEmail",s=e.getEmail),"getApiKey"in e&&i("getApiKey",c=e.getApiKey),"getUrl"in e&&i("getUrl",x=e.getUrl),"authenticate"in e&&i("authenticate",p=e.authenticate),"isAuthenticated"in e&&i("isAuthenticated",h=e.isAuthenticated),"isFetching"in e&&i("isFetching",o=e.isFetching),"reset"in e&&i("reset",w=e.reset)}),{setEmail:a,setApiKey:t,setUrl:m,getUserData:r,getEmail:s,getApiKey:c,getUrl:x,authenticate:p,isAuthenticated:h,isFetching:o,reset:w}}class he extends R{constructor(e){super(),F(this,{target:this.shadowRoot},pe,xe,t,["setEmail","setApiKey","setUrl","getUserData","getEmail","getApiKey","getUrl","authenticate","isAuthenticated","isFetching","reset"]),e&&(e.target&&s(e.target,this,e.anchor),e.props&&(this.$set(e.props),C()))}static get observedAttributes(){return["setEmail","setApiKey","setUrl","getUserData","getEmail","getApiKey","getUrl","authenticate","isAuthenticated","isFetching","reset"]}get setEmail(){return this.$$.ctx.setEmail}set setEmail(e){this.$set({setEmail:e}),C()}get setApiKey(){return this.$$.ctx.setApiKey}set setApiKey(e){this.$set({setApiKey:e}),C()}get setUrl(){return this.$$.ctx.setUrl}set setUrl(e){this.$set({setUrl:e}),C()}get getUserData(){return this.$$.ctx.getUserData}set getUserData(e){this.$set({getUserData:e}),C()}get getEmail(){return this.$$.ctx.getEmail}set getEmail(e){this.$set({getEmail:e}),C()}get getApiKey(){return this.$$.ctx.getApiKey}set getApiKey(e){this.$set({getApiKey:e}),C()}get getUrl(){return this.$$.ctx.getUrl}set getUrl(e){this.$set({getUrl:e}),C()}get authenticate(){return this.$$.ctx.authenticate}set authenticate(e){this.$set({authenticate:e}),C()}get isAuthenticated(){return this.$$.ctx.isAuthenticated}set isAuthenticated(e){this.$set({isAuthenticated:e}),C()}get isFetching(){return this.$$.ctx.isFetching}set isFetching(e){this.$set({isFetching:e}),C()}get reset(){return this.$$.ctx.reset}set reset(e){this.$set({reset:e}),C()}}function oe(e){var n,i,d,a,t=e.$user.name;return{c(){n=p("div"),i=h("You are authenticated as @"),d=h(t),a=h("."),u(n,"class","notification is-success")},m(e,t){s(e,n,t),r(n,i),r(n,d),r(n,a)},p(e,n){e.$user&&t!==(t=n.$user.name)&&b(d,t)},d(e){e&&c(n)}}}function we(n){var i;return{c(){(i=p("div")).textContent="Authentication error, please enter valid data.",u(i,"class","notification is-warning")},m(e,n){s(e,i,n)},p:e,d(e){e&&c(i)}}}function le(n){var i;return{c(){(i=p("p")).innerHTML='<button class="button is-warning is-loading is-small"></button>',u(i,"class","notification is-warning")},m(e,n){s(e,i,n)},p:e,d(e){e&&c(i)}}}function ue(n){var i,a,t,m,x,w,g,y,k,v,$,j,A,_,S,E,P,U,C,I,L,z,F,R,T,B,D,K,N,O,H,M,J,W,q,V,Y,G,X,Z,Q,ee,ne,ie,de,ae,te,me=n.$fetching?"Fetching user...":"Authenticate";function re(e){return e.$fetching?le:e.$authenticated?oe:we}var se=re(n),ce=se(n);return{c(){i=p("div"),(a=p("header")).innerHTML='<p class="card-header-title">\n\t\t\t JiRa authentication\n\t\t\t </p>',t=o(),m=p("div"),x=p("div"),ce.c(),w=o(),g=p("div"),y=p("fieldset"),k=p("div"),(v=p("label")).textContent="E-mail",$=o(),j=p("div"),A=p("div"),_=p("div"),S=p("input"),E=o(),(P=p("p")).textContent="Your JiRa login E-mail.",U=o(),C=p("div"),(I=p("label")).textContent="Api key",L=o(),z=p("div"),F=p("div"),R=p("div"),T=p("input"),B=o(),(D=p("p")).innerHTML='Create an API token <a target="_blank" href="https://id.atlassian.com/manage/api-tokens">here</a>.',K=o(),N=p("div"),(O=p("label")).textContent="URL to JiRa",H=o(),M=p("div"),J=p("div"),W=p("div"),q=p("input"),V=o(),(Y=p("p")).textContent="Use the URL to your company JiRa account (E.g: https://your-company.atlassian.net).",G=o(),X=p("footer"),Z=p("span"),Q=p("button"),ee=h(me),ie=o(),de=p("span"),(ae=p("button")).textContent="Log out",this.c=e,u(a,"class","card-header"),u(v,"class","label field-label"),u(v,"for","jira-email"),u(S,"id","jira-email"),u(S,"name","jira-email"),u(S,"type","text"),u(S,"placeholder","E-mail"),u(S,"class","input is-medium"),S.required="",u(_,"class","control"),u(P,"class","help"),u(A,"class","field"),u(j,"class","field-body"),u(k,"class","field is-horizontal"),u(I,"class","label field-label"),u(I,"for","jira-api-key"),u(T,"id","jira-api-key"),u(T,"name","jira-api-key"),u(T,"type","password"),u(T,"placeholder","Api key"),u(T,"class","input is-medium"),T.required="",u(R,"class","control"),u(D,"class","help"),u(F,"class","field"),u(z,"class","field-body"),u(C,"class","field is-horizontal"),u(O,"class","label field-label"),u(O,"for","jira-url"),u(q,"id","jira-url"),u(q,"name","jira-url"),u(q,"type","text"),u(q,"placeholder","URL to JiRa"),u(q,"class","input is-medium"),q.required="",u(W,"class","control"),u(Y,"class","help"),u(J,"class","field"),u(M,"class","field-body"),u(N,"class","field is-horizontal"),u(g,"class","form-horizontal"),u(x,"class","content"),u(m,"class","card-content"),u(Q,"class","button is-primary"),Q.disabled=ne=n.$fetching||!n.email||!n.apikey||!n.url,f(Q,"is-loading",n.$fetching),u(Z,"class","card-footer-item"),u(ae,"class","button is-white"),u(de,"class","card-footer-item"),u(X,"class","card-footer"),u(i,"class","box card container is-fluid is-paddingless"),te=[l(S,"input",n.input0_input_handler),l(T,"input",n.input1_input_handler),l(q,"input",n.input2_input_handler),l(Q,"click",n.save),l(ae,"click",ge)]},m(e,d){s(e,i,d),r(i,a),r(i,t),r(i,m),r(m,x),ce.m(x,null),r(x,w),r(x,g),r(g,y),r(y,k),r(k,v),r(k,$),r(k,j),r(j,A),r(A,_),r(_,S),S.value=n.email,r(A,E),r(A,P),r(y,U),r(y,C),r(C,I),r(C,L),r(C,z),r(z,F),r(F,R),r(R,T),T.value=n.apikey,r(F,B),r(F,D),r(y,K),r(y,N),r(N,O),r(N,H),r(N,M),r(M,J),r(J,W),r(W,q),q.value=n.url,r(J,V),r(J,Y),r(i,G),r(i,X),r(X,Z),r(Z,Q),r(Q,ee),r(X,ie),r(X,de),r(de,ae)},p(e,n){se===(se=re(n))&&ce?ce.p(e,n):(ce.d(1),(ce=se(n))&&(ce.c(),ce.m(x,w))),e.email&&S.value!==n.email&&(S.value=n.email),e.apikey&&(T.value=n.apikey),e.url&&q.value!==n.url&&(q.value=n.url),e.$fetching&&me!==(me=n.$fetching?"Fetching user...":"Authenticate")&&b(ee,me),(e.$fetching||e.email||e.apikey||e.url)&&ne!==(ne=n.$fetching||!n.email||!n.apikey||!n.url)&&(Q.disabled=ne),e.$fetching&&f(Q,"is-loading",n.$fetching)},i:e,o:e,d(e){e&&c(i),ce.d(),d(te)}}}function ge(){ee.reset(),ce.reset()}function be(e,n,i){let d,a,t;m(e,ce,e=>{i("$user",t=e)});const r=v();let{fetching:s,authenticated:c}=ce;m(e,s,e=>{i("$fetching",d=e)}),m(e,c,e=>{i("$authenticated",a=e)});let{email:x="",apikey:p="",url:h=""}=n;return ee.email.subscribe(e=>{i("email",x=e)}),ee.apiKey.subscribe(e=>{i("apikey",p=e)}),ee.url.subscribe(e=>{i("url",h=e)}),e.$set=(e=>{"email"in e&&i("email",x=e.email),"apikey"in e&&i("apikey",p=e.apikey),"url"in e&&i("url",h=e.url)}),{fetching:s,authenticated:c,email:x,apikey:p,url:h,save:function(){ee.setEmail(x),ee.setApiKey(p),ee.setUrl(h),ce.authenticate(),r("jira-auth-form-saved",{email:x,apikey:p,url:h})},$fetching:d,$authenticated:a,$user:t,input0_input_handler:function(){x=this.value,i("email",x)},input1_input_handler:function(){p=this.value,i("apikey",p)},input2_input_handler:function(){h=this.value,i("url",h)}}}customElements.define("jira-auth",he);class fe extends R{constructor(e){super(),this.shadowRoot.innerHTML='<style>@keyframes spinAround{from{transform:rotate(0deg)}to{transform:rotate(359deg)}}.button{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.box:not(:last-child),.content:not(:last-child),.notification:not(:last-child),.title:not(:last-child){margin-bottom:1.5rem}.button.is-loading::after{animation:spinAround 500ms infinite linear;border:2px solid #dbdbdb;border-radius:290486px;border-right-color:transparent;border-top-color:transparent;content:"";display:block;height:1em;position:relative;width:1em}.button,.input{-moz-appearance:none;-webkit-appearance:none;align-items:center;border:1px solid transparent;border-radius:4px;box-shadow:none;display:inline-flex;font-size:1rem;height:2.25em;justify-content:flex-start;line-height:1.5;padding-bottom:calc(0.375em - 1px);padding-left:calc(0.625em - 1px);padding-right:calc(0.625em - 1px);padding-top:calc(0.375em - 1px);position:relative;vertical-align:top}.button:focus,.input:focus,.button:active,.input:active{outline:none}.button[disabled]{cursor:not-allowed}p,fieldset{margin:0;padding:0}button,input{margin:0}*,*::before,*::after{box-sizing:inherit}footer,header{display:block}button,input{font-family:BlinkMacSystemFont, -apple-system, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif}a{color:#3273dc;cursor:pointer;text-decoration:none}a:hover{color:#363636}span{font-style:inherit;font-weight:inherit}fieldset{border:none}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (max-width: 1023px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1216px){}@media screen and (min-width: 1408px){}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (min-width: 769px) and (max-width: 1023px){}@media screen and (max-width: 1023px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px) and (max-width: 1215px){}@media screen and (min-width: 1216px){}@media screen and (min-width: 1216px) and (max-width: 1407px){}@media screen and (min-width: 1408px){}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (min-width: 769px) and (max-width: 1023px){}@media screen and (max-width: 1023px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px) and (max-width: 1215px){}@media screen and (min-width: 1216px){}@media screen and (min-width: 1216px) and (max-width: 1407px){}@media screen and (min-width: 1408px){}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (min-width: 769px) and (max-width: 1023px){}@media screen and (max-width: 1023px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px) and (max-width: 1215px){}@media screen and (min-width: 1216px){}@media screen and (min-width: 1216px) and (max-width: 1407px){}@media screen and (min-width: 1408px){}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (min-width: 769px) and (max-width: 1023px){}@media screen and (max-width: 1023px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px) and (max-width: 1215px){}@media screen and (min-width: 1216px){}@media screen and (min-width: 1216px) and (max-width: 1407px){}@media screen and (min-width: 1408px){}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (min-width: 769px) and (max-width: 1023px){}@media screen and (max-width: 1023px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px) and (max-width: 1215px){}@media screen and (min-width: 1216px){}@media screen and (min-width: 1216px) and (max-width: 1407px){}@media screen and (min-width: 1408px){}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (min-width: 769px) and (max-width: 1023px){}@media screen and (max-width: 1023px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px) and (max-width: 1215px){}@media screen and (min-width: 1216px){}@media screen and (min-width: 1216px) and (max-width: 1407px){}@media screen and (min-width: 1408px){}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (min-width: 769px) and (max-width: 1023px){}@media screen and (max-width: 1023px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px) and (max-width: 1215px){}@media screen and (min-width: 1216px){}@media screen and (min-width: 1216px) and (max-width: 1407px){}@media screen and (min-width: 1408px){}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (min-width: 769px) and (max-width: 1023px){}@media screen and (max-width: 1023px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px) and (max-width: 1215px){}@media screen and (min-width: 1216px){}@media screen and (min-width: 1216px) and (max-width: 1407px){}@media screen and (min-width: 1408px){}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (min-width: 769px) and (max-width: 1023px){}@media screen and (max-width: 1023px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px) and (max-width: 1215px){}@media screen and (min-width: 1216px){}@media screen and (min-width: 1216px) and (max-width: 1407px){}@media screen and (min-width: 1408px){}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (min-width: 769px) and (max-width: 1023px){}@media screen and (max-width: 1023px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px) and (max-width: 1215px){}@media screen and (min-width: 1216px){}@media screen and (min-width: 1216px) and (max-width: 1407px){}@media screen and (min-width: 1408px){}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (min-width: 769px) and (max-width: 1023px){}@media screen and (max-width: 1023px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px) and (max-width: 1215px){}@media screen and (min-width: 1216px){}@media screen and (min-width: 1216px) and (max-width: 1407px){}@media screen and (min-width: 1408px){}.is-paddingless{padding:0 !important}.box{background-color:white;border-radius:6px;box-shadow:0 2px 3px rgba(10, 10, 10, 0.1), 0 0 0 1px rgba(10, 10, 10, 0.1);color:#4a4a4a;display:block;padding:1.25rem}.button{background-color:white;border-color:#dbdbdb;border-width:1px;color:#363636;cursor:pointer;justify-content:center;padding-bottom:calc(0.375em - 1px);padding-left:0.75em;padding-right:0.75em;padding-top:calc(0.375em - 1px);text-align:center;white-space:nowrap}.button:hover{border-color:#b5b5b5;color:#363636}.button:focus{border-color:#3273dc;color:#363636}.button:focus:not(:active){box-shadow:0 0 0 0.125em rgba(50, 115, 220, 0.25)}.button:active{border-color:#4a4a4a;color:#363636}.button.is-white{background-color:white;border-color:transparent;color:#0a0a0a}.button.is-white:hover{background-color:#f9f9f9;border-color:transparent;color:#0a0a0a}.button.is-white:focus{border-color:transparent;color:#0a0a0a}.button.is-white:focus:not(:active){box-shadow:0 0 0 0.125em rgba(255, 255, 255, 0.25)}.button.is-white:active{background-color:#f2f2f2;border-color:transparent;color:#0a0a0a}.button.is-primary{background-color:#00d1b2;border-color:transparent;color:#fff}.button.is-primary:hover{background-color:#00c4a7;border-color:transparent;color:#fff}.button.is-primary:focus{border-color:transparent;color:#fff}.button.is-primary:focus:not(:active){box-shadow:0 0 0 0.125em rgba(0, 209, 178, 0.25)}.button.is-primary:active{background-color:#00b89c;border-color:transparent;color:#fff}.button.is-primary[disabled]{background-color:#00d1b2;border-color:transparent;box-shadow:none}.button.is-primary.is-loading::after{border-color:transparent transparent #fff #fff !important}.button.is-warning{background-color:#ffdd57;border-color:transparent;color:rgba(0, 0, 0, 0.7)}.button.is-warning:hover{background-color:#ffdb4a;border-color:transparent;color:rgba(0, 0, 0, 0.7)}.button.is-warning:focus{border-color:transparent;color:rgba(0, 0, 0, 0.7)}.button.is-warning:focus:not(:active){box-shadow:0 0 0 0.125em rgba(255, 221, 87, 0.25)}.button.is-warning:active{background-color:#ffd83d;border-color:transparent;color:rgba(0, 0, 0, 0.7)}.button.is-warning.is-loading::after{border-color:transparent transparent rgba(0, 0, 0, 0.7) rgba(0, 0, 0, 0.7) !important}.button.is-small{border-radius:2px;font-size:0.75rem}.button[disabled]{background-color:white;border-color:#dbdbdb;box-shadow:none;opacity:0.5}.button.is-loading{color:transparent !important;pointer-events:none}.button.is-loading::after{position:absolute;left:calc(50% - (1em / 2));top:calc(50% - (1em / 2));position:absolute !important}.container{flex-grow:1;margin:0 auto;position:relative;width:auto}@media screen and (min-width: 1024px){.container{max-width:960px}.container.is-fluid{margin-left:32px;margin-right:32px;max-width:none}}@media screen and (max-width: 1215px){}@media screen and (max-width: 1407px){}@media screen and (min-width: 1216px){.container{max-width:1152px}}@media screen and (min-width: 1408px){.container{max-width:1344px}}.content p:not(:last-child){margin-bottom:1em}.notification{background-color:whitesmoke;border-radius:4px;padding:1.25rem 2.5rem 1.25rem 1.5rem;position:relative}.notification.is-success{background-color:#23d160;color:#fff}.notification.is-warning{background-color:#ffdd57;color:rgba(0, 0, 0, 0.7)}@keyframes moveIndeterminate{from{background-position:200% 0}to{background-position:-200% 0}}.title{word-break:break-word}.title{color:#363636;font-size:2rem;font-weight:600;line-height:1.125}.subtitle:not(.is-spaced)+.title{margin-top:-1.25rem}.input{background-color:white;border-color:#dbdbdb;border-radius:4px;color:#363636}.input::-moz-placeholder{color:rgba(54, 54, 54, 0.3)}.input::-webkit-input-placeholder{color:rgba(54, 54, 54, 0.3)}.input:-moz-placeholder{color:rgba(54, 54, 54, 0.3)}.input:-ms-input-placeholder{color:rgba(54, 54, 54, 0.3)}.input:hover{border-color:#b5b5b5}.input:focus,.input:active{border-color:#3273dc;box-shadow:0 0 0 0.125em rgba(50, 115, 220, 0.25)}.input{box-shadow:inset 0 1px 2px rgba(10, 10, 10, 0.1);max-width:100%;width:100%}.is-medium.input{font-size:1.25rem}.label{color:#363636;display:block;font-size:1rem;font-weight:700}.label:not(:last-child){margin-bottom:0.5em}.help{display:block;font-size:0.75rem;margin-top:0.25rem}.field:not(:last-child){margin-bottom:0.75rem}@media screen and (min-width: 769px), print{.field.is-horizontal{display:flex}}@media screen and (max-width: 768px){.field-label{margin-bottom:0.5rem}}@media screen and (min-width: 769px), print{.field-label{flex-basis:0;flex-grow:1;flex-shrink:0;margin-right:1.5rem;text-align:right}}@media screen and (min-width: 769px), print{.field-body{display:flex;flex-basis:0;flex-grow:5;flex-shrink:1}.field-body .field{margin-bottom:0}.field-body>.field{flex-shrink:1}.field-body>.field:not(.is-narrow){flex-grow:1}.field-body>.field:not(:last-child){margin-right:0.75rem}}.control{box-sizing:border-box;clear:both;font-size:1rem;position:relative;text-align:left}.card{background-color:white;box-shadow:0 2px 3px rgba(10, 10, 10, 0.1), 0 0 0 1px rgba(10, 10, 10, 0.1);color:#4a4a4a;max-width:100%;position:relative}.card-header{background-color:transparent;align-items:stretch;box-shadow:0 1px 2px rgba(10, 10, 10, 0.1);display:flex}.card-header-title{align-items:center;color:#363636;display:flex;flex-grow:1;font-weight:700;padding:0.75rem}.card-content{background-color:transparent;padding:1.5rem}.card-footer{background-color:transparent;border-top:1px solid #dbdbdb;align-items:stretch;display:flex}.card-footer-item{align-items:center;display:flex;flex-basis:0;flex-grow:1;flex-shrink:0;justify-content:center;padding:0.75rem}.card-footer-item:not(:last-child){border-right:1px solid #dbdbdb}@media screen and (min-width: 769px), print{}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (min-width: 769px), print{}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px){}.navbar>.container{align-items:stretch;display:flex;min-height:3.25rem;width:100%}@media screen and (max-width: 1023px){.navbar>.container{display:block}}@media screen and (min-width: 1024px){}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (max-width: 1023px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1216px){}@media screen and (min-width: 1408px){}@media screen and (min-width: 769px), print{}@media screen and (min-width: 1024px){}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (min-width: 769px) and (max-width: 1023px){}@media screen and (max-width: 1023px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px) and (max-width: 1215px){}@media screen and (min-width: 1216px){}@media screen and (min-width: 1216px) and (max-width: 1407px){}@media screen and (min-width: 1408px){}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (min-width: 769px) and (max-width: 1023px){}@media screen and (max-width: 1023px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px) and (max-width: 1215px){}@media screen and (min-width: 1216px){}@media screen and (min-width: 1216px) and (max-width: 1407px){}@media screen and (min-width: 1408px){}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (min-width: 769px) and (max-width: 1023px){}@media screen and (max-width: 1023px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px) and (max-width: 1215px){}@media screen and (min-width: 1216px){}@media screen and (min-width: 1216px) and (max-width: 1407px){}@media screen and (min-width: 1408px){}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (min-width: 769px) and (max-width: 1023px){}@media screen and (max-width: 1023px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px) and (max-width: 1215px){}@media screen and (min-width: 1216px){}@media screen and (min-width: 1216px) and (max-width: 1407px){}@media screen and (min-width: 1408px){}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (min-width: 769px) and (max-width: 1023px){}@media screen and (max-width: 1023px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px) and (max-width: 1215px){}@media screen and (min-width: 1216px){}@media screen and (min-width: 1216px) and (max-width: 1407px){}@media screen and (min-width: 1408px){}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (min-width: 769px) and (max-width: 1023px){}@media screen and (max-width: 1023px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px) and (max-width: 1215px){}@media screen and (min-width: 1216px){}@media screen and (min-width: 1216px) and (max-width: 1407px){}@media screen and (min-width: 1408px){}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (min-width: 769px) and (max-width: 1023px){}@media screen and (max-width: 1023px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px) and (max-width: 1215px){}@media screen and (min-width: 1216px){}@media screen and (min-width: 1216px) and (max-width: 1407px){}@media screen and (min-width: 1408px){}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (min-width: 769px) and (max-width: 1023px){}@media screen and (max-width: 1023px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px) and (max-width: 1215px){}@media screen and (min-width: 1216px){}@media screen and (min-width: 1216px) and (max-width: 1407px){}@media screen and (min-width: 1408px){}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (min-width: 769px) and (max-width: 1023px){}@media screen and (max-width: 1023px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px) and (max-width: 1215px){}@media screen and (min-width: 1216px){}@media screen and (min-width: 1216px) and (max-width: 1407px){}@media screen and (min-width: 1408px){}@media screen and (min-width: 769px), print{}@media screen and (max-width: 1023px){}@media screen and (max-width: 768px){}@media screen and (max-width: 1023px){}@media screen and (max-width: 768px){}@media screen and (max-width: 1023px){}@media screen and (max-width: 768px){}@media screen and (max-width: 1023px){}@media screen and (max-width: 768px){}@media screen and (max-width: 1023px){}@media screen and (max-width: 768px){}@media screen and (max-width: 1023px){}@media screen and (max-width: 768px){}@media screen and (max-width: 1023px){}@media screen and (max-width: 768px){}@media screen and (max-width: 1023px){}@media screen and (max-width: 768px){}@media screen and (max-width: 1023px){}@media screen and (max-width: 768px){}@media screen and (max-width: 1023px){}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (min-width: 769px), print{}@media screen and (max-width: 768px){}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (min-width: 1024px){}.footer{background-color:#fafafa;padding:3rem 1.5rem 6rem}</style>',F(this,{target:this.shadowRoot},be,ue,t,["email","apikey","url"]),e&&(e.target&&s(e.target,this,e.anchor),e.props&&(this.$set(e.props),C()))}static get observedAttributes(){return["email","apikey","url"]}get email(){return this.$$.ctx.email}set email(e){this.$set({email:e}),C()}get apikey(){return this.$$.ctx.apikey}set apikey(e){this.$set({apikey:e}),C()}get url(){return this.$$.ctx.url}set url(e){this.$set({url:e}),C()}}function ye(n){var i;return{c(){(i=p("p")).innerHTML='<strong>\n\t\t\t You are not logged in.\n\t\t\t </strong> <br> <small>Please log in with an <a target="_blank" href="https://id.atlassian.com/manage/api-tokens">API key</a>.</small>'},m(e,n){s(e,i,n)},p:e,d(e){e&&c(i)}}}function ke(e){var n,i,d,a,t,m,x,w,l,u,g,f,y=e.user.displayName,k=e.user.name,v=e.user.emailAddress;return{c(){n=p("p"),i=p("strong"),d=h(y),a=o(),t=p("small"),m=h("@"),x=h(k),w=o(),l=p("br"),u=o(),g=p("small"),f=h(v)},m(e,c){s(e,n,c),r(n,i),r(i,d),r(n,a),r(n,t),r(t,m),r(t,x),r(n,w),r(n,l),r(n,u),r(n,g),r(g,f)},p(e,n){e.user&&y!==(y=n.user.displayName)&&b(d,y),e.user&&k!==(k=n.user.name)&&b(x,k),e.user&&v!==(v=n.user.emailAddress)&&b(f,v)},d(e){e&&c(n)}}}function ve(n){var i,d,a,t,m,x,h,w,l;function g(e){return e.authenticated?ke:ye}var b=g(n),y=b(n);return{c(){i=p("div"),d=p("article"),a=p("div"),t=p("figure"),m=p("img"),h=o(),w=p("div"),l=p("div"),y.c(),this.c=e,u(m,"src",x=n.user.avatarUrls["48x48"]),u(m,"alt",""),u(t,"class","image is-48x48"),u(a,"class","media-left"),u(l,"class","content"),u(w,"class","media-content"),u(d,"class","media"),u(i,"class","box container is-fluid authuser-card"),f(i,"is-loading",n.fetching)},m(e,n){s(e,i,n),r(i,d),r(d,a),r(a,t),r(t,m),r(d,h),r(d,w),r(w,l),y.m(l,null)},p(e,n){e.user&&x!==(x=n.user.avatarUrls["48x48"])&&u(m,"src",x),b===(b=g(n))&&y?y.p(e,n):(y.d(1),(y=b(n))&&(y.c(),y.m(l,null))),e.fetching&&f(i,"is-loading",n.fetching)},i:e,o:e,d(e){e&&c(i),y.d()}}}function $e(e,n,i){let d,a,t;return ce.subscribe(e=>{i("user",a=e)}),ce.fetching.subscribe(e=>{i("fetching",d=e)}),ce.authenticated.subscribe(e=>{i("authenticated",t=e)}),{fetching:d,user:a,authenticated:t}}customElements.define("jira-auth-form",fe);class je extends R{constructor(e){super(),this.shadowRoot.innerHTML="<style>@keyframes spinAround{from{transform:rotate(0deg)}to{transform:rotate(359deg)}}.box:not(:last-child),.content:not(:last-child){margin-bottom:1.5rem}p,figure{margin:0;padding:0}*,*::before,*::after{box-sizing:inherit}img{height:auto;max-width:100%}article,figure{display:block}a{color:#3273dc;cursor:pointer;text-decoration:none}a:hover{color:#363636}img{height:auto;max-width:100%}small{font-size:0.875em}strong{color:#363636;font-weight:700}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (max-width: 1023px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1216px){}@media screen and (min-width: 1408px){}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (min-width: 769px) and (max-width: 1023px){}@media screen and (max-width: 1023px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px) and (max-width: 1215px){}@media screen and (min-width: 1216px){}@media screen and (min-width: 1216px) and (max-width: 1407px){}@media screen and (min-width: 1408px){}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (min-width: 769px) and (max-width: 1023px){}@media screen and (max-width: 1023px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px) and (max-width: 1215px){}@media screen and (min-width: 1216px){}@media screen and (min-width: 1216px) and (max-width: 1407px){}@media screen and (min-width: 1408px){}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (min-width: 769px) and (max-width: 1023px){}@media screen and (max-width: 1023px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px) and (max-width: 1215px){}@media screen and (min-width: 1216px){}@media screen and (min-width: 1216px) and (max-width: 1407px){}@media screen and (min-width: 1408px){}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (min-width: 769px) and (max-width: 1023px){}@media screen and (max-width: 1023px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px) and (max-width: 1215px){}@media screen and (min-width: 1216px){}@media screen and (min-width: 1216px) and (max-width: 1407px){}@media screen and (min-width: 1408px){}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (min-width: 769px) and (max-width: 1023px){}@media screen and (max-width: 1023px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px) and (max-width: 1215px){}@media screen and (min-width: 1216px){}@media screen and (min-width: 1216px) and (max-width: 1407px){}@media screen and (min-width: 1408px){}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (min-width: 769px) and (max-width: 1023px){}@media screen and (max-width: 1023px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px) and (max-width: 1215px){}@media screen and (min-width: 1216px){}@media screen and (min-width: 1216px) and (max-width: 1407px){}@media screen and (min-width: 1408px){}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (min-width: 769px) and (max-width: 1023px){}@media screen and (max-width: 1023px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px) and (max-width: 1215px){}@media screen and (min-width: 1216px){}@media screen and (min-width: 1216px) and (max-width: 1407px){}@media screen and (min-width: 1408px){}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (min-width: 769px) and (max-width: 1023px){}@media screen and (max-width: 1023px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px) and (max-width: 1215px){}@media screen and (min-width: 1216px){}@media screen and (min-width: 1216px) and (max-width: 1407px){}@media screen and (min-width: 1408px){}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (min-width: 769px) and (max-width: 1023px){}@media screen and (max-width: 1023px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px) and (max-width: 1215px){}@media screen and (min-width: 1216px){}@media screen and (min-width: 1216px) and (max-width: 1407px){}@media screen and (min-width: 1408px){}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (min-width: 769px) and (max-width: 1023px){}@media screen and (max-width: 1023px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px) and (max-width: 1215px){}@media screen and (min-width: 1216px){}@media screen and (min-width: 1216px) and (max-width: 1407px){}@media screen and (min-width: 1408px){}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (min-width: 769px) and (max-width: 1023px){}@media screen and (max-width: 1023px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px) and (max-width: 1215px){}@media screen and (min-width: 1216px){}@media screen and (min-width: 1216px) and (max-width: 1407px){}@media screen and (min-width: 1408px){}.box{background-color:white;border-radius:6px;box-shadow:0 2px 3px rgba(10, 10, 10, 0.1), 0 0 0 1px rgba(10, 10, 10, 0.1);color:#4a4a4a;display:block;padding:1.25rem}.container{flex-grow:1;margin:0 auto;position:relative;width:auto}@media screen and (min-width: 1024px){.container{max-width:960px}.container.is-fluid{margin-left:32px;margin-right:32px;max-width:none}}@media screen and (max-width: 1215px){}@media screen and (max-width: 1407px){}@media screen and (min-width: 1216px){.container{max-width:1152px}}@media screen and (min-width: 1408px){.container{max-width:1344px}}.content p:not(:last-child){margin-bottom:1em}.image{display:block;position:relative}.image img{display:block;height:auto;width:100%}.image.is-48x48{height:48px;width:48px}@keyframes moveIndeterminate{from{background-position:200% 0}to{background-position:-200% 0}}@media screen and (min-width: 769px), print{}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (min-width: 769px), print{}.card{background-color:white;box-shadow:0 2px 3px rgba(10, 10, 10, 0.1), 0 0 0 1px rgba(10, 10, 10, 0.1);color:#4a4a4a;max-width:100%;position:relative}.card .media:not(:last-child){margin-bottom:1.5rem}@media screen and (min-width: 769px), print{}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (min-width: 769px), print{}.media{align-items:flex-start;display:flex;text-align:left}.media .content:not(:last-child){margin-bottom:0.75rem}.media .media{border-top:1px solid rgba(219, 219, 219, 0.5);display:flex;padding-top:0.75rem}.media .media .content:not(:last-child){margin-bottom:0.5rem}.media .media .media+.media{margin-top:0.5rem}.media+.media{border-top:1px solid rgba(219, 219, 219, 0.5);margin-top:1rem;padding-top:1rem}.media.is-large+.media{margin-top:1.5rem;padding-top:1.5rem}.media-left{flex-basis:auto;flex-grow:0;flex-shrink:0}.media-left{margin-right:1rem}.media-content{flex-basis:auto;flex-grow:1;flex-shrink:1;text-align:left}@media screen and (max-width: 768px){.media-content{overflow-x:auto}}@media screen and (min-width: 769px), print{}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px){}.navbar>.container{align-items:stretch;display:flex;min-height:3.25rem;width:100%}@media screen and (max-width: 1023px){.navbar>.container{display:block}}@media screen and (min-width: 1024px){}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (max-width: 1023px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1216px){}@media screen and (min-width: 1408px){}@media screen and (min-width: 769px), print{}@media screen and (min-width: 1024px){}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (min-width: 769px) and (max-width: 1023px){}@media screen and (max-width: 1023px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px) and (max-width: 1215px){}@media screen and (min-width: 1216px){}@media screen and (min-width: 1216px) and (max-width: 1407px){}@media screen and (min-width: 1408px){}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (min-width: 769px) and (max-width: 1023px){}@media screen and (max-width: 1023px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px) and (max-width: 1215px){}@media screen and (min-width: 1216px){}@media screen and (min-width: 1216px) and (max-width: 1407px){}@media screen and (min-width: 1408px){}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (min-width: 769px) and (max-width: 1023px){}@media screen and (max-width: 1023px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px) and (max-width: 1215px){}@media screen and (min-width: 1216px){}@media screen and (min-width: 1216px) and (max-width: 1407px){}@media screen and (min-width: 1408px){}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (min-width: 769px) and (max-width: 1023px){}@media screen and (max-width: 1023px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px) and (max-width: 1215px){}@media screen and (min-width: 1216px){}@media screen and (min-width: 1216px) and (max-width: 1407px){}@media screen and (min-width: 1408px){}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (min-width: 769px) and (max-width: 1023px){}@media screen and (max-width: 1023px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px) and (max-width: 1215px){}@media screen and (min-width: 1216px){}@media screen and (min-width: 1216px) and (max-width: 1407px){}@media screen and (min-width: 1408px){}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (min-width: 769px) and (max-width: 1023px){}@media screen and (max-width: 1023px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px) and (max-width: 1215px){}@media screen and (min-width: 1216px){}@media screen and (min-width: 1216px) and (max-width: 1407px){}@media screen and (min-width: 1408px){}@media screen and (max-width: 768px){}@media screen and (min-width: 769px), print{}@media screen and (min-width: 769px) and (max-width: 1023px){}@media screen and (max-width: 1023px){}@media screen and (min-width: 1024px){}@media screen and (min-width: 1024px) and (max-width: 1215px){}@media screen and (min-width: 1216px){}@media screen and (min-width: 1216px) and (max-width: 1407px){}@media screen and (min-width: 1408px){}@media screen and (max-width: 768px){}@media screen