Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@planningcenter/components

Package Overview
Dependencies
Maintainers
11
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@planningcenter/components - npm Package Compare versions

Comparing version 0.0.15 to 0.0.18

2

dist/components.js

@@ -1,2 +0,2 @@

var e,r=(e=require("react"))&&"object"==typeof e&&"default"in e?e.default:e,t=require("@planningcenter/utilities"),n=require("@planningcenter/system");function o(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function a(e,r){return e(r={exports:{}},r.exports),r.exports}var i=a(function(e,r){Object.defineProperty(r,"__esModule",{value:!0});var t="function"==typeof Symbol&&Symbol.for,n=t?Symbol.for("react.element"):60103,o=t?Symbol.for("react.portal"):60106,a=t?Symbol.for("react.fragment"):60107,i=t?Symbol.for("react.strict_mode"):60108,c=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,u=t?Symbol.for("react.context"):60110,f=t?Symbol.for("react.async_mode"):60111,l=t?Symbol.for("react.concurrent_mode"):60111,p=t?Symbol.for("react.forward_ref"):60112,y=t?Symbol.for("react.suspense"):60113,d=t?Symbol.for("react.suspense_list"):60120,m=t?Symbol.for("react.memo"):60115,v=t?Symbol.for("react.lazy"):60116,b=t?Symbol.for("react.fundamental"):60117,h=t?Symbol.for("react.responder"):60118,g=t?Symbol.for("react.scope"):60119;function O(e){if("object"==typeof e&&null!==e){var r=e.$$typeof;switch(r){case n:switch(e=e.type){case f:case l:case a:case c:case i:case y:return e;default:switch(e=e&&e.$$typeof){case u:case p:case s:return e;default:return r}}case v:case m:case o:return r}}}function S(e){return O(e)===l}r.typeOf=O,r.AsyncMode=f,r.ConcurrentMode=l,r.ContextConsumer=u,r.ContextProvider=s,r.Element=n,r.ForwardRef=p,r.Fragment=a,r.Lazy=v,r.Memo=m,r.Portal=o,r.Profiler=c,r.StrictMode=i,r.Suspense=y,r.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===l||e===c||e===i||e===y||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===m||e.$$typeof===s||e.$$typeof===u||e.$$typeof===p||e.$$typeof===b||e.$$typeof===h||e.$$typeof===g)},r.isAsyncMode=function(e){return S(e)||O(e)===f},r.isConcurrentMode=S,r.isContextConsumer=function(e){return O(e)===u},r.isContextProvider=function(e){return O(e)===s},r.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},r.isForwardRef=function(e){return O(e)===p},r.isFragment=function(e){return O(e)===a},r.isLazy=function(e){return O(e)===v},r.isMemo=function(e){return O(e)===m},r.isPortal=function(e){return O(e)===o},r.isProfiler=function(e){return O(e)===c},r.isStrictMode=function(e){return O(e)===i},r.isSuspense=function(e){return O(e)===y}});o(i);var c=a(function(e,r){"production"!==process.env.NODE_ENV&&function(){Object.defineProperty(r,"__esModule",{value:!0});var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,c=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,l=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,d=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,v=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,h=e?Symbol.for("react.scope"):60119;function g(e){if("object"==typeof e&&null!==e){var r=e.$$typeof;switch(r){case t:var y=e.type;switch(y){case u:case f:case o:case i:case a:case p:return y;default:var v=y&&y.$$typeof;switch(v){case s:case l:case c:return v;default:return r}}case m:case d:case n:return r}}}var O=u,S=f,j=s,E=c,N=t,x=l,w=o,P=m,T=d,_=n,C=i,$=a,I=p,A=!1;function k(e){return g(e)===f}r.typeOf=g,r.AsyncMode=O,r.ConcurrentMode=S,r.ContextConsumer=j,r.ContextProvider=E,r.Element=N,r.ForwardRef=x,r.Fragment=w,r.Lazy=P,r.Memo=T,r.Portal=_,r.Profiler=C,r.StrictMode=$,r.Suspense=I,r.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===f||e===i||e===a||e===p||e===y||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===d||e.$$typeof===c||e.$$typeof===s||e.$$typeof===l||e.$$typeof===v||e.$$typeof===b||e.$$typeof===h)},r.isAsyncMode=function(e){return A||(A=!0,function(e,r){if(void 0===r)throw new Error("`lowPriorityWarningWithoutStack(condition, format, ...args)` requires a warning message argument");if(!e){for(var t=arguments.length,n=new Array(t>2?t-2:0),o=2;o<t;o++)n[o-2]=arguments[o];(function(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];var o=0,a="Warning: "+e.replace(/%s/g,function(){return t[o++]});"undefined"!=typeof console&&console.warn(a);try{throw new Error(a)}catch(e){}}).apply(void 0,[r].concat(n))}}(!1,"The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),k(e)||g(e)===u},r.isConcurrentMode=k,r.isContextConsumer=function(e){return g(e)===s},r.isContextProvider=function(e){return g(e)===c},r.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},r.isForwardRef=function(e){return g(e)===l},r.isFragment=function(e){return g(e)===o},r.isLazy=function(e){return g(e)===m},r.isMemo=function(e){return g(e)===d},r.isPortal=function(e){return g(e)===n},r.isProfiler=function(e){return g(e)===i},r.isStrictMode=function(e){return g(e)===a},r.isSuspense=function(e){return g(e)===p}}()});o(c);var s=a(function(e){e.exports="production"===process.env.NODE_ENV?i:c}),u=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,p=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var r={},t=0;t<10;t++)r["_"+String.fromCharCode(t)]=t;if("0123456789"!==Object.getOwnPropertyNames(r).map(function(e){return r[e]}).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(e){n[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,r){for(var t,n,o=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),a=1;a<arguments.length;a++){for(var i in t=Object(arguments[a]))f.call(t,i)&&(o[i]=t[i]);if(u){n=u(t);for(var c=0;c<n.length;c++)l.call(t,n[c])&&(o[n[c]]=t[n[c]])}}return o},y="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",d=function(){};if("production"!==process.env.NODE_ENV){var m=y,v={},b=Function.call.bind(Object.prototype.hasOwnProperty);d=function(e){var r="Warning: "+e;"undefined"!=typeof console&&console.error(r);try{throw new Error(r)}catch(e){}}}function h(e,r,t,n,o){if("production"!==process.env.NODE_ENV)for(var a in e)if(b(e,a)){var i;try{if("function"!=typeof e[a]){var c=Error((n||"React class")+": "+t+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.");throw c.name="Invariant Violation",c}i=e[a](r,a,n,t,null,m)}catch(e){i=e}if(!i||i instanceof Error||d((n||"React class")+": type specification of "+t+" `"+a+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof i+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),i instanceof Error&&!(i.message in v)){v[i.message]=!0;var s=o?o():"";d("Failed "+t+" type: "+i.message+(null!=s?s:""))}}}h.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(v={})};var g=h,O=Function.call.bind(Object.prototype.hasOwnProperty),S=function(){};function j(){return null}function E(){}function N(){}"production"!==process.env.NODE_ENV&&(S=function(e){var r="Warning: "+e;"undefined"!=typeof console&&console.error(r);try{throw new Error(r)}catch(e){}}),N.resetWarningCache=E;var x=a(function(e){e.exports="production"!==process.env.NODE_ENV?function(e,r){var t="function"==typeof Symbol&&Symbol.iterator,n="@@iterator",o="<<anonymous>>",a={array:u("array"),bool:u("boolean"),func:u("function"),number:u("number"),object:u("object"),string:u("string"),symbol:u("symbol"),any:c(j),arrayOf:function(e){return c(function(r,t,n,o,a){if("function"!=typeof e)return new i("Property `"+a+"` of component `"+n+"` has invalid PropType notation inside arrayOf.");var c=r[t];if(!Array.isArray(c))return new i("Invalid "+o+" `"+a+"` of type `"+l(c)+"` supplied to `"+n+"`, expected an array.");for(var s=0;s<c.length;s++){var u=e(c,s,n,o,a+"["+s+"]",y);if(u instanceof Error)return u}return null})},element:c(function(r,t,n,o,a){var c=r[t];return e(c)?null:new i("Invalid "+o+" `"+a+"` of type `"+l(c)+"` supplied to `"+n+"`, expected a single ReactElement.")}),elementType:c(function(e,r,t,n,o){var a=e[r];return s.isValidElementType(a)?null:new i("Invalid "+n+" `"+o+"` of type `"+l(a)+"` supplied to `"+t+"`, expected a single ReactElement type.")}),instanceOf:function(e){return c(function(r,t,n,a,c){var s;return r[t]instanceof e?null:new i("Invalid "+a+" `"+c+"` of type `"+((s=r[t]).constructor&&s.constructor.name?s.constructor.name:o)+"` supplied to `"+n+"`, expected instance of `"+(e.name||o)+"`.")})},node:c(function(e,r,t,n,o){return f(e[r])?null:new i("Invalid "+n+" `"+o+"` supplied to `"+t+"`, expected a ReactNode.")}),objectOf:function(e){return c(function(r,t,n,o,a){if("function"!=typeof e)return new i("Property `"+a+"` of component `"+n+"` has invalid PropType notation inside objectOf.");var c=r[t],s=l(c);if("object"!==s)return new i("Invalid "+o+" `"+a+"` of type `"+s+"` supplied to `"+n+"`, expected an object.");for(var u in c)if(O(c,u)){var f=e(c,u,n,o,a+"."+u,y);if(f instanceof Error)return f}return null})},oneOf:function(e){return Array.isArray(e)?c(function(r,t,n,o,a){for(var c=r[t],s=0;s<e.length;s++)if((u=c)===(f=e[s])?0!==u||1/u==1/f:u!=u&&f!=f)return null;var u,f,l=JSON.stringify(e,function(e,r){return"symbol"===d(r)?String(r):r});return new i("Invalid "+o+" `"+a+"` of value `"+String(c)+"` supplied to `"+n+"`, expected one of "+l+".")}):("production"!==process.env.NODE_ENV&&S(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),j)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&S("Invalid argument supplied to oneOfType, expected an instance of array."),j;for(var r=0;r<e.length;r++){var t=e[r];if("function"!=typeof t)return S("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+m(t)+" at index "+r+"."),j}return c(function(r,t,n,o,a){for(var c=0;c<e.length;c++)if(null==(0,e[c])(r,t,n,o,a,y))return null;return new i("Invalid "+o+" `"+a+"` supplied to `"+n+"`.")})},shape:function(e){return c(function(r,t,n,o,a){var c=r[t],s=l(c);if("object"!==s)return new i("Invalid "+o+" `"+a+"` of type `"+s+"` supplied to `"+n+"`, expected `object`.");for(var u in e){var f=e[u];if(f){var p=f(c,u,n,o,a+"."+u,y);if(p)return p}}return null})},exact:function(e){return c(function(r,t,n,o,a){var c=r[t],s=l(c);if("object"!==s)return new i("Invalid "+o+" `"+a+"` of type `"+s+"` supplied to `"+n+"`, expected `object`.");var u=p({},r[t],e);for(var f in u){var d=e[f];if(!d)return new i("Invalid "+o+" `"+a+"` key `"+f+"` supplied to `"+n+"`.\nBad object: "+JSON.stringify(r[t],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var m=d(c,f,n,o,a+"."+f,y);if(m)return m}return null})}};function i(e){this.message=e,this.stack=""}function c(e){if("production"!==process.env.NODE_ENV)var t={},n=0;function a(a,c,s,u,f,l,p){if(u=u||o,l=l||s,p!==y){if(r){var d=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw d.name="Invariant Violation",d}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var m=u+":"+s;!t[m]&&n<3&&(S("You are manually calling a React.PropTypes validation function for the `"+l+"` prop on `"+u+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[m]=!0,n++)}}return null==c[s]?a?new i(null===c[s]?"The "+f+" `"+l+"` is marked as required in `"+u+"`, but its value is `null`.":"The "+f+" `"+l+"` is marked as required in `"+u+"`, but its value is `undefined`."):null:e(c,s,u,f,l)}var c=a.bind(null,!1);return c.isRequired=a.bind(null,!0),c}function u(e){return c(function(r,t,n,o,a,c){var s=r[t];return l(s)!==e?new i("Invalid "+o+" `"+a+"` of type `"+d(s)+"` supplied to `"+n+"`, expected `"+e+"`."):null})}function f(r){switch(typeof r){case"number":case"string":case"undefined":return!0;case"boolean":return!r;case"object":if(Array.isArray(r))return r.every(f);if(null===r||e(r))return!0;var o=function(e){var o=r&&(t&&r[t]||r[n]);if("function"==typeof o)return o}();if(!o)return!1;var a,i=o.call(r);if(o!==r.entries){for(;!(a=i.next()).done;)if(!f(a.value))return!1}else for(;!(a=i.next()).done;){var c=a.value;if(c&&!f(c[1]))return!1}return!0;default:return!1}}function l(e){var r=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,r){return"symbol"===e||!!r&&("Symbol"===r["@@toStringTag"]||"function"==typeof Symbol&&r instanceof Symbol)}(r,e)?"symbol":r}function d(e){if(null==e)return""+e;var r=l(e);if("object"===r){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return r}function m(e){var r=d(e);switch(r){case"array":case"object":return"an "+r;case"boolean":case"date":case"regexp":return"a "+r;default:return r}}return i.prototype=Error.prototype,a.checkPropTypes=g,a.resetWarningCache=g.resetWarningCache,a.PropTypes=a,a}(s.isElement,!0):function(){function e(e,r,t,n,o,a){if(a!==y){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function r(){return e}e.isRequired=e;var t={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:N,resetWarningCache:E};return t.PropTypes=t,t}()});function w(e){var t=e.as;void 0===t&&(t="span");var n=e.className,o=e.src,a=e.srcSet,i=e.alt,c=e.children,s=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&-1===r.indexOf(n)&&(t[n]=e[n]);return t}(e,["as","className","src","srcSet","alt","children"]),u={src:o,srcSet:a,alt:i},f=r.createElement("img",u);return r.createElement(t,Object.assign({},{className:[n,"Avatar"].join(" ")},s),"function"==typeof c?c(f,u):f)}function P(e,r){var n=e.size;return r&&!r.includes(n)?"":"object"!=typeof n&&t.mapPropsToClassNames("PointGridAvatar")(["size"])({size:n})}function T(e,r){var o=e.size;if("object"==typeof o&&null!==o){var a={};return Object.entries(o).forEach(function(e){var t=e[0],o=e[1];return r?Object.keys(n.BREAKPOINTS).includes(t)&&r.includes(o)?a[t]=o:void 0:a[t]=o}),t.mapPropsToClassNames("ResponsivePointGridAvatar")(["size"])({size:a})}}function _(e){var r=e.inset;return t.mapPropsToClassNames("StyledAvatar")(["inset"])({inset:r})}function C(e){return!0===e?"InactiveAvatar":""}var $=Array.from(new Set([2.5].concat(n.SIZES.filter(function(e){return e>=3}),[9]))).sort();function I(e){var t=e.size,n=e.strict;void 0===n&&(n=!0);var o=e.inactive;void 0===o&&(o=!1);var a=e.inset,i=e.className,c=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&-1===r.indexOf(n)&&(t[n]=e[n]);return t}(e,["size","strict","inactive","inset","className"]);return r.createElement(w,Object.assign({},{className:[i,T({size:t},n&&$),P({size:t},n),_({inset:a}),C(o)].join(" ").trim()},c))}function A(e){var t=e.className,n=e.children,o=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&-1===r.indexOf(n)&&(t[n]=e[n]);return t}(e,["className","children"]);return r.createElement("label",null,r.createElement("input",Object.assign({},{type:"checkbox",className:[t,"Checkbox"].join(" ")},o)),r.createElement("span",{style:{marginLeft:8}},n))}function k(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&-1===r.indexOf(n)&&(t[n]=e[n]);return t}I.propTypes={as:x.element,className:x.string,inactive:x.bool,inset:x.bool,size:x.oneOf([2.5,3,4,5,6,7,8,9]),src:x.string,srcSet:x.string,strict:x.bool,alt:x.string,chidren:x.oneOfType([x.node,x.func])};var R={Avatar:function(e){var t=e.className,n=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&-1===r.indexOf(n)&&(t[n]=e[n]);return t}(e,["className"]);return r.createElement(I,Object.assign({},{className:[t,"ResourceHeader__Avatar"].join(" ").trim()},n))},TabContainer:function(e){var t=e.as;void 0===t&&(t="div");var n=e.className,o=k(e,["as","className"]);return r.createElement(t,Object.assign({},{className:["ResourceHeader__TabContainer",n].join(" ")},o))},SummaryContainer:function(e){var t=e.as;void 0===t&&(t="div");var n=e.className,o=k(e,["as","className"]);return r.createElement(t,Object.assign({},{className:["ResourceHeader__SummaryContainer",n].join(" ")},o))},FlexSpacer:function(e){var t=e.space,n=e.className,o=k(e,["space","className"]);return r.createElement("div",Object.assign({},{className:[n,"ResourceHeader__FlexSpacer"].join(" "),style:t?{margin:4*t}:null},o))},Title:function(e){var t=e.as;void 0===t&&(t="span");var n=e.className,o=k(e,["as","className"]);return r.createElement(t,Object.assign({},{className:["ResourceHeader__Title",n].join(" ")},o))},Tab:function(e){var t=e.target,n=e.className,o=e.children,a=e.style,i=k(e,["target","className","children","style"]);return r.createElement("a",Object.assign({},{className:[n,"ResourceHeader__Tab"].join(" "),style:Object.assign({},t?{backgroundColor:"white",fontWeight:700,color:"#000"}:{backgroundColor:"rgba(255,255,255, .8)",boxShadow:"inset 0 -6px 6px -8px rgba(0,0,0, .1)",fontWight:400,color:"#400"},a)},i),o)}};function z(e){var t=e.as;void 0===t&&(t="select");var n=e.className,o=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&-1===r.indexOf(n)&&(t[n]=e[n]);return t}(e,["as","className"]);return r.createElement(t,Object.assign({},{className:[n,"Select"].join(" ")},o))}function V(e,r){var n=e.height;return r&&!r.includes(n)?"":"object"!=typeof n&&t.mapPropsToClassNames("PointGridSelect")(["height"])({height:n})}var M=Array.from(new Set([2.5].concat(n.SIZES.filter(function(e){return e>=3&&e<=5})))).sort();function F(e){var t=e.as;void 0===t&&(t="span");var n=e.className,o=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&-1===r.indexOf(n)&&(t[n]=e[n]);return t}(e,["as","className"]);return r.createElement(t,Object.assign({},{className:[n,"Text"].join(" ")},o))}function D(e){return e.replace(/([A-Z])/g,function(e){return"-"+e[0].toLowerCase()})}function W(e){void 0===e&&(e={});var r=e.block;void 0===r&&(r="");var t=e.element;void 0===t&&(t="");var n=e.modifierName;void 0===n&&(n="");var o=e.modifierValue;return void 0===o&&(o=""),[r&&""+r,t&&"__"+t,function(e,r){if(e&&r)return!0===r?"--"+D(e):"--"+D(e)+"_"+r}(n,o)].join("")}function q(e,r){var t=e.fontSize;if(void 0===r&&(r=!0),t){var n,o=function(e,r){return r?H.includes(e)?e:"medium":e}(t,r);return(void 0===(n="FontScaleText")&&(n=""),function(e){return void 0===e&&(e=[]),function(r){return void 0===r&&(r={}),(e.length?[e.filter(function(e){return r[e]}).length?""+n:""].concat(e.map(function(e){var t=r[e];if(null!=t){if("object"==typeof t){var o=[];return Object.entries(r).forEach(function(e){var r=e[0];return Object.entries(e[1]).forEach(function(e){return o.push(W({block:"@"+e[0],element:n,modifierName:r,modifierValue:e[1]}))})}),o.join(" ").trim()}return W({block:n,modifierName:e,modifierValue:t})}})):[]).join(" ").trim()}})(["fontSize"])({fontSize:o})}}var H=["x-small","small","medium","large","x-large"],L=Array.from(new Set(["x-small","small","medium","large","x-large"]));function Z(e){var t=e.as;void 0===t&&(t="input");var n=e.className,o=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&-1===r.indexOf(n)&&(t[n]=e[n]);return t}(e,["as","className"]);return r.createElement(t,Object.assign({},{className:[n,"TextInput"].join(" ").trim()},o))}function U(e,r){var n=e.height;return r&&!r.includes(n)?"":"object"!=typeof n&&t.mapPropsToClassNames("PointGridTextInput")(["height"])({height:n})}function B(e){return e.invalid?"InvalidTextInput":""}Z.defaultProps={type:"text"};var G=Array.from(new Set([2.5].concat(n.SIZES.filter(function(e){return e>=3&&e<=5})))).sort();exports.ResourceHeader=R,exports.Avatar=I,exports.AVATAR_SIZES=$,exports.Checkbox=function(e){var t=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&-1===r.indexOf(n)&&(t[n]=e[n]);return t}(e,[]);return r.createElement(A,t)},exports.CHECKBOX_SIZES=[],exports.Select=function(e){var t=e.className,n=e.height,o=e.strict;void 0===o&&(o=!0);var a=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&-1===r.indexOf(n)&&(t[n]=e[n]);return t}(e,["className","height","invalid","strict"]);return r.createElement(z,Object.assign({},{className:[t,V({height:n},o&&M)].join(" ")},a))},exports.SELECT_SIZES=M,exports.Surface=function(e){var t=e.as;void 0===t&&(t="div");var n=e.className,o=e.depth,a=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&-1===r.indexOf(n)&&(t[n]=e[n]);return t}(e,["as","className","depth"]);return r.createElement(t,Object.assign({},{className:["Surface",n].concat(o&&[1,2,3].includes(o)?["Surface--depth_"+o]:[]).join(" ").trim()},a))},exports.Text=function(e){var t=e.fontSize,n=e.className,o=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&-1===r.indexOf(n)&&(t[n]=e[n]);return t}(e,["fontSize","strict","className"]);return r.createElement(F,Object.assign({},{className:[n,q({fontSize:t})].join(" ")},o))},exports.TEXT_SIZES=L,exports.TextInput=function(e){var t=e.className,n=e.height,o=e.invalid,a=e.strict;void 0===a&&(a=!0);var i=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&-1===r.indexOf(n)&&(t[n]=e[n]);return t}(e,["className","height","invalid","strict"]);return r.createElement(Z,Object.assign({},{className:[t,U({height:n},a&&G),B({invalid:o})].join(" ").trim()},i))},exports.TEXT_INPUT_SIZES=G;
var e,r=require("@planningcenter/utilities"),t=(e=require("react"))&&"object"==typeof e&&"default"in e?e.default:e,n=require("@planningcenter/system");function o(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function a(e,r){return e(r={exports:{}},r.exports),r.exports}var i=a(function(e,r){Object.defineProperty(r,"__esModule",{value:!0});var t="function"==typeof Symbol&&Symbol.for,n=t?Symbol.for("react.element"):60103,o=t?Symbol.for("react.portal"):60106,a=t?Symbol.for("react.fragment"):60107,i=t?Symbol.for("react.strict_mode"):60108,c=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,u=t?Symbol.for("react.context"):60110,f=t?Symbol.for("react.async_mode"):60111,l=t?Symbol.for("react.concurrent_mode"):60111,p=t?Symbol.for("react.forward_ref"):60112,y=t?Symbol.for("react.suspense"):60113,d=t?Symbol.for("react.suspense_list"):60120,m=t?Symbol.for("react.memo"):60115,v=t?Symbol.for("react.lazy"):60116,b=t?Symbol.for("react.fundamental"):60117,h=t?Symbol.for("react.responder"):60118,O=t?Symbol.for("react.scope"):60119;function g(e){if("object"==typeof e&&null!==e){var r=e.$$typeof;switch(r){case n:switch(e=e.type){case f:case l:case a:case c:case i:case y:return e;default:switch(e=e&&e.$$typeof){case u:case p:case v:case m:case s:return e;default:return r}}case o:return r}}}function S(e){return g(e)===l}r.typeOf=g,r.AsyncMode=f,r.ConcurrentMode=l,r.ContextConsumer=u,r.ContextProvider=s,r.Element=n,r.ForwardRef=p,r.Fragment=a,r.Lazy=v,r.Memo=m,r.Portal=o,r.Profiler=c,r.StrictMode=i,r.Suspense=y,r.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===l||e===c||e===i||e===y||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===m||e.$$typeof===s||e.$$typeof===u||e.$$typeof===p||e.$$typeof===b||e.$$typeof===h||e.$$typeof===O)},r.isAsyncMode=function(e){return S(e)||g(e)===f},r.isConcurrentMode=S,r.isContextConsumer=function(e){return g(e)===u},r.isContextProvider=function(e){return g(e)===s},r.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},r.isForwardRef=function(e){return g(e)===p},r.isFragment=function(e){return g(e)===a},r.isLazy=function(e){return g(e)===v},r.isMemo=function(e){return g(e)===m},r.isPortal=function(e){return g(e)===o},r.isProfiler=function(e){return g(e)===c},r.isStrictMode=function(e){return g(e)===i},r.isSuspense=function(e){return g(e)===y}});o(i);var c=a(function(e,r){"production"!==process.env.NODE_ENV&&function(){Object.defineProperty(r,"__esModule",{value:!0});var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,c=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,l=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,d=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,v=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,h=e?Symbol.for("react.scope"):60119;function O(e){if("object"==typeof e&&null!==e){var r=e.$$typeof;switch(r){case t:var y=e.type;switch(y){case u:case f:case o:case i:case a:case p:return y;default:var v=y&&y.$$typeof;switch(v){case s:case l:case m:case d:case c:return v;default:return r}}case n:return r}}}var g=u,S=f,j=s,E=c,N=t,x=l,w=o,P=m,T=d,_=n,$=i,C=a,I=p,A=!1;function k(e){return O(e)===f}r.typeOf=O,r.AsyncMode=g,r.ConcurrentMode=S,r.ContextConsumer=j,r.ContextProvider=E,r.Element=N,r.ForwardRef=x,r.Fragment=w,r.Lazy=P,r.Memo=T,r.Portal=_,r.Profiler=$,r.StrictMode=C,r.Suspense=I,r.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===f||e===i||e===a||e===p||e===y||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===d||e.$$typeof===c||e.$$typeof===s||e.$$typeof===l||e.$$typeof===v||e.$$typeof===b||e.$$typeof===h)},r.isAsyncMode=function(e){return A||(A=!0,function(e,r){if(void 0===r)throw new Error("`lowPriorityWarningWithoutStack(condition, format, ...args)` requires a warning message argument");if(!e){for(var t=arguments.length,n=new Array(t>2?t-2:0),o=2;o<t;o++)n[o-2]=arguments[o];(function(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];var o=0,a="Warning: "+e.replace(/%s/g,function(){return t[o++]});"undefined"!=typeof console&&console.warn(a);try{throw new Error(a)}catch(e){}}).apply(void 0,[r].concat(n))}}(!1,"The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),k(e)||O(e)===u},r.isConcurrentMode=k,r.isContextConsumer=function(e){return O(e)===s},r.isContextProvider=function(e){return O(e)===c},r.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},r.isForwardRef=function(e){return O(e)===l},r.isFragment=function(e){return O(e)===o},r.isLazy=function(e){return O(e)===m},r.isMemo=function(e){return O(e)===d},r.isPortal=function(e){return O(e)===n},r.isProfiler=function(e){return O(e)===i},r.isStrictMode=function(e){return O(e)===a},r.isSuspense=function(e){return O(e)===p}}()});o(c);var s=a(function(e){e.exports="production"===process.env.NODE_ENV?i:c}),u=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,p=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var r={},t=0;t<10;t++)r["_"+String.fromCharCode(t)]=t;if("0123456789"!==Object.getOwnPropertyNames(r).map(function(e){return r[e]}).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(e){n[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,r){for(var t,n,o=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),a=1;a<arguments.length;a++){for(var i in t=Object(arguments[a]))f.call(t,i)&&(o[i]=t[i]);if(u){n=u(t);for(var c=0;c<n.length;c++)l.call(t,n[c])&&(o[n[c]]=t[n[c]])}}return o},y="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",d=function(){};if("production"!==process.env.NODE_ENV){var m=y,v={},b=Function.call.bind(Object.prototype.hasOwnProperty);d=function(e){var r="Warning: "+e;"undefined"!=typeof console&&console.error(r);try{throw new Error(r)}catch(e){}}}function h(e,r,t,n,o){if("production"!==process.env.NODE_ENV)for(var a in e)if(b(e,a)){var i;try{if("function"!=typeof e[a]){var c=Error((n||"React class")+": "+t+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.");throw c.name="Invariant Violation",c}i=e[a](r,a,n,t,null,m)}catch(e){i=e}if(!i||i instanceof Error||d((n||"React class")+": type specification of "+t+" `"+a+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof i+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),i instanceof Error&&!(i.message in v)){v[i.message]=!0;var s=o?o():"";d("Failed "+t+" type: "+i.message+(null!=s?s:""))}}}h.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(v={})};var O=h,g=Function.call.bind(Object.prototype.hasOwnProperty),S=function(){};function j(){return null}function E(){}function N(){}"production"!==process.env.NODE_ENV&&(S=function(e){var r="Warning: "+e;"undefined"!=typeof console&&console.error(r);try{throw new Error(r)}catch(e){}}),N.resetWarningCache=E;var x=a(function(e){e.exports="production"!==process.env.NODE_ENV?function(e,r){var t="function"==typeof Symbol&&Symbol.iterator,n="@@iterator",o="<<anonymous>>",a={array:u("array"),bool:u("boolean"),func:u("function"),number:u("number"),object:u("object"),string:u("string"),symbol:u("symbol"),any:c(j),arrayOf:function(e){return c(function(r,t,n,o,a){if("function"!=typeof e)return new i("Property `"+a+"` of component `"+n+"` has invalid PropType notation inside arrayOf.");var c=r[t];if(!Array.isArray(c))return new i("Invalid "+o+" `"+a+"` of type `"+l(c)+"` supplied to `"+n+"`, expected an array.");for(var s=0;s<c.length;s++){var u=e(c,s,n,o,a+"["+s+"]",y);if(u instanceof Error)return u}return null})},element:c(function(r,t,n,o,a){var c=r[t];return e(c)?null:new i("Invalid "+o+" `"+a+"` of type `"+l(c)+"` supplied to `"+n+"`, expected a single ReactElement.")}),elementType:c(function(e,r,t,n,o){var a=e[r];return s.isValidElementType(a)?null:new i("Invalid "+n+" `"+o+"` of type `"+l(a)+"` supplied to `"+t+"`, expected a single ReactElement type.")}),instanceOf:function(e){return c(function(r,t,n,a,c){var s;return r[t]instanceof e?null:new i("Invalid "+a+" `"+c+"` of type `"+((s=r[t]).constructor&&s.constructor.name?s.constructor.name:o)+"` supplied to `"+n+"`, expected instance of `"+(e.name||o)+"`.")})},node:c(function(e,r,t,n,o){return f(e[r])?null:new i("Invalid "+n+" `"+o+"` supplied to `"+t+"`, expected a ReactNode.")}),objectOf:function(e){return c(function(r,t,n,o,a){if("function"!=typeof e)return new i("Property `"+a+"` of component `"+n+"` has invalid PropType notation inside objectOf.");var c=r[t],s=l(c);if("object"!==s)return new i("Invalid "+o+" `"+a+"` of type `"+s+"` supplied to `"+n+"`, expected an object.");for(var u in c)if(g(c,u)){var f=e(c,u,n,o,a+"."+u,y);if(f instanceof Error)return f}return null})},oneOf:function(e){return Array.isArray(e)?c(function(r,t,n,o,a){for(var c=r[t],s=0;s<e.length;s++)if((u=c)===(f=e[s])?0!==u||1/u==1/f:u!=u&&f!=f)return null;var u,f,l=JSON.stringify(e,function(e,r){return"symbol"===d(r)?String(r):r});return new i("Invalid "+o+" `"+a+"` of value `"+String(c)+"` supplied to `"+n+"`, expected one of "+l+".")}):("production"!==process.env.NODE_ENV&&S(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),j)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&S("Invalid argument supplied to oneOfType, expected an instance of array."),j;for(var r=0;r<e.length;r++){var t=e[r];if("function"!=typeof t)return S("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+m(t)+" at index "+r+"."),j}return c(function(r,t,n,o,a){for(var c=0;c<e.length;c++)if(null==(0,e[c])(r,t,n,o,a,y))return null;return new i("Invalid "+o+" `"+a+"` supplied to `"+n+"`.")})},shape:function(e){return c(function(r,t,n,o,a){var c=r[t],s=l(c);if("object"!==s)return new i("Invalid "+o+" `"+a+"` of type `"+s+"` supplied to `"+n+"`, expected `object`.");for(var u in e){var f=e[u];if(f){var p=f(c,u,n,o,a+"."+u,y);if(p)return p}}return null})},exact:function(e){return c(function(r,t,n,o,a){var c=r[t],s=l(c);if("object"!==s)return new i("Invalid "+o+" `"+a+"` of type `"+s+"` supplied to `"+n+"`, expected `object`.");var u=p({},r[t],e);for(var f in u){var d=e[f];if(!d)return new i("Invalid "+o+" `"+a+"` key `"+f+"` supplied to `"+n+"`.\nBad object: "+JSON.stringify(r[t],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var m=d(c,f,n,o,a+"."+f,y);if(m)return m}return null})}};function i(e){this.message=e,this.stack=""}function c(e){if("production"!==process.env.NODE_ENV)var t={},n=0;function a(a,c,s,u,f,l,p){if(u=u||o,l=l||s,p!==y){if(r){var d=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw d.name="Invariant Violation",d}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var m=u+":"+s;!t[m]&&n<3&&(S("You are manually calling a React.PropTypes validation function for the `"+l+"` prop on `"+u+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[m]=!0,n++)}}return null==c[s]?a?new i(null===c[s]?"The "+f+" `"+l+"` is marked as required in `"+u+"`, but its value is `null`.":"The "+f+" `"+l+"` is marked as required in `"+u+"`, but its value is `undefined`."):null:e(c,s,u,f,l)}var c=a.bind(null,!1);return c.isRequired=a.bind(null,!0),c}function u(e){return c(function(r,t,n,o,a,c){var s=r[t];return l(s)!==e?new i("Invalid "+o+" `"+a+"` of type `"+d(s)+"` supplied to `"+n+"`, expected `"+e+"`."):null})}function f(r){switch(typeof r){case"number":case"string":case"undefined":return!0;case"boolean":return!r;case"object":if(Array.isArray(r))return r.every(f);if(null===r||e(r))return!0;var o=function(e){var o=r&&(t&&r[t]||r[n]);if("function"==typeof o)return o}();if(!o)return!1;var a,i=o.call(r);if(o!==r.entries){for(;!(a=i.next()).done;)if(!f(a.value))return!1}else for(;!(a=i.next()).done;){var c=a.value;if(c&&!f(c[1]))return!1}return!0;default:return!1}}function l(e){var r=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,r){return"symbol"===e||!!r&&("Symbol"===r["@@toStringTag"]||"function"==typeof Symbol&&r instanceof Symbol)}(r,e)?"symbol":r}function d(e){if(null==e)return""+e;var r=l(e);if("object"===r){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return r}function m(e){var r=d(e);switch(r){case"array":case"object":return"an "+r;case"boolean":case"date":case"regexp":return"a "+r;default:return r}}return i.prototype=Error.prototype,a.checkPropTypes=O,a.resetWarningCache=O.resetWarningCache,a.PropTypes=a,a}(s.isElement,!0):function(){function e(e,r,t,n,o,a){if(a!==y){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function r(){return e}e.isRequired=e;var t={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:N,resetWarningCache:E};return t.PropTypes=t,t}()});function w(e){var r=e.as;void 0===r&&(r="span");var n=e.className,o=e.src,a=e.srcSet,i=e.alt,c=e.children,s=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&-1===r.indexOf(n)&&(t[n]=e[n]);return t}(e,["as","className","src","srcSet","alt","children"]),u={src:o,srcSet:a,alt:i},f=t.createElement("img",u);return t.createElement(r,Object.assign({},{className:[n,"Avatar"].join(" ")},s),"function"==typeof c?c(f,u):f)}function P(e,t){var n=e.size;return t&&!t.includes(n)?"":"object"!=typeof n&&r.mapPropsToClassNames("PointGridAvatar")(["size"])({size:n})}function T(e,t){var o=e.size;if("object"==typeof o&&null!==o){var a={};return Object.entries(o).forEach(function(e){var r=e[0],o=e[1];return t?Object.keys(n.BREAKPOINTS).includes(r)&&t.includes(o)?a[r]=o:void 0:a[r]=o}),r.mapPropsToClassNames("ResponsivePointGridAvatar")(["size"])({size:a})}}function _(e){var t=e.inset;return r.mapPropsToClassNames("StyledAvatar")(["inset"])({inset:t})}function $(e){return!0===e?"InactiveAvatar":""}var C=Array.from(new Set([2.5].concat(n.SIZES.filter(function(e){return e>=3}),[9]))).sort();function I(e){var r=e.size,n=e.strict;void 0===n&&(n=!0);var o=e.inactive;void 0===o&&(o=!1);var a=e.inset,i=e.className,c=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&-1===r.indexOf(n)&&(t[n]=e[n]);return t}(e,["size","strict","inactive","inset","className"]);return t.createElement(w,Object.assign({},{className:[i,T({size:r},n&&C),P({size:r},n),_({inset:a}),$(o)].join(" ").trim()},c))}function A(e){var r=e.className,n=e.children,o=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&-1===r.indexOf(n)&&(t[n]=e[n]);return t}(e,["className","children"]);return t.createElement("label",null,t.createElement("input",Object.assign({},{type:"checkbox",className:[r,"Checkbox"].join(" ")},o)),t.createElement("span",{style:{marginLeft:8}},n))}function k(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&-1===r.indexOf(n)&&(t[n]=e[n]);return t}I.propTypes={as:x.element,className:x.string,inactive:x.bool,inset:x.bool,size:x.oneOf([2.5,3,4,5,6,7,8,9]),src:x.string,srcSet:x.string,strict:x.bool,alt:x.string,chidren:x.oneOfType([x.node,x.func])};var R={Avatar:function(e){var r=e.className,n=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&-1===r.indexOf(n)&&(t[n]=e[n]);return t}(e,["className"]);return t.createElement(I,Object.assign({},{className:[r,"ResourceHeader__Avatar"].join(" ").trim()},n))},TabContainer:function(e){var r=e.as;void 0===r&&(r="div");var n=e.className,o=k(e,["as","className"]);return t.createElement(r,Object.assign({},{className:["ResourceHeader__TabContainer",n].join(" ")},o))},SummaryContainer:function(e){var r=e.as;void 0===r&&(r="div");var n=e.className,o=k(e,["as","className"]);return t.createElement(r,Object.assign({},{className:["ResourceHeader__SummaryContainer",n].join(" ")},o))},FlexSpacer:function(e){var r=e.space,n=e.className,o=k(e,["space","className"]);return t.createElement("div",Object.assign({},{className:[n,"ResourceHeader__FlexSpacer"].join(" "),style:r?{margin:4*r}:null},o))},Title:function(e){var r=e.as;void 0===r&&(r="span");var n=e.className,o=k(e,["as","className"]);return t.createElement(r,Object.assign({},{className:["ResourceHeader__Title",n].join(" ")},o))},Tab:function(e){var r=e.target,n=e.className,o=e.children,a=e.style,i=k(e,["target","className","children","style"]);return t.createElement("a",Object.assign({},{className:[n,"ResourceHeader__Tab"].join(" "),style:Object.assign({},r?{backgroundColor:"white",fontWeight:700,color:"#000"}:{backgroundColor:"rgba(255,255,255, .8)",boxShadow:"inset 0 -6px 6px -8px rgba(0,0,0, .1)",fontWight:400,color:"#400"},a)},i),o)}};function z(e){var r=e.as;void 0===r&&(r="select");var n=e.className,o=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&-1===r.indexOf(n)&&(t[n]=e[n]);return t}(e,["as","className"]);return t.createElement(r,Object.assign({},{className:[n,"Select"].join(" ")},o))}function V(e,t){var n=e.height;return t&&!t.includes(n)?"":"object"!=typeof n&&r.mapPropsToClassNames("PointGridSelect")(["height"])({height:n})}var M=Array.from(new Set([2.5].concat(n.SIZES.filter(function(e){return e>=3&&e<=5})))).sort();function F(e){var r=e.as;void 0===r&&(r="span");var n=e.className,o=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&-1===r.indexOf(n)&&(t[n]=e[n]);return t}(e,["as","className"]);return t.createElement(r,Object.assign({},{className:[n,"Text"].join(" ")},o))}function D(e){return e.replace(/([A-Z])/g,function(e){return"-"+e[0].toLowerCase()})}function W(e){void 0===e&&(e={});var r=e.block;void 0===r&&(r="");var t=e.element;void 0===t&&(t="");var n=e.modifierName;void 0===n&&(n="");var o=e.modifierValue;return void 0===o&&(o=""),[r&&""+r,t&&"__"+t,function(e,r){if(e&&r)return!0===r?"--"+D(e):"--"+D(e)+"_"+r}(n,o)].join("")}function q(e,r){var t=e.fontSize;if(void 0===r&&(r=!0),t){var n,o=function(e,r){return r?H.includes(e)?e:"medium":e}(t,r);return(void 0===(n="FontScaleText")&&(n=""),function(e){return void 0===e&&(e=[]),function(r){return void 0===r&&(r={}),(e.length?[e.filter(function(e){return r[e]}).length?""+n:""].concat(e.map(function(e){var t=r[e];if(null!=t){if("object"==typeof t){var o=[];return Object.entries(r).forEach(function(e){var r=e[0];return Object.entries(e[1]).forEach(function(e){return o.push(W({block:"@"+e[0],element:n,modifierName:r,modifierValue:e[1]}))})}),o.join(" ").trim()}return W({block:n,modifierName:e,modifierValue:t})}})):[]).join(" ").trim()}})(["fontSize"])({fontSize:o})}}var H=["x-small","small","medium","large","x-large"],L=Array.from(new Set(["x-small","small","medium","large","x-large"]));function Z(e){var r=e.as;void 0===r&&(r="input");var n=e.className,o=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&-1===r.indexOf(n)&&(t[n]=e[n]);return t}(e,["as","className"]);return t.createElement(r,Object.assign({},{className:[n,"TextInput"].join(" ").trim()},o))}function U(e){return e.invalid?"InvalidTextInput":""}Z.defaultProps={type:"text"};var B=Array.from(new Set([2.5].concat(n.SIZES.filter(function(e){return e>=3&&e<=5})))).sort();exports.ResourceHeader=R,exports.Avatar=I,exports.AVATAR_SIZES=C,exports.Checkbox=function(e){var r=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&-1===r.indexOf(n)&&(t[n]=e[n]);return t}(e,[]);return t.createElement(A,r)},exports.CHECKBOX_SIZES=[],exports.Select=function(e){var r=e.className,n=e.height,o=e.strict;void 0===o&&(o=!0);var a=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&-1===r.indexOf(n)&&(t[n]=e[n]);return t}(e,["className","height","invalid","strict"]);return t.createElement(z,Object.assign({},{className:[r,V({height:n},o&&M)].join(" ")},a))},exports.SELECT_SIZES=M,exports.Surface=function(e){var r=e.as;void 0===r&&(r="div");var n=e.className,o=e.depth,a=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&-1===r.indexOf(n)&&(t[n]=e[n]);return t}(e,["as","className","depth"]);return t.createElement(r,Object.assign({},{className:["Surface",n].concat(o&&[1,2,3].includes(o)?["Surface--depth_"+o]:[]).join(" ").trim()},a))},exports.Text=function(e){var r=e.fontSize,n=e.className,o=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&-1===r.indexOf(n)&&(t[n]=e[n]);return t}(e,["fontSize","strict","className"]);return t.createElement(F,Object.assign({},{className:[n,q({fontSize:r})].join(" ")},o))},exports.TEXT_SIZES=L,exports.TextInput=function(e){var r=e.className,n=e.invalid,o=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&-1===r.indexOf(n)&&(t[n]=e[n]);return t}(e,["className","height","invalid","strict"]);return t.createElement(Z,Object.assign({},{className:[r,U({invalid:n})].join(" ").trim()},o))},exports.TEXT_INPUT_SIZES=B;
//# sourceMappingURL=components.js.map
{
"name": "@planningcenter/components",
"version": "0.0.15",
"version": "0.0.18",
"description": "The entire collection of @planningcenter/components",

@@ -36,4 +36,5 @@ "author": "Michael Chan <mijoch@gmail.com>",

"postcss-import": "^12.0.1",
"react": "^16.11.0",
"rollup": "^1.25.2"
"react": "^16.12.0",
"rollup": "^1.31.0",
"rollup-plugin-terser": "^5.2.0"
},

@@ -47,3 +48,3 @@ "peerDependencies": {

},
"gitHead": "1885b7b5c76e31e5aa4f7cc8f34a0bef996a7024"
"gitHead": "285fae0daf3d9c879263de27c16827c84ce07e09"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc