@flarehr/apollo-customer-workplace-link 1.1.61601 → 1.1.61655
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/bundle.esm.js +1 -3
- package/build/bundle.esm.js.map +1 -1
- package/build/bundle.js +1 -1
- package/build/bundle.js.map +1 -1
- package/package.json +1 -1
package/build/bundle.esm.js
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
!function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(e){return t[e]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/",e(e.s="mdyV")}({"/hs+":function(t,e,n){"use strict";function r(){return r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},r.apply(this,arguments)}function o(t){let e=this||{},n=t.call?t(e.p):t;return E(n.unshift?n.raw?T(n,[].slice.call(arguments,1),e.p):n.reduce(((t,n)=>n?r(t,n.call?n(e.p):n):t),{}):n,D(e.target),e.g,e.o,e.k)}function i(t,e){let n=this||{};return function(){function i(s,A){let a=r({},s),c=a.className||i.className;n.p=r({theme:p&&p()},a),n.o=/ *go\d+/.test(c),a.className=o.apply(n,u)+(c?" "+c:""),e&&(a.ref=A);let l=a.as||t;return delete a.as,d&&l[0]&&d(a),g(l,a)}let u=arguments;return e?e(i):i}}function u(t){this.message=t}function s(t){this.message=t}function A(){return(A=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function a(t){this.getChildContext=function(){return t.context};var e=t.children,n=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)e.indexOf(n=i[r])>=0||(o[n]=t[n]);return o}(t,["context","children"]);return Object(j.cloneElement)(e,n)}function c(){var t=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(t),this._vdom=Object(j.h)(a,A({},this._props,{context:t.detail.context}),function t(e,n){if(3===e.nodeType)return e.data;if(1!==e.nodeType)return null;var r=[],o={},i=0,u=e.attributes,s=e.childNodes;for(i=u.length;i--;)"slot"!==u[i].name&&(o[u[i].name]=u[i].value,o[l(u[i].name)]=u[i].value);for(i=s.length;i--;){var A=t(s[i],null),a=s[i].slot;a?o[a]=Object(j.h)(h,{name:a},A):r[i]=A}var c=n?Object(j.h)(h,null,r):r;return Object(j.h)(n||e.nodeName.toLowerCase(),o,c)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?j.hydrate:j.render)(this._vdom,this._root)}function l(t){return t.replace(/-(\w)/g,(function(t,e){return e?e.toUpperCase():""}))}function f(t,e,n){if(this._vdom){var r={};r[t]=n=null==n?void 0:n,r[l(t)]=n,this._vdom=Object(j.cloneElement)(this._vdom,r),Object(j.render)(this._vdom,this._root)}}function M(){Object(j.render)(this._vdom=null,this._root)}function h(t,e){var n=this;return Object(j.h)("slot",A({},t,{ref:function(t){t?(n.ref=t,n._listener||(n._listener=function(t){t.stopPropagation(),t.detail.context=e},t.addEventListener("_preact",n._listener))):n.ref.removeEventListener("_preact",n._listener)}}))}n.r(e);let g,p,d,w={data:""},D=t=>"object"==typeof window?((t?t.querySelector("#_goober"):window._goober)||r((t||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:t||w,L=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,y=/\/\*[^]*?\*\/|\s\s+|\n/g,N=(t,e)=>{let n,r="",o="",i="";for(let u in t){let s=t[u];"object"==typeof s?(n=e?e.replace(/([^,])+/g,(t=>u.replace(/([^,])+/g,(e=>/&/.test(e)?e.replace(/&/g,t):t?t+" "+e:e)))):u,o+="@"==u[0]?"f"==u[1]?N(s,u):u+"{"+N(s,"k"==u[1]?"":e)+"}":N(s,n)):"@"==u[0]&&"i"==u[1]?r=u+" "+s+";":(u=u.replace(/[A-Z]/g,"-$&").toLowerCase(),i+=N.p?N.p(u,s):u+":"+s+";")}return i[0]?(n=e?e+"{"+i+"}":i,r+n+o):r+o},C={},I=t=>{let e="";for(let n in t)e+=n+("object"==typeof t[n]?I(t[n]):t[n]);return e},E=(t,e,n,r,o)=>{let i="object"==typeof t?I(t):t,u=C[i]||(C[i]=(t=>{let e=0,n=11;for(;e<t.length;)n=101*n+t.charCodeAt(e++)>>>0;return"go"+n})(i));if(!C[u]){let e="object"==typeof t?t:(t=>{let e,n=[{}];for(;e=L.exec(t.replace(y,""));)e[4]&&n.shift(),e[3]?n.unshift(n[0][e[3]]=n[0][e[3]]||{}):e[4]||(n[0][e[1]]=e[2]);return n[0]})(t);C[u]=N(o?{["@keyframes "+u]:e}:e,n?"":"."+u)}return((t,e,n)=>{-1==e.data.indexOf(t)&&(e.data=n?t+e.data:e.data+t)})(C[u],e,r),u},T=(t,e,n)=>t.reduce(((t,r,o)=>{let i=e[o];if(i&&i.call){let t=i(n),e=t&&t.props&&t.props.className||/^go/.test(t)&&t;i=e?"."+e:t&&"object"==typeof t?t.props?"":N(t,""):!1===t?"":t}return t+r+(null==i?"":i)}),"");o.bind({g:1}),o.bind({k:1});var j=n("hosL"),v=n("QRet");(u.prototype=new Error).name="InvalidCharacterError";var m="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(t){var e=String(t).replace(/=+$/,"");if(e.length%4==1)throw new u("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,r,o=0,i=0,s="";r=e.charAt(i++);~r&&(n=o%4?64*n+r:r,o++%4)?s+=String.fromCharCode(255&n>>(-2*o&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return s};(s.prototype=new Error).name="InvalidTokenError";var O=function(t,e){if("string"!=typeof t)throw new s("Invalid token specified");var n=!0===(e=e||{}).header?0:1;try{return JSON.parse(function(t){var e=t.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw"Illegal base64url string!"}try{return function(t){return decodeURIComponent(m(t).replace(/(.)/g,(function(t,e){var n=e.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n})))}(e)}catch(t){return m(e)}}(t.split(".")[n]))}catch(t){throw new s("Invalid token specified: "+t.message)}},S=n("czhI"),z=n.n(S);const k=(t,e,n)=>{Object(v.d)((()=>{const e=z.a.CancelToken.source();return t(e),()=>{n&&n(),e.cancel()}}),e)},Q=({request:t})=>console.error("[API] Request error:",t),x=({response:t})=>{if(t){const{status:e,request:n,data:r}=t;console.error("[API] Response error:",e,n.responseURL,JSON.stringify(r))}};let b;const B=(t,e)=>({headers:{Authorization:`Bearer ${t}`},cancelToken:e.token});var U=n("WrvZ"),Y=n("5hdk"),R=n("B0/y"),P=n("QWY8"),J=n("sS3n"),_=n("OEJh"),F=n("JPIm"),G=n("uFtE");let W;const H=async(t,e)=>{const n=await P.AuthorizationServiceConfiguration.fetchFromIssuer(t,e);return W=n,n},X=async(t,e,n,r,o)=>{const i={};e&&(i.code_verifier=e);const u=new F.TokenRequest({client_id:r.clientId,redirect_uri:r.redirectUri,grant_type:F.GRANT_TYPE_AUTHORIZATION_CODE,code:t,refresh_token:void 0,extras:i});return await n.performTokenRequest(o,u)},K=t=>{if(t&&t.isValid())return t.accessToken},Z=async t=>{try{const e=await t.storageBackend.getItem("appauth_current_authorization_request"),n=e&&await t.storageBackend.getItem((t=>`${t}_appauth_authorization_service_configuration`)(e));if(n){const t=JSON.parse(n);W=new P.AuthorizationServiceConfiguration(t)}return!0}catch(t){return!1}};let V;o.bind({g:1});const q=i("span")([{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"}]),$=function(){const t=i.call({g:1},"div").apply(null,arguments);return function(e){return t(e),null}}(V||(V=(t=>t)`
|
|
2
2
|
@import url('//fonts.googleapis.com/css?family=Poppins');
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
body {
|
|
6
|
-
margin: 0;
|
|
4
|
+
workplace-link {
|
|
7
5
|
font-family: 'Poppins', sans-serif;
|
|
8
6
|
}
|
|
9
7
|
`)),tt=i("div")([{marginLeft:"1rem",marginRight:"1rem",gridTemplateColumns:"repeat(1, minmax(0, 1fr))",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",borderRadius:"0.25rem","@media (min-width: 768px)":{margin:"auto"}},{minHeight:"25rem"}]);let et;const nt=i("div")([{width:"12rem",height:"0.5rem",position:"relative"}]),rt=i("div")(et||(et=(t=>t)`
|