translucent
Version:
Translucent plastic card theme.
12 lines • 30.8 kB
JavaScript
/*!
* translucent - 1.0.11
* Copyright (c) 2018, Yeonwoo Jo
* Lisensed under the MIT
*
* Contacts
* Github : github.com/byeolbit
* Email : Yeonwoo.jo.92@gmil.com
*
* You can find this project at https://byeolbit.github.io/translucent
*/
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n=e();for(var r in n)("object"==typeof exports?exports:t)[r]=n[r]}}(window,function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="../dist",n(n.s=78)}([function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e,n){var r=n(18)("wks"),o=n(12),i=n(0).Symbol,u="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=r},function(t,e,n){var r=n(0),o=n(10),i=n(3),u=n(11),c=n(30),a=function(t,e,n){var s,f,l,p,d=t&a.F,h=t&a.G,v=t&a.S,y=t&a.P,b=t&a.B,g=h?r:v?r[e]||(r[e]={}):(r[e]||{}).prototype,m=h?o:o[e]||(o[e]={}),x=m.prototype||(m.prototype={});for(s in h&&(n=e),n)l=((f=!d&&g&&void 0!==g[s])?g:n)[s],p=b&&f?c(l,r):y&&"function"==typeof l?c(Function.call,l):l,g&&u(g,s,l,t&a.U),m[s]!=l&&i(m,s,p),y&&x[s]!=l&&(x[s]=l)};r.core=o,a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},function(t,e,n){var r=n(4),o=n(15);t.exports=n(6)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(14),o=n(28),i=n(17),u=Object.defineProperty;e.f=n(6)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return u(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){t.exports=!n(7)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(33),o=n(20);t.exports=function(t){return r(o(t))}},function(t,e){var n=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(0),o=n(3),i=n(8),u=n(12)("src"),c=Function.toString,a=(""+c).split("toString");n(10).inspectSource=function(t){return c.call(t)},(t.exports=function(t,e,n,c){var s="function"==typeof n;s&&(i(n,"name")||o(n,"name",e)),t[e]!==n&&(s&&(i(n,u)||o(n,u,t[e]?""+t[e]:a.join(String(e)))),t===r?t[e]=n:c?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[u]||c.call(this)})},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){var r=n(36),o=n(22);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(5);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){t.exports=!1},function(t,e,n){var r=n(5);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(10),o=n(0),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(16)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports={}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(18)("keys"),o=n(12);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(4).f,o=n(8),i=n(1)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){var r=n(20);t.exports=function(t){return Object(r(t))}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){"use strict";var r=n(7);t.exports=function(t,e){return!!t&&r(function(){e?t.call(null,function(){},1):t.call(null)})}},function(t,e,n){var r=n(2);r(r.P,"Function",{bind:n(50)})},function(t,e,n){t.exports=!n(6)&&!n(7)(function(){return 7!=Object.defineProperty(n(29)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(5),o=n(0).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,n){var r=n(31);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){"use strict";var r=n(52),o=n(53),i=n(19),u=n(9);t.exports=n(54)(Array,"Array",function(t,e){this._t=u(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):o(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,e,n){var r=n(34);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(14),o=n(56),i=n(22),u=n(21)("IE_PROTO"),c=function(){},a=function(){var t,e=n(29)("iframe"),r=i.length;for(e.style.display="none",n(58).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),a=t.F;r--;)delete a.prototype[i[r]];return a()};t.exports=Object.create||function(t,e){var n;return null!==t?(c.prototype=r(t),n=new c,c.prototype=null,n[u]=t):n=a(),void 0===e?n:o(n,e)}},function(t,e,n){var r=n(8),o=n(9),i=n(37)(!1),u=n(21)("IE_PROTO");t.exports=function(t,e){var n,c=o(t),a=0,s=[];for(n in c)n!=u&&r(c,n)&&s.push(n);for(;e.length>a;)r(c,n=e[a++])&&(~i(s,n)||s.push(n));return s}},function(t,e,n){var r=n(9),o=n(38),i=n(57);t.exports=function(t){return function(e,n,u){var c,a=r(e),s=o(a.length),f=i(u,s);if(t&&n!=n){for(;s>f;)if((c=a[f++])!=c)return!0}else for(;s>f;f++)if((t||f in a)&&a[f]===n)return t||f||0;return!t&&-1}}},function(t,e,n){var r=n(39),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(2);r(r.S+r.F*!n(6),"Object",{defineProperty:n(4).f})},function(t,e,n){n(42)("asyncIterator")},function(t,e,n){var r=n(0),o=n(10),i=n(16),u=n(43),c=n(4).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||c(e,t,{value:u.f(t)})}},function(t,e,n){e.f=n(1)},function(t,e,n){"use strict";var r=n(0),o=n(8),i=n(6),u=n(2),c=n(11),a=n(62).KEY,s=n(7),f=n(18),l=n(23),p=n(12),d=n(1),h=n(43),v=n(42),y=n(63),b=n(46),g=n(14),m=n(5),x=n(9),w=n(17),S=n(15),O=n(35),j=n(64),k=n(65),E=n(4),L=n(13),C=k.f,P=E.f,T=j.f,A=r.Symbol,_=r.JSON,M=_&&_.stringify,I=d("_hidden"),F=d("toPrimitive"),R={}.propertyIsEnumerable,B=f("symbol-registry"),N=f("symbols"),U=f("op-symbols"),H=Object.prototype,D="function"==typeof A,V=r.QObject,G=!V||!V.prototype||!V.prototype.findChild,W=i&&s(function(){return 7!=O(P({},"a",{get:function(){return P(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=C(H,e);r&&delete H[e],P(t,e,n),r&&t!==H&&P(H,e,r)}:P,z=function(t){var e=N[t]=O(A.prototype);return e._k=t,e},J=D&&"symbol"==typeof A.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof A},q=function(t,e,n){return t===H&&q(U,e,n),g(t),e=w(e,!0),g(n),o(N,e)?(n.enumerable?(o(t,I)&&t[I][e]&&(t[I][e]=!1),n=O(n,{enumerable:S(0,!1)})):(o(t,I)||P(t,I,S(1,{})),t[I][e]=!0),W(t,e,n)):P(t,e,n)},$=function(t,e){g(t);for(var n,r=y(e=x(e)),o=0,i=r.length;i>o;)q(t,n=r[o++],e[n]);return t},K=function(t){var e=R.call(this,t=w(t,!0));return!(this===H&&o(N,t)&&!o(U,t))&&(!(e||!o(this,t)||!o(N,t)||o(this,I)&&this[I][t])||e)},Y=function(t,e){if(t=x(t),e=w(e,!0),t!==H||!o(N,e)||o(U,e)){var n=C(t,e);return!n||!o(N,e)||o(t,I)&&t[I][e]||(n.enumerable=!0),n}},Q=function(t){for(var e,n=T(x(t)),r=[],i=0;n.length>i;)o(N,e=n[i++])||e==I||e==a||r.push(e);return r},X=function(t){for(var e,n=t===H,r=T(n?U:x(t)),i=[],u=0;r.length>u;)!o(N,e=r[u++])||n&&!o(H,e)||i.push(N[e]);return i};D||(c((A=function(){if(this instanceof A)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===H&&e.call(U,n),o(this,I)&&o(this[I],t)&&(this[I][t]=!1),W(this,t,S(1,n))};return i&&G&&W(H,t,{configurable:!0,set:e}),z(t)}).prototype,"toString",function(){return this._k}),k.f=Y,E.f=q,n(47).f=j.f=Q,n(25).f=K,n(45).f=X,i&&!n(16)&&c(H,"propertyIsEnumerable",K,!0),h.f=function(t){return z(d(t))}),u(u.G+u.W+u.F*!D,{Symbol:A});for(var Z="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),tt=0;Z.length>tt;)d(Z[tt++]);for(var et=L(d.store),nt=0;et.length>nt;)v(et[nt++]);u(u.S+u.F*!D,"Symbol",{for:function(t){return o(B,t+="")?B[t]:B[t]=A(t)},keyFor:function(t){if(!J(t))throw TypeError(t+" is not a symbol!");for(var e in B)if(B[e]===t)return e},useSetter:function(){G=!0},useSimple:function(){G=!1}}),u(u.S+u.F*!D,"Object",{create:function(t,e){return void 0===e?O(t):$(O(t),e)},defineProperty:q,defineProperties:$,getOwnPropertyDescriptor:Y,getOwnPropertyNames:Q,getOwnPropertySymbols:X}),_&&u(u.S+u.F*(!D||s(function(){var t=A();return"[null]"!=M([t])||"{}"!=M({a:t})||"{}"!=M(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=e=r[1],(m(e)||void 0!==t)&&!J(t))return b(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!J(e))return e}),r[1]=e,M.apply(_,r)}}),A.prototype[F]||n(3)(A.prototype,F,A.prototype.valueOf),l(A,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(34);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(36),o=n(22).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){var r=n(30),o=n(33),i=n(24),u=n(38),c=n(67);t.exports=function(t,e){var n=1==t,a=2==t,s=3==t,f=4==t,l=6==t,p=5==t||l,d=e||c;return function(e,c,h){for(var v,y,b=i(e),g=o(b),m=r(c,h,3),x=u(g.length),w=0,S=n?d(e,x):a?d(e,0):void 0;x>w;w++)if((p||w in g)&&(y=m(v=g[w],w,b),t))if(n)S[w]=y;else if(y)switch(t){case 3:return!0;case 5:return v;case 6:return w;case 2:S.push(v)}else if(f)return!1;return l?-1:s||f?f:S}}},function(t,e,n){for(var r=n(32),o=n(13),i=n(11),u=n(0),c=n(3),a=n(19),s=n(1),f=s("iterator"),l=s("toStringTag"),p=a.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=o(d),v=0;v<h.length;v++){var y,b=h[v],g=d[b],m=u[b],x=m&&m.prototype;if(x&&(x[f]||c(x,f,p),x[l]||c(x,l,b),a[b]=p,g))for(y in r)x[y]||i(x,y,r[y],!0)}},function(t,e,n){"use strict";var r=n(31),o=n(5),i=n(51),u=[].slice,c={};t.exports=Function.bind||function(t){var e=r(this),n=u.call(arguments,1),a=function(){var r=n.concat(u.call(arguments));return this instanceof a?function(t,e,n){if(!(e in c)){for(var r=[],o=0;o<e;o++)r[o]="a["+o+"]";c[e]=Function("F,a","return new F("+r.join(",")+")")}return c[e](t,n)}(e,r.length,r):i(e,r,t)};return o(e.prototype)&&(a.prototype=e.prototype),a}},function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e,n){var r=n(1)("unscopables"),o=Array.prototype;void 0==o[r]&&n(3)(o,r,{}),t.exports=function(t){o[r][t]=!0}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){"use strict";var r=n(16),o=n(2),i=n(11),u=n(3),c=n(19),a=n(55),s=n(23),f=n(59),l=n(1)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,n,h,v,y,b){a(n,e,h);var g,m,x,w=function(t){if(!p&&t in k)return k[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},S=e+" Iterator",O="values"==v,j=!1,k=t.prototype,E=k[l]||k["@@iterator"]||v&&k[v],L=E||w(v),C=v?O?w("entries"):L:void 0,P="Array"==e&&k.entries||E;if(P&&(x=f(P.call(new t)))!==Object.prototype&&x.next&&(s(x,S,!0),r||"function"==typeof x[l]||u(x,l,d)),O&&E&&"values"!==E.name&&(j=!0,L=function(){return E.call(this)}),r&&!b||!p&&!j&&k[l]||u(k,l,L),c[e]=L,c[S]=d,v)if(g={values:O?L:w("values"),keys:y?L:w("keys"),entries:C},b)for(m in g)m in k||i(k,m,g[m]);else o(o.P+o.F*(p||j),e,g);return g}},function(t,e,n){"use strict";var r=n(35),o=n(15),i=n(23),u={};n(3)(u,n(1)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(u,{next:o(1,n)}),i(t,e+" Iterator")}},function(t,e,n){var r=n(4),o=n(14),i=n(13);t.exports=n(6)?Object.defineProperties:function(t,e){o(t);for(var n,u=i(e),c=u.length,a=0;c>a;)r.f(t,n=u[a++],e[n]);return t}},function(t,e,n){var r=n(39),o=Math.max,i=Math.min;t.exports=function(t,e){return(t=r(t))<0?o(t+e,0):i(t,e)}},function(t,e,n){var r=n(0).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(8),o=n(24),i=n(21)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,e,n){var r=n(24),o=n(13);n(61)("keys",function(){return function(t){return o(r(t))}})},function(t,e,n){var r=n(2),o=n(10),i=n(7);t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],u={};u[t]=e(n),r(r.S+r.F*i(function(){n(1)}),"Object",u)}},function(t,e,n){var r=n(12)("meta"),o=n(5),i=n(8),u=n(4).f,c=0,a=Object.isExtensible||function(){return!0},s=!n(7)(function(){return a(Object.preventExtensions({}))}),f=function(t){u(t,r,{value:{i:"O"+ ++c,w:{}}})},l=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!a(t))return"F";if(!e)return"E";f(t)}return t[r].i},getWeak:function(t,e){if(!i(t,r)){if(!a(t))return!0;if(!e)return!1;f(t)}return t[r].w},onFreeze:function(t){return s&&l.NEED&&a(t)&&!i(t,r)&&f(t),t}}},function(t,e,n){var r=n(13),o=n(45),i=n(25);t.exports=function(t){var e=r(t),n=o.f;if(n)for(var u,c=n(t),a=i.f,s=0;c.length>s;)a.call(t,u=c[s++])&&e.push(u);return e}},function(t,e,n){var r=n(9),o=n(47).f,i={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return u&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return u.slice()}}(t):o(r(t))}},function(t,e,n){var r=n(25),o=n(15),i=n(9),u=n(17),c=n(8),a=n(28),s=Object.getOwnPropertyDescriptor;e.f=n(6)?s:function(t,e){if(t=i(t),e=u(e,!0),a)try{return s(t,e)}catch(t){}if(c(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e,n){"use strict";var r=n(2),o=n(48)(2);r(r.P+r.F*!n(26)([].filter,!0),"Array",{filter:function(t){return o(this,t,arguments[1])}})},function(t,e,n){var r=n(68);t.exports=function(t,e){return new(r(t))(e)}},function(t,e,n){var r=n(5),o=n(46),i=n(1)("species");t.exports=function(t){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)||(e=void 0),r(e)&&null===(e=e[i])&&(e=void 0)),void 0===e?Array:e}},function(t,e,n){"use strict";var r=n(2),o=n(48)(0),i=n(26)([].forEach,!0);r(r.P+r.F*!i,"Array",{forEach:function(t){return o(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(2),o=n(37)(!1),i=[].indexOf,u=!!i&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(u||!n(26)(i)),"Array",{indexOf:function(t){return u?i.apply(this,arguments)||0:o(this,t,arguments[1])}})},function(t,e,n){n(72)("replace",2,function(t,e,n){return[function(r,o){"use strict";var i=t(this),u=void 0==r?void 0:r[e];return void 0!==u?u.call(r,i,o):n.call(String(i),r,o)},n]})},function(t,e,n){"use strict";var r=n(3),o=n(11),i=n(7),u=n(20),c=n(1);t.exports=function(t,e,n){var a=c(t),s=n(u,a,""[t]),f=s[0],l=s[1];i(function(){var e={};return e[a]=function(){return 7},7!=""[t](e)})&&(o(String.prototype,t,f),r(RegExp.prototype,a,2==e?function(t,e){return l.call(t,this,e)}:function(t){return l.call(t,this)}))}},function(t,e,n){var r=n(74);"string"==typeof r&&(r=[[t.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(76)(r,o);r.locals&&(t.exports=r.locals)},function(t,e,n){(t.exports=n(75)(!1)).push([t.i,".tl-card-contents-container {\n border: rgba(200,200,200,0.5) solid 1px;\n border-radius: 10px;\n overflow: hidden;\n position: relative;\n transition: box-shadow 0.4s ease;\n}\n\n.tl-card-bg-container {\n border-radius: 10px;\n overflow: hidden;\n position: relative;\n} \n\n.tl-card-contents {\n overflow: hidden;\n position: relative;\n border-radius: 10px;\n}",""])},function(t,e){t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n=function(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var o=function(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}(r),i=r.sources.map(function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"});return[n].concat(i).concat([o]).join("\n")}return[n].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;o<t.length;o++){var u=t[o];"number"==typeof u[0]&&r[u[0]]||(n&&!u[2]?u[2]=n:n&&(u[2]="("+u[2]+") and ("+n+")"),e.push(u))}},e}},function(t,e,n){var r={},o=function(t){var e;return function(){return void 0===e&&(e=t.apply(this,arguments)),e}}(function(){return window&&document&&document.all&&!window.atob}),i=function(t){var e={};return function(t){if("function"==typeof t)return t();if(void 0===e[t]){var n=function(t){return document.querySelector(t)}.call(this,t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}}(),u=null,c=0,a=[],s=n(77);function f(t,e){for(var n=0;n<t.length;n++){var o=t[n],i=r[o.id];if(i){i.refs++;for(var u=0;u<i.parts.length;u++)i.parts[u](o.parts[u]);for(;u<o.parts.length;u++)i.parts.push(y(o.parts[u],e))}else{var c=[];for(u=0;u<o.parts.length;u++)c.push(y(o.parts[u],e));r[o.id]={id:o.id,refs:1,parts:c}}}}function l(t,e){for(var n=[],r={},o=0;o<t.length;o++){var i=t[o],u=e.base?i[0]+e.base:i[0],c={css:i[1],media:i[2],sourceMap:i[3]};r[u]?r[u].parts.push(c):n.push(r[u]={id:u,parts:[c]})}return n}function p(t,e){var n=i(t.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=a[a.length-1];if("top"===t.insertAt)r?r.nextSibling?n.insertBefore(e,r.nextSibling):n.appendChild(e):n.insertBefore(e,n.firstChild),a.push(e);else if("bottom"===t.insertAt)n.appendChild(e);else{if("object"!=typeof t.insertAt||!t.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var o=i(t.insertInto+" "+t.insertAt.before);n.insertBefore(e,o)}}function d(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t);var e=a.indexOf(t);e>=0&&a.splice(e,1)}function h(t){var e=document.createElement("style");return void 0===t.attrs.type&&(t.attrs.type="text/css"),v(e,t.attrs),p(t,e),e}function v(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}function y(t,e){var n,r,o,i;if(e.transform&&t.css){if(!(i=e.transform(t.css)))return function(){};t.css=i}if(e.singleton){var a=c++;n=u||(u=h(e)),r=g.bind(null,n,a,!1),o=g.bind(null,n,a,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(t){var e=document.createElement("link");return void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",v(e,t.attrs),p(t,e),e}(e),r=function(t,e,n){var r=n.css,o=n.sourceMap,i=void 0===e.convertToAbsoluteUrls&&o;(e.convertToAbsoluteUrls||i)&&(r=s(r));o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var u=new Blob([r],{type:"text/css"}),c=t.href;t.href=URL.createObjectURL(u),c&&URL.revokeObjectURL(c)}.bind(null,n,e),o=function(){d(n),n.href&&URL.revokeObjectURL(n.href)}):(n=h(e),r=function(t,e){var n=e.css,r=e.media;r&&t.setAttribute("media",r);if(t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}.bind(null,n),o=function(){d(n)});return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else o()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=o()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=l(t,e);return f(n,e),function(t){for(var o=[],i=0;i<n.length;i++){var u=n[i];(c=r[u.id]).refs--,o.push(c)}t&&f(l(t,e),e);for(i=0;i<o.length;i++){var c;if(0===(c=o[i]).refs){for(var a=0;a<c.parts.length;a++)c.parts[a]();delete r[c.id]}}}};var b=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}();function g(t,e,n,r){var o=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=b(e,o);else{var i=document.createTextNode(o),u=t.childNodes;u[e]&&t.removeChild(u[e]),u.length?t.insertBefore(i,u[e]):t.appendChild(i)}}},function(t,e){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var n=e.protocol+"//"+e.host,r=n+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(t,e){var o,i=e.trim().replace(/^"(.*)"$/,function(t,e){return e}).replace(/^'(.*)'$/,function(t,e){return e});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(i)?t:(o=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:r+i.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")})}},function(t,e,n){"use strict";n.r(e);n(27),n(32),n(60),n(40),n(41),n(44),n(66),n(49),n(69),n(70),n(71);var r=function(t){var e=t;if("string"==typeof t&&(e=document.querySelector(t)),function(t){return t instanceof HTMLElement}(e))return e;throw"element: ".concat(t," is not exists")},o="rgba(255,255,255,0)",i="rgba(255,255,255,0.4)",u="rgba(120,120,120,0.4)",c="rgba(30,30,30,0.7)",a=function(t){t=t.slice(4,-1).replace(/"/g,"");var e=new Image;return e.setAttribute("src",t),{width:e.naturalWidth,height:e.naturalHeight,src:t}},s=function(t){return{top:t.offsetTop,left:t.offsetLeft}};function f(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var l=function(){function t(e,n,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);var o=e.querySelector(".tl-card-contents-container"),i=e.querySelector(".tl-card-contents");this.setShadow(o,n),this.setChildrenSize(e),this.setCardColor(i,r),this.setAlign(o,e)}return function(t,e,n){e&&f(t.prototype,e),n&&f(t,n)}(t,[{key:"setChildrenSize",value:function(t){var e=t.clientHeight,n=t.clientWidth,r=t.children,o=!0,i=!1,u=void 0;try{for(var c,a=r[Symbol.iterator]();!(o=(c=a.next()).done);o=!0){var s=c.value;s.style.height="".concat(e,"px"),s.style.width="".concat(n,"px")}}catch(t){i=!0,u=t}finally{try{o||null==a.return||a.return()}finally{if(i)throw u}}}},{key:"setShadow",value:function(t,e){e&&(t.style.boxShadow="rgba(0, 0, 0, 0.5) 0px 20px 20px")}},{key:"setCardColor",value:function(t,e){switch(e){case"clear":e=o;break;case"white":e=i;break;case"grey":e=u;break;case"black":e=c}t.style.backgroundColor=e}},{key:"setAlign",value:function(t,e){t.style.top="-".concat(e.clientHeight,"px"),t.style.left="0px"}},{key:"cardBgInit",value:function(t,e,n,r,o){var i=window.getComputedStyle(e,null),u=i.backgroundImage,c=i.backgroundRepeat,s=i.backgroundSize,f=t.clientHeight,l=t.clientWidth;n.cssText="background-image: ".concat(u,";\n background-repeat: ").concat(c,";\n filter: blur(").concat(r,"px);\n margin-left: -").concat(r,"px;\n margin-top: -").concat(r,"px;\n height: ").concat(f+2*r,"px;\n width: ").concat(l+2*r,"px;"),n.backgroundSize=function(t,e,n,r){var o=r(t.style.backgroundImage),i=t.clientHeight,u=t.clientWidth;if("cover"===n)u=o.width*(i/o.height);else{if(-1===n.indexOf("%"))return n;i=o.height*(u/o.width)}return u+"px "+i+"px"}(e,0,s,a),o(t,e,n,r)}},{key:"alignCardBackground",value:function(t,e,n,r){var o=window.getComputedStyle(e,null),i=o.backgroundAttachment,u=s(e),c=s(t);n.backgroundAttachment=i,n.backgroundPosition="fixed"===i?o.backgroundPosition:u.left-(c.left-r)+"px "+(u.top-(c.top-r))+"px"}}]),t}();n(73);function p(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function d(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}NodeList.prototype.forEach=Array.prototype.forEach;var h={filterValue:10,cardColor:"white",shadow:!0,bgElement:void 0},v=function(){function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.origin=e.outerHTML,this.element=r(e),this.options=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){p(t,e,n[e])})}return t}({},h,n),this.bgElement=this.options.bgElement||e.parentElement,this._initStructure(this.element),this.styler=new l(this.element,this.options.shadow,this.options.cardColor),this.bgInitCallback=this.styler.cardBgInit.bind(this,this.element,this.bgElement,this.cardBgStyle,this.options.filterValue,this.styler.alignCardBackground),window.addEventListener("onresize",this.bgInitCallback),window.addEventListener("onload",this.bgInitCallback),this.bgInitCallback(),this._observeStyleChange()}return function(t,e,n){e&&d(t.prototype,e),n&&d(t,n)}(t,[{key:"_initStructure",value:function(t){var e=t.innerHTML,n=document.createElement("div"),r=document.createElement("div"),o=document.createElement("div"),i=document.createElement("div");n.setAttribute("class","tl-card-contents"),n.innerHTML=e,r.setAttribute("class","tl-card-contents-container"),r.appendChild(n),o.setAttribute("class","tl-card-bg"),i.setAttribute("class","tl-card-bg-container"),i.appendChild(o),t.innerHTML="",t.appendChild(i),t.appendChild(r),this.cardBgStyle=o.style}},{key:"_observeStyleChange",value:function(){var t=this,e=window.getComputedStyle(this.bgElement,null),n=s(this.element),r=this.element.clientWidth,o=this.element.clientHeight,i=e.backgroundImage,u=e.filter,c=e.backgroundAttachment;this.styleObserver=new MutationObserver(function(a){var s=!0,f=!1,l=void 0;try{for(var p,d=a[Symbol.iterator]();!(s=(p=d.next()).done);s=!0){p.value;n.top===t.element.offsetTop&&n.left===t.element.offsetLeft||t.styler.alignCardBackground(t.element,t.bgElement,t.cardBgStyle,t.options.filterValue);var h=t.element.clientHeight,v=t.element.clientWidth;return void(o===h&&r===v&&i===e.backgroundImage&&u===e.filter&&c===e.backgroundAttachment||(r=v,o=h,i=e.backgroundImage,u=e.filter,t.styler.cardBgInit(t.element,t.bgElement,t.cardBgStyle,t.options.filterValue,t.styler.alignCardBackground)))}}catch(t){f=!0,l=t}finally{try{s||null==d.return||d.return()}finally{if(f)throw l}}});var a={attributes:!0,childList:!0,characterData:!0,attributeFilter:["style"]};this.styleObserver.observe(this.element,a),this.styleObserver.observe(this.bgElement,a)}},{key:"blur",value:function(t){this.options.filterValue=t,this.styler.cardBgInit(this.element,this.bgElement,this.cardBgStyle,this.options.filterValue,this.styler.alignCardBackground)}},{key:"destroy",value:function(){window.removeEventListener("onresize",this.bgInitCallback),window.removeEventListener("onload",this.bgInitCallback)}}]),t}();function y(t,e){var n=new v(t,e);this.blur=n.blur.bind(n),this.destroy=n.destroy.bind(n)}n.d(e,"Translucent",function(){return y})}])});