Tintboard for Jira and Confluence 1.1.1
“Your team's Tintboard colours and reading comfort in Jira and Confluence Cloud. Needs the Tintboard app on your Atlassian site.”
Archive contains Mozilla COSE digest manifestArchive contains Mozilla COSE signature file
SHA-256ba53d2c9cb85ae9e80a6141b04eb53e2de49d42d5d9f326b909790d31c583f26
Evidence
1"use strict";(()=>{var i={active:{text:"",colour:"#216e4e",title:"Tintboard: active"},"not-configured":{text:"?",colour:"#626f86",title:"Tintboard: not configured on this site"},unlicensed:{text:"!",colour:"#ae2e24",title:"Tintboard: this site's licence has lapsed"},"safe-mode":{text:"off",colour:"#626f86",title:"Tintboard: off (safe mode)"}};chrome.runtime.onMessage.addListener((e,a)=>{let t=a.tab?.id;if(e?.type!=="tintboard:state"||t===void 0||!(e.state in i))return;let o=i[e.state];chrome.action.setBadgeText({tabId:t,text:o.text}),chrome.action.setBadgeBackgroundColor({tabId:t,color:o.colour}),chrome.action.setTitle({tabId:t,title:o.title})});})();
1"use strict";(()=>{var $t=/^#[0-9a-f]{6}$/,Tt=/^#[0-9a-f]{3}$/,Ae="#172b4d",Fe="#ffffff",Le={light:"#ffffff",dark:"#1d2125"},At=4.5;function De(e){if(typeof e!="string")return null;let t=e.trim().toLowerCase();return $t.test(t)?t:Tt.test(t)?"#"+[...t.slice(1)].map(n=>n+n).join(""):null}function ue(e){let t=parseInt(e.slice(1),16);return[t>>16&255,t>>8&255,t&255]}function Ft(e){return"#"+e.map(t=>Math.round(t).toString(16).padStart(2,"0")).join("")}function Pe(e){let[t,n,s]=ue(e).map(r=>{let o=r/255;return o<=.03928?o/12.92:((o+.055)/1.055)* …
1:5236… } !important; }`,...Dt.map(([s,r])=>`${r.map(o=>`${t} ${o}`).join(", ")} { color: ${e[s]} !important; }`)].join(`
2`)}).join(`
3`)}var jt=/^[A-Za-z0-9~_-]{1,255}$/,Mt=/^[A-Z][A-Z0-9_]{0,254}$/,_t=/^[A-Za-z0-9_.-]{1,100}$/;function J(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function ze(e){let t=[];if(!J(e))return{ok:!1,errors:["Rules must be a JSON object"]};e.version!==1&&t.push(`Unsupported rules version: ${String(e.version)}`);let n=(p,l)=>typeof p!="string"||!p.trim()?(t.push(`${l}: must be a non-empty text`),""):(p.length>R.text&&t.push(`${l}: at most ${R.text} characters`),p.trim()),s=(p,l,y)=>{let v=De(p);return v?(y&&!je(v)&&t.push(`${l}: ${v} is too mid-toned for readable text (WCAG AA); pick a lighter or darker shade`),v):(t.push(`${l}: "${String(p)}" is n …
3:5289… ,reading:It}}}var re="tintboard.published",Je=10080*60*1e3;var Ot=["active","development","unlicensed"],Ze={name:"Ed25519"};var Ge=e=>Uint8Array.from(atob(e),t=>t.charCodeAt(0));async function ge(e,t,n,s=Date.now()){let r=(g,b)=>({state:"not-configured",reason:g,...b?{detail:b}:{}});if(typeof e!="object"||e===null)return r("no-copy");let{payload:o,sig:a}=e;if(typeof o!="string"||typeof a!="string")return r("unreadable");let i;try{i=await crypto.subtle.importKey("raw",Ge(t),Ze,!1,["verify"])}catch(g){return r("no-crypto",g instanceof Error?g.message:String(g))}try{if(!await crypto.subtle.verify(Ze,i,Ge(a),new TextEncoder().encode(o)))return r("bad-signature")}catch{return r("bad-signature")}let u;try{u=JSON.parse(o)}catch{return r("unreadable")}if(u.site!==n)return r("other-site",String(u.site));let c=s-Date.parse(u.at??"");if(!(c>=-Je&&c<=Je))return r("expired",String(u.at));if(!Ot.includes(u.licence))return r("unreadable");if(!_e(u.licence))return{state:"unlicensed"};let m=ze(u.rules);return m.ok?{state:"ready",rules:m.value}:r("bad-rules",m.errors[0])}var Xe="tintboardseen";function Qe(e){let t=new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate())),n=t.getUTCDay()||7;t.setUTCDate(t.g …
3:15250… ][A-Z0-9_]+-\d+)/.exec(e)?.[1]}function oe(e){let t=e.querySelector(k.cardIssueLink)?.getAttribute("href");return t?xe(t):void 0}function Se(e){return e.documentElement.dataset.colorMode==="dark"?"dark":"light"}var ke="tintboard-styles",Wt=`
4[data-tb-chip] { background-color: var(--tb-bg) !important; border-color …
No evidence locations were recorded for this file. Raw result