Envato Elements – Template Kits (Beta) - Version 1.0.3

Version Description

  • 2019-04-30 =
  • Improvement: Imported Envato Elements Photos now get SEO metadata filled in.
  • Improvement: Search and Browse speed increase.
  • Improvement: Search UI autocomplete improvement.
Download this release

Release Info

Developer dtbaker
Plugin Icon 128x128 Envato Elements – Template Kits (Beta)
Version 1.0.3
Comparing to
See all releases

Code changes from version 1.0.2 to 1.0.3

assets/react/admin.css CHANGED
@@ -1 +1 @@
1
- ._3RUBRwcRkj0E-N-gM9VX8s,.xJc2BluF1SfGIyQgj_lat{display:-ms-flexbox;display:flex;margin:0;min-height:85vh;-ms-flex-direction:column;flex-direction:column;color:#555d66;background:#efefef}._3RUBRwcRkj0E-N-gM9VX8s *,.xJc2BluF1SfGIyQgj_lat *{box-sizing:content-box}._3RUBRwcRkj0E-N-gM9VX8s input[type=checkbox],._3RUBRwcRkj0E-N-gM9VX8s input[type=color],._3RUBRwcRkj0E-N-gM9VX8s input[type=date],._3RUBRwcRkj0E-N-gM9VX8s input[type=datetime-local],._3RUBRwcRkj0E-N-gM9VX8s input[type=datetime],._3RUBRwcRkj0E-N-gM9VX8s input[type=email],._3RUBRwcRkj0E-N-gM9VX8s input[type=month],._3RUBRwcRkj0E-N-gM9VX8s input[type=number],._3RUBRwcRkj0E-N-gM9VX8s input[type=password],._3RUBRwcRkj0E-N-gM9VX8s input[type=radio],._3RUBRwcRkj0E-N-gM9VX8s input[type=search],._3RUBRwcRkj0E-N-gM9VX8s input[type=tel],._3RUBRwcRkj0E-N-gM9VX8s input[type=text],._3RUBRwcRkj0E-N-gM9VX8s input[type=time],._3RUBRwcRkj0E-N-gM9VX8s input[type=url],._3RUBRwcRkj0E-N-gM9VX8s input[type=week],._3RUBRwcRkj0E-N-gM9VX8s select,._3RUBRwcRkj0E-N-gM9VX8s textarea,.xJc2BluF1SfGIyQgj_lat input[type=checkbox],.xJc2BluF1SfGIyQgj_lat input[type=color],.xJc2BluF1SfGIyQgj_lat input[type=date],.xJc2BluF1SfGIyQgj_lat input[type=datetime-local],.xJc2BluF1SfGIyQgj_lat input[type=datetime],.xJc2BluF1SfGIyQgj_lat input[type=email],.xJc2BluF1SfGIyQgj_lat input[type=month],.xJc2BluF1SfGIyQgj_lat input[type=number],.xJc2BluF1SfGIyQgj_lat input[type=password],.xJc2BluF1SfGIyQgj_lat input[type=radio],.xJc2BluF1SfGIyQgj_lat input[type=search],.xJc2BluF1SfGIyQgj_lat input[type=tel],.xJc2BluF1SfGIyQgj_lat input[type=text],.xJc2BluF1SfGIyQgj_lat input[type=time],.xJc2BluF1SfGIyQgj_lat input[type=url],.xJc2BluF1SfGIyQgj_lat input[type=week],.xJc2BluF1SfGIyQgj_lat select,.xJc2BluF1SfGIyQgj_lat textarea{box-sizing:border-box}._3RUBRwcRkj0E-N-gM9VX8s p,.xJc2BluF1SfGIyQgj_lat p{font-size:13px;line-height:1.5;margin:1em 0}._3RUBRwcRkj0E-N-gM9VX8s ._2vmxquP_jizvLrLpCK_c5x{margin-top:56px}._1nYFx_Z-zJnn6NVOg4jxww{text-align:center}._3Z3sCSLTu_PhzPbcixQnlH{position:absolute;top:0;left:0;right:0;bottom:0;z-index:9100000}._3jwlZEY6HvI306BdRM7DNF{background:rgba(32,32,32,.54);position:fixed;top:0;left:0;right:0;bottom:0;z-index:100001;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}._3ssgTt7jtpkpFH6DlAliS6{max-width:600px;width:100%;min-height:200px;background:#fff}._3uap91Am2foGRvy3gpLYBK{color:#444;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:50px;border-bottom:1px solid #ddd;background-image:url(img/6b6a7e262f864ffcd9fa1d6442a6a0b8.svg);background-position:20px;background-repeat:no-repeat;background-size:auto 21px}._16-rOVNh8Vo0NDeN0-hQiu{-ms-flex:1;flex:1;font-size:15px;color:#444;padding-left:50px}._2VVSi6Iow6lgeRzQC-eXsx{display:block;padding:0 14px;cursor:pointer;border:0;border-left:1px solid #ddd;background:transparent}._2jyHBlo_YMuv979sezRSQY{padding:20px}._2jyHBlo_YMuv979sezRSQY>div{display:block}._3OCU242GIp5WeZATJCW4ao{padding:20px 20px 10px}._1IApgjLbAFDV-6fgR6oq-W,._19N6oicu0slQJoLPp3qsm4,._32edJqxXfmHxUeVMoKCFE_{background:#1486b8;border:1px solid #0d6897;box-shadow:0 1px 0 #0073af;color:#fff;border-radius:4px;padding:6px 10px;margin-right:8px;font-size:13px;cursor:pointer;text-decoration:none;display:inline-block;text-align:center;line-height:18px;box-sizing:border-box}._19N6oicu0slQJoLPp3qsm4,._32edJqxXfmHxUeVMoKCFE_{background:#fff;border:0;box-shadow:none;color:#767676}._19N6oicu0slQJoLPp3qsm4:hover,._32edJqxXfmHxUeVMoKCFE_:hover{box-shadow:0 0 3px #dee3e8}._3d10ah7phmEVzOEdWSw7CP{padding:20px;border-top:1px solid #ddd}.q4M-4FMQCJHZP8B9Nado3{white-space:pre-wrap;word-break:break-all;-webkit-user-select:all;-moz-user-select:all;-ms-user-select:all;user-select:all;height:100px;width:100%;overflow:auto}._3uhIrtGOWPekHDZ87wBIs-{padding:0 20px 10px}._3RuLbYP2VGSsVMvLSqwNZ1{display:block}._1vhdCDRuahAjuE6HsB8RbY{display:none}.JxzI-2Kvd9MEoZO5Wyrs{position:fixed}._3W2EtcOJWsxcfSZNAdFCFI,.JxzI-2Kvd9MEoZO5Wyrs{background-color:#fff;display:-ms-flexbox;display:flex;border-bottom:1px solid #e0e5e9;z-index:20}._33aVwFPOtNhVfEhqw6JjpM{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-direction:column;flex-direction:column;padding:0 10px 0 20px;min-height:54px}._33aVwFPOtNhVfEhqw6JjpM img{height:22px}._33aVwFPOtNhVfEhqw6JjpM a:active,._33aVwFPOtNhVfEhqw6JjpM a:focus{outline:0;border:none;box-shadow:none}@media screen and (max-width:782px){._33aVwFPOtNhVfEhqw6JjpM{max-width:93px;overflow:hidden;margin-right:20px}}._3EDb8Ew7Zic_6y825xBiHQ{background-image:url(img/699296a259e82a1c2a3e67767aadc297.svg);background-repeat:no-repeat;background-position:0;background-size:contain;height:22px;width:220px;overflow:hidden;cursor:pointer;text-indent:-9999px}._2bu3mj9tipEU6yuZxT7bD2{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between;border-left:1px solid #f1f1f1;-ms-flex:1;flex:1}._14ldS4GONDJxh3AnpPBJX9{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:left;justify-content:left;margin:0;padding:0}@media screen and (max-width:782px){._14ldS4GONDJxh3AnpPBJX9{-ms-flex:1;flex:1;-ms-flex-wrap:wrap;flex-wrap:wrap}}._3kdBDJ8iqP12wNsiIE5fTu{padding:0;margin:0;border-right:1px solid #f1f1f1;position:relative}._3kdBDJ8iqP12wNsiIE5fTu:hover>._1RpgDdKG1S9mFx90CkOypP:after{transform:rotate(90deg)}.fwjH5inEEu_5a3cTrmUYH>._1RpgDdKG1S9mFx90CkOypP{padding:0 40px 0 30px}.fwjH5inEEu_5a3cTrmUYH>._1RpgDdKG1S9mFx90CkOypP:after{content:"\f345";opacity:.7;top:50%;margin-top:-7px;font-family:dashicons;position:absolute;right:14px;transform:rotate(0deg);transform-origin:50% 50%;transition:transform .1s ease}.fwjH5inEEu_5a3cTrmUYH:hover ._39FpOWyJ6nedEfKlYEwrCr{transform:scale(1);transition-delay:.1s;overflow:visible;opacity:1;max-height:200px}._1RpgDdKG1S9mFx90CkOypP{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;font-weight:500;text-align:center;-ms-flex-pack:center;justify-content:center;font-size:13px;text-decoration:none;color:#555d66;height:55px;padding:0 30px;cursor:pointer}._1RpgDdKG1S9mFx90CkOypP:hover{color:#222;background:#f0f2f4}._1RpgDdKG1S9mFx90CkOypP:active,._1RpgDdKG1S9mFx90CkOypP:focus{outline:0;border:none;box-shadow:none}._2yXAH5PTui75MoGRcI8Ftx,a._2yXAH5PTui75MoGRcI8Ftx:active,a._2yXAH5PTui75MoGRcI8Ftx:focus{background-color:#f0f2f4;box-shadow:inset 0 -1px 0 0 #81b440}._39FpOWyJ6nedEfKlYEwrCr ._2yXAH5PTui75MoGRcI8Ftx,._39FpOWyJ6nedEfKlYEwrCr a._2yXAH5PTui75MoGRcI8Ftx:active,._39FpOWyJ6nedEfKlYEwrCr a._2yXAH5PTui75MoGRcI8Ftx:focus{box-shadow:none}._3fJlia0oH1lsONCA0xfzS8:before{content:"NEW";display:block;position:absolute;right:-14px;top:4px;background:#81b440;font-size:10px;padding:1px 7px 0;text-transform:uppercase;color:#fff;font-weight:400;border-radius:9px;z-index:9;line-height:14px}._39FpOWyJ6nedEfKlYEwrCr{position:absolute;z-index:999;box-shadow:0 6px 18px 2px rgba(0,0,0,.09);width:200px;left:-1px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:left;justify-content:left;margin:0;padding:0;background:#fff;border-top:1px solid #f1f1f1;border-left:1px solid #f1f1f1;border-right:1px solid #f1f1f1;overflow:hidden;max-height:0;opacity:0;transform:scale(.4);transform-origin:60% top;transition:max-height 0s linear 0s,opacity .2s cubic-bezier(.39,.575,.565,1),transform .15s cubic-bezier(.1,1.26,.83,1)}._39FpOWyJ6nedEfKlYEwrCr ._1RpgDdKG1S9mFx90CkOypP{-ms-flex-pack:left;justify-content:left;height:45px}._1q3vd0e_mCk86RamCxWhaw{margin:0;padding:0;border-bottom:1px solid #f1f1f1}.OAx3WmyjUg4Xy7qdA1_WW{display:none}@media (min-width:782px){.OAx3WmyjUg4Xy7qdA1_WW{display:-ms-flexbox;display:flex}.OAx3WmyjUg4Xy7qdA1_WW ._3kdBDJ8iqP12wNsiIE5fTu{border-right:0}}.fwjH5inEEu_5a3cTrmUYH:hover .w022imwFi4o34bjpjJSuZ{max-height:400px;overflow-y:auto;width:300px;right:0;left:auto}.fwjH5inEEu_5a3cTrmUYH:hover .w022imwFi4o34bjpjJSuZ::-webkit-scrollbar{-webkit-appearance:none;width:7px}.fwjH5inEEu_5a3cTrmUYH:hover .w022imwFi4o34bjpjJSuZ::-webkit-scrollbar-thumb{border-radius:4px;background-color:rgba(0,0,0,.5);-webkit-box-shadow:0 0 1px hsla(0,0%,100%,.5)}.CWGXruH1IboLJUmDjQeFX{position:absolute;display:block;font-size:10px;top:21px;right:13px;border-radius:5px;padding:0 4px;line-height:15px;background-color:#ca4a1f;color:#fff}._22NQeEWSR0Ejc9N6d6B_Wh{padding:20px}._158qTo7-D6zp4eyh6dMqwk{color:#363b3f;position:relative;padding:5px 0 10px 20px;margin-bottom:0}.m5rpWm5l1cri6b66yRb6e{opacity:.5;font-size:9px;text-transform:uppercase;margin-bottom:5px}._31qNF828XJ3Bp3__XeS4v6{font-size:14px;font-weight:700;padding:4px 0 0}._2GGmi6mRBpkEK8cmrsw-sn{font-size:12px}._2GGmi6mRBpkEK8cmrsw-sn p{margin:7px 0}._3HTeJ2APvEEbw6fuNZusDc{background:#1486b8;border:1px solid #0d6897;border-radius:4px;color:#fff;padding:6px 20px;font-size:13px;width:300px;cursor:pointer;text-decoration:none;display:block;text-align:center;line-height:18px;box-sizing:border-box}._3HTeJ2APvEEbw6fuNZusDc:active,._3HTeJ2APvEEbw6fuNZusDc:focus,._3HTeJ2APvEEbw6fuNZusDc:hover{color:#e0e0ff}._6kkV3EhAkT0gJmFsZuXUX{color:#555;border-color:#ccc;background:#f7f7f7;box-shadow:inset 0 -1px 0 #ccc}._6kkV3EhAkT0gJmFsZuXUX:active,._6kkV3EhAkT0gJmFsZuXUX:focus,._6kkV3EhAkT0gJmFsZuXUX:hover{color:#3a3a3a}._2oqG3-zLNwe1-jzxXajmrs{margin:0 0 0 5px}._2oqG3-zLNwe1-jzxXajmrs li{position:relative;padding:0 0 11px 17px;margin:0;font-size:13px;font-weight:100}._2oqG3-zLNwe1-jzxXajmrs li a{color:inherit;text-decoration:none}._2oqG3-zLNwe1-jzxXajmrs li:before{content:"";display:block;width:1px;border-left:1px solid #82b541;position:absolute;left:-1px;top:5px;bottom:-7px}._2oqG3-zLNwe1-jzxXajmrs li:after{content:"";display:block;width:8px;height:8px;border:1px solid #82b541;border-radius:50%;position:absolute;left:-5px;background:#fff;top:3px}._2oqG3-zLNwe1-jzxXajmrs li:last-child:before{display:none}._15JTQfDCA66O-GW9CLFxV4{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;display:inline-block;max-width:100%;margin:0 10px 0 0;min-height:24px;background:#fff;padding:3px 8px;color:#23282d;outline:0;line-height:18px;font-size:13px;border-radius:4px;border:1px solid #ddd;box-shadow:inset 0 1px 2px rgba(0,0,0,.07),0 1px 0 #ddd;width:auto}._3qS3JuDE32Xbr4KIfTtcPa{line-height:32px;padding:5px 10px;font-size:18px}._15JTQfDCA66O-GW9CLFxV4:active,._15JTQfDCA66O-GW9CLFxV4:focus{color:#191e23;border-color:#00a0d2;box-shadow:0 0 0 1px #00a0d2;outline:2px solid transparent;outline-offset:-2px}._3MFol6E9WMt5BwRjEvixDc h2{font-weight:400;font-size:18px}._1pLw1-7WEGRYGZQ9N4xT7y{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:100%;min-height:60vh}._1beWw6dhJqtlaSujooBD-i{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;width:100%;min-height:500px}._3qm6EmqjLhek8Y8l8-I9Xo ._1beWw6dhJqtlaSujooBD-i{position:relative}._3qm6EmqjLhek8Y8l8-I9Xo ._1beWw6dhJqtlaSujooBD-i>div{opacity:.1}.uyNi5vnpqR70ai6xTfPZx{margin:40px 0;padding-left:15px;padding-right:15px;-ms-flex:1 1 100%;flex:1 1 100%;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.uyNi5vnpqR70ai6xTfPZx a{display:block;background:#f7f7f7;border:1px solid #d7d8d8;box-shadow:0 1px 0 #d7d8d7;border-radius:3px;padding:9px 12px;margin:0 2px;color:#4a4a4a;cursor:pointer}._2OfdbQ7rBju3q4Oqif1u33 a{background:#0073af;color:#fff;border:1px solid #03537d;box-shadow:0 1px 0 #03537d}.wLzaFB0hsFHbLmhvihjOJ{opacity:.4}.wLzaFB0hsFHbLmhvihjOJ a{cursor:not-allowed}.GQBHNI3nXT0S_O6Sk-Z-P{width:100%;height:100px;padding:20px;border-radius:4px;margin:0 auto;background:#fff;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;box-shadow:0 2px 2px rgba(0,0,0,.1)}@keyframes _3wxVFkCyRkDrJMsM0ALhPC{0%{transform:translateY(0)}20%{transform:translateY(-100%)}50%{transform:translateY(0)}}@keyframes _3DTPK7JclQiAkharJALEUP{0%{opacity:0}to{opacity:1}}.dJ4j35gA2HilPTxnY0M9m{width:130px;height:50px;position:relative;margin:auto;animation:_3DTPK7JclQiAkharJALEUP 1s;padding-top:16px}.dJ4j35gA2HilPTxnY0M9m:before{background-color:#523ee8;animation:_3wxVFkCyRkDrJMsM0ALhPC 1.1s linear -.6s infinite}.dJ4j35gA2HilPTxnY0M9m:after,.dJ4j35gA2HilPTxnY0M9m:before{content:"";display:inline-block;width:16px;height:16px;border-radius:50%;margin:0 7px}.dJ4j35gA2HilPTxnY0M9m:after{background-color:#f73859;animation:_3wxVFkCyRkDrJMsM0ALhPC 1.1s linear 0s infinite}._2oM39E4E6Hy5OAO3aev9Qm:before{background-color:#6d47d9;animation:_3wxVFkCyRkDrJMsM0ALhPC 1.1s linear -.4s infinite}._2oM39E4E6Hy5OAO3aev9Qm:after,._2oM39E4E6Hy5OAO3aev9Qm:before{content:"";display:inline-block;width:16px;height:16px;border-radius:50%;margin:0 7px}._2oM39E4E6Hy5OAO3aev9Qm:after{background-color:#f7bc28;animation:_3wxVFkCyRkDrJMsM0ALhPC 1.1s linear -.2s infinite}._2OwW856-9-FUqGxx4XBRMp{padding:0 20px 20px}._1ekXqnckIS-5r61tn92fqs{display:none;color:#444}._1ekXqnckIS-5r61tn92fqs a{color:#444}.Nd1HvTzjRlIMxeP8zqYfh{display:-ms-flexbox;display:flex;width:100%}._3F94uKUhNByC8Hh9-_aGCY{-ms-flex:1;flex:1;margin-right:10px;padding:6px 9px;line-height:21px}._3mFdh_1q0bqyWv1nXGfaBF{margin:0 0 21px;font-size:25px;font-weight:400}.KhnyRku9ilyjbBFiTOaAT{color:red;font-weight:700;padding:0 0 10px}._2-bN8MjArhuIIuTr5R9ppn{padding:60px 0 40px}._2AtuZDIgViheONdEt7HeC0{text-align:center}._2AtuZDIgViheONdEt7HeC0 p{font-size:16px}._3ChXg3t42h3Lxoxj6pO2YL{font-size:27px;font-weight:400;background-image:url(img/bdd27131c2626f76fa7bb2869afc0bbd.png);background-repeat:no-repeat;background-position:0;padding-left:60px;height:50px;display:inline-block;margin:0 auto;line-height:50px}._1yzJNIHrFCQXeN433JMq5e{margin:6px 0 0;font-size:12px}._27svi568eoY6iGHsH0AspH{position:fixed;z-index:8;background:#efefef;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}._3odISSW0ZCb0xJqRipssxF{background:#fff;-ms-flex:0 0 50px;flex:0 0 50px;padding:0 20px;box-shadow:0 1px 0 rgba(0,0,0,.1);z-index:8;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.vQ4ZqODCNdk0nVE-vOeMm{padding:20px;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;overflow-y:auto;-ms-flex-direction:row;flex-direction:row}._3w6jnp88EiiUQH4y8fa84w{padding:0 0 20px;-ms-flex:1 0 70%;flex:1 0 70%}._18Cbupcf9xd3p-GX0U3AYV{padding:0 0 20px;-ms-flex:0 0 150px;flex:0 0 150px}._32Ig5BZCWc8hMqZIGe92f1{-ms-flex:1 1 100%;flex:1 1 100%;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}._3_ok-fv1rQMCqBnmvULZLE{font-size:31px;line-height:30px;font-weight:100;margin:0 0 12px}._3M2Cr9QyAg8_36JLXH5q-x,._6PH2ENYVVxP4Z-t9P8NGU{padding:1px;-ms-flex:0 0 23.4%;flex:0 0 23.4%;box-sizing:border-box;margin:0 2% 30px 0;position:relative}@media screen and (max-width:1500px){._3M2Cr9QyAg8_36JLXH5q-x:nth-child(4n),._6PH2ENYVVxP4Z-t9P8NGU:nth-child(4n){margin-right:0}}@media screen and (min-width:1500px){._3M2Cr9QyAg8_36JLXH5q-x,._6PH2ENYVVxP4Z-t9P8NGU{-ms-flex:0 0 18.4%;flex:0 0 18.4%}._3M2Cr9QyAg8_36JLXH5q-x:nth-child(5n),._6PH2ENYVVxP4Z-t9P8NGU:nth-child(5n){margin-right:0}}._3M2Cr9QyAg8_36JLXH5q-x ._144U0mjGxdSZEV_F9Xu426,._6PH2ENYVVxP4Z-t9P8NGU ._144U0mjGxdSZEV_F9Xu426{height:390px;box-shadow:1px -1px 10px transparent;transition:box-shadow .1s ease-in-out}._3M2Cr9QyAg8_36JLXH5q-x ._144U0mjGxdSZEV_F9Xu426:hover,._6PH2ENYVVxP4Z-t9P8NGU ._144U0mjGxdSZEV_F9Xu426:hover{box-shadow:1px 1px 12px rgba(0,0,0,.25)}._3M2Cr9QyAg8_36JLXH5q-x ._1smM86XuFFLr0aS1IMSLbO,._6PH2ENYVVxP4Z-t9P8NGU ._1smM86XuFFLr0aS1IMSLbO{width:100%;height:390px}._144U0mjGxdSZEV_F9Xu426{position:relative;border-radius:2px}._2MEJJMnQIcT6LpO-TuHpFf{background-color:#fff;background-position:top;background-size:100% auto;background-repeat:no-repeat;border-radius:2px;z-index:1;top:0;left:0;right:0;bottom:0;position:absolute}._1W4G4Sg0msWYKbZSmgPErc{margin-top:10px}._1W4G4Sg0msWYKbZSmgPErc ._144U0mjGxdSZEV_F9Xu426{transition:transform .3s ease-in-out}._1W4G4Sg0msWYKbZSmgPErc ._144U0mjGxdSZEV_F9Xu426:after,._1W4G4Sg0msWYKbZSmgPErc ._144U0mjGxdSZEV_F9Xu426:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;display:block;transition:transform .3s ease-in-out}._1W4G4Sg0msWYKbZSmgPErc ._144U0mjGxdSZEV_F9Xu426:before{z-index:-1;background-color:hsla(0,0%,100%,.93)}._1W4G4Sg0msWYKbZSmgPErc ._144U0mjGxdSZEV_F9Xu426:after{z-index:-2;background-color:hsla(0,0%,100%,.63)}._1W4G4Sg0msWYKbZSmgPErc ._144U0mjGxdSZEV_F9Xu426:hover{transform:translate(-5px,5px);box-shadow:none}._1W4G4Sg0msWYKbZSmgPErc ._144U0mjGxdSZEV_F9Xu426:hover:before{transform:translate(5px,-5px)}._1W4G4Sg0msWYKbZSmgPErc ._144U0mjGxdSZEV_F9Xu426:hover:after{transform:translate(10px,-10px)}._1tf5Eqr9_5mXzG13BAnsQC{position:absolute;right:8px;top:10px;font-size:12px;line-height:12px;z-index:7}._1c-OSLjnymOFE8v6WI1DRM,.n5fgwcD9c22A7hqX5ydy5{box-sizing:border-box;pointer-events:none;text-transform:uppercase;background-color:#555;color:#f1f1f1;padding:2px 4px;font-size:11px;border-radius:2px;margin-right:5px}._2ijNmQNhz6Pzm5lMSlJAFj{background-color:#81b440;color:#fff}._1smM86XuFFLr0aS1IMSLbO{padding-bottom:0!important;text-decoration:none;display:block;position:absolute;top:0;left:0;right:0;bottom:0;z-index:2;border:0!important}._2Kl35RH8ZJUlumz3zg5GZ7{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:end;justify-content:flex-end}._3QGg9xmV4eIhaFDiKOzech{padding:10px;overflow:hidden;color:#767676;font-weight:100}._1QQJIvJdcib1Nqth0eNZj0{font-size:16px;font-weight:700;color:#000;margin:0 0 3px;padding:0}._1G8MTYEGch6S7EIP18rZZX,._27svi568eoY6iGHsH0AspH{position:fixed;z-index:8;background:#f1f1f1;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}._3ceWlPqxcVsMxmRVBC5nW7{background:#fff;-ms-flex:0 0 50px;flex:0 0 50px;padding:0 20px;box-shadow:0 1px 0 rgba(0,0,0,.1);z-index:8;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.S4My3zpRpm4AoQjEsVmRe{color:#555d66;text-decoration:none;font-size:13px;font-weight:500;position:relative;padding-left:16px;padding-right:6px}.S4My3zpRpm4AoQjEsVmRe:before{content:"\f341";opacity:.7;margin-top:1px;font-family:dashicons;position:absolute;left:0}.S4My3zpRpm4AoQjEsVmRe:active,.S4My3zpRpm4AoQjEsVmRe:hover{color:#000;text-decoration:underline}._3QBZLRa-A77ImXOKPt4QuF{padding:20px;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;overflow:hidden}.HkZFhp-_JOEbNoIFo05pr{-ms-flex:1 1 100%;flex:1 1 100%;padding:0 0 10px}._1AE4QdJp6k3lSwgrBW29H{font-size:31px;line-height:30px;font-weight:100;margin:0 0 12px}._-0rlK9vkhtu-cQLWwUr9R{padding-right:14px;max-height:73vh;overflow-y:auto;-ms-flex:1;flex:1}._-0rlK9vkhtu-cQLWwUr9R::-webkit-scrollbar{-webkit-appearance:none;width:7px}._-0rlK9vkhtu-cQLWwUr9R::-webkit-scrollbar-thumb{border-radius:4px;background-color:rgba(0,0,0,.5);-webkit-box-shadow:0 0 1px hsla(0,0%,100%,.5)}._39XoPAHQ9TPfb4rNYcozOV{background-repeat:no-repeat;background-size:100% auto;filter:blur(5px);opacity:.3;border-radius:2px;position:relative}.O0SnMFvj0Yj6E7krd6iNR{opacity:1;filter:none;height:auto!important}._3hZs6EpOrnn_tZlU_0trtK{max-width:100%;height:auto;border-radius:2px}._2uvjKWnkHS3ThhMWs_FLxO{border-left:1px solid #ddd;margin-left:2px;-ms-flex:0 1 35%;flex:0 1 35%;padding-left:20px}._2uvjKWnkHS3ThhMWs_FLxO,._2uvjKWnkHS3ThhMWs_FLxO p{font-size:15px;color:#444}._1j6ot2Z6m8szQCWzvmvsVr{display:none}._2qNzC4ljFS_CGg1sIVsgh-{margin-bottom:40px}._2KUbF1KG-Hc-WvFEVBz8Zf{font-size:22px;line-height:28px;font-weight:100;margin:0 0 4px}._3wsm1AlsWBdlQtGR_d2MGf{margin:20px 0;min-height:80px}._18Uhd8Ks7VOSbwhcIaRJCX{border-bottom:2px solid #ddd;width:120px;margin:10px 0 20px}.kGmuU-6qIRKSSi5sYh08x{font-size:15px;color:#767676;padding:5px 0 10px}.kGmuU-6qIRKSSi5sYh08x p{margin:0 0 10px}._1_79hgVvcGHaukR_tSKJTG{background-image:url(img/5337645938a37e01956aa03725e1a435.png);background-position:0 100%;background-repeat:no-repeat;height:50px;background-size:contain}._2h9NcciQdHh7Yc07-ygABG{padding:6px 20px;font-size:13px;text-decoration:none;color:#0d6897;width:300px;display:block;text-align:center;box-sizing:border-box}._2h9NcciQdHh7Yc07-ygABG:hover{text-decoration:underline}.R4FyqEOl1cQusf_iASTTL{width:auto;display:inline-block}._99v9ImSmsc9WaLo1JRKTv{font-size:15px;color:#767676;background:#fff;padding:10px 0 10px 16px;margin:0 0 15px;border-left:3px solid #2dbd2d}.LrfUx4lOQZGNTJvqMVr5t{position:relative}.LrfUx4lOQZGNTJvqMVr5t span{display:block;position:absolute;top:5px;right:5px;font:400 20px/1 dashicons;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:top}._232V2hEXumw5qfQvYgC3_7{padding-right:30px!important}._232V2hEXumw5qfQvYgC3_7 span{animation:_1757-mH-PMnc60sb6vELQo 2s linear infinite;width:20px;height:20px}._232V2hEXumw5qfQvYgC3_7 span:before{displaY:block;position:absolute;color:#fff;content:"\f463"}._232V2hEXumw5qfQvYgC3_7._7yHt4xMhWMjrht8iEQ5r4 span:before{color:#f56e28}@keyframes _1757-mH-PMnc60sb6vELQo{to{transform:rotate(1turn)}}._1WKY2zs_Ek0OlucGojMUKs{-ms-flex:0 0 100%;flex:0 0 100%;background:#fff;box-shadow:0 2px 2px rgba(0,0,0,.1);margin-left:-20px;margin-right:-20px;margin-bottom:20px;padding:20px}._1LFtNh3LQY63C-DVwqC8xn{-ms-flex:0 0 100%;flex:0 0 100%;padding:20px 0 0}._2HmuOGC3Ithuf-sXf5b9fI{width:100%;display:-ms-flexbox;display:flex}._hbEGkogYcG3oOmQJqURY{display:none}@media (min-width:782px){._hbEGkogYcG3oOmQJqURY{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;margin:10px 0 12px}}@media (min-width:1220px){._hbEGkogYcG3oOmQJqURY{background-image:url(img/f5dd8db270f82286e8e330efae4d7bc8.png);background-position:0 100%;background-repeat:no-repeat;background-size:auto auto;padding-left:368px;max-width:500px;min-height:271px}}._2f4hLp2v2WyyKVSF_UJEv1{margin:0 0 5px;font-size:25px;font-weight:400}._1yqUaTk94oRux2IOrSzyXP{max-width:570px;-ms-flex:1;flex:1;position:relative}.YMU-1uxeVLWF9kE4JD25v{position:absolute;right:5px;top:0;width:26px;height:40px;background:url(img/7117a04f8fb30dc1977cdf0cbca38b61.svg) no-repeat center 8px;cursor:pointer;border:0;overflow:hidden;text-indent:-999px;opacity:.6;transition:opacity .3s}.YMU-1uxeVLWF9kE4JD25v:hover{opacity:1}.YMU-1uxeVLWF9kE4JD25v:active,.YMU-1uxeVLWF9kE4JD25v:focus{outline:0}._3EUrHXE9jV4IifhdnD4_Cd{position:absolute;left:101%;top:0;width:90px;text-align:left;height:40px;cursor:pointer;border:0;overflow:hidden;background:transparent;color:#909090}._3EUrHXE9jV4IifhdnD4_Cd:active,._3EUrHXE9jV4IifhdnD4_Cd:focus{outline:0}.vOuPoAdqbdAYFITCTHe4y{color:#979797;position:absolute;left:102%;font-size:13px;width:300px;top:30%}._2l-UWAqy0FXF8L8gwwYUHx{max-width:570px;display:-ms-flexbox;display:flex;padding:10px;width:100%}._229aHI0GW06VoLl-kswK1h{background:transparent;border:0;height:35px;padding:0 20px 0 0;width:100px;color:#767676;font-size:13px;cursor:pointer;display:-ms-flexbox;display:flex;vertical-align:middle;-ms-flex-pack:justify;justify-content:space-between;line-height:20px}._231E_YT3yMvg_n79PGLJas path,.DYqp10YQ0J95DoAkRhv_r path{fill:#9ea3a8}._1cPUEGx0Xx6_QN2N8gDjbN .DYqp10YQ0J95DoAkRhv_r path,._2vMGTgDLYWHwC5Bixj3h1j ._231E_YT3yMvg_n79PGLJas path{fill:#0878b0}._126zV04eoTDtbyC-BYLUAA{-ms-flex:1;flex:1}._24Myt3sk2DBgPhz8z2brpB{height:35px;margin-right:10px;padding:0 20px 0 9px;line-height:35px;color:#767676;background:#fff;border:1px solid #ddd;font-size:13px;cursor:pointer;position:relative}._24Myt3sk2DBgPhz8z2brpB:after{content:"\f345";opacity:.7;margin-top:0;font-family:dashicons;position:absolute;right:7px;transform:rotate(0deg);transform-origin:50% 50%;transition:transform .1s ease}._1qm1acbt4CVaO_Rvtr5wiG{position:absolute;left:-1px;right:-1px;display:none;padding:12px;background:#fff;border:1px solid #ddd;white-space:nowrap;z-index:8}._2K9p4UA96kSmp7CK-j4Lwr{width:200px}._2K9p4UA96kSmp7CK-j4Lwr ._3sllyIsBcYkXe15iS4Srvi{-ms-flex:1 1 50%;flex:1 1 50%}._3mhTCbx_VsizPWMPnNMqFP[type=radio]{border:1px solid #b4b9be;background:#fff;color:#555;clear:none;cursor:pointer;display:inline-block;line-height:0;height:16px;margin:-4px 10px 0 0;outline:0;padding:0!important;text-align:center;vertical-align:middle;width:16px;min-width:16px;-webkit-appearance:none;box-shadow:inset 0 1px 2px rgba(0,0,0,.1);transition:border-color .05s ease-in-out}[type=checkbox].N_PwTUJpdubkQbZ4bc_80{width:30px;height:20px;border:0;border-radius:5px}[type=checkbox].N_PwTUJpdubkQbZ4bc_80:before{float:left;display:inline-block;vertical-align:middle;width:16px;font:normal 21px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}[type=checkbox].N_PwTUJpdubkQbZ4bc_80:checked:before{margin:0 0 0 4px;color:#fff;content:"\f147"}[type=checkbox]._10lpTjXqgE3Kjd92xVCibV{background-color:#ff85ca}[type=checkbox]._2gS-ALaGY56c0i7J58pZJE{background-color:#ef3962}[type=checkbox]._2V78A7J-Mxkt-Tza3UMHFJ{background-color:#fb7058}[type=checkbox]._39LxIeKSXlT_-lSJ5dvDur{background-color:#fee757}[type=checkbox]._3RuMm7lTBH80FqLAbe9tDW{background-color:#1acb7e}[type=checkbox]._18pq4of4JIrupaBpPXh6XJ{background-color:#1ddac2}[type=checkbox]._1-G-w8MmOJCasTlZGOEI4h{background-color:#349fe5}[type=checkbox]._1z559-9WEHF4x3CKOINjXG{background-color:#8966b7}[type=checkbox]._3e2qxFONVy2isaa-xJgZBX{background-color:#7f5d60}[type=checkbox]._1d8hHCa4DYp3goqSeRlBTC{background-color:#010101}[type=checkbox]._1WiFca3inADyt8iUJDxw8D{background-color:#d6d3e3}[type=checkbox].X-lg76aHNtTLSxMjh3_dF{background-color:#fff;border:1px solid #eee}[type=checkbox]._39LxIeKSXlT_-lSJ5dvDur:checked:before,[type=checkbox].X-lg76aHNtTLSxMjh3_dF:checked:before{color:#000}._126zV04eoTDtbyC-BYLUAA:hover ._24Myt3sk2DBgPhz8z2brpB:after{transform:rotate(90deg)}._126zV04eoTDtbyC-BYLUAA:hover ._1qm1acbt4CVaO_Rvtr5wiG{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}._1B0pkoWn5B-itP-5MBAN7k{padding:0 10px}._1P8fwj3Dti5I8Htj9e9wvH,._3SzTrjTPnqpFXtiLO5gZ82{display:inline-block;margin:0 1px;padding:3px;border:0;cursor:pointer;background:transparent;color:#0073aa}._1P8fwj3Dti5I8Htj9e9wvH{text-decoration:underline}.-cJ75CRkRvVzmNwM_Vydw{padding:1px 0 25px}.SopIxoGl2fWJBUXAjkupc{font-weight:100;color:#444;font-size:31px;line-height:35px;margin:25px 0 10px}._1ppz4Z7Bufl0W3R-J5zlSZ{font-size:15px;color:#767676}._27KQKxVbQP8sKhKdvFbU8Q{position:absolute;z-index:10;background:#fff;border:1px solid #9ea3a8;box-shadow:0 2px 10px rgba(0,0,0,.2);border-radius:2px;margin-top:5px;padding:15px 0;min-width:250px}._68cXdFUhFij3Wx2bpqZcc{background:transparent;cursor:pointer;padding:6px 19px;color:#767676;border:0;box-sizing:border-box;font-size:15px;width:100%;text-align:left}._68cXdFUhFij3Wx2bpqZcc:hover{background:#eee}._3KrrhC-E9jZRkP8DDDdQ9h{display:none;-ms-flex:0 0 150px;flex:0 0 150px;margin:0 0 0 auto}@media (min-width:782px){._3KrrhC-E9jZRkP8DDDdQ9h{display:-ms-flexbox;display:flex;-ms-flex-pack:right;justify-content:right;-ms-flex-align:center;align-items:center}}._3KrrhC-E9jZRkP8DDDdQ9h ._1qm1acbt4CVaO_Rvtr5wiG{left:auto}._3gg-hFGx42aq1fkzOrw9u{padding:0 20px 20px}._3GDGVBVgbKm0o2RQOHQQ2Y{position:fixed;z-index:10;background:#efefef;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}._1X4u2SE_PZcuOLnUTexrRJ{background:#fff;-ms-flex:0 0 50px;flex:0 0 50px;padding:0 20px;box-shadow:0 1px 0 rgba(0,0,0,.1);z-index:8;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}._-0lkebFm1TFZZEoww2eEl{color:#555d66;text-decoration:none;font-size:13px;font-weight:500;position:relative;padding-left:16px}._-0lkebFm1TFZZEoww2eEl:before{content:"\f341";opacity:.7;margin-top:1px;font-family:dashicons;position:absolute;left:0}._-0lkebFm1TFZZEoww2eEl:active,._-0lkebFm1TFZZEoww2eEl:hover{color:#000;text-decoration:underline}._3BFDeefoEng2eVytfsbdtD{padding:20px;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;overflow-y:auto;-ms-flex-pack:justify;justify-content:space-between}._1W25gEnOaS83Sn3giIr2kG{-ms-flex:1 1 100%;flex:1 1 100%;padding:0 0 20px}.Q-MCBTqL0y9qsZN3heHtP{font-size:31px;line-height:30px;font-weight:100;margin:0 0 12px;color:#444}._3q-lB5n6XQ2cTqqW5DrFh{font-size:15px;color:#767676}._2-I5KvUup8A6HjbRBUjY4m{background:#fff;border-radius:2px;color:#767676;box-sizing:border-box;-ms-flex:0 1 23.5%;flex:0 1 23.5%;margin-right:1.5%;margin-bottom:1.5%}._2-I5KvUup8A6HjbRBUjY4m:hover{box-shadow:0 2px 2px rgba(0,0,0,.1)}._3RgwlnnMPs_k_9c0ujx8s2{font-weight:100;margin:0;padding:0 0 8px}._2-Hkk26PAJRDcui9x3fZez{opacity:.5}._1iqi0EaPcpyFqFMq713XRX{text-align:center;padding:20px;display:block;color:#767676;text-decoration:none}._1iqi0EaPcpyFqFMq713XRX:hover{color:#0073af}._1BuZAhIChciK10mFTz2_4D,._1emafbNmd_EBdUoTsnIUe3{margin:0 0 60px;padding:1px;-ms-flex:0 0 100%;flex:0 0 100%;position:relative;display:-ms-flexbox;display:flex}.iZUy4FBiknphjDnyA6E6n,.rNnyEPuQR-MyKzDL555ve{padding:1px;-ms-flex:0 0 19%;flex:0 0 19%;margin:0 1% 20px 0;box-sizing:border-box;position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.iZUy4FBiknphjDnyA6E6n ._3J0I4yh-ykUHuF9H83KIeP,.rNnyEPuQR-MyKzDL555ve ._3J0I4yh-ykUHuF9H83KIeP{height:160px;box-shadow:1px -1px 10px transparent;transition:box-shadow .1s ease-in-out;position:relative;background-color:#fff;background-position:50%;background-size:contain;background-repeat:no-repeat;border-radius:5px}.iZUy4FBiknphjDnyA6E6n ._3J0I4yh-ykUHuF9H83KIeP:hover,.rNnyEPuQR-MyKzDL555ve ._3J0I4yh-ykUHuF9H83KIeP:hover{box-shadow:1px -1px 10px rgba(0,0,0,.15)}.iZUy4FBiknphjDnyA6E6n ._34zfk_ImiC2ggMijCxmm6g,.rNnyEPuQR-MyKzDL555ve ._34zfk_ImiC2ggMijCxmm6g{width:100%;height:160px;padding-bottom:0!important;text-decoration:none;display:block;position:absolute;top:0;left:0;right:0;bottom:0;z-index:2;border:0!important}.iZUy4FBiknphjDnyA6E6n ._2dYoU2mTUXiLq-ySU_Eh3i,.rNnyEPuQR-MyKzDL555ve ._2dYoU2mTUXiLq-ySU_Eh3i{text-align:center;padding:5px}._3gWhy0DtQZXb5hJ_nHYj7J{position:absolute;right:8px;top:10px;font-size:12px;line-height:12px;z-index:7}._3QB2fuqInI5TnWGFikzCsE,._3ZShTkT46KaiqBEZQE-lNW{box-sizing:border-box;pointer-events:none;text-transform:uppercase;background-color:#555;color:#f1f1f1;padding:2px 4px;font-size:11px;border-radius:2px;margin-right:5px}._hj04BM-N4d-vzenZNXKh{-ms-flex:0 1 70%;flex:0 1 70%;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}._2LC1BXbWSSSJrkwEF-bR50{-ms-flex:0 1 30%;flex:0 1 30%;padding:0 0 0 30px}._1E641YentSFiTYTZ5PN9iJ{filter:blur(5px);opacity:.3;border-radius:2px}._2hvkTZZIgCcs4BLVaq-3ll{opacity:1;filter:none;height:auto!important}.Jhs7b5Vuc6GIc6XwPpueh{max-width:100%;height:auto;border-radius:2px;box-shadow:0 2px 2px rgba(0,0,0,.1)}.ethID5Y1dryvgeXusOKzT{display:none}.PY9DMIU0FvG0BSL81KHP-{font-size:25px;line-height:27px;font-weight:100;margin:0 0 12px;color:#444}._2rDS2oGXxMEX7AQ7Zw_qBU{border-bottom:2px solid #ddd;width:120px;margin:10px 0 20px}._3RnwiwbaUkwISmpx_BMiUY{font-size:15px;color:#767676;padding:5px 0 20px}._3RnwiwbaUkwISmpx_BMiUY p{margin:0 0 10px}._3Oplnb7-rP31gjy9Em9MYg{background-image:url(img/5337645938a37e01956aa03725e1a435.png);background-position:0 100%;background-repeat:no-repeat;height:50px;background-size:contain}._1pSC2eag-2TSZUm2Gg9QHA{padding:6px 20px;font-size:13px;text-decoration:none;color:#0d6897;width:300px;display:block;text-align:center;box-sizing:border-box}._1pSC2eag-2TSZUm2Gg9QHA:hover{text-decoration:underline}._39bnDoSITW67TfIWJSIP6S{position:fixed;z-index:8;background:#efefef;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}._2mirMadmk4HVBYs2FCDqn8{background:#fff;-ms-flex:0 0 50px;flex:0 0 50px;padding:0 20px;box-shadow:0 1px 0 rgba(0,0,0,.1);z-index:8;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}._2aEuprMij62f1T4xOxj4Gz{padding:20px;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;overflow-y:auto;-ms-flex-pack:justify;justify-content:space-between}._6WwzthflRQKGhj2eyQ-Xw{-ms-flex:1 1 100%;flex:1 1 100%;padding:0 0 20px}._3b24W0c5k6okAr7dZtdqfw{font-size:31px;line-height:30px;font-weight:100;margin:0 0 12px}._3-QyTKgeYAvoV0dbfvzTTw,.gjYZplU5L05A1tOFM_eUo{margin:0 0 30px;-ms-flex:0 0 25%;flex:0 0 25%;box-sizing:border-box;padding:1px 2% 1px 1px;position:relative}@media screen and (min-width:1500px){._3-QyTKgeYAvoV0dbfvzTTw,.gjYZplU5L05A1tOFM_eUo{-ms-flex:0 0 20%;flex:0 0 20%}}._3-QyTKgeYAvoV0dbfvzTTw ._3voTEqt4g5GodLy480hiiJ,.gjYZplU5L05A1tOFM_eUo ._3voTEqt4g5GodLy480hiiJ{height:390px;box-shadow:1px -1px 10px transparent;transition:box-shadow .1s ease-in-out}._3-QyTKgeYAvoV0dbfvzTTw ._3voTEqt4g5GodLy480hiiJ:hover,.gjYZplU5L05A1tOFM_eUo ._3voTEqt4g5GodLy480hiiJ:hover{box-shadow:1px 1px 12px rgba(0,0,0,.25)}._3-QyTKgeYAvoV0dbfvzTTw ._3zdPna56RcDqfMYMvWXJUk,.gjYZplU5L05A1tOFM_eUo ._3zdPna56RcDqfMYMvWXJUk{width:100%;height:390px}._3voTEqt4g5GodLy480hiiJ{position:relative;background-color:#fff;background-position:top;background-size:100% auto;background-repeat:no-repeat;border-radius:2px}.hLPPK7ELjs28UzeuE6dL3{margin-top:10px}.hLPPK7ELjs28UzeuE6dL3 ._3voTEqt4g5GodLy480hiiJ:hover{box-shadow:0 -10px 0 -5px hsla(0,0%,100%,.5),0 -20px 0 -10px hsla(0,0%,100%,.5),0 -30px 0 -15px hsla(0,0%,100%,.5)}._10rK10bV_10HIzf-V_2e11{position:absolute;right:8px;top:10px;font-size:12px;line-height:12px;z-index:7}._1nCZKllTiAyJnk1YW9bugU,.faMX86Yt_glDIgRZ2DiyH{box-sizing:border-box;pointer-events:none;text-transform:uppercase;background-color:#555;color:#f1f1f1;padding:2px 4px;font-size:11px;border-radius:2px;margin-right:5px}._1AYZnWJoZn_-8qzO8FCFP7{background-color:#81b440;color:#fff}._3zdPna56RcDqfMYMvWXJUk{padding-bottom:0!important;text-decoration:none;display:block;position:absolute;top:0;left:0;right:0;bottom:0;z-index:2;border:0!important}._3DHJwoya9TeKCz0aimAne2{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:end;justify-content:flex-end}.kgju2EwE8Ab7dCtqSCr8d{padding:10px;overflow:hidden;color:#767676;font-weight:100}._1YzCxT8RekBiwHNWPWlnp9{font-size:16px;font-weight:700;color:#000;margin:0 0 3px;padding:0}._36trUw-91bidCAOm1BJrES,._39bnDoSITW67TfIWJSIP6S{position:fixed;z-index:8;background:#f1f1f1;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}._3f6zU3hRMbOOTlzEBAAqZm{background:#fff;-ms-flex:0 0 50px;flex:0 0 50px;padding:0 20px;box-shadow:0 1px 0 rgba(0,0,0,.1);z-index:8;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}._2Ng4P9uisOxmElL-9-iWmc{color:#555d66;text-decoration:none;font-size:13px;font-weight:500;position:relative;padding-left:16px;padding-right:6px}._2Ng4P9uisOxmElL-9-iWmc:before{content:"\f341";opacity:.7;margin-top:1px;font-family:dashicons;position:absolute;left:0}._2Ng4P9uisOxmElL-9-iWmc:active,._2Ng4P9uisOxmElL-9-iWmc:hover{color:#000;text-decoration:underline}._3HHu1O34FoRSlbftZR-vcB{padding:20px;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;overflow:hidden}.dYZPvCUrygENReKWlfQT9{-ms-flex:1 1 100%;flex:1 1 100%;padding:0 0 10px}._2GiaJnqNx_q0Uv-j3X4bvL{font-size:31px;line-height:30px;font-weight:100;margin:0 0 12px}.PK-IRg1HZEfKFDQPeghXH{padding-right:14px;max-height:73vh;overflow-y:auto;-ms-flex:1;flex:1}.PK-IRg1HZEfKFDQPeghXH::-webkit-scrollbar{-webkit-appearance:none;width:7px}.PK-IRg1HZEfKFDQPeghXH::-webkit-scrollbar-thumb{border-radius:4px;background-color:rgba(0,0,0,.5);-webkit-box-shadow:0 0 1px hsla(0,0%,100%,.5)}._1AuGj84khfWWUQw26Bdg_{background-repeat:no-repeat;background-size:100% auto;filter:blur(5px);opacity:.3;border-radius:2px;position:relative}.wriwE3qYGapBMDUpcCbgp{opacity:1;filter:none;height:auto!important}._1Im-uqLjDomHHaxUBAbfdA{max-width:100%;height:auto;border-radius:2px}._36XJA8nGQe0R7m4-2pdAwq{border-left:1px solid #ddd;margin-left:2px;-ms-flex:0 1 35%;flex:0 1 35%;padding-left:20px}._36XJA8nGQe0R7m4-2pdAwq,._36XJA8nGQe0R7m4-2pdAwq p{font-size:15px;color:#444}._1mf9xlPNIkFDJt8oSBMqyL{display:none}.j9yepibote1BsyJwJXr7W{margin-bottom:40px}._1xMdhriWN0Foj1v9tXE2sr{font-size:22px;line-height:28px;font-weight:100;margin:0 0 4px}._1sMEOR_7RmfPLF22dcVTNI{margin:20px 0;min-height:80px}._1_1soiairggXBQtN19BXPl{border-bottom:2px solid #ddd;width:120px;margin:10px 0 20px}._3qjoFag4jilWHK15BuTLOp{font-size:15px;color:#767676;padding:5px 0 10px}._3qjoFag4jilWHK15BuTLOp p{margin:0 0 10px}._2Gjie6dgr2pfnDuSq8RmiU{background-image:url(img/5337645938a37e01956aa03725e1a435.png);background-position:0 100%;background-repeat:no-repeat;height:50px;background-size:contain}.bpX032fVUeYnuMbouzbZh{padding:6px 20px;font-size:13px;text-decoration:none;color:#0d6897;width:300px;display:block;text-align:center;box-sizing:border-box}.bpX032fVUeYnuMbouzbZh:hover{text-decoration:underline}.sAeHfDuEojnUJaWLMgR1S{padding:0 20px 20px}.uiWtv2gs9hdHuRgE1hNnI{-ms-flex-pack:justify;justify-content:space-between}.rzrsnpOhOBdnzCuXeO2Dp{-ms-flex:0 0 auto;flex:0 0 auto;margin:auto 0 1%;box-sizing:border-box;position:relative;display:block}._1NUqfZU9E61oiVG7dki5AH{-ms-flex:0 0 24.1%;flex:0 0 24.1%;margin:0 0 1%;position:relative;display:block;width:100%}@media screen and (min-width:1000px){._1NUqfZU9E61oiVG7dki5AH{-ms-flex:0 0 16%;flex:0 0 16%}}@media screen and (min-width:1440px){._1NUqfZU9E61oiVG7dki5AH{-ms-flex:0 0 13.5%;flex:0 0 13.5%}}._1NUqfZU9E61oiVG7dki5AH .SvHw8rN4eS43S1UpyTdvx{padding-bottom:100%}._2AeWr5u0PKssBnXackQajR{position:fixed;z-index:8;background:#fff;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}._7qfO3imff4JZaHLL0oomk{-ms-flex:0 0 50px;flex:0 0 50px;padding:0 20px;box-shadow:0 1px 0 rgba(0,0,0,.1);z-index:8;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.cuYgTCtsxsgD50NJO4zcv{color:#555d66;text-decoration:none;font-size:13px;font-weight:500;position:relative;padding-left:16px}.cuYgTCtsxsgD50NJO4zcv:before{content:"\f341";opacity:.7;margin-top:1px;font-family:dashicons;position:absolute;left:0}.cuYgTCtsxsgD50NJO4zcv:active,.cuYgTCtsxsgD50NJO4zcv:hover{color:#000;text-decoration:underline}._2vi7jCPyCWRzcrP9qZOngD{padding:20px;display:-ms-flexbox;display:flex;border-right:1px solid #ddd}.mq5-eorIiYkMaJ_lR41M4{padding-right:14px;max-height:100%;overflow-y:auto}.mq5-eorIiYkMaJ_lR41M4::-webkit-scrollbar{-webkit-appearance:none;width:7px}.mq5-eorIiYkMaJ_lR41M4::-webkit-scrollbar-thumb{border-radius:4px;background-color:rgba(0,0,0,.5);-webkit-box-shadow:0 0 1px hsla(0,0%,100%,.5)}._2SyfYJHc4EU6gNZSsFNW6J{background-repeat:no-repeat;background-size:100% auto;filter:blur(5px);opacity:.3;border-radius:2px;position:relative}._1mTiXCH6jDfm80oWM68DDR{opacity:1;filter:none;height:auto!important}._3bhmpnPmyyRSZq_3oQsGC{max-width:100%;height:auto;border-radius:2px}._2r1slhhRtMVB8fODUnVZmj{-ms-flex:1 1 35%;flex:1 1 35%;padding-left:20px;border-left:1px solid #ddd;margin-left:2px}._2r1slhhRtMVB8fODUnVZmj,._2r1slhhRtMVB8fODUnVZmj p{font-size:15px;color:#444}.v8jV4UuezI-bAWi4xZZY{font-size:31px;line-height:30px;font-weight:100;margin:15px 0}._2VynnJMMSOuO3wUSuxi7Fz{margin:20px 0;min-height:80px}._1y8dd9o3rUnuLMDMsTG5ZQ{border-bottom:2px solid #ddd;width:120px}._1LvNasYzqmOBpk2l2d6iLX,._3XwmkudE7kJ1kcJs_SM2k2{width:290px}.SvHw8rN4eS43S1UpyTdvx{border-radius:2px;overflow:hidden;background-position:50%;background-size:cover;background-repeat:no-repeat}.toIKB2QX4R-8wrXHGvaeb{padding-bottom:0!important;text-decoration:none;display:block;position:absolute;top:0;left:0;right:0;bottom:0;z-index:2;border:0!important}._3Yr0LjpuF_XN6G8XlxelOX{position:absolute;background:linear-gradient(180deg,transparent,rgba(0,0,0,.4));display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:end;justify-content:flex-end;top:0;left:0;right:0;bottom:0;z-index:1;opacity:0;transition:opacity .3s}.SvHw8rN4eS43S1UpyTdvx:hover{box-shadow:0 2px 2px rgba(0,0,0,.1)}.SvHw8rN4eS43S1UpyTdvx:hover ._3Yr0LjpuF_XN6G8XlxelOX{opacity:1}._2_28YUneolm0caQCBbHtTt{padding:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff;font-weight:700}._3JU7wiH-ehEO60kkBue4I7{position:absolute;right:8px;top:10px;font-size:12px;line-height:12px;z-index:7}._2GMQ1rat1rAv_fHcvsH3jQ,.CaPXBpB8--Bdlh8kDcRbD{box-sizing:border-box;pointer-events:none;text-transform:uppercase;background-color:#555;color:#f1f1f1;padding:2px 4px;font-size:11px;border-radius:2px;margin-right:5px}a._31EI61PYy78y8TJjRLClWF{color:#555;text-decoration:none}a._31EI61PYy78y8TJjRLClWF:hover{text-decoration:underline}._3flwyJyLHG9KFMHwKhoo0V{display:-ms-flexbox;display:flex;line-height:22px}.U9YLMFkMI3JDgnxfrvpEC{display:inline-block;background:#eee;border-radius:1px;font-weight:700;padding:2px 4px;height:22px;width:213px;white-space:nowrap;overflow:hidden}input._3eAZAtZQYOXlA-r3TgWZIQ{display:inline}._3IaGkMa_bqT22GT_qnG0bo{border:0;background:#eee;border-radius:1px;font-weight:700;margin:0 0 0 5px;padding:0;cursor:pointer;overflow:hidden;width:26px;height:26px;line-height:22px}.SgeYmXX-oZ8ghtriwyTVw{padding:10px 20px;min-height:82vh}._2SfHEXFBKWfMyc6NdFE3P3{padding:0 1px}._1BsHcj2Fhu8ee-5faZQD7K{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:justify;justify-content:space-between}._1BsHcj2Fhu8ee-5faZQD7K>div{-ms-flex:0 1 42%;flex:0 1 42%;margin-bottom:20px;background:#fff;padding:10px 20px 20px;border-radius:5px;border:1px solid #e0e5e9}.elements_page_envato-elements button:active,.elements_page_envato-elements button:focus,.toplevel_page_envato-elements button:active,.toplevel_page_envato-elements button:focus{outline-width:0;box-shadow:none}.elements_page_envato-elements .smush-notice.notice,.toplevel_page_envato-elements .smush-notice.notice{display:none!important}.elements_page_envato-elements #dolly,.elements_page_envato-elements #screen-meta,.elements_page_envato-elements #screen-meta-links,.elements_page_envato-elements #wpbody-content>.notice,.elements_page_envato-elements .error,.elements_page_envato-elements .is-dismissible,.elements_page_envato-elements .update-nag,.elements_page_envato-elements .updated,.toplevel_page_envato-elements #dolly,.toplevel_page_envato-elements #screen-meta,.toplevel_page_envato-elements #screen-meta-links,.toplevel_page_envato-elements #wpbody-content>.notice,.toplevel_page_envato-elements .error,.toplevel_page_envato-elements .is-dismissible,.toplevel_page_envato-elements .update-nag,.toplevel_page_envato-elements .updated{display:none}.elements_page_envato-elements #wpcontent,.toplevel_page_envato-elements #wpcontent{padding-left:0}.elements_page_envato-elements #wpbody-content,.toplevel_page_envato-elements #wpbody-content{padding-bottom:0}.elements_page_envato-elements #wpfooter,.toplevel_page_envato-elements #wpfooter{display:none}html.os-html,html.os-html>.os-host{display:block;overflow:hidden;box-sizing:border-box;height:100%!important;width:100%!important;min-width:100%!important;min-height:100%!important;margin:0!important;position:absolute!important}html.os-html>.os-host>.os-padding{position:absolute}body.os-dragging,body.os-dragging *{cursor:default}.os-host,.os-host-textarea{position:relative;overflow:visible!important}#hs-dummy-scrollbar-size{position:fixed;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";visibility:hidden;overflow:scroll;height:500px;width:500px}#hs-dummy-scrollbar-size,.os-viewport{-ms-overflow-style:scrollbar!important}.os-viewport-native-scrollbars-invisible#hs-dummy-scrollbar-size::-webkit-scrollbar,.os-viewport-native-scrollbars-invisible#hs-dummy-scrollbar-size::-webkit-scrollbar-corner,.os-viewport-native-scrollbars-invisible.os-viewport::-webkit-scrollbar,.os-viewport-native-scrollbars-invisible.os-viewport::-webkit-scrollbar-corner{display:none!important;width:0!important;height:0!important;visibility:hidden!important;background:transparent!important}.os-content-glue{max-height:100%;max-width:100%;width:100%;pointer-events:none}.os-padding{direction:inherit;position:absolute;overflow:visible;padding:0;margin:0;left:0;top:0;bottom:0;right:0;width:auto!important;height:auto!important;z-index:1}.os-host-overflow>.os-padding,.os-viewport{overflow:hidden}.os-viewport{direction:inherit!important;box-sizing:inherit!important;resize:none!important;position:absolute;top:0;left:0;bottom:0;right:0;padding:0;margin:0;-webkit-overflow-scrolling:touch}.os-content-arrange{position:absolute;z-index:-1;min-height:1px;min-width:1px;pointer-events:none}.os-content{direction:inherit;box-sizing:border-box!important;position:relative;display:block;height:100%;width:100%;visibility:visible}.os-content>.os-textarea,.os-host-textarea>.os-padding>.os-content{overflow:hidden!important}.os-content>.os-textarea{direction:inherit!important;float:none!important;margin:0!important;max-height:none!important;max-width:none!important;border:none!important;border-radius:0!important;background:transparent!important;outline:0 none transparent!important;resize:none!important;position:absolute!important;top:0!important;left:0!important;z-index:1;padding:0}.os-host-rtl>.os-padding>.os-viewport>.os-content>.os-textarea{right:0!important}.os-content>.os-textarea-cover{z-index:-1;pointer-events:none}.os-content>.os-textarea[wrap=off]{white-space:pre!important;margin:0!important}.os-text-inherit{font-family:inherit;font-size:inherit;font-weight:inherit;font-style:inherit;font-variant:inherit;text-transform:inherit;text-decoration:inherit;text-indent:inherit;text-align:inherit;text-shadow:inherit;text-overflow:inherit;letter-spacing:inherit;word-spacing:inherit;line-height:inherit;unicode-bidi:inherit;direction:inherit;color:inherit;cursor:text}.os-resize-observer,.os-resize-observer-host{box-sizing:inherit;display:block;opacity:0;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}.os-resize-observer-host{padding:inherit;border:inherit;border-color:transparent;border-style:solid;box-sizing:border-box}.os-resize-observer-host:after{content:""}.os-resize-observer-host:after,.os-resize-observer-host>.os-resize-observer{height:200%;width:200%;padding:inherit;border:inherit;margin:0;display:block;box-sizing:content-box}.os-resize-observer.observed,object.os-resize-observer{box-sizing:border-box!important}.os-size-auto-observer{box-sizing:inherit!important;height:100%;width:inherit;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none}.os-size-auto-observer>.os-resize-observer{width:1000%;height:1000%;min-height:1px;min-width:1px}.os-resize-observer-item{right:0;bottom:0;overflow:hidden;z-index:-1;opacity:0;direction:ltr!important}.os-resize-observer-item,.os-resize-observer-item-final{position:absolute;top:0;left:0;-ms-flex:none!important;flex:none!important}.os-resize-observer-item-final{transition:none!important}.os-resize-observer{animation-duration:1ms;animation-name:hs-resize-observer-dummy-animation}.os-host-transition>.os-scrollbar,.os-host-transition>.os-scrollbar-corner{transition:opacity .3s,visibility .3s,top .3s,right .3s,bottom .3s,left .3s}html.os-html>.os-host>.os-scrollbar{position:absolute;z-index:999999}.os-scrollbar,.os-scrollbar-corner{position:absolute;opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";z-index:1}.os-scrollbar-corner{bottom:0;right:0}.os-scrollbar-track{position:relative;padding:0!important;border:none!important}.os-scrollbar-handle,.os-scrollbar-track{pointer-events:auto;height:100%;width:100%}.os-scrollbar-handle{position:absolute;cursor:pointer}.os-scrollbar-handle-off,.os-scrollbar-track-off{pointer-events:none}.os-scrollbar.os-scrollbar-unusable,.os-scrollbar.os-scrollbar-unusable *{pointer-events:none!important}.os-scrollbar.os-scrollbar-unusable .os-scrollbar-handle{opacity:0!important}.os-scrollbar-horizontal{bottom:0;left:0}.os-scrollbar-vertical{top:0;right:0}.os-host-rtl>.os-scrollbar-horizontal{right:0}.os-host-rtl>.os-scrollbar-corner,.os-host-rtl>.os-scrollbar-vertical{right:auto;left:0}.os-host-resize-disabled.os-host-scrollbar-horizontal-hidden>.os-scrollbar-corner,.os-host-resize-disabled.os-host-scrollbar-vertical-hidden>.os-scrollbar-corner,.os-host-scrollbar-horizontal-hidden>.os-scrollbar-horizontal,.os-host-scrollbar-vertical-hidden>.os-scrollbar-vertical,.os-padding+.os-scrollbar-corner,.os-scrollbar-auto-hidden,.os-scrollbar-horizontal+.os-scrollbar-vertical.os-scrollbar-auto-hidden+.os-scrollbar-corner,.os-scrollbar-horizontal.os-scrollbar-auto-hidden+.os-scrollbar-vertical+.os-scrollbar-corner,.os-scrollbar-horizontal.os-scrollbar-auto-hidden+.os-scrollbar-vertical.os-scrollbar-auto-hidden+.os-scrollbar-corner{opacity:0;visibility:hidden;pointer-events:none}.os-scrollbar-corner-resize-both{cursor:nwse-resize}.os-host-rtl>.os-scrollbar-corner-resize-both{cursor:nesw-resize}.os-scrollbar-corner-resize-horizontal{cursor:ew-resize}.os-scrollbar-corner-resize-vertical{cursor:ns-resize}.os-dragging .os-scrollbar-corner.os-scrollbar-corner-resize{cursor:default}.os-host-resize-disabled.os-host-scrollbar-horizontal-hidden>.os-scrollbar-vertical{top:0;bottom:0}.os-host-resize-disabled.os-host-scrollbar-vertical-hidden>.os-scrollbar-horizontal{right:0;left:0}.os-scrollbar-corner.os-scrollbar-corner-resize,.os-scrollbar:hover{opacity:1!important;visibility:visible!important}.os-scrollbar-corner.os-scrollbar-corner-resize{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCI+PHBhdGggZD0iTTcuNDI0IDBhMS4zMSAxLjMxIDAgMCAwLTEuMzEgMS4zMWMwIC4zLjEwNC41NzEuMjczLjc5Mi4yMS4xNDEuNDY2LjIxOC43MzcuMjE4YTEuMzEgMS4zMSAwIDAgMCAxLjMxLTEuMzFjMC0uMjcxLS4wNzctLjUyOC0uMjE4LS43MzdBMS4yOTggMS4yOTggMCAwIDAgNy40MjQgMHptMCAzLjA4NGExLjMxIDEuMzEgMCAwIDAtMS4zMSAxLjMxYzAgLjMuMTA0LjU3MS4yNzMuNzkyLjIxLjE0MS40NjYuMjE4LjczNy4yMThhMS4zMSAxLjMxIDAgMCAwIDEuMzEtMS4zMWMwLS4yNzEtLjA3Ny0uNTI4LS4yMTgtLjczN2ExLjI5OCAxLjI5OCAwIDAgMC0uNzkyLS4yNzN6bS0zLjA4NCAwYTEuMzEgMS4zMSAwIDAgMC0xLjMxIDEuMzFjMCAuMy4xMDQuNTcxLjI3My43OTIuMjA5LjE0MS40NjUuMjE4LjczNy4yMThhMS4zMSAxLjMxIDAgMCAwIDEuMzEtMS4zMWMwLS4yNzEtLjA3Ny0uNTI4LS4yMTktLjczN2ExLjI5OCAxLjI5OCAwIDAgMC0uNzkxLS4yNzN6bS0zLjAzIDMuMDNBMS4zMSAxLjMxIDAgMCAwIDAgNy40MjRjMCAuMy4xMDQuNTcxLjI3My43OTIuMjEuMTQxLjQ2Ni4yMTguNzM3LjIxOGExLjMxIDEuMzEgMCAwIDAgMS4zMS0xLjMxYzAtLjI3MS0uMDc3LS41MjgtLjIxOC0uNzM3YTEuMjk4IDEuMjk4IDAgMCAwLS43OTItLjI3M3ptMy4wMyAwYTEuMzEgMS4zMSAwIDAgMC0xLjMxIDEuMzFjMCAuMy4xMDQuNTcxLjI3My43OTIuMjA5LjE0MS40NjUuMjE4LjczNy4yMThhMS4zMSAxLjMxIDAgMCAwIDEuMzEtMS4zMWMwLS4yNzEtLjA3Ny0uNTI4LS4yMTktLjczN2ExLjI5OCAxLjI5OCAwIDAgMC0uNzkxLS4yNzN6bTMuMDg0IDBhMS4zMSAxLjMxIDAgMCAwLTEuMzEgMS4zMWMwIC4zLjEwNC41NzEuMjczLjc5Mi4yMS4xNDEuNDY2LjIxOC43MzcuMjE4YTEuMzEgMS4zMSAwIDAgMCAxLjMxLTEuMzFjMC0uMjcxLS4wNzctLjUyOC0uMjE4LS43MzdhMS4yOTggMS4yOTggMCAwIDAtLjc5Mi0uMjczeiIgZmlsbC1vcGFjaXR5PSIuNDk0IiBmaWxsLXJ1bGU9ImV2ZW5vZGQiLz48cGF0aCBkPSJNOC4yMTYuMjczYy4xNDEuMjEuMjE4LjQ2Ni4yMTguNzM3YTEuMzEgMS4zMSAwIDAgMS0xLjMxIDEuMzFjLS4yNzEgMC0uNTI4LS4wNzctLjczNy0uMjE4LjI0LjMxMy42MTMuNTE4IDEuMDM3LjUxOGExLjMxIDEuMzEgMCAwIDAgMS4zMS0xLjMxYzAtLjQyNC0uMjA1LS43OTgtLjUxOC0xLjAzN3ptMCAzLjA4NGMuMTQxLjIxLjIxOC40NjYuMjE4LjczN2ExLjMxIDEuMzEgMCAwIDEtMS4zMSAxLjMxYy0uMjcxIDAtLjUyOC0uMDc3LS43MzctLjIxOC4yNC4zMTMuNjEzLjUxOSAxLjAzNy41MTlhMS4zMSAxLjMxIDAgMCAwIDEuMzEtMS4zMWMwLS40MjUtLjIwNS0uNzk4LS41MTgtMS4wMzh6bS0zLjA4NSAwYy4xNDIuMjEuMjE5LjQ2Ni4yMTkuNzM3YTEuMzEgMS4zMSAwIDAgMS0xLjMxIDEuMzFjLS4yNzIgMC0uNTI4LS4wNzctLjczNy0uMjE4LjI0LjMxMy42MTIuNTE5IDEuMDM3LjUxOWExLjMxIDEuMzEgMCAwIDAgMS4zMS0xLjMxYzAtLjQyNS0uMjA1LS43OTgtLjUxOS0xLjAzOHptLTMuMDMgMy4wM2MuMTQyLjIxLjIyLjQ2Ni4yMi43MzdhMS4zMSAxLjMxIDAgMCAxLTEuMzExIDEuMzFjLS4yNzEgMC0uNTI4LS4wNzctLjczNy0uMjE4LjI0LjMxMy42MTMuNTE4IDEuMDM3LjUxOGExLjMxIDEuMzEgMCAwIDAgMS4zMS0xLjMxYzAtLjQyNC0uMjA1LS43OTgtLjUxOC0xLjAzN3ptMy4wMyAwYy4xNDIuMjEuMjE5LjQ2Ni4yMTkuNzM3YTEuMzEgMS4zMSAwIDAgMS0xLjMxIDEuMzFjLS4yNzIgMC0uNTI4LS4wNzctLjczNy0uMjE4LjI0LjMxMy42MTIuNTE4IDEuMDM3LjUxOGExLjMxIDEuMzEgMCAwIDAgMS4zMS0xLjMxYzAtLjQyNC0uMjA1LS43OTgtLjUxOS0xLjAzN3ptMy4wODUgMGMuMTQxLjIxLjIxOC40NjYuMjE4LjczN2ExLjMxIDEuMzEgMCAwIDEtMS4zMSAxLjMxYy0uMjcxIDAtLjUyOC0uMDc3LS43MzctLjIxOC4yNC4zMTMuNjEzLjUxOCAxLjAzNy41MThhMS4zMSAxLjMxIDAgMCAwIDEuMzEtMS4zMWMwLS40MjQtLjIwNS0uNzk4LS41MTgtMS4wMzd6IiBmaWxsPSIjZmZmIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4=);background-repeat:no-repeat;background-position:100% 100%;pointer-events:auto!important}.os-host-rtl>.os-scrollbar-corner.os-scrollbar-corner-resize{transform:scaleX(-1)}.os-host-overflow{overflow:hidden!important}@keyframes _38Bu2TShhqwJBDe3sPLFvM{0%{z-index:0}to{z-index:-1}}.os-theme-round-dark>.os-scrollbar{padding:0}.os-theme-round-dark>.os-scrollbar-horizontal{right:20px;height:20px}.os-theme-round-dark>.os-scrollbar-vertical{bottom:20px;width:20px}.os-theme-round-dark.os-host-rtl>.os-scrollbar-horizontal{left:20px;right:0}.os-theme-round-dark>.os-scrollbar-corner{height:20px;width:20px;background-color:transparent}.os-theme-round-dark>.os-scrollbar>.os-scrollbar-track{background:transparent}.os-theme-round-dark>.os-scrollbar-horizontal>.os-scrollbar-track:before,.os-theme-round-dark>.os-scrollbar-vertical>.os-scrollbar-track:before{content:"";display:block;position:absolute;background:#e0e5e9}.os-theme-round-dark>.os-scrollbar-horizontal>.os-scrollbar-track:before{left:3px;right:3px;height:2px;top:50%;margin-top:-1px}.os-theme-round-dark>.os-scrollbar-vertical>.os-scrollbar-track:before{top:3px;bottom:3px;width:2px;left:50%;margin-left:-1px}.os-theme-round-dark>.os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle{background:transparent}.os-theme-round-dark>.os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle:before{content:"";display:block;position:absolute;background:#e0e5e9;border-radius:20px;top:3px;bottom:3px;left:4px;right:3px;transform:scale(1)}.os-theme-round-dark>.os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle.active:before,.os-theme-round-dark>.os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle:hover:before{transform:scale(1.1)}.os-theme-round-dark>.os-scrollbar-horizontal>.os-scrollbar-track>.os-scrollbar-handle{height:100%;min-width:40px;max-width:40px}.os-theme-round-dark>.os-scrollbar-vertical>.os-scrollbar-track>.os-scrollbar-handle{width:100%;min-height:40px;max-height:40px}.os-theme-round-dark.os-host-transition>.os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle:before{transition:transform .3s}.os-theme-thick-dark>.os-scrollbar{padding:5px}.os-theme-thick-dark>.os-scrollbar:before{content:"";display:block;position:absolute;background:#f6f6f6;border-radius:15px;top:2px;bottom:2px;right:1px;left:2px;border:1px solid #e8e8e8}.os-theme-thick-dark>.os-scrollbar.active:before,.os-theme-thick-dark>.os-scrollbar:hover:before{border:1px solid rgba(0,0,0,.16)}.os-theme-thick-dark>.os-scrollbar-horizontal{height:10px;left:4px!important}.os-theme-thick-dark>.os-scrollbar-vertical{width:10px}.os-theme-thick-dark.os-host-rtl>.os-scrollbar-horizontal{left:18px;right:0}.os-theme-thick-dark>.os-scrollbar-corner{height:18px;width:18px;background-color:transparent}.os-theme-thick-dark>.os-scrollbar>.os-scrollbar-track{background:transparent}.os-theme-thick-dark>.os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle{background:#a4afb7;border-radius:8px}.os-theme-thick-dark>.os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle.active,.os-theme-thick-dark>.os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle:hover{background:#81b441}.os-theme-thick-dark>.os-scrollbar-horizontal>.os-scrollbar-track>.os-scrollbar-handle{height:100%;min-width:27px;max-width:27px}.os-theme-thick-dark>.os-scrollbar-vertical>.os-scrollbar-track>.os-scrollbar-handle{width:100%;min-height:27px;max-height:27px}.os-theme-thick-dark>.os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle:before{content:"";position:absolute;left:0;right:0;top:-3px;bottom:-5px;display:block}.os-theme-thick-dark>.os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle:after{position:absolute;left:0;right:0;top:-4px;display:block;z-index:10;color:#fff;font-size:6px;text-align:center}.os-theme-thick-dark>.os-scrollbar-vertical>.os-scrollbar-track>.os-scrollbar-handle:after{transform:rotate(90deg);top:0;bottom:0;left:-9px}.os-theme-thick-dark>.os-scrollbar-horizontal>.os-scrollbar-track>.os-scrollbar-handle:before{top:-3px;bottom:-5px}.os-theme-thick-dark>.os-scrollbar-vertical>.os-scrollbar-track>.os-scrollbar-handle:before{left:-3px;right:-5px}.os-theme-thick-dark.os-host-rtl>.os-scrollbar-vertical>.os-scrollbar-track>.os-scrollbar-handle:before{right:-3px;left:-5px}.os-theme-thick-dark.os-host-transition>.os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle{transition:background .3s}.os-theme-thick-dark.os-host-transition>.os-scrollbar:before{transition:border .3s}
1
+ ._3RUBRwcRkj0E-N-gM9VX8s,.xJc2BluF1SfGIyQgj_lat{display:-ms-flexbox;display:flex;margin:0;min-height:85vh;-ms-flex-direction:column;flex-direction:column;color:#555d66;background:#efefef}._3RUBRwcRkj0E-N-gM9VX8s *,.xJc2BluF1SfGIyQgj_lat *{box-sizing:content-box}._3RUBRwcRkj0E-N-gM9VX8s input[type=checkbox],._3RUBRwcRkj0E-N-gM9VX8s input[type=color],._3RUBRwcRkj0E-N-gM9VX8s input[type=date],._3RUBRwcRkj0E-N-gM9VX8s input[type=datetime-local],._3RUBRwcRkj0E-N-gM9VX8s input[type=datetime],._3RUBRwcRkj0E-N-gM9VX8s input[type=email],._3RUBRwcRkj0E-N-gM9VX8s input[type=month],._3RUBRwcRkj0E-N-gM9VX8s input[type=number],._3RUBRwcRkj0E-N-gM9VX8s input[type=password],._3RUBRwcRkj0E-N-gM9VX8s input[type=radio],._3RUBRwcRkj0E-N-gM9VX8s input[type=search],._3RUBRwcRkj0E-N-gM9VX8s input[type=tel],._3RUBRwcRkj0E-N-gM9VX8s input[type=text],._3RUBRwcRkj0E-N-gM9VX8s input[type=time],._3RUBRwcRkj0E-N-gM9VX8s input[type=url],._3RUBRwcRkj0E-N-gM9VX8s input[type=week],._3RUBRwcRkj0E-N-gM9VX8s select,._3RUBRwcRkj0E-N-gM9VX8s textarea,.xJc2BluF1SfGIyQgj_lat input[type=checkbox],.xJc2BluF1SfGIyQgj_lat input[type=color],.xJc2BluF1SfGIyQgj_lat input[type=date],.xJc2BluF1SfGIyQgj_lat input[type=datetime-local],.xJc2BluF1SfGIyQgj_lat input[type=datetime],.xJc2BluF1SfGIyQgj_lat input[type=email],.xJc2BluF1SfGIyQgj_lat input[type=month],.xJc2BluF1SfGIyQgj_lat input[type=number],.xJc2BluF1SfGIyQgj_lat input[type=password],.xJc2BluF1SfGIyQgj_lat input[type=radio],.xJc2BluF1SfGIyQgj_lat input[type=search],.xJc2BluF1SfGIyQgj_lat input[type=tel],.xJc2BluF1SfGIyQgj_lat input[type=text],.xJc2BluF1SfGIyQgj_lat input[type=time],.xJc2BluF1SfGIyQgj_lat input[type=url],.xJc2BluF1SfGIyQgj_lat input[type=week],.xJc2BluF1SfGIyQgj_lat select,.xJc2BluF1SfGIyQgj_lat textarea{box-sizing:border-box}._3RUBRwcRkj0E-N-gM9VX8s p,.xJc2BluF1SfGIyQgj_lat p{font-size:13px;line-height:1.5;margin:1em 0}._3RUBRwcRkj0E-N-gM9VX8s ._2vmxquP_jizvLrLpCK_c5x{margin-top:56px}._1nYFx_Z-zJnn6NVOg4jxww{text-align:center;margin:auto 0 0}._3Z3sCSLTu_PhzPbcixQnlH{position:absolute;top:0;left:0;right:0;bottom:0;z-index:9100000}._3jwlZEY6HvI306BdRM7DNF{background:rgba(32,32,32,.54);position:fixed;top:0;left:0;right:0;bottom:0;z-index:100001;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}._3ssgTt7jtpkpFH6DlAliS6{max-width:600px;width:100%;min-height:200px;background:#fff}._3uap91Am2foGRvy3gpLYBK{color:#444;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:50px;border-bottom:1px solid #ddd;background-image:url(img/6b6a7e262f864ffcd9fa1d6442a6a0b8.svg);background-position:20px;background-repeat:no-repeat;background-size:auto 21px}._16-rOVNh8Vo0NDeN0-hQiu{-ms-flex:1;flex:1;font-size:15px;color:#444;padding-left:50px}._2VVSi6Iow6lgeRzQC-eXsx{display:block;padding:0 14px;cursor:pointer;border:0;border-left:1px solid #ddd;background:transparent}._2jyHBlo_YMuv979sezRSQY{padding:20px}._2jyHBlo_YMuv979sezRSQY>div{display:block}._3OCU242GIp5WeZATJCW4ao{padding:20px 20px 10px}._1IApgjLbAFDV-6fgR6oq-W,._19N6oicu0slQJoLPp3qsm4,._32edJqxXfmHxUeVMoKCFE_{background:#1486b8;border:1px solid #0d6897;box-shadow:0 1px 0 #0073af;color:#fff;border-radius:4px;padding:6px 10px;margin-right:8px;font-size:13px;cursor:pointer;text-decoration:none;display:inline-block;text-align:center;line-height:18px;box-sizing:border-box}._19N6oicu0slQJoLPp3qsm4,._32edJqxXfmHxUeVMoKCFE_{background:#fff;border:0;box-shadow:none;color:#767676}._19N6oicu0slQJoLPp3qsm4:hover,._32edJqxXfmHxUeVMoKCFE_:hover{box-shadow:0 0 3px #dee3e8}._3d10ah7phmEVzOEdWSw7CP{padding:20px;border-top:1px solid #ddd}.q4M-4FMQCJHZP8B9Nado3{white-space:pre-wrap;word-break:break-all;-webkit-user-select:all;-moz-user-select:all;-ms-user-select:all;user-select:all;height:100px;width:100%;overflow:auto}._3uhIrtGOWPekHDZ87wBIs-{padding:0 20px 10px}._3RuLbYP2VGSsVMvLSqwNZ1{display:block}._1vhdCDRuahAjuE6HsB8RbY{display:none}.JxzI-2Kvd9MEoZO5Wyrs{position:fixed}._3W2EtcOJWsxcfSZNAdFCFI,.JxzI-2Kvd9MEoZO5Wyrs{background-color:#fff;display:-ms-flexbox;display:flex;border-bottom:1px solid #e0e5e9;z-index:20}._33aVwFPOtNhVfEhqw6JjpM{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-direction:column;flex-direction:column;padding:0 10px 0 20px;min-height:54px}._33aVwFPOtNhVfEhqw6JjpM img{height:22px}._33aVwFPOtNhVfEhqw6JjpM a:active,._33aVwFPOtNhVfEhqw6JjpM a:focus{outline:0;border:none;box-shadow:none}@media screen and (max-width:782px){._33aVwFPOtNhVfEhqw6JjpM{max-width:93px;overflow:hidden;margin-right:20px}}._3EDb8Ew7Zic_6y825xBiHQ{background-image:url(img/699296a259e82a1c2a3e67767aadc297.svg);background-repeat:no-repeat;background-position:0;background-size:contain;height:22px;width:220px;overflow:hidden;cursor:pointer;text-indent:-9999px}._2bu3mj9tipEU6yuZxT7bD2{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between;border-left:1px solid #f1f1f1;-ms-flex:1;flex:1}._14ldS4GONDJxh3AnpPBJX9{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:left;justify-content:left;margin:0;padding:0}@media screen and (max-width:782px){._14ldS4GONDJxh3AnpPBJX9{-ms-flex:1;flex:1;-ms-flex-wrap:wrap;flex-wrap:wrap}}._3kdBDJ8iqP12wNsiIE5fTu{padding:0;margin:0;border-right:1px solid #f1f1f1;position:relative}._3kdBDJ8iqP12wNsiIE5fTu:hover>._1RpgDdKG1S9mFx90CkOypP:after{transform:rotate(90deg)}.fwjH5inEEu_5a3cTrmUYH>._1RpgDdKG1S9mFx90CkOypP{padding:0 40px 0 30px}.fwjH5inEEu_5a3cTrmUYH>._1RpgDdKG1S9mFx90CkOypP:after{content:"\f345";opacity:.7;top:50%;margin-top:-7px;font-family:dashicons;position:absolute;right:14px;transform:rotate(0deg);transform-origin:50% 50%;transition:transform .1s ease}.fwjH5inEEu_5a3cTrmUYH:hover ._39FpOWyJ6nedEfKlYEwrCr{transform:scale(1);transition-delay:.1s;overflow:visible;opacity:1;max-height:200px}._1RpgDdKG1S9mFx90CkOypP{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;font-weight:500;text-align:center;-ms-flex-pack:center;justify-content:center;font-size:13px;text-decoration:none;color:#555d66;height:55px;padding:0 30px;cursor:pointer}._1RpgDdKG1S9mFx90CkOypP:hover{color:#222;background:#f0f2f4}._1RpgDdKG1S9mFx90CkOypP:active,._1RpgDdKG1S9mFx90CkOypP:focus{outline:0;border:none;box-shadow:none}._2yXAH5PTui75MoGRcI8Ftx,a._2yXAH5PTui75MoGRcI8Ftx:active,a._2yXAH5PTui75MoGRcI8Ftx:focus{background-color:#f0f2f4;box-shadow:inset 0 -1px 0 0 #81b440}._39FpOWyJ6nedEfKlYEwrCr ._2yXAH5PTui75MoGRcI8Ftx,._39FpOWyJ6nedEfKlYEwrCr a._2yXAH5PTui75MoGRcI8Ftx:active,._39FpOWyJ6nedEfKlYEwrCr a._2yXAH5PTui75MoGRcI8Ftx:focus{box-shadow:none}._3fJlia0oH1lsONCA0xfzS8:before{content:"NEW";display:block;position:absolute;right:-14px;top:4px;background:#81b440;font-size:10px;padding:1px 7px 0;text-transform:uppercase;color:#fff;font-weight:400;border-radius:9px;z-index:9;line-height:14px}._39FpOWyJ6nedEfKlYEwrCr{position:absolute;z-index:999;box-shadow:0 6px 18px 2px rgba(0,0,0,.09);width:200px;left:-1px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:left;justify-content:left;margin:0;padding:0;background:#fff;border-top:1px solid #f1f1f1;border-left:1px solid #f1f1f1;border-right:1px solid #f1f1f1;overflow:hidden;max-height:0;opacity:0;transform:scale(.4);transform-origin:60% top;transition:max-height 0s linear 0s,opacity .2s cubic-bezier(.39,.575,.565,1),transform .15s cubic-bezier(.1,1.26,.83,1)}._39FpOWyJ6nedEfKlYEwrCr ._1RpgDdKG1S9mFx90CkOypP{-ms-flex-pack:left;justify-content:left;height:45px}._1q3vd0e_mCk86RamCxWhaw{margin:0;padding:0;border-bottom:1px solid #f1f1f1}.OAx3WmyjUg4Xy7qdA1_WW{display:none}@media (min-width:782px){.OAx3WmyjUg4Xy7qdA1_WW{display:-ms-flexbox;display:flex}.OAx3WmyjUg4Xy7qdA1_WW ._3kdBDJ8iqP12wNsiIE5fTu{border-right:0}}.fwjH5inEEu_5a3cTrmUYH:hover .w022imwFi4o34bjpjJSuZ{max-height:400px;overflow-y:auto;width:300px;right:0;left:auto}.fwjH5inEEu_5a3cTrmUYH:hover .w022imwFi4o34bjpjJSuZ::-webkit-scrollbar{-webkit-appearance:none;width:7px}.fwjH5inEEu_5a3cTrmUYH:hover .w022imwFi4o34bjpjJSuZ::-webkit-scrollbar-thumb{border-radius:4px;background-color:rgba(0,0,0,.5);-webkit-box-shadow:0 0 1px hsla(0,0%,100%,.5)}.CWGXruH1IboLJUmDjQeFX{position:absolute;display:block;font-size:10px;top:21px;right:13px;border-radius:5px;padding:0 4px;line-height:15px;background-color:#ca4a1f;color:#fff}._22NQeEWSR0Ejc9N6d6B_Wh{padding:20px}._158qTo7-D6zp4eyh6dMqwk{color:#363b3f;position:relative;padding:5px 0 10px 20px;margin-bottom:0}.m5rpWm5l1cri6b66yRb6e{opacity:.5;font-size:9px;text-transform:uppercase;margin-bottom:5px}._31qNF828XJ3Bp3__XeS4v6{font-size:14px;font-weight:700;padding:4px 0 0}._2GGmi6mRBpkEK8cmrsw-sn{font-size:12px;word-break:break-word}._2GGmi6mRBpkEK8cmrsw-sn p{margin:7px 0}._2GGmi6mRBpkEK8cmrsw-sn p a{text-decoration:underline!important;color:#0073aa!important}._3HTeJ2APvEEbw6fuNZusDc{background:#1486b8;border:1px solid #0d6897;border-radius:4px;color:#fff;padding:6px 20px;font-size:13px;width:300px;cursor:pointer;text-decoration:none;display:block;text-align:center;line-height:18px;box-sizing:border-box}._3HTeJ2APvEEbw6fuNZusDc:active,._3HTeJ2APvEEbw6fuNZusDc:focus,._3HTeJ2APvEEbw6fuNZusDc:hover{color:#e0e0ff}._6kkV3EhAkT0gJmFsZuXUX{color:#555;border-color:#ccc;background:#f7f7f7;box-shadow:inset 0 -1px 0 #ccc}._6kkV3EhAkT0gJmFsZuXUX:active,._6kkV3EhAkT0gJmFsZuXUX:focus,._6kkV3EhAkT0gJmFsZuXUX:hover{color:#3a3a3a}._2oqG3-zLNwe1-jzxXajmrs{margin:0 0 0 5px}._2oqG3-zLNwe1-jzxXajmrs li{position:relative;padding:0 0 11px 17px;margin:0;font-size:13px;font-weight:100}._2oqG3-zLNwe1-jzxXajmrs li a{color:inherit;text-decoration:none}._2oqG3-zLNwe1-jzxXajmrs li:before{content:"";display:block;width:1px;border-left:1px solid #82b541;position:absolute;left:-1px;top:5px;bottom:-7px}._2oqG3-zLNwe1-jzxXajmrs li:after{content:"";display:block;width:8px;height:8px;border:1px solid #82b541;border-radius:50%;position:absolute;left:-5px;background:#fff;top:3px}._2oqG3-zLNwe1-jzxXajmrs li:last-child:before{display:none}._15JTQfDCA66O-GW9CLFxV4{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;display:inline-block;max-width:100%;margin:0 10px 0 0;min-height:24px;background:#fff;padding:3px 8px;color:#23282d;outline:0;line-height:18px;font-size:13px;border-radius:4px;border:1px solid #ddd;box-shadow:inset 0 1px 2px rgba(0,0,0,.07),0 1px 0 #ddd;width:auto}._3qS3JuDE32Xbr4KIfTtcPa{line-height:32px;padding:5px 10px;font-size:18px}._15JTQfDCA66O-GW9CLFxV4:active,._15JTQfDCA66O-GW9CLFxV4:focus{color:#191e23;border-color:#00a0d2;box-shadow:0 0 0 1px #00a0d2;outline:2px solid transparent;outline-offset:-2px}._3MFol6E9WMt5BwRjEvixDc h2{font-weight:400;font-size:18px}._1pLw1-7WEGRYGZQ9N4xT7y{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:100%;min-height:60vh}._1beWw6dhJqtlaSujooBD-i{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;width:100%;min-height:500px}._3qm6EmqjLhek8Y8l8-I9Xo ._1beWw6dhJqtlaSujooBD-i{position:relative}._3qm6EmqjLhek8Y8l8-I9Xo ._1beWw6dhJqtlaSujooBD-i>div{opacity:.1}.uyNi5vnpqR70ai6xTfPZx{margin:40px 0;padding-left:15px;padding-right:15px;-ms-flex:1 1 100%;flex:1 1 100%;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.uyNi5vnpqR70ai6xTfPZx a{display:block;background:#f7f7f7;border:1px solid #d7d8d8;box-shadow:0 1px 0 #d7d8d7;border-radius:3px;padding:9px 12px;margin:0 2px;color:#4a4a4a;cursor:pointer}._2OfdbQ7rBju3q4Oqif1u33 a{background:#0073af;color:#fff;border:1px solid #03537d;box-shadow:0 1px 0 #03537d}.wLzaFB0hsFHbLmhvihjOJ{opacity:.4}.wLzaFB0hsFHbLmhvihjOJ a{cursor:not-allowed}.GQBHNI3nXT0S_O6Sk-Z-P{width:100%;height:100px;padding:20px;border-radius:4px;margin:0 auto;background:#fff;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;box-shadow:0 2px 2px rgba(0,0,0,.1)}@keyframes _3wxVFkCyRkDrJMsM0ALhPC{0%{transform:translateY(0)}20%{transform:translateY(-100%)}50%{transform:translateY(0)}}@keyframes _3DTPK7JclQiAkharJALEUP{0%{opacity:0}to{opacity:1}}.dJ4j35gA2HilPTxnY0M9m{width:130px;height:50px;position:relative;margin:auto;animation:_3DTPK7JclQiAkharJALEUP 1s;padding-top:16px}.dJ4j35gA2HilPTxnY0M9m:before{background-color:#523ee8;animation:_3wxVFkCyRkDrJMsM0ALhPC 1.1s linear -.6s infinite}.dJ4j35gA2HilPTxnY0M9m:after,.dJ4j35gA2HilPTxnY0M9m:before{content:"";display:inline-block;width:16px;height:16px;border-radius:50%;margin:0 7px}.dJ4j35gA2HilPTxnY0M9m:after{background-color:#f73859;animation:_3wxVFkCyRkDrJMsM0ALhPC 1.1s linear 0s infinite}._2oM39E4E6Hy5OAO3aev9Qm:before{background-color:#6d47d9;animation:_3wxVFkCyRkDrJMsM0ALhPC 1.1s linear -.4s infinite}._2oM39E4E6Hy5OAO3aev9Qm:after,._2oM39E4E6Hy5OAO3aev9Qm:before{content:"";display:inline-block;width:16px;height:16px;border-radius:50%;margin:0 7px}._2oM39E4E6Hy5OAO3aev9Qm:after{background-color:#f7bc28;animation:_3wxVFkCyRkDrJMsM0ALhPC 1.1s linear -.2s infinite}._2OwW856-9-FUqGxx4XBRMp{padding:0 20px 20px}._1ekXqnckIS-5r61tn92fqs{display:none;color:#444}._1ekXqnckIS-5r61tn92fqs a{color:#444}.Nd1HvTzjRlIMxeP8zqYfh{display:-ms-flexbox;display:flex;width:100%}._3F94uKUhNByC8Hh9-_aGCY{-ms-flex:1;flex:1;margin-right:10px;padding:6px 9px;line-height:21px}._3mFdh_1q0bqyWv1nXGfaBF{margin:0 0 21px;font-size:25px;font-weight:400}.KhnyRku9ilyjbBFiTOaAT{color:red;font-weight:700;padding:0 0 10px}._2-bN8MjArhuIIuTr5R9ppn{padding:60px 0 40px}._2AtuZDIgViheONdEt7HeC0{text-align:center}._2AtuZDIgViheONdEt7HeC0 p{font-size:16px}._3ChXg3t42h3Lxoxj6pO2YL{font-size:27px;font-weight:400;background-image:url(img/bdd27131c2626f76fa7bb2869afc0bbd.png);background-repeat:no-repeat;background-position:0;padding-left:60px;height:50px;display:inline-block;margin:0 auto;line-height:50px}._1yzJNIHrFCQXeN433JMq5e{margin:6px 0 0;font-size:12px}._27svi568eoY6iGHsH0AspH{position:fixed;z-index:8;background:#efefef;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}._3odISSW0ZCb0xJqRipssxF{background:#fff;-ms-flex:0 0 50px;flex:0 0 50px;padding:0 20px;box-shadow:0 1px 0 rgba(0,0,0,.1);z-index:8;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.vQ4ZqODCNdk0nVE-vOeMm{padding:20px;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;overflow-y:auto;-ms-flex-direction:row;flex-direction:row}._3w6jnp88EiiUQH4y8fa84w{padding:0 0 20px;-ms-flex:1 0 70%;flex:1 0 70%}._18Cbupcf9xd3p-GX0U3AYV{padding:0 0 20px;-ms-flex:0 0 150px;flex:0 0 150px}._32Ig5BZCWc8hMqZIGe92f1{-ms-flex:1 1 100%;flex:1 1 100%;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}._3_ok-fv1rQMCqBnmvULZLE{font-size:31px;line-height:30px;font-weight:100;margin:0 0 12px}._3M2Cr9QyAg8_36JLXH5q-x,._6PH2ENYVVxP4Z-t9P8NGU{padding:1px;-ms-flex:0 0 23.4%;flex:0 0 23.4%;box-sizing:border-box;margin:0 2% 30px 0;position:relative}@media screen and (max-width:1500px){._3M2Cr9QyAg8_36JLXH5q-x:nth-child(4n),._6PH2ENYVVxP4Z-t9P8NGU:nth-child(4n){margin-right:0}}@media screen and (min-width:1500px){._3M2Cr9QyAg8_36JLXH5q-x,._6PH2ENYVVxP4Z-t9P8NGU{-ms-flex:0 0 18.4%;flex:0 0 18.4%}._3M2Cr9QyAg8_36JLXH5q-x:nth-child(5n),._6PH2ENYVVxP4Z-t9P8NGU:nth-child(5n){margin-right:0}}._3M2Cr9QyAg8_36JLXH5q-x ._144U0mjGxdSZEV_F9Xu426,._6PH2ENYVVxP4Z-t9P8NGU ._144U0mjGxdSZEV_F9Xu426{height:390px;box-shadow:1px -1px 10px transparent;transition:box-shadow .1s ease-in-out}._3M2Cr9QyAg8_36JLXH5q-x ._144U0mjGxdSZEV_F9Xu426:hover,._6PH2ENYVVxP4Z-t9P8NGU ._144U0mjGxdSZEV_F9Xu426:hover{box-shadow:1px 1px 12px rgba(0,0,0,.25)}._3M2Cr9QyAg8_36JLXH5q-x ._1smM86XuFFLr0aS1IMSLbO,._6PH2ENYVVxP4Z-t9P8NGU ._1smM86XuFFLr0aS1IMSLbO{width:100%;height:390px}._144U0mjGxdSZEV_F9Xu426{position:relative;border-radius:2px}._2MEJJMnQIcT6LpO-TuHpFf{background-color:#fff;background-position:top;background-size:100% auto;background-repeat:no-repeat;border-radius:2px;z-index:1;top:0;left:0;right:0;bottom:0;position:absolute}._1W4G4Sg0msWYKbZSmgPErc{margin-top:10px}._1W4G4Sg0msWYKbZSmgPErc ._144U0mjGxdSZEV_F9Xu426{transition:transform .3s ease-in-out}._1W4G4Sg0msWYKbZSmgPErc ._144U0mjGxdSZEV_F9Xu426:after,._1W4G4Sg0msWYKbZSmgPErc ._144U0mjGxdSZEV_F9Xu426:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;display:block;transition:transform .3s ease-in-out}._1W4G4Sg0msWYKbZSmgPErc ._144U0mjGxdSZEV_F9Xu426:before{z-index:-1;background-color:hsla(0,0%,100%,.93)}._1W4G4Sg0msWYKbZSmgPErc ._144U0mjGxdSZEV_F9Xu426:after{z-index:-2;background-color:hsla(0,0%,100%,.63)}._1W4G4Sg0msWYKbZSmgPErc ._144U0mjGxdSZEV_F9Xu426:hover{transform:translate(-5px,5px);box-shadow:none}._1W4G4Sg0msWYKbZSmgPErc ._144U0mjGxdSZEV_F9Xu426:hover:before{transform:translate(5px,-5px)}._1W4G4Sg0msWYKbZSmgPErc ._144U0mjGxdSZEV_F9Xu426:hover:after{transform:translate(10px,-10px)}._1tf5Eqr9_5mXzG13BAnsQC{position:absolute;right:8px;top:10px;font-size:12px;line-height:12px;z-index:7}._1c-OSLjnymOFE8v6WI1DRM,.n5fgwcD9c22A7hqX5ydy5{box-sizing:border-box;pointer-events:none;text-transform:uppercase;background-color:#555;color:#f1f1f1;padding:2px 4px;font-size:11px;border-radius:2px;margin-right:5px}._2ijNmQNhz6Pzm5lMSlJAFj{background-color:#81b440;color:#fff}._1smM86XuFFLr0aS1IMSLbO{padding-bottom:0!important;text-decoration:none;display:block;position:absolute;top:0;left:0;right:0;bottom:0;z-index:2;border:0!important}._2Kl35RH8ZJUlumz3zg5GZ7{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:end;justify-content:flex-end}._3QGg9xmV4eIhaFDiKOzech{padding:10px;overflow:hidden;color:#767676;font-weight:100}._1QQJIvJdcib1Nqth0eNZj0{font-size:16px;font-weight:700;color:#000;margin:0 0 3px;padding:0}._1G8MTYEGch6S7EIP18rZZX,._27svi568eoY6iGHsH0AspH{position:fixed;z-index:8;background:#f1f1f1;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}._3ceWlPqxcVsMxmRVBC5nW7{background:#fff;-ms-flex:0 0 50px;flex:0 0 50px;padding:0 20px;box-shadow:0 1px 0 rgba(0,0,0,.1);z-index:8;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.S4My3zpRpm4AoQjEsVmRe{color:#555d66;text-decoration:none;font-size:13px;font-weight:500;position:relative;padding-left:16px;padding-right:6px}.S4My3zpRpm4AoQjEsVmRe:before{content:"\f341";opacity:.7;margin-top:1px;font-family:dashicons;position:absolute;left:0}.S4My3zpRpm4AoQjEsVmRe:active,.S4My3zpRpm4AoQjEsVmRe:hover{color:#000;text-decoration:underline}._3QBZLRa-A77ImXOKPt4QuF{padding:20px;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;overflow:hidden}.HkZFhp-_JOEbNoIFo05pr{-ms-flex:1 1 100%;flex:1 1 100%;padding:0 0 10px}._1AE4QdJp6k3lSwgrBW29H{font-size:31px;line-height:30px;font-weight:100;margin:0 0 12px}._-0rlK9vkhtu-cQLWwUr9R{padding-right:14px;max-height:73vh;overflow-y:auto;-ms-flex:1;flex:1}._-0rlK9vkhtu-cQLWwUr9R::-webkit-scrollbar{-webkit-appearance:none;width:7px}._-0rlK9vkhtu-cQLWwUr9R::-webkit-scrollbar-thumb{border-radius:4px;background-color:rgba(0,0,0,.5);-webkit-box-shadow:0 0 1px hsla(0,0%,100%,.5)}._39XoPAHQ9TPfb4rNYcozOV{background-repeat:no-repeat;background-size:100% auto;filter:blur(5px);opacity:.3;border-radius:2px;position:relative}.O0SnMFvj0Yj6E7krd6iNR{opacity:1;filter:none;height:auto!important}._3hZs6EpOrnn_tZlU_0trtK{max-width:100%;height:auto;border-radius:2px}._2uvjKWnkHS3ThhMWs_FLxO{border-left:1px solid #ddd;margin-left:2px;-ms-flex:0 1 35%;flex:0 1 35%;padding-left:20px}._2uvjKWnkHS3ThhMWs_FLxO,._2uvjKWnkHS3ThhMWs_FLxO p{font-size:15px;color:#444}._1j6ot2Z6m8szQCWzvmvsVr{display:none}._2qNzC4ljFS_CGg1sIVsgh-{margin-bottom:40px}._2KUbF1KG-Hc-WvFEVBz8Zf{font-size:22px;line-height:28px;font-weight:100;margin:0 0 4px}._3wsm1AlsWBdlQtGR_d2MGf{margin:20px 0;min-height:80px}._18Uhd8Ks7VOSbwhcIaRJCX{border-bottom:2px solid #ddd;width:120px;margin:10px 0 20px}.kGmuU-6qIRKSSi5sYh08x{font-size:15px;color:#767676;padding:5px 0 10px}.kGmuU-6qIRKSSi5sYh08x p{margin:0 0 10px}._1_79hgVvcGHaukR_tSKJTG{background-image:url(img/5337645938a37e01956aa03725e1a435.png);background-position:0 100%;background-repeat:no-repeat;height:50px;background-size:contain}._2h9NcciQdHh7Yc07-ygABG{padding:6px 20px;font-size:13px;text-decoration:none;color:#0d6897;width:300px;display:block;text-align:center;box-sizing:border-box}._2h9NcciQdHh7Yc07-ygABG:hover{text-decoration:underline}.R4FyqEOl1cQusf_iASTTL{width:auto;display:inline-block}._99v9ImSmsc9WaLo1JRKTv{font-size:15px;color:#767676;background:#fff;padding:10px 0 10px 16px;margin:0 0 15px;border-left:3px solid #2dbd2d}.LrfUx4lOQZGNTJvqMVr5t{position:relative}.LrfUx4lOQZGNTJvqMVr5t span{display:block;position:absolute;top:5px;right:5px;font:400 20px/1 dashicons;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:top}._232V2hEXumw5qfQvYgC3_7{padding-right:30px!important}._232V2hEXumw5qfQvYgC3_7 span{animation:_1757-mH-PMnc60sb6vELQo 2s linear infinite;width:20px;height:20px}._232V2hEXumw5qfQvYgC3_7 span:before{displaY:block;position:absolute;color:#fff;content:"\f463"}._232V2hEXumw5qfQvYgC3_7._7yHt4xMhWMjrht8iEQ5r4 span:before{color:#f56e28}@keyframes _1757-mH-PMnc60sb6vELQo{to{transform:rotate(1turn)}}._1WKY2zs_Ek0OlucGojMUKs{-ms-flex:0 0 100%;flex:0 0 100%;background:#fff;box-shadow:0 2px 2px rgba(0,0,0,.1);margin-left:-20px;margin-right:-20px;margin-bottom:20px;padding:20px}._1LFtNh3LQY63C-DVwqC8xn{-ms-flex:0 0 100%;flex:0 0 100%;padding:20px 0 0}._2HmuOGC3Ithuf-sXf5b9fI{width:100%;display:-ms-flexbox;display:flex}._hbEGkogYcG3oOmQJqURY{display:none}@media (min-width:782px){._hbEGkogYcG3oOmQJqURY{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;margin:10px 0 12px}}@media (min-width:1220px){._hbEGkogYcG3oOmQJqURY{background-image:url(img/f5dd8db270f82286e8e330efae4d7bc8.png);background-position:0 100%;background-repeat:no-repeat;background-size:auto auto;padding-left:368px;max-width:500px;min-height:271px}}._2f4hLp2v2WyyKVSF_UJEv1{margin:0 0 5px;font-size:25px;font-weight:400}._1yqUaTk94oRux2IOrSzyXP{max-width:570px;-ms-flex:1;flex:1;position:relative}.YMU-1uxeVLWF9kE4JD25v{position:absolute;right:5px;top:0;width:26px;height:40px;background:url(img/7117a04f8fb30dc1977cdf0cbca38b61.svg) no-repeat center 8px;cursor:pointer;border:0;overflow:hidden;text-indent:-999px;opacity:.6;transition:opacity .3s}.YMU-1uxeVLWF9kE4JD25v:hover{opacity:1}.YMU-1uxeVLWF9kE4JD25v:active,.YMU-1uxeVLWF9kE4JD25v:focus{outline:0}._3EUrHXE9jV4IifhdnD4_Cd{position:absolute;left:101%;top:0;width:90px;text-align:left;height:40px;cursor:pointer;border:0;overflow:hidden;background:transparent;color:#909090}._3EUrHXE9jV4IifhdnD4_Cd:active,._3EUrHXE9jV4IifhdnD4_Cd:focus{outline:0}.vOuPoAdqbdAYFITCTHe4y{color:#979797;position:absolute;left:102%;font-size:13px;width:300px;top:30%}._2l-UWAqy0FXF8L8gwwYUHx{max-width:570px;display:-ms-flexbox;display:flex;padding:10px;width:100%}._229aHI0GW06VoLl-kswK1h{background:transparent;border:0;height:35px;padding:0 20px 0 0;width:100px;color:#767676;font-size:13px;cursor:pointer;display:-ms-flexbox;display:flex;vertical-align:middle;-ms-flex-pack:justify;justify-content:space-between;line-height:20px}._231E_YT3yMvg_n79PGLJas path,.DYqp10YQ0J95DoAkRhv_r path{fill:#9ea3a8}._1cPUEGx0Xx6_QN2N8gDjbN .DYqp10YQ0J95DoAkRhv_r path,._2vMGTgDLYWHwC5Bixj3h1j ._231E_YT3yMvg_n79PGLJas path{fill:#0878b0}._126zV04eoTDtbyC-BYLUAA{-ms-flex:1;flex:1}._24Myt3sk2DBgPhz8z2brpB{height:35px;margin-right:10px;padding:0 20px 0 9px;line-height:35px;color:#767676;background:#fff;border:1px solid #ddd;font-size:13px;cursor:pointer;position:relative}._24Myt3sk2DBgPhz8z2brpB:after{content:"\f345";opacity:.7;margin-top:0;font-family:dashicons;position:absolute;right:7px;transform:rotate(0deg);transform-origin:50% 50%;transition:transform .1s ease}._1qm1acbt4CVaO_Rvtr5wiG{position:absolute;left:-1px;right:-1px;display:none;padding:12px;background:#fff;border:1px solid #ddd;white-space:nowrap;z-index:8}._2K9p4UA96kSmp7CK-j4Lwr{width:200px}._2K9p4UA96kSmp7CK-j4Lwr ._3sllyIsBcYkXe15iS4Srvi{-ms-flex:1 1 50%;flex:1 1 50%}._3mhTCbx_VsizPWMPnNMqFP[type=radio]{border:1px solid #b4b9be;background:#fff;color:#555;clear:none;cursor:pointer;display:inline-block;line-height:0;height:16px;margin:-4px 10px 0 0;outline:0;padding:0!important;text-align:center;vertical-align:middle;width:16px;min-width:16px;-webkit-appearance:none;box-shadow:inset 0 1px 2px rgba(0,0,0,.1);transition:border-color .05s ease-in-out}[type=checkbox].N_PwTUJpdubkQbZ4bc_80{width:30px;height:20px;border:0;border-radius:5px}[type=checkbox].N_PwTUJpdubkQbZ4bc_80:before{float:left;display:inline-block;vertical-align:middle;width:16px;font:normal 21px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}[type=checkbox].N_PwTUJpdubkQbZ4bc_80:checked:before{margin:0 0 0 4px;color:#fff;content:"\f147"}[type=checkbox]._10lpTjXqgE3Kjd92xVCibV{background-color:#ff85ca}[type=checkbox]._2gS-ALaGY56c0i7J58pZJE{background-color:#ef3962}[type=checkbox]._2V78A7J-Mxkt-Tza3UMHFJ{background-color:#fb7058}[type=checkbox]._39LxIeKSXlT_-lSJ5dvDur{background-color:#fee757}[type=checkbox]._3RuMm7lTBH80FqLAbe9tDW{background-color:#1acb7e}[type=checkbox]._18pq4of4JIrupaBpPXh6XJ{background-color:#1ddac2}[type=checkbox]._1-G-w8MmOJCasTlZGOEI4h{background-color:#349fe5}[type=checkbox]._1z559-9WEHF4x3CKOINjXG{background-color:#8966b7}[type=checkbox]._3e2qxFONVy2isaa-xJgZBX{background-color:#7f5d60}[type=checkbox]._1d8hHCa4DYp3goqSeRlBTC{background-color:#010101}[type=checkbox]._1WiFca3inADyt8iUJDxw8D{background-color:#d6d3e3}[type=checkbox].X-lg76aHNtTLSxMjh3_dF{background-color:#fff;border:1px solid #eee}[type=checkbox]._39LxIeKSXlT_-lSJ5dvDur:checked:before,[type=checkbox].X-lg76aHNtTLSxMjh3_dF:checked:before{color:#000}._126zV04eoTDtbyC-BYLUAA:hover ._24Myt3sk2DBgPhz8z2brpB:after{transform:rotate(90deg)}._126zV04eoTDtbyC-BYLUAA:hover ._1qm1acbt4CVaO_Rvtr5wiG{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}._1B0pkoWn5B-itP-5MBAN7k{padding:0 10px}._1P8fwj3Dti5I8Htj9e9wvH,._3SzTrjTPnqpFXtiLO5gZ82{display:inline-block;margin:0 1px;padding:3px;border:0;cursor:pointer;background:transparent;color:#0073aa}._1P8fwj3Dti5I8Htj9e9wvH{text-decoration:underline}.-cJ75CRkRvVzmNwM_Vydw{padding:1px 0 25px}.SopIxoGl2fWJBUXAjkupc{font-weight:100;color:#444;font-size:31px;line-height:35px;margin:25px 0 10px}._1ppz4Z7Bufl0W3R-J5zlSZ{font-size:15px;color:#767676}._27KQKxVbQP8sKhKdvFbU8Q{position:absolute;z-index:10;background:#fff;border:1px solid #9ea3a8;box-shadow:0 2px 10px rgba(0,0,0,.2);border-radius:2px;margin-top:5px;padding:15px 0;min-width:250px}._68cXdFUhFij3Wx2bpqZcc{background:transparent;cursor:pointer;padding:6px 19px;color:#767676;border:0;box-sizing:border-box;font-size:15px;width:100%;text-align:left}._68cXdFUhFij3Wx2bpqZcc:hover{background:#eee}._3KrrhC-E9jZRkP8DDDdQ9h{display:none;-ms-flex:0 0 150px;flex:0 0 150px;margin:0 0 0 auto}@media (min-width:782px){._3KrrhC-E9jZRkP8DDDdQ9h{display:-ms-flexbox;display:flex;-ms-flex-pack:right;justify-content:right;-ms-flex-align:center;align-items:center}}._3KrrhC-E9jZRkP8DDDdQ9h ._1qm1acbt4CVaO_Rvtr5wiG{left:auto}._3gg-hFGx42aq1fkzOrw9u{padding:0 20px 20px}._3GDGVBVgbKm0o2RQOHQQ2Y{position:fixed;z-index:10;background:#efefef;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}._1X4u2SE_PZcuOLnUTexrRJ{background:#fff;-ms-flex:0 0 50px;flex:0 0 50px;padding:0 20px;box-shadow:0 1px 0 rgba(0,0,0,.1);z-index:8;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}._-0lkebFm1TFZZEoww2eEl{color:#555d66;text-decoration:none;font-size:13px;font-weight:500;position:relative;padding-left:16px}._-0lkebFm1TFZZEoww2eEl:before{content:"\f341";opacity:.7;margin-top:1px;font-family:dashicons;position:absolute;left:0}._-0lkebFm1TFZZEoww2eEl:active,._-0lkebFm1TFZZEoww2eEl:hover{color:#000;text-decoration:underline}._3BFDeefoEng2eVytfsbdtD{padding:20px;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;overflow-y:auto;-ms-flex-pack:justify;justify-content:space-between}._1W25gEnOaS83Sn3giIr2kG{-ms-flex:1 1 100%;flex:1 1 100%;padding:0 0 20px}.Q-MCBTqL0y9qsZN3heHtP{font-size:31px;line-height:30px;font-weight:100;margin:0 0 12px;color:#444}._3q-lB5n6XQ2cTqqW5DrFh{font-size:15px;color:#767676}._2-I5KvUup8A6HjbRBUjY4m{background:#fff;border-radius:2px;color:#767676;box-sizing:border-box;-ms-flex:0 1 23.5%;flex:0 1 23.5%;margin-right:1.5%;margin-bottom:1.5%}._2-I5KvUup8A6HjbRBUjY4m:hover{box-shadow:0 2px 2px rgba(0,0,0,.1)}._3RgwlnnMPs_k_9c0ujx8s2{font-weight:100;margin:0;padding:0 0 8px}._2-Hkk26PAJRDcui9x3fZez{opacity:.5}._1iqi0EaPcpyFqFMq713XRX{text-align:center;padding:20px;display:block;color:#767676;text-decoration:none}._1iqi0EaPcpyFqFMq713XRX:hover{color:#0073af}._1BuZAhIChciK10mFTz2_4D,._1emafbNmd_EBdUoTsnIUe3{margin:0 0 60px;padding:1px;-ms-flex:0 0 100%;flex:0 0 100%;position:relative;display:-ms-flexbox;display:flex}.iZUy4FBiknphjDnyA6E6n,.rNnyEPuQR-MyKzDL555ve{padding:1px;-ms-flex:0 0 19%;flex:0 0 19%;margin:0 1% 20px 0;box-sizing:border-box;position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.iZUy4FBiknphjDnyA6E6n ._3J0I4yh-ykUHuF9H83KIeP,.rNnyEPuQR-MyKzDL555ve ._3J0I4yh-ykUHuF9H83KIeP{height:160px;box-shadow:1px -1px 10px transparent;transition:box-shadow .1s ease-in-out;position:relative;background-color:#fff;background-position:50%;background-size:contain;background-repeat:no-repeat;border-radius:5px}.iZUy4FBiknphjDnyA6E6n ._3J0I4yh-ykUHuF9H83KIeP:hover,.rNnyEPuQR-MyKzDL555ve ._3J0I4yh-ykUHuF9H83KIeP:hover{box-shadow:1px -1px 10px rgba(0,0,0,.15)}.iZUy4FBiknphjDnyA6E6n ._34zfk_ImiC2ggMijCxmm6g,.rNnyEPuQR-MyKzDL555ve ._34zfk_ImiC2ggMijCxmm6g{width:100%;height:160px;padding-bottom:0!important;text-decoration:none;display:block;position:absolute;top:0;left:0;right:0;bottom:0;z-index:2;border:0!important}.iZUy4FBiknphjDnyA6E6n ._2dYoU2mTUXiLq-ySU_Eh3i,.rNnyEPuQR-MyKzDL555ve ._2dYoU2mTUXiLq-ySU_Eh3i{text-align:center;padding:5px}._3gWhy0DtQZXb5hJ_nHYj7J{position:absolute;right:8px;top:10px;font-size:12px;line-height:12px;z-index:7}._3QB2fuqInI5TnWGFikzCsE,._3ZShTkT46KaiqBEZQE-lNW{box-sizing:border-box;pointer-events:none;text-transform:uppercase;background-color:#555;color:#f1f1f1;padding:2px 4px;font-size:11px;border-radius:2px;margin-right:5px}._hj04BM-N4d-vzenZNXKh{-ms-flex:0 1 70%;flex:0 1 70%;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}._2LC1BXbWSSSJrkwEF-bR50{-ms-flex:0 1 30%;flex:0 1 30%;padding:0 0 0 30px}._1E641YentSFiTYTZ5PN9iJ{filter:blur(5px);opacity:.3;border-radius:2px}._2hvkTZZIgCcs4BLVaq-3ll{opacity:1;filter:none;height:auto!important}.Jhs7b5Vuc6GIc6XwPpueh{max-width:100%;height:auto;border-radius:2px;box-shadow:0 2px 2px rgba(0,0,0,.1)}.ethID5Y1dryvgeXusOKzT{display:none}.PY9DMIU0FvG0BSL81KHP-{font-size:25px;line-height:27px;font-weight:100;margin:0 0 12px;color:#444}._2rDS2oGXxMEX7AQ7Zw_qBU{border-bottom:2px solid #ddd;width:120px;margin:10px 0 20px}._3RnwiwbaUkwISmpx_BMiUY{font-size:15px;color:#767676;padding:5px 0 20px}._3RnwiwbaUkwISmpx_BMiUY p{margin:0 0 10px}._3Oplnb7-rP31gjy9Em9MYg{background-image:url(img/5337645938a37e01956aa03725e1a435.png);background-position:0 100%;background-repeat:no-repeat;height:50px;background-size:contain}._1pSC2eag-2TSZUm2Gg9QHA{padding:6px 20px;font-size:13px;text-decoration:none;color:#0d6897;width:300px;display:block;text-align:center;box-sizing:border-box}._1pSC2eag-2TSZUm2Gg9QHA:hover{text-decoration:underline}._39bnDoSITW67TfIWJSIP6S{position:fixed;z-index:8;background:#efefef;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}._2mirMadmk4HVBYs2FCDqn8{background:#fff;-ms-flex:0 0 50px;flex:0 0 50px;padding:0 20px;box-shadow:0 1px 0 rgba(0,0,0,.1);z-index:8;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}._2aEuprMij62f1T4xOxj4Gz{padding:20px;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;overflow-y:auto;-ms-flex-pack:justify;justify-content:space-between}._6WwzthflRQKGhj2eyQ-Xw{-ms-flex:1 1 100%;flex:1 1 100%;padding:0 0 20px}._3b24W0c5k6okAr7dZtdqfw{font-size:31px;line-height:30px;font-weight:100;margin:0 0 12px}._3-QyTKgeYAvoV0dbfvzTTw,.gjYZplU5L05A1tOFM_eUo{margin:0 0 30px;-ms-flex:0 0 25%;flex:0 0 25%;box-sizing:border-box;padding:1px 2% 1px 1px;position:relative}@media screen and (min-width:1500px){._3-QyTKgeYAvoV0dbfvzTTw,.gjYZplU5L05A1tOFM_eUo{-ms-flex:0 0 20%;flex:0 0 20%}}._3-QyTKgeYAvoV0dbfvzTTw ._3voTEqt4g5GodLy480hiiJ,.gjYZplU5L05A1tOFM_eUo ._3voTEqt4g5GodLy480hiiJ{height:390px;box-shadow:1px -1px 10px transparent;transition:box-shadow .1s ease-in-out}._3-QyTKgeYAvoV0dbfvzTTw ._3voTEqt4g5GodLy480hiiJ:hover,.gjYZplU5L05A1tOFM_eUo ._3voTEqt4g5GodLy480hiiJ:hover{box-shadow:1px 1px 12px rgba(0,0,0,.25)}._3-QyTKgeYAvoV0dbfvzTTw ._3zdPna56RcDqfMYMvWXJUk,.gjYZplU5L05A1tOFM_eUo ._3zdPna56RcDqfMYMvWXJUk{width:100%;height:390px}._3voTEqt4g5GodLy480hiiJ{position:relative;background-color:#fff;background-position:top;background-size:100% auto;background-repeat:no-repeat;border-radius:2px}.hLPPK7ELjs28UzeuE6dL3{margin-top:10px}.hLPPK7ELjs28UzeuE6dL3 ._3voTEqt4g5GodLy480hiiJ:hover{box-shadow:0 -10px 0 -5px hsla(0,0%,100%,.5),0 -20px 0 -10px hsla(0,0%,100%,.5),0 -30px 0 -15px hsla(0,0%,100%,.5)}._10rK10bV_10HIzf-V_2e11{position:absolute;right:8px;top:10px;font-size:12px;line-height:12px;z-index:7}._1nCZKllTiAyJnk1YW9bugU,.faMX86Yt_glDIgRZ2DiyH{box-sizing:border-box;pointer-events:none;text-transform:uppercase;background-color:#555;color:#f1f1f1;padding:2px 4px;font-size:11px;border-radius:2px;margin-right:5px}._1AYZnWJoZn_-8qzO8FCFP7{background-color:#81b440;color:#fff}._3zdPna56RcDqfMYMvWXJUk{padding-bottom:0!important;text-decoration:none;display:block;position:absolute;top:0;left:0;right:0;bottom:0;z-index:2;border:0!important}._3DHJwoya9TeKCz0aimAne2{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:end;justify-content:flex-end}.kgju2EwE8Ab7dCtqSCr8d{padding:10px;overflow:hidden;color:#767676;font-weight:100}._1YzCxT8RekBiwHNWPWlnp9{font-size:16px;font-weight:700;color:#000;margin:0 0 3px;padding:0}._36trUw-91bidCAOm1BJrES,._39bnDoSITW67TfIWJSIP6S{position:fixed;z-index:8;background:#f1f1f1;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}._3f6zU3hRMbOOTlzEBAAqZm{background:#fff;-ms-flex:0 0 50px;flex:0 0 50px;padding:0 20px;box-shadow:0 1px 0 rgba(0,0,0,.1);z-index:8;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}._2Ng4P9uisOxmElL-9-iWmc{color:#555d66;text-decoration:none;font-size:13px;font-weight:500;position:relative;padding-left:16px;padding-right:6px}._2Ng4P9uisOxmElL-9-iWmc:before{content:"\f341";opacity:.7;margin-top:1px;font-family:dashicons;position:absolute;left:0}._2Ng4P9uisOxmElL-9-iWmc:active,._2Ng4P9uisOxmElL-9-iWmc:hover{color:#000;text-decoration:underline}._3HHu1O34FoRSlbftZR-vcB{padding:20px;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;overflow:hidden}.dYZPvCUrygENReKWlfQT9{-ms-flex:1 1 100%;flex:1 1 100%;padding:0 0 10px}._2GiaJnqNx_q0Uv-j3X4bvL{font-size:31px;line-height:30px;font-weight:100;margin:0 0 12px}.PK-IRg1HZEfKFDQPeghXH{padding-right:14px;max-height:73vh;overflow-y:auto;-ms-flex:1;flex:1}.PK-IRg1HZEfKFDQPeghXH::-webkit-scrollbar{-webkit-appearance:none;width:7px}.PK-IRg1HZEfKFDQPeghXH::-webkit-scrollbar-thumb{border-radius:4px;background-color:rgba(0,0,0,.5);-webkit-box-shadow:0 0 1px hsla(0,0%,100%,.5)}._1AuGj84khfWWUQw26Bdg_{background-repeat:no-repeat;background-size:100% auto;filter:blur(5px);opacity:.3;border-radius:2px;position:relative}.wriwE3qYGapBMDUpcCbgp{opacity:1;filter:none;height:auto!important}._1Im-uqLjDomHHaxUBAbfdA{max-width:100%;height:auto;border-radius:2px}._36XJA8nGQe0R7m4-2pdAwq{border-left:1px solid #ddd;margin-left:2px;-ms-flex:0 1 35%;flex:0 1 35%;padding-left:20px}._36XJA8nGQe0R7m4-2pdAwq,._36XJA8nGQe0R7m4-2pdAwq p{font-size:15px;color:#444}._1mf9xlPNIkFDJt8oSBMqyL{display:none}.j9yepibote1BsyJwJXr7W{margin-bottom:40px}._1xMdhriWN0Foj1v9tXE2sr{font-size:22px;line-height:28px;font-weight:100;margin:0 0 4px}._1sMEOR_7RmfPLF22dcVTNI{margin:20px 0;min-height:80px}._1_1soiairggXBQtN19BXPl{border-bottom:2px solid #ddd;width:120px;margin:10px 0 20px}._3qjoFag4jilWHK15BuTLOp{font-size:15px;color:#767676;padding:5px 0 10px}._3qjoFag4jilWHK15BuTLOp p{margin:0 0 10px}._2Gjie6dgr2pfnDuSq8RmiU{background-image:url(img/5337645938a37e01956aa03725e1a435.png);background-position:0 100%;background-repeat:no-repeat;height:50px;background-size:contain}.bpX032fVUeYnuMbouzbZh{padding:6px 20px;font-size:13px;text-decoration:none;color:#0d6897;width:300px;display:block;text-align:center;box-sizing:border-box}.bpX032fVUeYnuMbouzbZh:hover{text-decoration:underline}.sAeHfDuEojnUJaWLMgR1S{padding:0 20px 20px}.uiWtv2gs9hdHuRgE1hNnI{-ms-flex-pack:justify;justify-content:space-between}.rzrsnpOhOBdnzCuXeO2Dp{-ms-flex:0 0 auto;flex:0 0 auto;margin:auto 0 1%;box-sizing:border-box;position:relative;display:block}._1NUqfZU9E61oiVG7dki5AH{-ms-flex:0 0 24.1%;flex:0 0 24.1%;margin:0 0 1%;position:relative;display:block;width:100%}@media screen and (min-width:1000px){._1NUqfZU9E61oiVG7dki5AH{-ms-flex:0 0 16%;flex:0 0 16%}}@media screen and (min-width:1440px){._1NUqfZU9E61oiVG7dki5AH{-ms-flex:0 0 13.5%;flex:0 0 13.5%}}._1NUqfZU9E61oiVG7dki5AH .SvHw8rN4eS43S1UpyTdvx{padding-bottom:100%}._2AeWr5u0PKssBnXackQajR{position:fixed;z-index:8;background:#fff;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}._7qfO3imff4JZaHLL0oomk{-ms-flex:0 0 50px;flex:0 0 50px;padding:0 20px;box-shadow:0 1px 0 rgba(0,0,0,.1);z-index:8;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.cuYgTCtsxsgD50NJO4zcv{color:#555d66;text-decoration:none;font-size:13px;font-weight:500;position:relative;padding-left:16px}.cuYgTCtsxsgD50NJO4zcv:before{content:"\f341";opacity:.7;margin-top:1px;font-family:dashicons;position:absolute;left:0}.cuYgTCtsxsgD50NJO4zcv:active,.cuYgTCtsxsgD50NJO4zcv:hover{color:#000;text-decoration:underline}._2vi7jCPyCWRzcrP9qZOngD{padding:20px;display:-ms-flexbox;display:flex;border-right:1px solid #ddd}.mq5-eorIiYkMaJ_lR41M4{padding-right:14px;max-height:100%;overflow-y:auto}.mq5-eorIiYkMaJ_lR41M4::-webkit-scrollbar{-webkit-appearance:none;width:7px}.mq5-eorIiYkMaJ_lR41M4::-webkit-scrollbar-thumb{border-radius:4px;background-color:rgba(0,0,0,.5);-webkit-box-shadow:0 0 1px hsla(0,0%,100%,.5)}._2SyfYJHc4EU6gNZSsFNW6J{background-repeat:no-repeat;background-size:100% auto;filter:blur(5px);opacity:.3;border-radius:2px;position:relative}._1mTiXCH6jDfm80oWM68DDR{opacity:1;filter:none;height:auto!important}._3bhmpnPmyyRSZq_3oQsGC{max-width:100%;height:auto;border-radius:2px}._2r1slhhRtMVB8fODUnVZmj{-ms-flex:1 1 35%;flex:1 1 35%;padding-left:20px;border-left:1px solid #ddd;margin-left:2px}._2r1slhhRtMVB8fODUnVZmj,._2r1slhhRtMVB8fODUnVZmj p{font-size:15px;color:#444}.v8jV4UuezI-bAWi4xZZY{font-size:31px;line-height:30px;font-weight:100;margin:15px 0}._2VynnJMMSOuO3wUSuxi7Fz{margin:20px 0;min-height:80px}._1y8dd9o3rUnuLMDMsTG5ZQ{border-bottom:2px solid #ddd;width:120px}._1LvNasYzqmOBpk2l2d6iLX,._3XwmkudE7kJ1kcJs_SM2k2{width:290px}.SvHw8rN4eS43S1UpyTdvx{border-radius:2px;overflow:hidden;background-position:50%;background-size:cover;background-repeat:no-repeat}.toIKB2QX4R-8wrXHGvaeb{padding-bottom:0!important;text-decoration:none;display:block;position:absolute;top:0;left:0;right:0;bottom:0;z-index:2;border:0!important}._3Yr0LjpuF_XN6G8XlxelOX{position:absolute;background:linear-gradient(180deg,transparent,rgba(0,0,0,.4));display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:end;justify-content:flex-end;top:0;left:0;right:0;bottom:0;z-index:1;opacity:0;transition:opacity .3s}.SvHw8rN4eS43S1UpyTdvx:hover{box-shadow:0 2px 2px rgba(0,0,0,.1)}.SvHw8rN4eS43S1UpyTdvx:hover ._3Yr0LjpuF_XN6G8XlxelOX{opacity:1}._2_28YUneolm0caQCBbHtTt{padding:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff;font-weight:700}._3JU7wiH-ehEO60kkBue4I7{position:absolute;right:8px;top:10px;font-size:12px;line-height:12px;z-index:7}._2GMQ1rat1rAv_fHcvsH3jQ,.CaPXBpB8--Bdlh8kDcRbD{box-sizing:border-box;pointer-events:none;text-transform:uppercase;background-color:#555;color:#f1f1f1;padding:2px 4px;font-size:11px;border-radius:2px;margin-right:5px}a._31EI61PYy78y8TJjRLClWF{color:#555;text-decoration:none}a._31EI61PYy78y8TJjRLClWF:hover{text-decoration:underline}._3flwyJyLHG9KFMHwKhoo0V{display:-ms-flexbox;display:flex;line-height:22px}.U9YLMFkMI3JDgnxfrvpEC{display:inline-block;background:#eee;border-radius:1px;font-weight:700;padding:2px 4px;height:22px;width:213px;white-space:nowrap;overflow:hidden}input._3eAZAtZQYOXlA-r3TgWZIQ{display:inline}._3IaGkMa_bqT22GT_qnG0bo{border:0;background:#eee;border-radius:1px;font-weight:700;margin:0 0 0 5px;padding:0;cursor:pointer;overflow:hidden;width:26px;height:26px;line-height:22px}.SgeYmXX-oZ8ghtriwyTVw{padding:10px 20px;min-height:82vh}._2SfHEXFBKWfMyc6NdFE3P3{padding:0 1px}._1BsHcj2Fhu8ee-5faZQD7K{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:justify;justify-content:space-between}._1BsHcj2Fhu8ee-5faZQD7K>div{-ms-flex:0 1 42%;flex:0 1 42%;margin-bottom:20px;background:#fff;padding:10px 20px 20px;border-radius:5px;border:1px solid #e0e5e9}.elements_page_envato-elements button:active,.elements_page_envato-elements button:focus,.toplevel_page_envato-elements button:active,.toplevel_page_envato-elements button:focus{outline-width:0;box-shadow:none}.elements_page_envato-elements .smush-notice.notice,.toplevel_page_envato-elements .smush-notice.notice{display:none!important}.elements_page_envato-elements #dolly,.elements_page_envato-elements #screen-meta,.elements_page_envato-elements #screen-meta-links,.elements_page_envato-elements #wpbody-content>.notice,.elements_page_envato-elements .error,.elements_page_envato-elements .is-dismissible,.elements_page_envato-elements .update-nag,.elements_page_envato-elements .updated,.toplevel_page_envato-elements #dolly,.toplevel_page_envato-elements #screen-meta,.toplevel_page_envato-elements #screen-meta-links,.toplevel_page_envato-elements #wpbody-content>.notice,.toplevel_page_envato-elements .error,.toplevel_page_envato-elements .is-dismissible,.toplevel_page_envato-elements .update-nag,.toplevel_page_envato-elements .updated{display:none}.elements_page_envato-elements #wpcontent,.toplevel_page_envato-elements #wpcontent{padding-left:0}.elements_page_envato-elements #wpbody-content,.toplevel_page_envato-elements #wpbody-content{padding-bottom:0}.elements_page_envato-elements #wpfooter,.toplevel_page_envato-elements #wpfooter{display:none}html.os-html,html.os-html>.os-host{display:block;overflow:hidden;box-sizing:border-box;height:100%!important;width:100%!important;min-width:100%!important;min-height:100%!important;margin:0!important;position:absolute!important}html.os-html>.os-host>.os-padding{position:absolute}body.os-dragging,body.os-dragging *{cursor:default}.os-host,.os-host-textarea{position:relative;overflow:visible!important}#hs-dummy-scrollbar-size{position:fixed;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";visibility:hidden;overflow:scroll;height:500px;width:500px}#hs-dummy-scrollbar-size,.os-viewport{-ms-overflow-style:scrollbar!important}.os-viewport-native-scrollbars-invisible#hs-dummy-scrollbar-size::-webkit-scrollbar,.os-viewport-native-scrollbars-invisible#hs-dummy-scrollbar-size::-webkit-scrollbar-corner,.os-viewport-native-scrollbars-invisible.os-viewport::-webkit-scrollbar,.os-viewport-native-scrollbars-invisible.os-viewport::-webkit-scrollbar-corner{display:none!important;width:0!important;height:0!important;visibility:hidden!important;background:transparent!important}.os-content-glue{max-height:100%;max-width:100%;width:100%;pointer-events:none}.os-padding{direction:inherit;position:absolute;overflow:visible;padding:0;margin:0;left:0;top:0;bottom:0;right:0;width:auto!important;height:auto!important;z-index:1}.os-host-overflow>.os-padding,.os-viewport{overflow:hidden}.os-viewport{direction:inherit!important;box-sizing:inherit!important;resize:none!important;position:absolute;top:0;left:0;bottom:0;right:0;padding:0;margin:0;-webkit-overflow-scrolling:touch}.os-content-arrange{position:absolute;z-index:-1;min-height:1px;min-width:1px;pointer-events:none}.os-content{direction:inherit;box-sizing:border-box!important;position:relative;display:block;height:100%;width:100%;visibility:visible}.os-content>.os-textarea,.os-host-textarea>.os-padding>.os-content{overflow:hidden!important}.os-content>.os-textarea{direction:inherit!important;float:none!important;margin:0!important;max-height:none!important;max-width:none!important;border:none!important;border-radius:0!important;background:transparent!important;outline:0 none transparent!important;resize:none!important;position:absolute!important;top:0!important;left:0!important;z-index:1;padding:0}.os-host-rtl>.os-padding>.os-viewport>.os-content>.os-textarea{right:0!important}.os-content>.os-textarea-cover{z-index:-1;pointer-events:none}.os-content>.os-textarea[wrap=off]{white-space:pre!important;margin:0!important}.os-text-inherit{font-family:inherit;font-size:inherit;font-weight:inherit;font-style:inherit;font-variant:inherit;text-transform:inherit;text-decoration:inherit;text-indent:inherit;text-align:inherit;text-shadow:inherit;text-overflow:inherit;letter-spacing:inherit;word-spacing:inherit;line-height:inherit;unicode-bidi:inherit;direction:inherit;color:inherit;cursor:text}.os-resize-observer,.os-resize-observer-host{box-sizing:inherit;display:block;opacity:0;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}.os-resize-observer-host{padding:inherit;border:inherit;border-color:transparent;border-style:solid;box-sizing:border-box}.os-resize-observer-host:after{content:""}.os-resize-observer-host:after,.os-resize-observer-host>.os-resize-observer{height:200%;width:200%;padding:inherit;border:inherit;margin:0;display:block;box-sizing:content-box}.os-resize-observer.observed,object.os-resize-observer{box-sizing:border-box!important}.os-size-auto-observer{box-sizing:inherit!important;height:100%;width:inherit;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none}.os-size-auto-observer>.os-resize-observer{width:1000%;height:1000%;min-height:1px;min-width:1px}.os-resize-observer-item{right:0;bottom:0;overflow:hidden;z-index:-1;opacity:0;direction:ltr!important}.os-resize-observer-item,.os-resize-observer-item-final{position:absolute;top:0;left:0;-ms-flex:none!important;flex:none!important}.os-resize-observer-item-final{transition:none!important}.os-resize-observer{animation-duration:1ms;animation-name:hs-resize-observer-dummy-animation}.os-host-transition>.os-scrollbar,.os-host-transition>.os-scrollbar-corner{transition:opacity .3s,visibility .3s,top .3s,right .3s,bottom .3s,left .3s}html.os-html>.os-host>.os-scrollbar{position:absolute;z-index:999999}.os-scrollbar,.os-scrollbar-corner{position:absolute;opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";z-index:1}.os-scrollbar-corner{bottom:0;right:0}.os-scrollbar-track{position:relative;padding:0!important;border:none!important}.os-scrollbar-handle,.os-scrollbar-track{pointer-events:auto;height:100%;width:100%}.os-scrollbar-handle{position:absolute;cursor:pointer}.os-scrollbar-handle-off,.os-scrollbar-track-off{pointer-events:none}.os-scrollbar.os-scrollbar-unusable,.os-scrollbar.os-scrollbar-unusable *{pointer-events:none!important}.os-scrollbar.os-scrollbar-unusable .os-scrollbar-handle{opacity:0!important}.os-scrollbar-horizontal{bottom:0;left:0}.os-scrollbar-vertical{top:0;right:0}.os-host-rtl>.os-scrollbar-horizontal{right:0}.os-host-rtl>.os-scrollbar-corner,.os-host-rtl>.os-scrollbar-vertical{right:auto;left:0}.os-host-resize-disabled.os-host-scrollbar-horizontal-hidden>.os-scrollbar-corner,.os-host-resize-disabled.os-host-scrollbar-vertical-hidden>.os-scrollbar-corner,.os-host-scrollbar-horizontal-hidden>.os-scrollbar-horizontal,.os-host-scrollbar-vertical-hidden>.os-scrollbar-vertical,.os-padding+.os-scrollbar-corner,.os-scrollbar-auto-hidden,.os-scrollbar-horizontal+.os-scrollbar-vertical.os-scrollbar-auto-hidden+.os-scrollbar-corner,.os-scrollbar-horizontal.os-scrollbar-auto-hidden+.os-scrollbar-vertical+.os-scrollbar-corner,.os-scrollbar-horizontal.os-scrollbar-auto-hidden+.os-scrollbar-vertical.os-scrollbar-auto-hidden+.os-scrollbar-corner{opacity:0;visibility:hidden;pointer-events:none}.os-scrollbar-corner-resize-both{cursor:nwse-resize}.os-host-rtl>.os-scrollbar-corner-resize-both{cursor:nesw-resize}.os-scrollbar-corner-resize-horizontal{cursor:ew-resize}.os-scrollbar-corner-resize-vertical{cursor:ns-resize}.os-dragging .os-scrollbar-corner.os-scrollbar-corner-resize{cursor:default}.os-host-resize-disabled.os-host-scrollbar-horizontal-hidden>.os-scrollbar-vertical{top:0;bottom:0}.os-host-resize-disabled.os-host-scrollbar-vertical-hidden>.os-scrollbar-horizontal{right:0;left:0}.os-scrollbar-corner.os-scrollbar-corner-resize,.os-scrollbar:hover{opacity:1!important;visibility:visible!important}.os-scrollbar-corner.os-scrollbar-corner-resize{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCI+PHBhdGggZD0iTTcuNDI0IDBhMS4zMSAxLjMxIDAgMCAwLTEuMzEgMS4zMWMwIC4zLjEwNC41NzEuMjczLjc5Mi4yMS4xNDEuNDY2LjIxOC43MzcuMjE4YTEuMzEgMS4zMSAwIDAgMCAxLjMxLTEuMzFjMC0uMjcxLS4wNzctLjUyOC0uMjE4LS43MzdBMS4yOTggMS4yOTggMCAwIDAgNy40MjQgMHptMCAzLjA4NGExLjMxIDEuMzEgMCAwIDAtMS4zMSAxLjMxYzAgLjMuMTA0LjU3MS4yNzMuNzkyLjIxLjE0MS40NjYuMjE4LjczNy4yMThhMS4zMSAxLjMxIDAgMCAwIDEuMzEtMS4zMWMwLS4yNzEtLjA3Ny0uNTI4LS4yMTgtLjczN2ExLjI5OCAxLjI5OCAwIDAgMC0uNzkyLS4yNzN6bS0zLjA4NCAwYTEuMzEgMS4zMSAwIDAgMC0xLjMxIDEuMzFjMCAuMy4xMDQuNTcxLjI3My43OTIuMjA5LjE0MS40NjUuMjE4LjczNy4yMThhMS4zMSAxLjMxIDAgMCAwIDEuMzEtMS4zMWMwLS4yNzEtLjA3Ny0uNTI4LS4yMTktLjczN2ExLjI5OCAxLjI5OCAwIDAgMC0uNzkxLS4yNzN6bS0zLjAzIDMuMDNBMS4zMSAxLjMxIDAgMCAwIDAgNy40MjRjMCAuMy4xMDQuNTcxLjI3My43OTIuMjEuMTQxLjQ2Ni4yMTguNzM3LjIxOGExLjMxIDEuMzEgMCAwIDAgMS4zMS0xLjMxYzAtLjI3MS0uMDc3LS41MjgtLjIxOC0uNzM3YTEuMjk4IDEuMjk4IDAgMCAwLS43OTItLjI3M3ptMy4wMyAwYTEuMzEgMS4zMSAwIDAgMC0xLjMxIDEuMzFjMCAuMy4xMDQuNTcxLjI3My43OTIuMjA5LjE0MS40NjUuMjE4LjczNy4yMThhMS4zMSAxLjMxIDAgMCAwIDEuMzEtMS4zMWMwLS4yNzEtLjA3Ny0uNTI4LS4yMTktLjczN2ExLjI5OCAxLjI5OCAwIDAgMC0uNzkxLS4yNzN6bTMuMDg0IDBhMS4zMSAxLjMxIDAgMCAwLTEuMzEgMS4zMWMwIC4zLjEwNC41NzEuMjczLjc5Mi4yMS4xNDEuNDY2LjIxOC43MzcuMjE4YTEuMzEgMS4zMSAwIDAgMCAxLjMxLTEuMzFjMC0uMjcxLS4wNzctLjUyOC0uMjE4LS43MzdhMS4yOTggMS4yOTggMCAwIDAtLjc5Mi0uMjczeiIgZmlsbC1vcGFjaXR5PSIuNDk0IiBmaWxsLXJ1bGU9ImV2ZW5vZGQiLz48cGF0aCBkPSJNOC4yMTYuMjczYy4xNDEuMjEuMjE4LjQ2Ni4yMTguNzM3YTEuMzEgMS4zMSAwIDAgMS0xLjMxIDEuMzFjLS4yNzEgMC0uNTI4LS4wNzctLjczNy0uMjE4LjI0LjMxMy42MTMuNTE4IDEuMDM3LjUxOGExLjMxIDEuMzEgMCAwIDAgMS4zMS0xLjMxYzAtLjQyNC0uMjA1LS43OTgtLjUxOC0xLjAzN3ptMCAzLjA4NGMuMTQxLjIxLjIxOC40NjYuMjE4LjczN2ExLjMxIDEuMzEgMCAwIDEtMS4zMSAxLjMxYy0uMjcxIDAtLjUyOC0uMDc3LS43MzctLjIxOC4yNC4zMTMuNjEzLjUxOSAxLjAzNy41MTlhMS4zMSAxLjMxIDAgMCAwIDEuMzEtMS4zMWMwLS40MjUtLjIwNS0uNzk4LS41MTgtMS4wMzh6bS0zLjA4NSAwYy4xNDIuMjEuMjE5LjQ2Ni4yMTkuNzM3YTEuMzEgMS4zMSAwIDAgMS0xLjMxIDEuMzFjLS4yNzIgMC0uNTI4LS4wNzctLjczNy0uMjE4LjI0LjMxMy42MTIuNTE5IDEuMDM3LjUxOWExLjMxIDEuMzEgMCAwIDAgMS4zMS0xLjMxYzAtLjQyNS0uMjA1LS43OTgtLjUxOS0xLjAzOHptLTMuMDMgMy4wM2MuMTQyLjIxLjIyLjQ2Ni4yMi43MzdhMS4zMSAxLjMxIDAgMCAxLTEuMzExIDEuMzFjLS4yNzEgMC0uNTI4LS4wNzctLjczNy0uMjE4LjI0LjMxMy42MTMuNTE4IDEuMDM3LjUxOGExLjMxIDEuMzEgMCAwIDAgMS4zMS0xLjMxYzAtLjQyNC0uMjA1LS43OTgtLjUxOC0xLjAzN3ptMy4wMyAwYy4xNDIuMjEuMjE5LjQ2Ni4yMTkuNzM3YTEuMzEgMS4zMSAwIDAgMS0xLjMxIDEuMzFjLS4yNzIgMC0uNTI4LS4wNzctLjczNy0uMjE4LjI0LjMxMy42MTIuNTE4IDEuMDM3LjUxOGExLjMxIDEuMzEgMCAwIDAgMS4zMS0xLjMxYzAtLjQyNC0uMjA1LS43OTgtLjUxOS0xLjAzN3ptMy4wODUgMGMuMTQxLjIxLjIxOC40NjYuMjE4LjczN2ExLjMxIDEuMzEgMCAwIDEtMS4zMSAxLjMxYy0uMjcxIDAtLjUyOC0uMDc3LS43MzctLjIxOC4yNC4zMTMuNjEzLjUxOCAxLjAzNy41MThhMS4zMSAxLjMxIDAgMCAwIDEuMzEtMS4zMWMwLS40MjQtLjIwNS0uNzk4LS41MTgtMS4wMzd6IiBmaWxsPSIjZmZmIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4=);background-repeat:no-repeat;background-position:100% 100%;pointer-events:auto!important}.os-host-rtl>.os-scrollbar-corner.os-scrollbar-corner-resize{transform:scaleX(-1)}.os-host-overflow{overflow:hidden!important}@keyframes _38Bu2TShhqwJBDe3sPLFvM{0%{z-index:0}to{z-index:-1}}.os-theme-round-dark>.os-scrollbar{padding:0}.os-theme-round-dark>.os-scrollbar-horizontal{right:20px;height:20px}.os-theme-round-dark>.os-scrollbar-vertical{bottom:20px;width:20px}.os-theme-round-dark.os-host-rtl>.os-scrollbar-horizontal{left:20px;right:0}.os-theme-round-dark>.os-scrollbar-corner{height:20px;width:20px;background-color:transparent}.os-theme-round-dark>.os-scrollbar>.os-scrollbar-track{background:transparent}.os-theme-round-dark>.os-scrollbar-horizontal>.os-scrollbar-track:before,.os-theme-round-dark>.os-scrollbar-vertical>.os-scrollbar-track:before{content:"";display:block;position:absolute;background:#e0e5e9}.os-theme-round-dark>.os-scrollbar-horizontal>.os-scrollbar-track:before{left:3px;right:3px;height:2px;top:50%;margin-top:-1px}.os-theme-round-dark>.os-scrollbar-vertical>.os-scrollbar-track:before{top:3px;bottom:3px;width:2px;left:50%;margin-left:-1px}.os-theme-round-dark>.os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle{background:transparent}.os-theme-round-dark>.os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle:before{content:"";display:block;position:absolute;background:#e0e5e9;border-radius:20px;top:3px;bottom:3px;left:4px;right:3px;transform:scale(1)}.os-theme-round-dark>.os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle.active:before,.os-theme-round-dark>.os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle:hover:before{transform:scale(1.1)}.os-theme-round-dark>.os-scrollbar-horizontal>.os-scrollbar-track>.os-scrollbar-handle{height:100%;min-width:40px;max-width:40px}.os-theme-round-dark>.os-scrollbar-vertical>.os-scrollbar-track>.os-scrollbar-handle{width:100%;min-height:40px;max-height:40px}.os-theme-round-dark.os-host-transition>.os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle:before{transition:transform .3s}.os-theme-thick-dark>.os-scrollbar{padding:5px}.os-theme-thick-dark>.os-scrollbar:before{content:"";display:block;position:absolute;background:#f6f6f6;border-radius:15px;top:2px;bottom:2px;right:1px;left:2px;border:1px solid #e8e8e8}.os-theme-thick-dark>.os-scrollbar.active:before,.os-theme-thick-dark>.os-scrollbar:hover:before{border:1px solid rgba(0,0,0,.16)}.os-theme-thick-dark>.os-scrollbar-horizontal{height:10px;left:4px!important}.os-theme-thick-dark>.os-scrollbar-vertical{width:10px}.os-theme-thick-dark.os-host-rtl>.os-scrollbar-horizontal{left:18px;right:0}.os-theme-thick-dark>.os-scrollbar-corner{height:18px;width:18px;background-color:transparent}.os-theme-thick-dark>.os-scrollbar>.os-scrollbar-track{background:transparent}.os-theme-thick-dark>.os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle{background:#a4afb7;border-radius:8px}.os-theme-thick-dark>.os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle.active,.os-theme-thick-dark>.os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle:hover{background:#81b441}.os-theme-thick-dark>.os-scrollbar-horizontal>.os-scrollbar-track>.os-scrollbar-handle{height:100%;min-width:27px;max-width:27px}.os-theme-thick-dark>.os-scrollbar-vertical>.os-scrollbar-track>.os-scrollbar-handle{width:100%;min-height:27px;max-height:27px}.os-theme-thick-dark>.os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle:before{content:"";position:absolute;left:0;right:0;top:-3px;bottom:-5px;display:block}.os-theme-thick-dark>.os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle:after{position:absolute;left:0;right:0;top:-4px;display:block;z-index:10;color:#fff;font-size:6px;text-align:center}.os-theme-thick-dark>.os-scrollbar-vertical>.os-scrollbar-track>.os-scrollbar-handle:after{transform:rotate(90deg);top:0;bottom:0;left:-9px}.os-theme-thick-dark>.os-scrollbar-horizontal>.os-scrollbar-track>.os-scrollbar-handle:before{top:-3px;bottom:-5px}.os-theme-thick-dark>.os-scrollbar-vertical>.os-scrollbar-track>.os-scrollbar-handle:before{left:-3px;right:-5px}.os-theme-thick-dark.os-host-rtl>.os-scrollbar-vertical>.os-scrollbar-track>.os-scrollbar-handle:before{right:-3px;left:-5px}.os-theme-thick-dark.os-host-transition>.os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle{transition:background .3s}.os-theme-thick-dark.os-host-transition>.os-scrollbar:before{transition:border .3s}
assets/react/admin.js CHANGED
@@ -79,4 +79,4 @@ Object.defineProperty(t,"__esModule",{value:!0});var n=null,r=!1,o=3,a=-1,i=-1,l
79
  object-assign
80
  (c) Sindre Sorhus
81
  @license MIT
82
- */var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=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 t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,i,l=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),u=1;u<arguments.length;u++){for(var c in n=Object(arguments[u]))o.call(n,c)&&(l[c]=n[c]);if(r){i=r(n);for(var s=0;s<i.length;s++)a.call(n,i[s])&&(l[i[s]]=n[i[s]])}}return l}},function(e,t,n){"use strict";var r=n(528);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var l=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 l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(136)),o=a(n(137));function a(e){return e&&e.__esModule?e:{default:e}}var i=function(e){var t=e.pageClassName,n=e.pageLinkClassName,o=e.onClick,a=e.href,i=e.ariaLabel||"Page "+e.page+(e.extraAriaContext?" "+e.extraAriaContext:""),l=null;return e.selected&&(l="page",i=e.ariaLabel||"Page "+e.page+" is your current page",t=void 0!==t?t+" "+e.activeClassName:e.activeClassName,void 0!==n?void 0!==e.activeLinkClassName&&(n=n+" "+e.activeLinkClassName):n=e.activeLinkClassName),r.default.createElement("li",{className:t},r.default.createElement("a",{onClick:o,role:"button",className:n,href:a,tabIndex:"0","aria-label":i,"aria-current":l,onKeyPress:o},e.page))};i.propTypes={onClick:o.default.func.isRequired,selected:o.default.bool.isRequired,pageClassName:o.default.string,pageLinkClassName:o.default.string,activeClassName:o.default.string,activeLinkClassName:o.default.string,extraAriaContext:o.default.string,href:o.default.string,ariaLabel:o.default.string,page:o.default.number.isRequired},t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(136)),o=a(n(137));function a(e){return e&&e.__esModule?e:{default:e}}var i=function(e){var t=e.breakLabel,n=e.breakClassName,o=e.breakLinkClassName,a=e.onClick,i=n||"break";return r.default.createElement("li",{className:i},r.default.createElement("a",{className:o,onClick:a,role:"button",tabIndex:"0",onKeyPress:a},t))};i.propTypes={breakLabel:o.default.oneOfType([o.default.string,o.default.node]),breakClassName:o.default.string,breakLinkClassName:o.default.string,onClick:o.default.func.isRequired},t.default=i},function(e,t,n){"use strict";e.exports=(e=>encodeURIComponent(e).replace(/[!'()*]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`))},function(e,t,n){"use strict";var r=new RegExp("%[a-f0-9]{2}","gi"),o=new RegExp("(%[a-f0-9]{2})+","gi");function a(e,t){try{return decodeURIComponent(e.join(""))}catch(e){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],a(n),a(r))}function i(e){try{return decodeURIComponent(e)}catch(o){for(var t=e.match(r),n=1;n<t.length;n++)t=(e=a(t,n).join("")).match(r);return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},n=o.exec(e);n;){try{t[n[0]]=decodeURIComponent(n[0])}catch(e){var r=i(n[0]);r!==n[0]&&(t[n[0]]=r)}n=o.exec(e)}t["%C2"]="�";for(var a=Object.keys(t),l=0;l<a.length;l++){var u=a[l];e=e.replace(new RegExp(u,"g"),t[u])}return e}(e)}}},function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},function(e,t,n){e.exports={"hs-resize-observer-dummy-animation":"_38Bu2TShhqwJBDe3sPLFvM"}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r),a=n(57),i=n.n(a),l=n(194),u=n.n(l),c=n(5),s=n.n(c),f=n(27),p=n.n(f),d=n(48),h=n.n(d);function m(e){return"/"===e.charAt(0)}function v(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}var y=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e&&e.split("/")||[],r=t&&t.split("/")||[],o=e&&m(e),a=t&&m(t),i=o||a;if(e&&m(e)?r=n:n.length&&(r.pop(),r=r.concat(n)),!r.length)return"/";var l=void 0;if(r.length){var u=r[r.length-1];l="."===u||".."===u||""===u}else l=!1;for(var c=0,s=r.length;s>=0;s--){var f=r[s];"."===f?v(r,s):".."===f?(v(r,s),c++):c&&(v(r,s),c--)}if(!i)for(;c--;c)r.unshift("..");!i||""===r[0]||r[0]&&m(r[0])||r.unshift("");var p=r.join("/");return l&&"/"!==p.substr(-1)&&(p+="/"),p},g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var b=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every(function(t,r){return e(t,n[r])});var r=void 0===t?"undefined":g(t);if(r!==(void 0===n?"undefined":g(n)))return!1;if("object"===r){var o=t.valueOf(),a=n.valueOf();if(o!==t||a!==n)return e(o,a);var i=Object.keys(t),l=Object.keys(n);return i.length===l.length&&i.every(function(r){return e(t[r],n[r])})}return!1},w=function(e){return"/"===e.charAt(0)?e:"/"+e},x=function(e){return"/"===e.charAt(0)?e.substr(1):e},E=function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)},S=function(e,t){return E(e,t)?e.substr(t.length):e},k=function(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e},T=function(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o},O=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_=function(e,t,n,r){var o=void 0;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var a=t.indexOf("?");return-1!==a&&(n=t.substr(a),t=t.substr(0,a)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e)).state=t:(void 0===(o=O({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(o.key=n),r?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=y(o.pathname,r.pathname)):o.pathname=r.pathname:o.pathname||(o.pathname="/"),o},C=function(){var e=null,t=[];return{setPrompt:function(t){return p()(null==e,"A history supports only one prompt at a time"),e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var a="function"==typeof e?e(t,n):e;"string"==typeof a?"function"==typeof r?r(a,o):(p()(!1,"A history needs a getUserConfirmation function in order to use a prompt message"),o(!0)):o(!1!==a)}else o(!0)},appendListener:function(e){var n=!0,r=function(){n&&e.apply(void 0,arguments)};return t.push(r),function(){n=!1,t=t.filter(function(e){return e!==r})}},notifyListeners:function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach(function(e){return e.apply(void 0,n)})}}},P=!("undefined"==typeof window||!window.document||!window.document.createElement),N=function(e,t,n){return e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)},j=function(e,t,n){return e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent("on"+t,n)},I=function(e,t){return t(window.confirm(e))},R=("function"==typeof Symbol&&Symbol.iterator,Object.assign,Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}),A={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+x(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:x,decodePath:w},slash:{encodePath:w,decodePath:w}},L=function(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)},M=function(e){var t=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,t>=0?t:0)+"#"+e)},D=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};h()(P,"Hash history needs a DOM");var t=window.history,n=-1===window.navigator.userAgent.indexOf("Firefox"),r=e.getUserConfirmation,o=void 0===r?I:r,a=e.hashType,i=void 0===a?"slash":a,l=e.basename?k(w(e.basename)):"",u=A[i],c=u.encodePath,s=u.decodePath,f=function(){var e=s(L());return p()(!l||E(e,l),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+e+'" to begin with "'+l+'".'),l&&(e=S(e,l)),_(e)},d=C(),m=function(e){R(V,e),V.length=t.length,d.notifyListeners(V.location,V.action)},v=!1,y=null,g=function(){var e,t,n=L(),r=c(n);if(n!==r)M(r);else{var o=f(),a=V.location;if(!v&&(t=o,(e=a).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&b(e.state,t.state)))return;if(y===T(o))return;y=null,x(o)}},x=function(e){v?(v=!1,m()):d.confirmTransitionTo(e,"POP",o,function(t){t?m({action:"POP",location:e}):O(e)})},O=function(e){var t=V.location,n=B.lastIndexOf(T(t));-1===n&&(n=0);var r=B.lastIndexOf(T(e));-1===r&&(r=0);var o=n-r;o&&(v=!0,W(o))},D=L(),F=c(D);D!==F&&M(F);var U=f(),B=[T(U)],W=function(e){p()(n,"Hash history go(n) causes a full page reload in this browser"),t.go(e)},q=0,z=function(e){1===(q+=e)?N(window,"hashchange",g):0===q&&j(window,"hashchange",g)},H=!1,V={length:t.length,action:"POP",location:U,createHref:function(e){return"#"+c(l+T(e))},push:function(e,t){p()(void 0===t,"Hash history cannot push state; it is ignored");var n=_(e,void 0,void 0,V.location);d.confirmTransitionTo(n,"PUSH",o,function(e){if(e){var t=T(n),r=c(l+t);if(L()!==r){y=t,function(e){window.location.hash=e}(r);var o=B.lastIndexOf(T(V.location)),a=B.slice(0,-1===o?0:o+1);a.push(t),B=a,m({action:"PUSH",location:n})}else p()(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),m()}})},replace:function(e,t){p()(void 0===t,"Hash history cannot replace state; it is ignored");var n=_(e,void 0,void 0,V.location);d.confirmTransitionTo(n,"REPLACE",o,function(e){if(e){var t=T(n),r=c(l+t);L()!==r&&(y=t,M(r));var o=B.indexOf(T(V.location));-1!==o&&(B[o]=t),m({action:"REPLACE",location:n})}})},go:W,goBack:function(){return W(-1)},goForward:function(){return W(1)},block:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=d.setPrompt(e);return H||(z(1),H=!0),function(){return H&&(H=!1,z(-1)),t()}},listen:function(e){var t=d.appendListener(e);return z(1),function(){z(-1),t()}}};return V},F=("function"==typeof Symbol&&Symbol.iterator,Object.assign,n(60)),U=n.n(F),B=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function W(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var q=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=W(this,e.call.apply(e,[this].concat(a))),r.state={match:r.computeMatch(r.props.history.location.pathname)},W(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.getChildContext=function(){return{router:B({},this.context.router,{history:this.props.history,route:{location:this.props.history.location,match:this.state.match}})}},t.prototype.computeMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}},t.prototype.componentWillMount=function(){var e=this,t=this.props,n=t.children,r=t.history;h()(null==n||1===o.a.Children.count(n),"A <Router> may have only one child element"),this.unlisten=r.listen(function(){e.setState({match:e.computeMatch(r.location.pathname)})})},t.prototype.componentWillReceiveProps=function(e){U()(this.props.history===e.history,"You cannot change <Router history>")},t.prototype.componentWillUnmount=function(){this.unlisten()},t.prototype.render=function(){var e=this.props.children;return e?o.a.Children.only(e):null},t}(o.a.Component);q.propTypes={history:s.a.object.isRequired,children:s.a.node},q.contextTypes={router:s.a.object},q.childContextTypes={router:s.a.object.isRequired};var z=q;function H(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var V=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=H(this,e.call.apply(e,[this].concat(a))),r.history=D(r.props),H(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentWillMount=function(){u()(!this.props.history,"<HashRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { HashRouter as Router }`.")},t.prototype.render=function(){return o.a.createElement(z,{history:this.history,children:this.props.children})},t}(o.a.Component);V.propTypes={basename:s.a.string,getUserConfirmation:s.a.func,hashType:s.a.oneOf(["hashbang","noslash","slash"]),children:s.a.node};var Q=V,$=(n(200),n(192)),Y=n.n($),G={},K=0,X=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];"string"==typeof t&&(t={path:t});var r=t,o=r.path,a=r.exact,i=void 0!==a&&a,l=r.strict,u=void 0!==l&&l,c=r.sensitive;if(null==o)return n;var s=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=G[n]||(G[n]={});if(r[e])return r[e];var o=[],a={re:Y()(e,o,t),keys:o};return K<1e4&&(r[e]=a,K++),a}(o,{end:i,strict:u,sensitive:void 0!==c&&c}),f=s.re,p=s.keys,d=f.exec(e);if(!d)return null;var h=d[0],m=d.slice(1),v=e===h;return i&&!v?null:{path:o,url:"/"===o&&""===h?"/":h,isExact:v,params:p.reduce(function(e,t,n){return e[t.name]=m[n],e},{})}},J=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function Z(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var ee=function(e){return 0===o.a.Children.count(e)},te=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=Z(this,e.call.apply(e,[this].concat(a))),r.state={match:r.computeMatch(r.props,r.context.router)},Z(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.getChildContext=function(){return{router:J({},this.context.router,{route:{location:this.props.location||this.context.router.route.location,match:this.state.match}})}},t.prototype.computeMatch=function(e,t){var n=e.computedMatch,r=e.location,o=e.path,a=e.strict,i=e.exact,l=e.sensitive;if(n)return n;h()(t,"You should not use <Route> or withRouter() outside a <Router>");var u=t.route,c=(r||u.location).pathname;return X(c,{path:o,strict:a,exact:i,sensitive:l},u.match)},t.prototype.componentWillMount=function(){U()(!(this.props.component&&this.props.render),"You should not use <Route component> and <Route render> in the same route; <Route render> will be ignored"),U()(!(this.props.component&&this.props.children&&!ee(this.props.children)),"You should not use <Route component> and <Route children> in the same route; <Route children> will be ignored"),U()(!(this.props.render&&this.props.children&&!ee(this.props.children)),"You should not use <Route render> and <Route children> in the same route; <Route children> will be ignored")},t.prototype.componentWillReceiveProps=function(e,t){U()(!(e.location&&!this.props.location),'<Route> elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),U()(!(!e.location&&this.props.location),'<Route> elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.'),this.setState({match:this.computeMatch(e,t.router)})},t.prototype.render=function(){var e=this.state.match,t=this.props,n=t.children,r=t.component,a=t.render,i=this.context.router,l=i.history,u=i.route,c=i.staticContext,s={match:e,location:this.props.location||u.location,history:l,staticContext:c};return r?e?o.a.createElement(r,s):null:a?e?a(s):null:"function"==typeof n?n(s):n&&!ee(n)?o.a.Children.only(n):null},t}(o.a.Component);te.propTypes={computedMatch:s.a.object,path:s.a.string,exact:s.a.bool,strict:s.a.bool,sensitive:s.a.bool,component:s.a.func,render:s.a.func,children:s.a.oneOfType([s.a.func,s.a.node]),location:s.a.object},te.contextTypes={router:s.a.shape({history:s.a.object.isRequired,route:s.a.object.isRequired,staticContext:s.a.object})},te.childContextTypes={router:s.a.object.isRequired};var ne=te,re=ne,oe=n(193),ae=n.n(oe),ie=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};var le=function(e){var t=function(t){var n=t.wrappedComponentRef,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["wrappedComponentRef"]);return o.a.createElement(ne,{children:function(t){return o.a.createElement(e,ie({},r,t,{ref:n}))}})};return t.displayName="withRouter("+(e.displayName||e.name)+")",t.WrappedComponent=e,t.propTypes={wrappedComponentRef:s.a.func},ae()(t,e)},ue=n(94),ce=n.n(ue),se=n(59),fe=n.n(se),pe=n(28),de=n.n(pe);function he(e){return(he="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function me(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ve(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ye(e){return(ye=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ge(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function be(e,t){return(be=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function we(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xe=function(e){function t(e){var n,r,o;return me(this,t),r=this,o=ye(t).call(this,e),n=!o||"object"!==he(o)&&"function"!=typeof o?ge(r):o,we(ge(n),"closeModal",function(){n.setState({modalOpen:!1}),fe()("body").removeClass("envato-elements--modal-open")}),we(ge(n),"openModal",function(e){n.setState({modalOpen:!0,modalData:e}),fe()("body").addClass("envato-elements--modal-open")}),n.state={showDebugDetails:!1,modalOpen:!1,modalData:{}},n}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&be(e,t)}(t,r["Component"]),n=t,(a=[{key:"componentDidMount",value:function(){}},{key:"componentDidUpdate",value:function(e,t,n){var r=this.state,o=r.modalData;r.modalOpen&&"string"!=typeof o.message&&this.modalBody&&this.modalBody.appendChild(o.message)}},{key:"render",value:function(){var e=this,t=this.state,n=t.modalData,r=t.modalOpen,a=t.showDebugDetails;return o.a.createElement("div",{"data-elements-modal":"yes",className:"".concat(de.a.wrap," ").concat(r?de.a.open:de.a.closed)},r?o.a.createElement("div",{className:de.a.inner},o.a.createElement("div",{className:de.a.content},o.a.createElement("div",{className:de.a.headerRow},o.a.createElement("h3",{className:de.a.title},n.title),o.a.createElement("button",{className:de.a.closeButton,onClick:this.closeModal},"Close")),o.a.createElement("div",{className:de.a.body,ref:function(t){return e.modalBody=t}},"object"!==he(n.message)?n.message:""),"function"==typeof n.tryAgain||void 0!==n.debug?o.a.createElement("div",{className:de.a.debugActions},"function"==typeof n.tryAgain?o.a.createElement("button",{className:de.a.buttonRetry,onClick:function(){e.closeModal(),n.tryAgain()}},"Try Again"):null,o.a.createElement("button",{className:de.a.buttonRefresh,onClick:function(e){return e.preventDefault(),window.location.reload(),!1}},"Refresh Page"),void 0!==n.debug?o.a.createElement("button",{className:de.a.buttonDebug,onClick:function(){e.setState({showDebugDetails:!a})}},a?"Hide":"Show"," Debug Details"):null):null,a&&void 0!==n.debug?o.a.createElement("div",{className:de.a.debug},o.a.createElement("textarea",{className:de.a.debugText,onClick:function(e){e.target.focus(),e.target.select()},defaultValue:n.debug&&n.debug.debug?n.debug.debug:"object"===he(n.debug)?JSON.stringify(n.debug):n.debug})):"",o.a.createElement("div",{className:de.a.footer},n.reactivate?o.a.createElement("span",null,"[put a link to reactivate plugin here]"):""))):"")}}])&&ve(n.prototype,a),i&&ve(n,i),t}(),Ee=new function e(){var t=this;me(this,e),we(this,"init",function(){t.$modalDom=document.createElement("div"),document.body.appendChild(t.$modalDom),i.a.render(o.a.createElement(xe,{ref:function(e){t.modalComponent=e}}),t.$modalDom)}),we(this,"closeModal",function(){t.modalComponent.closeModal()}),we(this,"openModal",function(e){t.modalComponent.openModal(e)}),this.$modalDom=null};function Se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ke=new function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Se(this,"pageLoaded",function(){}),Se(this,"displayError",function(e,t,n,r,o){!1!==r&&(r=!0),Ee.closeModal(),Ee.openModal({title:e,message:t,debug:n,tryAgain:o,reactivate:r})})};var Te=new function e(){var t,n,r,o=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),r=function(e,t,n){var r=n.abortExisting,a=n.cacheResults,i=n.ignoreErrors,l=n.retryCallback;return new Promise(function(n,u){t||(t={}),t._wpnonce=_e.get("api_nonce"),r&&o.xhr&&o.xhr.abort();var c=e+JSON.stringify(t);a&&void 0!==o.localCache[c]&&n(o.localCache[c]),o.xhr=fe.a.ajax({url:_e.get("api_url")+e,method:"POST",dataType:"json",data:t}).done(function(e){if(e&&void 0!==e.status&&!e.status){if(e.error=!0,!0!==i&&void 0!==e.error_code){var t="Unknown error";switch(e.error_code){case"token_extension_mismatch":t="Please generate a new token, this one has already been used elsewhere.";break;case"invalid_token":t="Sorry that is not a valid Envato Elements token";break;case"token_expired":t="Sorry the token has expired, please generate a new one.";break;case"download_forbidden":t="Sorry downloading this item is not allowed. Please confirm your Envato Elements Subscription is up to date.";break;case"item_not_found":t="Sorry downloading this item is not allowed. The item may have been removed from Envato Elements.";break;default:switch(e.error_status){case"http_request_failed":t="Envato Elements API connection failed. ".concat(e.error_message);break;case 503:t="Envato Elements API is temporarily down for maintenance, please try again soon."}}ke.displayError("API Error",t,e,!1,l)}}else a&&(o.localCache[c]=e);n(e)}).fail(function(e,t,n){if(e&&"abort"===e.statusText)u({aborted:!0});else{var r={};try{r=JSON.parse(e.responseText)}catch(e){}if(0===Object.keys(r).length&&(r={message:"Sorry something went wrong. ",debug:e.responseText}),!0!==i){var o=r&&r.message?r.message:"Unknown error",a="";a=e.responseText&&e.responseText.length>0?e.responseText:e.status>0?"Empty API response. Please contact hosting provider and ensure WordPress memory limit is set to 128M or above.":"Sorry we had trouble communicating with the API, please check your internet connection, refresh the page and try again. ",ke.displayError("Temporary API Error",o,a,!1,l)}u(r)}}).always(function(){o.xhr=null})})},(n="post")in(t=this)?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,this.xhr=null,this.localCache={}};function Oe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _e=new function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Oe(this,"set",function(e){t.config=Object.assign({},t.config,e)}),Oe(this,"persist",function(e,n){return new Promise(function(r,o){Te.post("options/set",{key:e,value:n},{abortExisting:!0,ignoreErrors:!0}).then(function(e){e?(void 0!==e.config&&t.set(e.config),r(e)):o()},function(e){o(e)}).finally(function(){})})}),Oe(this,"get",function(e){return void 0!==t.config[e]&&t.config[e]}),Oe(this,"state",function(e,n){return void 0!==n?(t.stateData[e]=n,n):void 0!==t.stateData[e]&&t.stateData[e]}),this.config={},this.stateData={}},Ce=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function Pe(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var Ne=function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)},je=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=Pe(this,e.call.apply(e,[this].concat(a))),r.handleClick=function(e){if(r.props.onClick&&r.props.onClick(e),!e.defaultPrevented&&0===e.button&&!r.props.target&&!Ne(e)){e.preventDefault();var t=r.context.router.history,n=r.props,o=n.replace,a=n.to;o?t.replace(a):t.push(a)}},Pe(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.render=function(){var e=this.props,t=(e.replace,e.to),n=e.innerRef,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["replace","to","innerRef"]);h()(this.context.router,"You should not use <Link> outside a <Router>"),h()(void 0!==t,'You must specify the "to" property');var a=this.context.router.history,i="string"==typeof t?_(t,null,null,a.location):t,l=a.createHref(i);return o.a.createElement("a",Ce({},r,{onClick:this.handleClick,href:l,ref:n}))},t}(o.a.Component);je.propTypes={onClick:s.a.func,target:s.a.string,replace:s.a.bool,to:s.a.oneOfType([s.a.string,s.a.object]).isRequired,innerRef:s.a.oneOfType([s.a.string,s.a.func])},je.defaultProps={replace:!1},je.contextTypes={router:s.a.shape({history:s.a.shape({push:s.a.func.isRequired,replace:s.a.func.isRequired,createHref:s.a.func.isRequired}).isRequired}).isRequired};var Ie=je;function Re(e){return(Re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ae(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Le(e,t){return!t||"object"!==Re(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Me(e){return(Me=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function De(e,t){return(De=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}(function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=Le(this,Me(t).call(this,e))).state={},n}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&De(e,t)}(t,r["Component"]),n=t,(a=[{key:"render",value:function(){return o.a.createElement("div",{className:"wrap"},o.a.createElement("h1",{style:{textAlign:"center",padding:"20px",color:"#CCC"}},"Plugin Home Page"),o.a.createElement("p",null,"Hey check out our cool ",o.a.createElement(Ie,{to:"/photos"},"Photos")," or ",o.a.createElement(Ie,{to:"/elementor"},"Page Template Kits")," "))}}])&&Ae(n.prototype,a),i&&Ae(n,i),t}()).propTypes={};var Fe=n(12),Ue=n.n(Fe),Be=n(10),We=n.n(Be);function qe(e){return(qe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ze(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function He(e){return(He=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ve(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qe(e,t){return(Qe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var $e=function(e){function t(e){var n,r,o,a,i,l;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=He(t).call(this,e),n=!o||"object"!==qe(o)&&"function"!=typeof o?Ve(r):o,a=Ve(n),l=function(){var e=n.state.unseenNotifications;e.length>0&&Te.post("notifications/read",{ids:e},{}).then(function(e){n.setState({unseenNotifications:[]})},function(e){})},(i="notificationViewed")in a?Object.defineProperty(a,i,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[i]=l,n.state={unseenNotifications:_e.get("unseen_notifications")},n}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qe(e,t)}(t,r["Component"]),n=t,(a=[{key:"render",value:function(){var e=this.props,t=e.navigation,n=e.getModalPos,r=e.location,a=e.normalNavigation,i=n.headerTop,l=n.left,u=n.right,c=this.state.unseenNotifications,s=_e.get("current_notifications");return o.a.createElement("div",{className:a?Ue.a.wrapperNormal:Ue.a.wrapperFixed,style:{top:i,left:l,right:u}},o.a.createElement("div",{className:Ue.a.logo},o.a.createElement(Ie,{to:"/",className:Ue.a.logoLink},"Envato Elements")),o.a.createElement("nav",{className:Ue.a.menu},o.a.createElement("ul",{className:Ue.a.menuInner},t.map(function(e){return o.a.createElement("li",{className:"".concat(Ue.a.menuItem," ").concat(e.sub_nav.length?Ue.a.menuItemHasChild:""),key:e.slug},o.a.createElement(Ie,{to:"/".concat(e.slug),className:"".concat(Ue.a.menuLink," ").concat(e.sub_nav.length>0?r.pathname.match(e.slug)?Ue.a.menuLinkActive:"":r.pathname==="/".concat(e.slug)?Ue.a.menuLinkActive:""," ").concat(e.new_flag?Ue.a.menuLinkNew:"")},e.nav_title),e.sub_nav.length?o.a.createElement("ul",{className:Ue.a.subNavWrap},e.sub_nav.map(function(e){return o.a.createElement("li",{className:Ue.a.subNavItem,key:e.slug},o.a.createElement(Ie,{to:"/".concat(e.slug),className:"".concat(Ue.a.menuLink," ").concat(r.pathname==="/".concat(e.slug)?Ue.a.menuLinkActive:"")},e.name))})):"")})),"elementor"===_e.get("modalMode")?o.a.createElement("ul",{className:"".concat(Ue.a.menuInner," ").concat(Ue.a.menuRight)},o.a.createElement("li",{className:Ue.a.menuItem},o.a.createElement("a",{href:"#",onClick:function(e){return e.preventDefault(),window.elementsModal.hide(),!1},className:Ue.a.menuLink},o.a.createElement("span",{className:"dashicons dashicons-no"})))):null,_e.get("minimalMenu")?"":o.a.createElement("ul",{className:"".concat(Ue.a.menuInner," ").concat(Ue.a.menuRight)},s.length>0?o.a.createElement("li",{className:"".concat(Ue.a.menuItem," ").concat(Ue.a.menuItemHasChild),onMouseOver:this.notificationViewed,onFocus:this.notificationViewed},o.a.createElement("span",{className:Ue.a.menuLink},"Updates"),c.length>0?o.a.createElement("span",{className:Ue.a.menuCountLabel},c.length):null,o.a.createElement("div",{className:"".concat(Ue.a.subNavWrap," ").concat(Ue.a.subNavWrapNotifications)},o.a.createElement("div",{className:Ue.a.dropDownInner},o.a.createElement("ul",{className:We.a.bullets},s.map(function(e){return o.a.createElement("li",{className:Ue.a.notification,key:e.id},o.a.createElement("div",{className:Ue.a.date},e.date),o.a.createElement("div",{className:Ue.a.title},e.title),o.a.createElement("div",{className:Ue.a.content,dangerouslySetInnerHTML:{__html:e.content}}))}))))):null,o.a.createElement("li",{className:Ue.a.menuItem},o.a.createElement(Ie,{to:"/settings",className:"".concat(Ue.a.menuLink," ").concat(r.pathname.match("settings")?Ue.a.menuLinkActive:"")},o.a.createElement("span",{className:"dashicons dashicons-admin-generic"}))))))}}])&&ze(n.prototype,a),i&&ze(n,i),t}();$e.propTypes={navigation:s.a.array};var Ye=n(188),Ge=n.n(Ye);function Ke(e){return(Ke="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Xe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Je(e,t){return!t||"object"!==Ke(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ze(e){return(Ze=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function et(e,t){return(et=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}(function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=Je(this,Ze(t).call(this,e))).state={},n}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&et(e,t)}(t,r["Component"]),n=t,(a=[{key:"render",value:function(){var e=this.props.title;return o.a.createElement("div",{className:Ge.a.wrap},o.a.createElement("h2",null,e))}}])&&Xe(n.prototype,a),i&&Xe(n,i),t}()).propTypes={};var tt=n(189),nt=n.n(tt),rt=n(138),ot=n.n(rt),at=n(44),it=n.n(at),lt=n(139),ut=n.n(lt),ct=function(){return o.a.createElement("div",{className:ut.a.wrap},o.a.createElement("span",{className:ut.a.inner,"aria-label":"Loading"}))};function st(e){return(st="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ft(){return(ft=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function pt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){yt(e,t,n[t])})}return e}function dt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ht(e){return(ht=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function mt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vt(e,t){return(vt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function yt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var gt=function(e){function t(e){var n,r,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=ht(t).call(this,e),n=!o||"object"!==st(o)&&"function"!=typeof o?mt(r):o,yt(mt(n),"searchChanges",function(e){n.updateURL(Object.assign({},n.state.searchQuery,e))}),yt(mt(n),"searchChange",function(e,t){var r=n.state.searchQuery;r[e]=t,n.updateURL(r)}),yt(mt(n),"layoutChange",function(e,t){n.setState(function(n){return{layoutOptions:pt({},n.layoutOptions,yt({},e,t))}}),n.searchChange(e,t)}),yt(mt(n),"updateURL",function(e){var t=ot.a.parse(window.location.search);Object.keys(t).forEach(function(e){return null==t[e]&&delete t[e]}),Object.keys(e).forEach(function(t){return null==e[t]&&delete e[t]}),JSON.stringify(t)!==JSON.stringify(e)&&n.props.history.push({search:"?".concat(Object.keys(e).map(function(t){if(e[t]&&"false"!==e[t])return"".concat(t,"=").concat(e[t])}).join("&"))})}),yt(mt(n),"searchRun",function(e){var t=n.state,r=t.searchCategory,o=t.searchQuery,a=t.apiData,i=t.openItem;if(void 0!==a.results&&!e)if(void 0!==o.photoId&&o.photoId){var l=!0,u=!1,c=void 0;try{for(var s,f=a.results[Symbol.iterator]();!(l=(s=f.next()).done);l=!0){var p=s.value;if(p.photoId===o.photoId)return void n.setState({openItem:{photoId:p.photoId}})}}catch(e){u=!0,c=e}finally{try{l||null==f.return||f.return()}finally{if(u)throw c}}}else if(void 0!==o.collectionId&&o.collectionId){var d=!0,h=!1,m=void 0;try{for(var v,y=a.results[Symbol.iterator]();!(d=(v=y.next()).done);d=!0){var g=v.value;if(g.collectionId===o.collectionId)return void n.setState({openItem:{collectionId:g.collectionId,templateId:o.templateId}})}}catch(e){h=!0,m=e}finally{try{d||null==y.return||y.return()}finally{if(h)throw m}}}else if(void 0!==o.blockGroup&&o.blockGroup){var b=!0,w=!1,x=void 0;try{for(var E,S=a.results[Symbol.iterator]();!(b=(E=S.next()).done);b=!0){var k=E.value;if(k.slug===o.blockGroup)return void n.setState({openItem:{blockGroup:k.slug}})}}catch(e){w=!0,x=e}finally{try{b||null==S.return||S.return()}finally{if(w)throw x}}}else if(i&&a.results.length>1)return void n.setState({openItem:null});n.setState({loading:!0}),Te.post("collections/".concat(r),{elementsSearch:pt({},o,{category:r,pg:parseInt(void 0!==o.pg?o.pg:1)})},{abortExisting:!0,cacheResults:!0,retryCallback:n.searchRun}).then(function(e){e&&e.data?(n.setState({openItem:!!e.openItem&&e.openItem,apiData:e.data,apiMeta:e.meta}),n.setState({firstLoad:!1,loading:!1})):ke.displayError("Search JSON Error",e&&void 0!==e.message?e.message:e&&void 0!==e.error?e.error:"Sorry something went wrong.",e,!1,n.searchRun)},function(e){e&&e.aborted||e&&void 0!==e.code&&"rest_cookie_invalid_nonce"===e.code&&(ke.displayError("API Token Expired","Refreshing please wait..."),setTimeout(function(){window.location.reload()},500))}).finally(function(){})}),yt(mt(n),"isApiRefreshNeeded",function(){return!0}),yt(mt(n),"updateSingleItem",function(e,t){var r=n.state.apiData;if(void 0!==r.results){var o=!1,a=Object.assign({},r);for(var i in a.results)if(void 0!==a.results[i].templates)for(var l in a.results[i].templates)a.results[i].templates[l]===e&&(a.results[i].templates[l]=Object.assign(a.results[i].templates[l],t),o=!0);else if(void 0!==a.results[i].blocks)for(var u in a.results[i].blocks)a.results[i].blocks[u]===e&&(a.results[i].blocks[u]=Object.assign(a.results[i].blocks[u],t),o=!0);else(void 0!==e.uuid&&e.uuid===a.results[i].uuid||a.results[i]===e)&&(a.results[i]=Object.assign(a.results[i],t),o=!0);o&&n.setState({apiData:a})}}),n.state={firstLoad:!0,loading:!0,openItem:{},apiData:{},apiMeta:{},searchQuery:{},searchCategory:e.category,layoutOptions:{display:"fluid"}},n}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vt(e,t)}(t,r["Component"]),n=t,i=[{key:"getDerivedStateFromProps",value:function(e,t){var n=ot.a.parse(e.location.search),r=Object.assign({},n);return{layoutOptions:{display:void 0!==n.display?n.display:"fluid"},searchQuery:r}}}],(a=[{key:"componentDidUpdate",value:function(e,t){var n=Object.assign({},t.searchQuery);delete n.display;var r=Object.assign({},this.state.searchQuery);if(delete r.display,JSON.stringify(n)!==JSON.stringify(r)){var o=!1;t.searchQuery.elementor!==this.state.searchQuery.elementor&&(o=!0),this.searchRun(o)}}},{key:"componentDidMount",value:function(){this.searchRun()}},{key:"render",value:function(){var e=this,t=this.props,n=t.SearchNode,r=t.ResultNode,a=t.resultsPreProcessor,i=t.resultsClassName,l=this.state,u=l.apiData,c=l.searchQuery,s=l.apiMeta,f=l.firstLoad,p=l.loading,d=l.layoutOptions,h=l.openItem;if(f)return o.a.createElement("div",{className:"".concat(it.a.wrap," ").concat(it.a.loading)},o.a.createElement(ct,null));var m=a?a(u.results):u.results;return o.a.createElement("div",{className:it.a.wrap},n?o.a.createElement(n,{apiMeta:s,searchQuery:c,searchChanges:this.searchChanges,layoutChange:this.layoutChange,layoutOptions:d}):null,p?o.a.createElement(ct,null):o.a.createElement(o.a.Fragment,null,o.a.createElement("div",{className:"".concat(it.a.results," ").concat("square"===d.display?it.a.resultsSquare:""," ").concat(i||""),"data-cy":"results"},m.length>0?m.map(function(t){var n=!1;return h&&(void 0!==h.collectionId&&(n=h.collectionId===t.collectionId&&h),void 0!==h.photoId&&(n=h.photoId===t.photoId&&h),void 0!==h.blockGroup&&(n=h.blockGroup===t.slug&&h)),o.a.createElement(r,ft({key:t.uuid,updateSingleItem:e.updateSingleItem,result:t,searchQuery:c,openItem:n,searchChanges:e.searchChanges,layoutOptions:d},e.props))}):o.a.createElement("div",{className:it.a.noResults},"Sorry no results found.")),u.page_number&&u.total_results&&u.per_page&&u.total_results>u.per_page?o.a.createElement(nt.a,{previousLabel:"Previous",nextLabel:"Next",breakLabel:"...",breakClassName:"break-me",pageCount:u.total_results/u.per_page,marginPagesDisplayed:2,pageRangeDisplayed:5,forcePage:parseInt(u.page_number)-1,onPageChange:function(t){window.scrollTo(0,0),e.searchChange("pg",t.selected+1)},containerClassName:it.a.pagination,pageClassName:it.a.paginationItem,pageLinkClassName:it.a.paginationLink,activeClassName:it.a.paginationActive,disabledClassName:it.a.paginationDisabled}):null))}}])&&dt(n.prototype,a),i&&dt(n,i),t}();gt.propTypes={};var bt=n(113),wt=n.n(bt),xt=n(39),Et=n(33),St=n(49),kt=n.n(St);function Tt(e){return(Tt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ot(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _t(e){return(_t=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ct(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pt(e,t){return(Pt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Nt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var jt=function(e){function t(e){var n,r,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=_t(t).call(this,e),n=!o||"object"!==Tt(o)&&"function"!=typeof o?Ct(r):o,Nt(Ct(n),"tokenEntered",function(e){n.setState({tokenValue:e.target.value})}),Nt(Ct(n),"verifyToken",function(e){var t=n.props.successCallback;e.preventDefault(),n.setState({tokenVerification:"loading"});var r=n.state.tokenValue;_e.persist("elements_token",r).then(function(e){if(e&&1===e.status)n.setState({tokenVerification:"success"}),setTimeout(function(){Ee.closeModal(),t&&"function"==typeof t&&t()},800);else switch(e.error_code){case"token_extension_mismatch":n.setState({tokenVerification:"failed",tokenVerificationMessage:"Please generate a new token, this one has already been used elsewhere."});break;case"invalid_token":n.setState({tokenVerification:"failed",tokenVerificationMessage:"Sorry that is not a valid Envato Elements token."});break;case"no_paid_account":n.setState({tokenVerification:"failed",tokenVerificationMessage:"Verification Failed - you need a paid, Envato Elements subscription to continue."});break;default:n.setState({tokenVerification:"failed",tokenVerificationMessage:"Something went wrong. ".concat(void 0!==e.message?e.message:""," (").concat(e.error_code?e.error_code:JSON.stringify(e),")")})}},function(e){e&&e.aborted||n.setState({tokenVerification:"failed",tokenVerificationMessage:"Error with verification, please try again. ".concat(void 0!==e.message?e.message:"")})}).finally(function(){})}),Nt(Ct(n),"getLicense",function(e){if("paid"===_e.get("elements_status")){e.preventDefault();var t=n.props.successCallback;return n.setState({tokenVerification:"success"}),t&&"function"==typeof t&&t(),!1}return Ee.closeModal(),Ee.openModal({title:"Connect your Envato Elements Subscription",message:n.modalContent,reactivate:!1}),setTimeout(function(){n.input&&n.input.focus()},300),!0}),n.input=null,n.state={tokenVerification:"",tokenVerificationMessage:"Success",elementsStatus:_e.get("elements_status"),tokenValue:""},n}var n,r,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pt(e,t)}(t,o.a.PureComponent),n=t,(r=[{key:"render",value:function(){var e=this,t=this.props.label,n=this.state,r=n.tokenVerification,a=n.tokenVerificationMessage,i=n.tokenValue,l={success:o.a.createElement("div",{className:kt.a.tokenSuccess},o.a.createElement("h2",{className:kt.a.tokenSuccessTitle},"Success"),o.a.createElement("p",null,"Your subscription has been verified")),loading:o.a.createElement("div",{className:kt.a.tokenLoading},o.a.createElement(ct,null)),default:o.a.createElement("div",{className:kt.a.tokenInput},o.a.createElement("h2",{className:kt.a.title},"Verify your Envato Elements Subscription"),o.a.createElement("p",null,"Enter your token below to verify your Subscription"),"failed"===r?o.a.createElement("div",{className:kt.a.tokenError},a):"",o.a.createElement("form",{onSubmit:this.verifyToken,className:kt.a.tokenWrap},o.a.createElement("input",{"data-cy":"elements-token-input",ref:function(t){e.input=t},onChange:this.tokenEntered,value:i,className:We.a.textInput,style:{width:"70%"},spellCheck:"false",autoComplete:"false"}),o.a.createElement("button",{"data-cy":"elements-token-submit",onClick:this.verifyToken,className:"".concat(We.a.button," ").concat(36!==i.length?We.a.buttonSecondary:""),style:{width:"30%",marginLeft:"20px"}},"Verify Token")),o.a.createElement("p",{className:kt.a.generateTokenLink},o.a.createElement("a",{href:_e.get("elements_token_url"),target:"_blank",rel:"noopener noreferrer"},"Follow this link")," ","to generate a new Envato Elements Token."))};return o.a.createElement("div",{className:kt.a.wrap},o.a.createElement("a",{href:_e.get("elements_token_url"),"data-cy":"get-elements-token",target:"_blank",rel:"noopener noreferrer",onClick:this.getLicense,className:We.a.button},t||"Get Started"),o.a.createElement("div",{className:kt.a.modalContentInject,ref:function(t){return e.modalContent=t}},void 0!==l[r]?l[r]:l.default))}}])&&Ot(n.prototype,r),a&&Ot(n,a),t}();jt.propTypes={};var It=n(4),Rt=n.n(It),At=n(35),Lt=n.n(At);function Mt(e){return(Mt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Dt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ft(e){return(Ft=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ut(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bt(e,t){return(Bt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Wt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var qt=function(e){function t(e){var n,r,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=Ft(t).call(this,e),n=!o||"object"!==Mt(o)&&"function"!=typeof o?Ut(r):o,Wt(Ut(n),"doOpen",function(){alert("open item page")}),Wt(Ut(n),"doImport",function(){var e=n.props,t=e.updateSingleItem,r=e.importData,o=e.category,a=e.item;n.setState({importing:!0}),Te.post("import/".concat(o,"/process"),r,{retryCallbac:n.doImport}).then(function(e){e&&e.status&&(t&&e.updateData&&t(a,e.updateData),n.setState({imported:!0,justImported:!0}))},function(e){}).finally(function(){n.setState({importing:!1})})}),Wt(Ut(n),"createPage",function(){var e=n.state,t=e.importing,r=e.pageName;if(!t){var o=n.props,a=(o.updateSingleItem,o.importData),i=o.category;o.item;n.setState({importing:!0,pageCreated:!1}),Te.post("create/".concat(i,"/process"),Object.assign({},a,{pageName:r}),{retryCallbac:n.createPage}).then(function(e){e&&e.status&&n.setState({imported:!0,pageCreated:e,pageName:""})},function(e){}).finally(function(){n.setState({importing:!1})})}}),Wt(Ut(n),"pageNameChanged",function(e){n.setState({pageName:e.target.value})}),n.state={imported:void 0!==e.item.itemImported&&e.item.itemImported,importing:!1,justImported:!1,pageName:""},n}var n,r,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bt(e,t)}(t,o.a.PureComponent),n=t,(r=[{key:"render",value:function(){var e=this.props,t=e.label,n=e.labelImported,r=e.item,a=e.createPage,i=e.labelEnterPageName,l=this.state,u=l.importing,c=l.imported,s=l.pageCreated,f=l.justImported;return a?o.a.createElement("div",{className:Lt.a.createPageWrap},s?o.a.createElement("div",{className:Lt.a.createPageSuccess},"Congrats! This draft page was just created:"," ",o.a.createElement("a",{href:s.page_url,"data-cy":"importer-created-page",target:"_blank"},s.page_name)):null,o.a.createElement("form",{onSubmit:this.createPage,className:Lt.a.createPageForm},o.a.createElement("input",{onChange:this.pageNameChanged,value:this.state.pageName,className:We.a.textInput,disabled:u,placeholder:i||"Enter Page Name","data-cy":"importer-create-page-name"}),o.a.createElement("button",{"data-cy":"importer-create-button",onClick:this.createPage,className:"".concat(We.a.button," ").concat(We.a.buttonSecondary," ").concat(Lt.a.createButton," ").concat(Lt.a.animatedButton," ").concat(Lt.a.animatedButtonSecondary," ").concat(u?Lt.a.importing:""),disabled:u},u?"Creating...":t||"Create New Page",o.a.createElement("span",null)))):o.a.createElement("div",{className:Lt.a.wrap},f?o.a.createElement("div",{className:Lt.a.createPageSuccess},"Congrats! This was just imported to the WordPress library."):null,c?o.a.createElement("a",{href:r.itemImportedUrl,className:We.a.button},n||"Open Item"):o.a.createElement("button",{type:"button",onClick:this.doImport,disabled:u,className:"".concat(We.a.button," ").concat(Lt.a.animatedButton," ").concat(u?Lt.a.importing:""),"data-cy":"importer-button"},u?"Importing...":t||"Import",o.a.createElement("span",null)))}}])&&Dt(n.prototype,r),a&&Dt(n,a),t}();qt.propTypes={};var zt=n(3),Ht=n.n(zt);function Vt(e){return(Vt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Qt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function $t(e,t){return!t||"object"!==Vt(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Yt(e){return(Yt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Gt(e,t){return(Gt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Kt=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),$t(this,Yt(t).apply(this,arguments))}var n,r,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gt(e,t)}(t,o.a.PureComponent),n=t,(r=[{key:"render",value:function(){var e=this.props,t=e.searchQuery,n=e.searchFilterChange;return o.a.createElement("div",{className:Ht.a.searchBasicFilters},o.a.createElement("div",{className:Ht.a.filter},o.a.createElement("div",{className:Ht.a.filterLabel},"Filter",o.a.createElement("div",{className:Ht.a.filterAttributes},o.a.createElement("div",{className:Ht.a.filterAttribute},o.a.createElement("label",{htmlFor:"filterElementorPro"},o.a.createElement("input",{type:"checkbox",className:Ht.a.filterAttributeCheckbox,name:"elementor",value:"pro",checked:t.elementor&&"pro"===t.elementor||!t.elementor,id:"filterElementorPro",onChange:function(e){n("elementor",e.target.checked?"pro":"free",!0)}}),"Show Elementor Pro Templates"))))))}}])&&Qt(n.prototype,r),a&&Qt(n,a),t}();function Xt(e){return(Xt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Jt(){return(Jt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Zt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function en(e){return(en=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function tn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nn(e,t){return(nn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var rn=Object(xt.trackWindowScroll)(function(e){var t=e.summary,n=e.fromSearch,r=e.result,a=e.template,i=e.scrollPosition,l=(e.layoutOptions,e.openItem),u=e.getModalPos,c=e.updateSingleItem,s=e.searchChanges,f=e.ignorePluginWarnings,p=e.setIgnorePluginWarnings,d=null,h=!!a.templateFeatures["elementor-pro"];return o.a.createElement(xt.LazyLoadComponent,{scrollPosition:i,placeholder:o.a.createElement("div",{className:Rt.a.squareWrapLoading})},o.a.createElement("div",{className:"".concat(Rt.a.squareWrap," ").concat(a.itemImported?Rt.a.imported:""," ").concat(a.templateInserted&&a.templateInserted.length>0?Rt.a.imported:""," ").concat(t?Rt.a.squareSummary:"")},l&&l.templateId===a.templateId?o.a.createElement("div",{className:Rt.a.itemOpen,style:u},o.a.createElement("div",{className:Rt.a.itemOpenTitle},o.a.createElement(Ie,{to:"/".concat(r.categorySlug,"?collectionId=").concat(r.collectionId),className:Rt.a.returnToIndex,onClick:function(e){return e.preventDefault(),window.history.back(),!1}},n?"Back to Elementor Templates":"Back to Template Kit")),o.a.createElement("div",{className:Rt.a.itemOpenContent},o.a.createElement("div",{className:Rt.a.itemOpenContentWelcome},o.a.createElement("h3",{className:Rt.a.itemOpenContentTitle},r.collectionName," - ",a.templateName)),o.a.createElement("div",{className:Rt.a.itemOpenItem},o.a.createElement("div",{className:Rt.a.imagePlaceHolder,style:{backgroundImage:"url( ".concat(a.previewThumb," )"),height:"".concat(a.largeThumb.height,"px"),maxWidth:"".concat(a.largeThumb.width,"px")},ref:function(e){return d=e}},o.a.createElement("div",{className:Rt.a.features},a.itemImported?o.a.createElement("span",{className:Rt.a.featureImported},"Imported"):a.templateInserted&&a.templateInserted.length>0?o.a.createElement("span",{className:Rt.a.featureImported},"Imported"):"",a.templateFeatures?Object.entries(a.templateFeatures).map(function(e){return o.a.createElement("span",{key:e[0],className:Rt.a.featureOther},e[1].small)}):""),o.a.createElement("img",{src:a.largeThumb.src,width:a.largeThumb.width,height:a.largeThumb.height,alt:a.templateName,className:Rt.a.itemOpenItemSrc,onLoad:function(){d.className="".concat(d.className," ").concat(Rt.a.imagePlaceHolderLoaded)}}))),o.a.createElement("div",{className:Rt.a.itemOpenOptions},o.a.createElement("div",{className:Rt.a.openFeatures},o.a.createElement("ul",{className:We.a.bullets},o.a.createElement("li",null,o.a.createElement("strong",null,"Plugin Requirements:"),o.a.createElement("br",null),h?"Template designed for Elementor Pro.":"Works fine with Elementor Free."),o.a.createElement("li",null,o.a.createElement("strong",null,"Commercial License:"),o.a.createElement("br",null),o.a.createElement("a",{href:"https://elements.envato.com/user-terms",target:"_blank",rel:"noopener noreferrer"},"This template is free to use.")))),!f&&a.templateError?o.a.createElement(o.a.Fragment,null,o.a.createElement("h3",{className:Rt.a.itemOpenOptionsTitle},"Required Plugins Missing"),a.templateMissingPlugins.map(function(e){return"elementor-pro"===e.slug?o.a.createElement("div",{className:Rt.a.itemOpenItemDescription,key:e.slug},o.a.createElement("div",{className:Rt.a.requiredPluginElementorPro}),o.a.createElement("p",null,"This Template requires Elementor Pro",e.min_version?" version ".concat(e.min_version," or above"):"",". Before you can import the template you'll need to buy, install and activate",o.a.createElement("strong",null," Elementor Pro"),"."),o.a.createElement("a",{href:e.url,className:We.a.button,target:"_blank"},e.text),o.a.createElement("a",{href:"#",className:Rt.a.importAnyway,onClick:function(e){return e.preventDefault(),p(),!1}},"Ignore warning and import anyway")):o.a.createElement("div",{className:Rt.a.itemOpenItemDescription,key:e.slug},o.a.createElement("p",null,"To use this template please ensure all required plugins are installed and active."),o.a.createElement("a",{href:e.url,className:We.a.button,target:"_blank"},e.text))})):o.a.createElement(o.a.Fragment,null,o.a.createElement("div",{className:Rt.a.itemOpenOptionsBlock},o.a.createElement("h3",{className:Rt.a.itemOpenOptionsTitle},"Import Template"),o.a.createElement("div",{className:Rt.a.itemOpenItemDescription},"Import this template to make it available in your Elementor Saved Templates list for future use."),o.a.createElement(qt,{updateSingleItem:c,category:"elementor",item:a,importData:{collectionId:r.collectionId,templateId:a.templateId,importType:"library"},label:"Import Template",labelImported:"Open Template in Library"})),o.a.createElement("div",{className:Rt.a.itemOpenOptionsBlock},o.a.createElement("h3",{className:Rt.a.itemOpenOptionsTitle},"Create Page from Template"),o.a.createElement("div",{className:Rt.a.itemOpenItemDescription},"Create a new page from this template to make it available as a draft page in your Pages list."),o.a.createElement(qt,{updateSingleItem:c,category:"elementor",item:a,createPage:!0,importData:{collectionId:r.collectionId,templateId:a.templateId,importType:"create-page"},label:"Create Page"})),h?o.a.createElement("div",{className:Rt.a.itemOpenOptionsBlock},o.a.createElement("h3",{className:Rt.a.itemOpenOptionsTitle},"Elementor Pro"),o.a.createElement("p",null,"This template includes features from"),o.a.createElement("div",{className:Rt.a.requiredPluginElementorPro})):null)))):"",o.a.createElement("div",{className:Rt.a.inner},o.a.createElement("div",{className:Rt.a.background,style:{backgroundImage:"url( ".concat(a.previewThumb," )")}}),t?o.a.createElement("div",{className:Rt.a.features},r.features?Object.entries(r.features).map(function(e){return o.a.createElement("span",{key:e[0],className:"".concat(Rt.a.featureOther," ").concat(Rt.a["featureOther".concat(e[0])])},e[1])}):""):o.a.createElement("div",{className:Rt.a.features},a.itemImported?o.a.createElement("span",{className:Rt.a.featureImported},"Imported"):a.templateInserted&&a.templateInserted.length>0?o.a.createElement("span",{className:Rt.a.featureImported},"Imported"):"",a.templateFeatures?Object.entries(a.templateFeatures).map(function(e){return o.a.createElement("span",{key:e[0],className:Rt.a.featureOther},e[1].small)}):""),o.a.createElement(Ie,{to:"/".concat(r.categorySlug,"?collectionId=").concat(r.collectionId).concat(t?"":"&templateId=".concat(a.templateId)),onClick:function(e){return e.preventDefault(),s({collectionId:r.collectionId,templateId:t?null:a.templateId}),!1},className:Rt.a.thumb}," ")),o.a.createElement("div",{className:Rt.a.details},t?o.a.createElement("div",{className:Rt.a.detailsItemName},o.a.createElement("h3",{className:Rt.a.detailsItemNameTitle},r.collectionName),r.templates.length," Page Templates in this Kits"):n?o.a.createElement("div",{className:Rt.a.detailsItemName},o.a.createElement("h3",{className:Rt.a.detailsItemNameTitle},r.collectionName),a.templateName):o.a.createElement("div",{className:Rt.a.detailsItemName},o.a.createElement("h3",{className:Rt.a.detailsItemNameTitle},a.templateName)))))}),on=function(e){function t(e){var n,r,o,a,i,l;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=en(t).call(this,e),n=!o||"object"!==Xt(o)&&"function"!=typeof o?tn(r):o,a=tn(n),l=function(){n.setState({ignorePluginWarnings:!0})},(i="setIgnorePluginWarnings")in a?Object.defineProperty(a,i,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[i]=l,n.groupRef=null,n.state={hasIndexLoaded:!0,isOpen:!1,ignorePluginWarnings:!1},n}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nn(e,t)}(t,r["Component"]),n=t,(a=[{key:"componentDidMount",value:function(){this.props.openItem,this.state.isOpen}},{key:"shouldComponentUpdate",value:function(e,t){return this.props.getModalPos!==e.getModalPos||(this.state.ignorePluginWarnings!==t.ignorePluginWarnings||(JSON.stringify(this.props.result.templates)!==JSON.stringify(e.result.templates)||this.props.openItem!==e.openItem))}},{key:"componentDidUpdate",value:function(e,t){var n=this.props.openItem,r=this.state.isOpen;n&&!r?(this.setState({isOpen:!0}),Object(Et.disableBodyScroll)(this.groupRef)):e.openItem&&!n&&(this.setState({isOpen:!1}),setTimeout(function(){Object(Et.clearAllBodyScrollLocks)()},100))}},{key:"componentWillUnmount",value:function(){Object(Et.clearAllBodyScrollLocks)()}},{key:"render",value:function(){var e=this,t=this.props,n=t.result,r=t.openItem,a=t.getModalPos,i=t.searchQuery,l=t.searchChanges,u=this.state.ignorePluginWarnings;return i.text&&i.text.length>0?o.a.createElement(o.a.Fragment,null,n.templates.map(function(t){return o.a.createElement(rn,Jt({key:t.templateId,fromSearch:!0,template:t},e.props))})):r&&r.collectionId?o.a.createElement("div",{className:Rt.a.open,style:a,ref:function(t){return e.groupRef=t}},o.a.createElement("div",{className:Rt.a.openTitle},o.a.createElement(Ie,{className:Rt.a.returnToIndex,to:"/".concat(n.categorySlug),onClick:function(e){return e.preventDefault(),i.collectionId=null,l(i),!1}},"Back to Elementor Templates")),o.a.createElement("div",{className:Rt.a.openContent},o.a.createElement("div",{className:Rt.a.openContentWelcome},o.a.createElement("h3",{className:Rt.a.openContentTitle},n.collectionName),n.templates.length," Page Templates in this Kits"),o.a.createElement("div",{className:Rt.a.openContentFilter},o.a.createElement(Kt,{searchFilterChange:function(e,t,n){i[e]=n?t:null,l(i)},searchQuery:i})),o.a.createElement("div",{className:Rt.a.openContentResults},n.templates.map(function(t){return o.a.createElement(rn,Jt({key:t.templateId,template:t,ignorePluginWarnings:u,setIgnorePluginWarnings:e.setIgnorePluginWarnings},e.props))})))):o.a.createElement(rn,Jt({key:n.collectionId,summary:!0,template:n.templates[0]},this.props))}}])&&Zt(n.prototype,a),i&&Zt(n,i),t}();function an(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function ln(e){return(ln="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function un(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function cn(e){return(cn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function sn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fn(e,t){return(fn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function pn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}on.propTypes={};var dn=function(e){function t(e){var n,r,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=cn(t).call(this,e),n=!o||"object"!==ln(o)&&"function"!=typeof o?sn(r):o,pn(sn(n),"doTextSearch",function(e,t){var r=n.props,o=r.searchQuery,a=r.searchChanges,i=n.state.textValue,l=Object.assign({},o);return l.text=void 0!==t?t:i,l.tag=null,l.pg=null,a(l),e&&e.preventDefault(),n.setState({activeSearch:!1}),!1}),pn(sn(n),"searchFilterChange",function(e,t,r,o){var a=n.props,i=a.searchQuery,l=a.searchChanges;n.setState({showWelcomeMessage:!1});var u=Object.assign({},i);if(u[e]=r?t:null,o){var c=!0,s=!1,f=void 0;try{for(var p,d=o[Symbol.iterator]();!(c=(p=d.next()).done);c=!0){u[p.value]=null}}catch(e){s=!0,f=e}finally{try{c||null==d.return||d.return()}finally{if(s)throw f}}}n.setState({activeSearch:!1}),l(u)}),pn(sn(n),"autocomplete",function(e){n.setState({activeSearch:!0,textValue:e.target.value})}),n.state={activeSearch:!1,textValue:void 0!==e.searchQuery.text?e.searchQuery.text:""},n}var n,r,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fn(e,t)}(t,o.a.PureComponent),n=t,(r=[{key:"componentDidUpdate",value:function(e,t){this.props.searchQuery}},{key:"render",value:function(){var e=this,t=this.props,n=t.apiMeta,r=(t.layoutOptions,t.layoutChange,t.searchQuery),a=this.state,i=a.textValue,l=a.activeSearch;return o.a.createElement("div",{className:Ht.a.outer},o.a.createElement("div",{className:Ht.a.wrapNoBg},o.a.createElement("form",{onSubmit:this.doTextSearch,className:Ht.a.searchForm},o.a.createElement("div",{className:Ht.a.searchText},o.a.createElement("input",{type:"text",placeholder:"Search...",value:i,onChange:this.autocomplete,className:"".concat(We.a.textInput," ").concat(We.a.textInputLarge),style:{width:"100%"}}),o.a.createElement("input",{type:"submit",name:"go",value:"Search",className:Ht.a.searchTextSubmit}),i.length>0?o.a.createElement("button",{type:"button",name:"reset",className:Ht.a.searchTextReset,onClick:function(){e.setState({activeSearch:!1,textValue:""}),e.doTextSearch(!1,"")}},"Clear Search"):null,l?o.a.createElement(hn,{searchText:i,apiMeta:n,setValue:function(t){e.setState({activeSearch:!1,textValue:t}),e.doTextSearch(!1,t)}}):null),o.a.createElement(Kt,{searchFilterChange:this.searchFilterChange,searchQuery:r}))),o.a.createElement("div",{className:Ht.a.pageTitle},o.a.createElement("h1",{className:Ht.a.pageTitleHeading},"Free Template Kits for Elementor"),n.item_count?o.a.createElement("div",{className:Ht.a.pageTitleCount},n.item_count.is_filtered_count?"".concat(n.item_count.templates," individual Page Templates."):"".concat(n.item_count.collections," Free Template Kits, over ").concat(n.item_count.templates," individual Page Templates.")):""))}}])&&un(n.prototype,r),a&&un(n,a),t}();dn.propTypes={};var hn=function(e){var t=e.searchText,n=e.apiMeta,r=e.setValue;if(t.length>0&&n&&n.filters&&n.filters.industry){var a=new RegExp(t,"gi"),i=Object.entries(n.filters.industry).reduce(function(e,t){return t[1].name.match(a)?[].concat(an(e),[{key:t[0],name:t[1].name,count:t[1].count}]):e},[]);return i.length>0?o.a.createElement("div",{className:Ht.a.autoComplete},i.map(function(e){return o.a.createElement("div",{className:Ht.a.autoCompleteEntry,key:e.key},o.a.createElement("button",{className:Ht.a.autoCompleteButton,onClick:function(){r(e.name)}},e.name," (",e.count,")"))})):null}return null};function mn(e){return(mn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function vn(){return(vn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function yn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function gn(e,t){return!t||"object"!==mn(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function bn(e){return(bn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function wn(e,t){return(wn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var xn=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=gn(this,bn(t).call(this,e))).state={category:"elementor",search:{}},n}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wn(e,t)}(t,r["Component"]),n=t,(a=[{key:"render",value:function(){this.props.categories;var e=this.state,t=e.category,n=e.search;return o.a.createElement("div",{className:wt.a.wrap},o.a.createElement(gt,vn({ResultNode:on,SearchNode:dn,contentTypeName:"Template Kit",category:t,search:n},this.props)))}}])&&yn(n.prototype,a),i&&yn(n,i),t}();xn.propTypes={};var En=n(190),Sn=n.n(En),kn=n(191),Tn=n.n(kn);function On(e){return(On="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Cn(e){return(Cn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Pn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nn(e,t){return(Nn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var jn=function(e){function t(e){var n,r,o,a,i,l;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=Cn(t).call(this,e),n=!o||"object"!==On(o)&&"function"!=typeof o?Pn(r):o,a=Pn(n),l=function(){var e=n.props,t=e.importData,r=e.photoUploadCompleteCallback,o=e.category,a=e.item;n.setState({inserting:!0}),Te.post("insert/".concat(o,"/process"),t,{retryCallbac:n.doImport}).then(function(e){if(r)r(a,e);else if("undefined"!=typeof elementor)for(var t=0;t<e.data.content.length;t++)elementor.getPreviewView().addChildElement(e.data.content[t]);window.elementsModal&&window.elementsModal.hide()},function(e){}).finally(function(){n.setState({inserting:!1})})},(i="doInsert")in a?Object.defineProperty(a,i,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[i]=l,n.state={inserting:!1},n}var n,r,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nn(e,t)}(t,o.a.PureComponent),n=t,(r=[{key:"render",value:function(){var e=this.props,t=e.label,n=(e.item,this.state.inserting);return o.a.createElement("div",{className:Tn.a.wrap},o.a.createElement("button",{type:"button",onClick:this.doInsert,disabled:n,className:"".concat(We.a.button," ").concat(Lt.a.animatedButton," ").concat(n?Lt.a.importing:"")},n?"Inserting...":t||"Insert",o.a.createElement("span",null)))}}])&&_n(n.prototype,r),a&&_n(n,a),t}();jn.propTypes={};var In=n(7),Rn=n.n(In);function An(e){return(An="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ln(){return(Ln=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Mn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Dn(e){return(Dn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Fn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Un(e,t){return(Un=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Bn=Object(xt.trackWindowScroll)(function(e){e.summary;var t=e.fromSearch,n=(e.result,e.template),r=e.scrollPosition,a=(e.layoutOptions,e.getModalPos,e.updateSingleItem),i=e.ignorePluginWarnings,l=e.setIgnorePluginWarnings,u=null,c=!!n.templateFeatures["elementor-pro"];return o.a.createElement(xt.LazyLoadComponent,{scrollPosition:r,placeholder:o.a.createElement("div",{className:Rn.a.blockWrapLoading})},o.a.createElement("div",{className:"".concat(Rn.a.blockWrap," ").concat(n.itemImported?Rn.a.imported:""," ").concat(n.templateInserted&&n.templateInserted.length>0?Rn.a.imported:""," ").concat(t?Rn.a.squareFromSearch:"")},o.a.createElement("div",{className:Rn.a.thumbnail},o.a.createElement("div",{className:Rn.a.imagePlaceHolder,style:{height:"".concat(n.largeThumb.height,"px"),maxWidth:"".concat(n.largeThumb.width,"px")},ref:function(e){return u=e}},o.a.createElement("img",{src:n.largeThumb.src,width:n.largeThumb.width,height:n.largeThumb.height,alt:n.templateName,className:Rn.a.itemOpenItemSrc,onLoad:function(){u.className="".concat(u.className," ").concat(Rn.a.imagePlaceHolderLoaded)}}))),o.a.createElement("div",{className:Rn.a.details},o.a.createElement("h3",{className:Rn.a.itemOpenItemName},n.templateName),o.a.createElement("div",{className:Rn.a.openFeatures},o.a.createElement("ul",{className:We.a.bullets},o.a.createElement("li",null,o.a.createElement("strong",null,"Plugin Requirements:"),o.a.createElement("br",null),"Works with Elementor Free"),o.a.createElement("li",null,o.a.createElement("strong",null,"Commercial License:"),o.a.createElement("br",null),o.a.createElement("a",{href:"https://elements.envato.com/user-terms",target:"_blank",rel:"noopener noreferrer"},"Free")))),!i&&n.templateError?o.a.createElement(o.a.Fragment,null,o.a.createElement("h3",{className:Rn.a.itemOpenOptionsTitle},"Required Plugins Missing"),n.templateMissingPlugins.map(function(e){return"elementor-pro"===e.slug?o.a.createElement("div",{className:Rn.a.itemOpenItemDescription,key:e.slug},o.a.createElement("div",{className:Rn.a.requiredPluginElementorPro}),o.a.createElement("p",null,"This Template requires Elementor Pro",e.min_version?" version ".concat(e.min_version," or above"):"",". Before you can import the template you'll need to buy, install and activate",o.a.createElement("strong",null," Elementor Pro"),"."),o.a.createElement("a",{href:e.url,className:We.a.button,target:"_blank"},e.text),o.a.createElement("a",{href:"#",className:Rn.a.importAnyway,onClick:function(e){return e.preventDefault(),l(),!1}},"Ignore warning and import anyway")):o.a.createElement("div",{className:Rn.a.itemOpenItemDescription,key:e.slug},o.a.createElement("p",null,"To use this template please ensure all required plugins are installed and active."),o.a.createElement("a",{href:e.url,className:We.a.button,target:"_blank"},e.text))})):o.a.createElement(o.a.Fragment,null,n.templateType.popup?o.a.createElement("div",{className:"envato-elements__collection-template-option--help-text"},o.a.createElement("div",{className:Rn.a.itemOpenItemDescription},"Create an Elementor Popup based on this block."),o.a.createElement(qt,{updateSingleItem:a,category:"elementor",item:n,importData:{collectionId:n.collectionId,templateId:n.templateId,importType:"library"},label:"Import Popup",labelImported:"Open Popup in Elementor Pro"})):o.a.createElement(o.a.Fragment,null,"elementor"===_e.get("modalMode")?o.a.createElement(o.a.Fragment,null,o.a.createElement("div",{className:Rn.a.itemOpenItemDescription},"Insert this Elementor Block onto the current page in a single click."),o.a.createElement(jn,{updateSingleItem:a,category:"elementor-blocks",item:n,importData:{collectionId:n.collectionId,templateId:n.templateId,importType:"library"},label:"Add Block to Page"})):o.a.createElement(o.a.Fragment,null,o.a.createElement("div",{className:Rn.a.itemOpenItemDescription},"Import this template to make it available in your Elementor Saved Templates list for future use."),o.a.createElement(qt,{updateSingleItem:a,category:"elementor-blocks",item:n,importData:{collectionId:n.collectionId,templateId:n.templateId,importType:"library"},labelImported:"Edit Template",label:"Import to Library"}))),c?o.a.createElement("div",{className:Rn.a.itemOpenItemDescription},o.a.createElement("p",null,"This template includes features from Elementor Pro."),o.a.createElement("div",{className:Rn.a.requiredPluginElementorPro})):null))))}),Wn=Object(xt.trackWindowScroll)(function(e){e.result;var t=e.template,n=e.scrollPosition,r=(e.layoutOptions,e.getModalPos,e.updateSingleItem,e.searchChanges);return o.a.createElement(xt.LazyLoadComponent,{scrollPosition:n,placeholder:o.a.createElement("div",{className:Rn.a.cardWrapLoading})},o.a.createElement("div",{className:"".concat(Rn.a.cardWrap," ").concat(t.itemImported?Rn.a.imported:""," ").concat(t.templateInserted&&t.templateInserted.length>0?Rn.a.imported:"")},o.a.createElement("div",{className:Rn.a.inner,style:{backgroundImage:"url( ".concat(t.largeThumb.src," )")}},o.a.createElement("div",{className:Rn.a.features},t.itemImported?o.a.createElement("span",{className:Rn.a.featureImported},"Imported"):t.templateInserted&&t.templateInserted.length>0?o.a.createElement("span",{className:Rn.a.featureImported},"Imported"):"",t.templateFeatures?Object.entries(t.templateFeatures).map(function(e){return o.a.createElement("span",{key:e[0],className:Rn.a.featureOther},e[1].small)}):""),o.a.createElement(Ie,{to:"/elementor-blocks?collectionId=".concat(t.collectionId,"&templateId=").concat(t.templateId),onClick:function(e){return e.preventDefault(),r({collectionId:t.collectionId,templateId:t.templateId}),!1},className:Rn.a.thumb}," ")),o.a.createElement("div",{className:Rn.a.detailsItemName},t.templateName)))}),qn=function(e){function t(e){var n,r,o,a,i,l;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=Dn(t).call(this,e),n=!o||"object"!==An(o)&&"function"!=typeof o?Fn(r):o,a=Fn(n),l=function(){n.setState({ignorePluginWarnings:!0})},(i="setIgnorePluginWarnings")in a?Object.defineProperty(a,i,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[i]=l,n.groupRef=null,n.state={hasIndexLoaded:!0,isOpen:!1,ignorePluginWarnings:!1},n}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Un(e,t)}(t,r["Component"]),n=t,(a=[{key:"componentDidMount",value:function(){this.props.openItem,this.state.isOpen}},{key:"shouldComponentUpdate",value:function(e,t){return this.props.getModalPos!==e.getModalPos||(this.state.ignorePluginWarnings!==t.ignorePluginWarnings||this.props.openItem!==e.openItem)}},{key:"componentDidUpdate",value:function(e,t){var n=this.props.openItem,r=this.state.isOpen;n&&!r?(this.setState({isOpen:!0}),Object(Et.disableBodyScroll)(this.groupRef)):e.openItem&&!n&&(this.setState({isOpen:!1}),Object(Et.clearAllBodyScrollLocks)())}},{key:"componentWillUnmount",value:function(){Object(Et.clearAllBodyScrollLocks)()}},{key:"render",value:function(){var e=this,t=this.props,n=t.result,r=t.openItem,a=t.getModalPos,i=t.searchQuery,l=t.searchChanges,u=this.state.ignorePluginWarnings;return i.text&&i.text.length>0?r&&r.collectionId===n.collectionId&&r.templateId===n.templateId?o.a.createElement("div",{className:Rn.a.open,style:a},o.a.createElement("div",{className:Rn.a.openTitle},o.a.createElement(Ie,{className:Rn.a.returnToIndex,to:"/elementor-blocks",onClick:function(e){return e.preventDefault(),window.history.back(),!1}},"Back to Elementor Blocks")),o.a.createElement("div",{className:Rn.a.openContent},o.a.createElement(Bn,Ln({key:"".concat(n.collectionId).concat(n.templateId),template:n,ignorePluginWarnings:u,setIgnorePluginWarnings:this.setIgnorePluginWarnings},this.props)))):o.a.createElement(Wn,Ln({key:"".concat(n.collectionId).concat(n.templateId),template:n},this.props)):r&&r.blockGroup?r.blockGroup===n.slug?o.a.createElement("div",{className:Rn.a.open,style:a},o.a.createElement("div",{className:Rn.a.openTitle},o.a.createElement(Ie,{className:Rn.a.returnToIndex,to:"/elementor-blocks",onClick:function(e){return e.preventDefault(),window.history.back(),!1}},"Back to all Block Kits")),o.a.createElement("div",{className:Rn.a.openContent},o.a.createElement("div",{className:Rn.a.openContentWelcome},o.a.createElement("h3",{className:Rn.a.openContentTitle},n.title," Blocks"),o.a.createElement("div",{className:Rn.a.openContentSubTitle},n.blocks.length," Block Templates in this category")),n.blocks.map(function(t){return o.a.createElement(Bn,Ln({key:"".concat(t.collectionId).concat(t.templateId),template:t,ignorePluginWarnings:u,setIgnorePluginWarnings:e.setIgnorePluginWarnings},e.props))}))):null:void 0!==n.blocks&&n.blocks.length>0?o.a.createElement("div",{className:Rn.a.blockCategory},o.a.createElement(Ie,{to:"/elementor-blocks?blockGroup=".concat(n.slug),className:Rn.a.blockCategoryLink,onClick:function(e){return e.preventDefault(),l({blockGroup:n.slug}),!1}},o.a.createElement("h3",{className:Rn.a.blockCategoryTitle},n.title),o.a.createElement("div",{className:Rn.a.blockCategoryCount},n.blocks.length," blocks"))):null}}])&&Mn(n.prototype,a),i&&Mn(n,i),t}();function zn(e){return(zn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Hn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Vn(e){return(Vn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Qn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $n(e,t){return($n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Yn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}qn.propTypes={};var Gn=function(e){function t(e){var n,r,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=Vn(t).call(this,e),n=!o||"object"!==zn(o)&&"function"!=typeof o?Qn(r):o,Yn(Qn(n),"doTextSearch",function(e,t){var r=n.props,o=r.searchQuery,a=r.searchChanges,i=n.state.textValue,l=Object.assign({},o);return l.text=void 0!==t?t:i,l.tag=null,l.pg=null,a(l),e&&e.preventDefault(),!1}),Yn(Qn(n),"searchFilterChange",function(e,t,r,o){var a=n.props,i=a.searchQuery,l=a.searchChanges;n.setState({showWelcomeMessage:!1});var u=Object.assign({},i);if(u[e]=r?t:null,o){var c=!0,s=!1,f=void 0;try{for(var p,d=o[Symbol.iterator]();!(c=(p=d.next()).done);c=!0){u[p.value]=null}}catch(e){s=!0,f=e}finally{try{c||null==d.return||d.return()}finally{if(s)throw f}}}l(u)}),Yn(Qn(n),"autocomplete",function(e){n.setState({textValue:e.target.value})}),n.state={textValue:void 0!==e.searchQuery.text?e.searchQuery.text:""},n}var n,r,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$n(e,t)}(t,o.a.PureComponent),n=t,(r=[{key:"componentDidUpdate",value:function(e,t){this.props.searchQuery}},{key:"render",value:function(){var e=this,t=this.props,n=t.apiMeta,r=(t.layoutOptions,t.layoutChange,t.searchQuery),a=this.state.textValue;return o.a.createElement("div",{className:Ht.a.outer},o.a.createElement("div",{className:Ht.a.wrapNoBg},o.a.createElement("form",{onSubmit:this.doTextSearch,className:Ht.a.searchForm},o.a.createElement("div",{className:Ht.a.searchText},o.a.createElement("input",{type:"text",placeholder:"Search...",value:a,onChange:this.autocomplete,className:"".concat(We.a.textInput," ").concat(We.a.textInputLarge),style:{width:"100%"}}),o.a.createElement("input",{type:"submit",name:"go",value:"Search",className:Ht.a.searchTextSubmit}),a.length>0?o.a.createElement("button",{type:"button",name:"reset",className:Ht.a.searchTextReset,onClick:function(){e.setState({textValue:""}),e.doTextSearch(!1,"")}},"Clear Search"):null),o.a.createElement(Kt,{searchFilterChange:this.searchFilterChange,searchQuery:r}))),o.a.createElement("div",{className:Ht.a.pageTitle},o.a.createElement("h1",{className:Ht.a.pageTitleHeading},"Free Block Kits for Elementor"),n.item_count?o.a.createElement("div",{className:Ht.a.pageTitleCount},n.item_count.is_filtered_count?"".concat(n.item_count.templates," individual Block Templates."):"Browse over ".concat(n.item_count.templates," free Block Templates.")):""))}}])&&Hn(n.prototype,r),a&&Hn(n,a),t}();function Kn(e){return(Kn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Xn(){return(Xn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Jn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Zn(e,t){return!t||"object"!==Kn(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function er(e){return(er=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function tr(e,t){return(tr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Gn.propTypes={};var nr=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=Zn(this,er(t).call(this,e))).state={category:"elementor-blocks",search:{}},n}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tr(e,t)}(t,r["Component"]),n=t,(a=[{key:"render",value:function(){this.props.categories;var e=this.state,t=e.category,n=e.search;return o.a.createElement("div",{className:Sn.a.wrap},o.a.createElement(gt,Xn({ResultNode:qn,SearchNode:Gn,contentTypeName:"Block",category:t,search:n},this.props)))}}])&&Jn(n.prototype,a),i&&Jn(n,i),t}();nr.propTypes={};var rr=n(8),or=n.n(rr);function ar(e){return(ar="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ir(){return(ir=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function lr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ur(e){return(ur=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function cr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sr(e,t){return(sr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var fr=Object(xt.trackWindowScroll)(function(e){var t=e.summary,n=e.fromSearch,r=e.result,a=e.template,i=e.scrollPosition,l=(e.layoutOptions,e.openItem),u=e.getModalPos,c=e.updateSingleItem,s=e.searchChanges,f=e.ignorePluginWarnings,p=(e.setIgnorePluginWarnings,null);return o.a.createElement(xt.LazyLoadComponent,{scrollPosition:i,placeholder:o.a.createElement("div",{className:or.a.squareWrapLoading})},o.a.createElement("div",{className:"".concat(or.a.squareWrap," ").concat(a.itemImported?or.a.imported:""," ").concat(a.templateInserted&&a.templateInserted.length>0?or.a.imported:""," ").concat(t?or.a.squareSummary:"")},l&&l.templateId===a.templateId?o.a.createElement("div",{className:or.a.itemOpen,style:u},o.a.createElement("div",{className:or.a.itemOpenTitle},o.a.createElement(Ie,{to:"/".concat(r.categorySlug,"?collectionId=").concat(r.collectionId),className:or.a.returnToIndex,onClick:function(e){return e.preventDefault(),window.history.back(),!1}},n?"Back to Beaver Builder Templates":"Back to Template Kit")),o.a.createElement("div",{className:or.a.itemOpenContent},o.a.createElement("div",{className:or.a.itemOpenContentWelcome},o.a.createElement("h3",{className:or.a.itemOpenContentTitle},r.collectionName," - ",a.templateName)),o.a.createElement("div",{className:or.a.itemOpenItem},o.a.createElement("div",{className:or.a.imagePlaceHolder,style:{backgroundImage:"url( ".concat(a.previewThumb," )"),height:"".concat(a.largeThumb.height,"px"),maxWidth:"".concat(a.largeThumb.width,"px")},ref:function(e){return p=e}},o.a.createElement("div",{className:or.a.features},a.itemImported?o.a.createElement("span",{className:or.a.featureImported},"Imported"):a.templateInserted&&a.templateInserted.length>0?o.a.createElement("span",{className:or.a.featureImported},"Imported"):"",a.templateFeatures?Object.entries(a.templateFeatures).map(function(e){return o.a.createElement("span",{key:e[0],className:or.a.featureOther},e[1].small)}):""),o.a.createElement("img",{src:a.largeThumb.src,width:a.largeThumb.width,height:a.largeThumb.height,alt:a.templateName,className:or.a.itemOpenItemSrc,onLoad:function(){p.className="".concat(p.className," ").concat(or.a.imagePlaceHolderLoaded)}}))),o.a.createElement("div",{className:or.a.itemOpenOptions},o.a.createElement("div",{className:or.a.openFeatures},o.a.createElement("ul",{className:We.a.bullets},o.a.createElement("li",null,o.a.createElement("strong",null,"Plugin Requirements:"),o.a.createElement("br",null),"Works fine with Beaver Builder Free"),o.a.createElement("li",null,o.a.createElement("strong",null,"Commercial License:"),o.a.createElement("br",null),o.a.createElement("a",{href:"https://elements.envato.com/user-terms",target:"_blank",rel:"noopener noreferrer"},"This template is free to use.")))),!f&&a.templateError?o.a.createElement(o.a.Fragment,null,o.a.createElement("h3",{className:or.a.itemOpenOptionsTitle},"Required Plugins Missing"),a.templateMissingPlugins.map(function(e){return o.a.createElement("div",{className:or.a.itemOpenItemDescription,key:e.slug},o.a.createElement("p",null,"To use this template please ensure all required plugins are installed and active."),o.a.createElement("a",{href:e.url,className:We.a.button,target:"_blank"},e.text))})):o.a.createElement(o.a.Fragment,null,o.a.createElement("div",{className:or.a.itemOpenOptionsBlock},o.a.createElement("h3",{className:or.a.itemOpenOptionsTitle},"Create Page from Template"),o.a.createElement("div",{className:or.a.itemOpenItemDescription},"Create a new page from this template to make it available as a draft page in your Pages list."),o.a.createElement(qt,{updateSingleItem:c,category:"beaver-builder",item:a,createPage:!0,importData:{collectionId:r.collectionId,templateId:a.templateId,importType:"create-page"},label:"Create Page"})))))):"",o.a.createElement("div",{className:or.a.inner,style:{backgroundImage:"url( ".concat(a.previewThumb," )")}},t?o.a.createElement("div",{className:or.a.features},r.features?Object.entries(r.features).map(function(e){return o.a.createElement("span",{key:e[0],className:"".concat(or.a.featureOther," ").concat(or.a["featureOther".concat(e[0])])},e[1])}):""):o.a.createElement("div",{className:or.a.features},a.itemImported?o.a.createElement("span",{className:or.a.featureImported},"Imported"):a.templateInserted&&a.templateInserted.length>0?o.a.createElement("span",{className:or.a.featureImported},"Imported"):"",a.templateFeatures?Object.entries(a.templateFeatures).map(function(e){return o.a.createElement("span",{key:e[0],className:or.a.featureOther},e[1].small)}):""),o.a.createElement(Ie,{to:"/".concat(r.categorySlug,"?collectionId=").concat(r.collectionId).concat(t?"":"&templateId=".concat(a.templateId)),onClick:function(e){return e.preventDefault(),s({collectionId:r.collectionId,templateId:t?null:a.templateId}),!1},className:or.a.thumb}," ")),o.a.createElement("div",{className:or.a.details},t?o.a.createElement("div",{className:or.a.detailsItemName},o.a.createElement("h3",{className:or.a.detailsItemNameTitle},r.collectionName),r.templates.length," Page Templates in this Kits"):n?o.a.createElement("div",{className:or.a.detailsItemName},o.a.createElement("h3",{className:or.a.detailsItemNameTitle},r.collectionName),a.templateName):o.a.createElement("div",{className:or.a.detailsItemName},o.a.createElement("h3",{className:or.a.detailsItemNameTitle},a.templateName)))))}),pr=function(e){function t(e){var n,r,o,a,i,l;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=ur(t).call(this,e),n=!o||"object"!==ar(o)&&"function"!=typeof o?cr(r):o,a=cr(n),l=function(){n.setState({ignorePluginWarnings:!0})},(i="setIgnorePluginWarnings")in a?Object.defineProperty(a,i,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[i]=l,n.groupRef=null,n.state={hasIndexLoaded:!0,isOpen:!1,ignorePluginWarnings:!1},n}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sr(e,t)}(t,r["Component"]),n=t,(a=[{key:"componentDidMount",value:function(){this.props.openItem,this.state.isOpen}},{key:"shouldComponentUpdate",value:function(e,t){return this.props.getModalPos!==e.getModalPos||(this.state.ignorePluginWarnings!==t.ignorePluginWarnings||(JSON.stringify(this.props.result.templates)!==JSON.stringify(e.result.templates)||this.props.openItem!==e.openItem))}},{key:"componentDidUpdate",value:function(e,t){var n=this.props.openItem,r=this.state.isOpen;n&&!r?(this.setState({isOpen:!0}),Object(Et.disableBodyScroll)(this.groupRef)):e.openItem&&!n&&(this.setState({isOpen:!1}),setTimeout(function(){Object(Et.clearAllBodyScrollLocks)()},100))}},{key:"componentWillUnmount",value:function(){Object(Et.clearAllBodyScrollLocks)()}},{key:"render",value:function(){var e=this,t=this.props,n=t.result,r=t.openItem,a=t.getModalPos,i=t.searchQuery,l=this.state.ignorePluginWarnings;return i.text&&i.text.length>0?o.a.createElement(o.a.Fragment,null,n.templates.map(function(t){return o.a.createElement(fr,ir({key:t.templateId,fromSearch:!0,template:t},e.props))})):r&&r.collectionId?o.a.createElement("div",{className:or.a.open,style:a,ref:function(t){return e.groupRef=t}},o.a.createElement("div",{className:or.a.openTitle},o.a.createElement(Ie,{className:or.a.returnToIndex,to:"/".concat(n.categorySlug),onClick:function(e){return e.preventDefault(),window.history.back(),!1}},"Back to Beaver Builder Templates")),o.a.createElement("div",{className:or.a.openContent},o.a.createElement("div",{className:or.a.openContentWelcome},o.a.createElement("h3",{className:or.a.openContentTitle},n.collectionName),n.templates.length," Page Templates in this Kits"),n.templates.map(function(t){return o.a.createElement(fr,ir({key:t.templateId,template:t,ignorePluginWarnings:l,setIgnorePluginWarnings:e.setIgnorePluginWarnings},e.props))}))):o.a.createElement(fr,ir({key:n.collectionId,summary:!0,template:n.templates[0]},this.props))}}])&&lr(n.prototype,a),i&&lr(n,i),t}();function dr(e){return(dr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function hr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function mr(e){return(mr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function vr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yr(e,t){return(yr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function gr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}pr.propTypes={};var br=function(e){function t(e){var n,r,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=mr(t).call(this,e),n=!o||"object"!==dr(o)&&"function"!=typeof o?vr(r):o,gr(vr(n),"doTextSearch",function(e,t){var r=n.props,o=r.searchQuery,a=r.searchChanges,i=n.state.textValue,l=Object.assign({},o);return l.text=void 0!==t?t:i,l.tag=null,l.pg=null,a(l),e&&e.preventDefault(),!1}),gr(vr(n),"autocomplete",function(e){n.setState({activeSearch:!0,textValue:e.target.value})}),n.state={activeSearch:!1,textValue:void 0!==e.searchQuery.text?e.searchQuery.text:""},n}var n,r,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yr(e,t)}(t,o.a.PureComponent),n=t,(r=[{key:"componentDidUpdate",value:function(e,t){this.props.searchQuery}},{key:"render",value:function(){var e=this,t=this.props,n=t.apiMeta,r=(t.layoutOptions,t.layoutChange,t.searchQuery,this.state),a=r.textValue;r.activeSearch;return o.a.createElement("div",{className:Ht.a.outer},o.a.createElement("div",{className:Ht.a.wrapNoBg},o.a.createElement("form",{onSubmit:this.doTextSearch},o.a.createElement("div",{className:Ht.a.searchText},o.a.createElement("input",{type:"text",placeholder:"Search...",value:a,onChange:this.autocomplete,className:"".concat(We.a.textInput," ").concat(We.a.textInputLarge),style:{width:"100%"}}),o.a.createElement("input",{type:"submit",name:"go",value:"Search",className:Ht.a.searchTextSubmit}),a.length>0?o.a.createElement("button",{type:"button",name:"reset",className:Ht.a.searchTextReset,onClick:function(){e.setState({activeSearch:!1,textValue:""}),e.doTextSearch(!1,"")}},"Clear Search"):null))),o.a.createElement("div",{className:Ht.a.pageTitle},o.a.createElement("h1",{className:Ht.a.pageTitleHeading},"Free Template Kits for Beaver Builder"),n.item_count?o.a.createElement("div",{className:Ht.a.pageTitleCount},n.item_count.collections," Free Template Kits, over ",n.item_count.templates," individual Page Templates."):""))}}])&&hr(n.prototype,r),a&&hr(n,a),t}();function wr(e){return(wr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function xr(){return(xr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Er(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Sr(e,t){return!t||"object"!==wr(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function kr(e){return(kr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Tr(e,t){return(Tr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}br.propTypes={};var Or=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=Sr(this,kr(t).call(this,e))).state={category:"beaver-builder",search:{}},n}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tr(e,t)}(t,r["Component"]),n=t,(a=[{key:"render",value:function(){this.props.categories;var e=this.state,t=e.category,n=e.search;return o.a.createElement("div",{className:wt.a.wrap},o.a.createElement(gt,xr({ResultNode:pr,SearchNode:br,contentTypeName:"Template Kit",category:t,search:n},this.props)))}}])&&Er(n.prototype,a),i&&Er(n,i),t}();Or.propTypes={};var _r=n(140),Cr=n.n(_r),Pr=n(19),Nr=n.n(Pr),jr=n(114),Ir=n.n(jr);function Rr(e){return(Rr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ar(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Lr(e){return(Lr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Mr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dr(e,t){return(Dr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Fr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ur=function(e){function t(e){var n,r,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=Lr(t).call(this,e),n=!o||"object"!==Rr(o)&&"function"!=typeof o?Mr(r):o,Fr(Mr(n),"updateProjectName",function(e){n.state.projectName!==n.txt.innerText&&(n.setState({projectName:n.txt.innerText}),n.iconRef&&(n.iconRef.className="dashicons dashicons-update"),n.txt.innerText.length>0&&_e.persist("elements_project",n.txt.innerText).then(function(){n.iconRef&&(n.iconRef.className="dashicons dashicons-yes")},function(){}))}),Fr(Mr(n),"editProjectName",function(){n.txt.focus(),document.execCommand("selectAll",!1,null)}),n.iconRef=null,n.txt=null,n.state={projectNameEdit:!1,projectName:_e.get("elements_project")},n}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dr(e,t)}(t,r["Component"]),n=t,(a=[{key:"shouldComponentUpdate",value:function(e,t,n){return!1}},{key:"render",value:function(){var e=this,t=this.state.projectName;return o.a.createElement("span",{className:Ir.a.wrap},o.a.createElement("span",{className:Ir.a.projectNameView,contentEditable:!0,onInput:this.updateProjectName,onBlur:this.updateProjectName,onKeyPress:function(e){if(13===(e.charCode||e.keyCode))return e.preventDefault(),!1},ref:function(t){e.txt=t},dangerouslySetInnerHTML:{__html:t}}),o.a.createElement("button",{type:"text",onClick:this.editProjectName,className:Ir.a.projectNameButton},o.a.createElement("span",{ref:function(t){e.iconRef=t},className:"dashicons dashicons-edit"})))}}])&&Ar(n.prototype,a),i&&Ar(n,i),t}();function Br(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Ur.propTypes={};new function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Br(this,"remember",function(){}),Br(this,"restore",function(){}),this.config={}};function Wr(e){return(Wr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function qr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function zr(e){return(zr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Hr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vr(e,t){return(Vr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Qr=function(e){function t(e){var n,r,o,a,i,l;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=zr(t).call(this,e),n=!o||"object"!==Wr(o)&&"function"!=typeof o?Hr(r):o,a=Hr(n),l=function(){n.forceUpdate()},(i="licenseChanged")in a?Object.defineProperty(a,i,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[i]=l,n.photoRef=null,n.state={isOpen:!1},n}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vr(e,t)}(t,r["Component"]),n=t,(a=[{key:"shouldComponentUpdate",value:function(e,t){return this.props.getModalPos!==e.getModalPos||(this.props.layoutOptions.display!==e.layoutOptions.display||(!(!e.result.itemImported||this.props.result.itemImported===e.result.itemImported)||this.props.openItem!==e.openItem))}},{key:"componentDidUpdate",value:function(e,t){var n=this.props.openItem,r=this.state.isOpen;n&&!r?(this.setState({isOpen:!0}),Object(Et.disableBodyScroll)(this.photoRef)):e.openItem&&!n&&(this.setState({isOpen:!1}),setTimeout(function(){Object(Et.clearAllBodyScrollLocks)()},100))}},{key:"componentWillUnmount",value:function(){Object(Et.clearAllBodyScrollLocks)()}},{key:"render",value:function(){var e=this,t=this.props,n=t.result,r=t.scrollPosition,a=t.openItem,i=t.getModalPos,l=t.searchChanges,u=t.layoutOptions,c=t.updateSingleItem,s=t.photoUploadCompleteCallback,f=_e.get("elements_status"),p={},d={backgroundImage:"url( ".concat(n.imageThumb.src," )")};return"square"===u.display||(p.width="".concat(n.calculatedMasonryWidth,"%"),d.paddingBottom="".concat(n.aspectRatioHeight,"%")),o.a.createElement("div",{className:"".concat("square"===u.display?Nr.a.wrapSquare:Nr.a.wrapFluid," ").concat(n.photoImported?Nr.a.imported:""),ref:function(t){return e.photoRef=t},style:p},a?o.a.createElement("div",{className:Nr.a.open,style:i},o.a.createElement("div",{className:Nr.a.openTitle},o.a.createElement(Ie,{className:Nr.a.returnToIndex,to:"/photos",onClick:function(e){return e.preventDefault(),window.history.back(),!1}},"Back to Photos")),o.a.createElement("div",{className:Nr.a.openContent},o.a.createElement("div",{className:Nr.a.openPhoto},o.a.createElement("div",{className:Nr.a.imagePlaceHolder,style:{backgroundImage:"url( ".concat(n.imageThumb.src," )"),maxWidth:n.imageLarge.width,height:n.imageLarge.height},ref:function(t){return e.imagePlaceHolder=t}},o.a.createElement("div",{className:Nr.a.features},n.itemImported?o.a.createElement("span",{className:Nr.a.featureImported},"Imported"):""),o.a.createElement("img",{src:n.imageLarge.src,width:n.imageLarge.width,height:n.imageLarge.height,alt:n.title,className:Nr.a.openPhotoSrc,onLoad:function(){e.imagePlaceHolder.className="".concat(e.imagePlaceHolder.className," ").concat(Nr.a.imagePlaceHolderLoaded)}}))),o.a.createElement("div",{className:Nr.a.openOptions},o.a.createElement("h3",{className:Nr.a.openPhotoName},n.title),o.a.createElement("div",{className:Nr.a.openAuthor},o.a.createElement("a",{href:"https://elements.envato.com/".concat(n.slug,"-").concat(n.photoId,"?utm_source=extensions&utm_medium=referral&utm_campaign=wordpress_photos_page"),className:Nr.a.outboundElementsLink,target:"_blank",rel:"noreferrer noopener"},"By ",n.contributor_username)),o.a.createElement("div",{className:Nr.a.openFeatures},o.a.createElement("ul",{className:We.a.bullets},o.a.createElement("li",null,o.a.createElement("strong",null,"Orientation"),o.a.createElement("br",null),n.item_attributes.orientation),n.displayWidth?o.a.createElement("li",null,o.a.createElement("strong",null,"Dimensions"),o.a.createElement("br",null),n.displayWidth,"px x ",n.displayHeight,"px"):"",o.a.createElement("li",null,o.a.createElement("strong",null,"Commercial License:"),o.a.createElement("br",null),o.a.createElement("a",{href:"https://elements.envato.com/license-terms",target:"_blank",rel:"noopener noreferrer"},"Further Information")))),o.a.createElement("div",{className:Nr.a.openDivider}),"paid"!==f?o.a.createElement("div",{className:Nr.a.needsLicense},o.a.createElement("p",null,"To download and use this photo, you need to become an Envato Elements subscriber."),o.a.createElement(jt,{successCallback:this.licenseChanged})):o.a.createElement("div",{className:Nr.a.readyToLicense},o.a.createElement("p",null,"I understand that this image will be licensed to the project named ",o.a.createElement(Ur,null)," and is subject to the standard ",o.a.createElement("br",null),o.a.createElement("a",{href:"https://elements.envato.com/license-terms?utm_source=extensions&utm_medium=referral&utm_campaign=wordpress_photos_license",rel:"noreferrer noopener",target:"_blank"},"Envato Elements License"),"."),_e.get("modalMode")?o.a.createElement(jn,{photoUploadCompleteCallback:s,updateSingleItem:c,item:n,modalMode:_e.get("modalMode"),category:"photos",importData:{itemId:n.uuid,importType:"library"},label:"License & Insert Photo on Page",labelImported:"Insert Photo on Page"}):o.a.createElement(qt,{updateSingleItem:c,item:n,category:"photos",importData:{itemId:n.uuid,importType:"library"},label:"License & Download into Media Library",labelImported:"View Image in Media Library"}))))):"",o.a.createElement(xt.LazyLoadComponent,{scrollPosition:r},o.a.createElement("div",{className:Nr.a.inner,style:d},o.a.createElement("div",{className:Nr.a.features},n.itemImported?o.a.createElement("span",{className:Nr.a.featureImported},"Imported"):""),o.a.createElement(Ie,{to:"/photos?photoId=".concat(n.humane_id),onClick:function(e){return e.preventDefault(),l({photoId:n.humane_id}),!1},className:Nr.a.link}," "),o.a.createElement("div",{className:Nr.a.details},o.a.createElement("div",{className:Nr.a.detailsItemName},n.title)))))}}])&&qr(n.prototype,a),i&&qr(n,i),t}(),$r=Object(xt.trackWindowScroll)(Qr);function Yr(e){return(Yr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Gr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Kr(e){return(Kr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Xr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jr(e,t){return(Jr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Zr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Qr.propTypes={};var eo=function(e){return o.a.createElement("svg",e,o.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 1h16c.55 0 1 .45 1 1v16c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1zm7.01 7.99v-6H3v6h6.01zm8 0v-6h-6v6h6zm-8 8.01v-6H3v6h6.01zm8 0v-6h-6v6h6z",fill:"#888"}))};eo.defaultProps={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var to=function(e){return o.a.createElement("svg",e,o.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 18V2c0-.55.45-1 1-1h16c.55 0 1 .45 1 1v16c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1zm10-7H3v6h8v-6zM6 3H3v6h3V3zm11 8h-4v6h4v-6zm0-8H8v6h9V3z",fill:"#888"}),o.a.createElement("mask",{id:"a",maskUnits:"userSpaceOnUse",x:"1",y:"1",width:"18",height:"18"},o.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 18V2c0-.55.45-1 1-1h16c.55 0 1 .45 1 1v16c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1zm10-7H3v6h8v-6zM6 3H3v6h3V3zm11 8h-4v6h4v-6zm0-8H8v6h9V3z",fill:"#fff"})),o.a.createElement("g",{mask:"url(#a)"},o.a.createElement("path",{fill:"#0878B0",d:"M-.242 20.816V-1.03h20.765v21.846z"})))};to.defaultProps={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var no=function(e){var t=e.label,n=e.name,r=e.attributes,a=e.searchFilterChange,i=e.values,l=e.columns,u=t;return Object.entries(r).filter(function(e){return e[1].label&&i[n]===e[0]&&(u=e[1].label),!1}),o.a.createElement("div",{className:Ht.a.filter},o.a.createElement("div",{className:Ht.a.filterLabel},u,o.a.createElement("div",{className:"".concat(Ht.a.filterAttributes," ").concat(2===l?Ht.a.filterAttributesWide:"")},Object.entries(r).map(function(e){return e[1].label&&e[1].label.length>0?o.a.createElement("div",{key:e[0],className:Ht.a.filterAttribute},o.a.createElement("label",{htmlFor:"filter".concat(n).concat(e[0])},o.a.createElement("input",{type:"checkbox",className:"".concat(Ht.a.filterAttributeCheckbox," ").concat(e[1].color?Ht.a.filterAttributeCheckboxColor:""," ").concat(e[1].color?Ht.a["filterAttributeCheckboxColor--".concat(e[1].color)]:""),name:e[0],value:1,checked:i[n]===e[0],id:"filter".concat(n).concat(e[0]),onChange:function(t){a(n,e[0],t.target.checked,["tag"])}}),e[1].label)):""}))))},ro=function(e){function t(e){var n,r,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=Kr(t).call(this,e),n=!o||"object"!==Yr(o)&&"function"!=typeof o?Xr(r):o,Zr(Xr(n),"searchFilterChange",function(e,t,r,o){var a=n.props,i=a.searchQuery,l=a.searchChanges;n.setState({showWelcomeMessage:!1});var u=Object.assign({},i);if(u[e]=r?t:null,o){var c=!0,s=!1,f=void 0;try{for(var p,d=o[Symbol.iterator]();!(c=(p=d.next()).done);c=!0){u[p.value]=null}}catch(e){s=!0,f=e}finally{try{c||null==d.return||d.return()}finally{if(s)throw f}}}l(u)}),Zr(Xr(n),"doTextSearch",function(e){var t=n.props,r=t.searchQuery,o=t.searchChanges;n.setState({showWelcomeMessage:!1});var a=Object.assign({},r);return a.text=n.txtRef.value,a.tag=null,a.pg=null,o(a),e&&e.preventDefault(),!1}),Zr(Xr(n),"licenseChanged",function(){n.setState({showWelcomeMessage:!1})}),n.txtRef=null,n.state={showWelcomeMessage:!e.searchQuery.text&&"paid"!==_e.get("elements_status")},n}var n,r,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jr(e,t)}(t,o.a.PureComponent),n=t,(r=[{key:"componentDidUpdate",value:function(e,t){var n=this.props.searchQuery;this.txtRef.value=n.text?n.text:""}},{key:"render",value:function(){var e=this,t=this.props,n=t.apiMeta,r=t.layoutOptions,a=t.layoutChange,i=t.searchQuery,l=this.state.showWelcomeMessage,u=0;return l||window.innerWidth<=782?o.a.createElement("div",{className:Ht.a.wrap},o.a.createElement("form",{onSubmit:this.doTextSearch},o.a.createElement("div",{className:Ht.a.searchText},o.a.createElement("input",{id:"elements-search-text","data-cy":"elements-search-text",type:"text",defaultValue:i.text?i.text:"",placeholder:"Search...",ref:function(t){e.txtRef=t},className:"".concat(We.a.textInput," ").concat(We.a.textInputLarge),style:{width:"100%"}}),o.a.createElement("input",{type:"submit",name:"go",value:"Search",className:Ht.a.searchTextSubmit,"data-cy":"elements-search-submit"}))),o.a.createElement("div",{className:Ht.a.intro},o.a.createElement("h3",{className:Ht.a.introTitle},"Get access to over ",n.totalItemCount," photos"),o.a.createElement("p",null,"These photos are brought to you by Envato Elements, and they could be yours! To get unlimited access to them and thousands of other digital assets, you need to become a paid Envato Elements subscriber."," ",o.a.createElement("a",{href:"https://elements.envato.com/?utm_source=extensions&utm_medium=referral&utm_campaign=wordpress_photos_welcome",rel:"noopener noreferrer",target:"_blank"},"Find out more")),o.a.createElement(jt,{label:"Get Started",successCallback:this.licenseChanged}))):o.a.createElement("div",{className:Ht.a.wrap},o.a.createElement("form",{onSubmit:this.doTextSearch},o.a.createElement("div",{className:Ht.a.searchText},o.a.createElement("input",{type:"text",defaultValue:i.text,placeholder:"Search...",ref:function(t){e.txtRef=t},className:"".concat(We.a.textInput," ").concat(We.a.textInputLarge),style:{width:"100%"}}),o.a.createElement("input",{type:"submit",name:"go",value:"Search",className:Ht.a.searchTextSubmit}),n.totalItemCount?o.a.createElement("div",{className:Ht.a.searchTotalItems},"Search ",n.totalItemCount," royalty-free stock photos."):""),n.aggregations?o.a.createElement("div",{className:Ht.a.searchFilter},o.a.createElement("button",{type:"button",className:"".concat(Ht.a.viewToggle," ").concat("fluid"===r.display?Ht.a.viewToggleMasonry:Ht.a.viewToggleGrid),onClick:function(e){return e.preventDefault(),a("display","fluid"===r.display?"square":"fluid"),!1}},"View",o.a.createElement(eo,{className:Ht.a.viewToggleGridIcon}),o.a.createElement(to,{className:Ht.a.viewToggleMasonryIcon})),n.aggregations.orientation?o.a.createElement(no,{searchFilterChange:this.searchFilterChange,label:"Orientation",name:"orientation",values:i,attributes:n.aggregations.orientation}):"",n.aggregations.background?o.a.createElement(no,{searchFilterChange:this.searchFilterChange,label:"Background",name:"background",values:i,attributes:n.aggregations.background}):"",n.aggregations.colors?o.a.createElement(no,{searchFilterChange:this.searchFilterChange,label:"Colors",name:"colors",columns:2,values:i,attributes:n.aggregations.colors}):""):"",n.aggregations&&Object.keys(n.aggregations.tags).length>0?o.a.createElement("div",{className:Ht.a.tagFilter},"Related tags:",Object.entries(n.aggregations.tags).map(function(t){return u++<10&&t[1].label&&t[1].label.length>0?o.a.createElement("button",{type:"button",key:t[0],className:void 0!==i.tag&&i.tag===t[0]?Ht.a.tagCurrent:Ht.a.tag,onClick:function(n){return n.preventDefault(),e.searchFilterChange("tag",t[0],void 0===i.tag||i.tag!==t[0]),!1}},t[1].label):""})):""))}}])&&Gr(n.prototype,r),a&&Gr(n,a),t}();function oo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ao(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}ro.propTypes={};var io=function(e){return e.reduce(function(e,t){return e+t.aspectRatio},0)},lo=function(e,t){return e.size<t-.25*t},uo=function(e,t){if(e.length<=2)return e;for(var n=ao(e).map(function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){oo(e,t,n[t])})}return e}({},e,{items:ao(e.items)})}),r=n.length-1,o=!0;o&&(o=lo(n[r],t))&&(n[r].items.unshift(n[r-1].items.pop()),n[r].size=io(n[r].items),n[r-1].size=io(n[r-1].items),lo(n[r],t)||(r-=1),!(r<1)););return n};function co(e){return(co="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function so(){return(so=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function fo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){yo(e,t,n[t])})}return e}function po(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ho(e){return(ho=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function mo(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vo(e,t){return(vo=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function yo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var go=function(e){function t(e){var n,r,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=ho(t).call(this,e),n=!o||"object"!==co(o)&&"function"!=typeof o?mo(r):o,yo(mo(n),"resultsPreProcessor",function(e){return n.getBreakpointsImages(e).breakpointsImages[0].images}),n.state={category:"photos",search:{}},n}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vo(e,t)}(t,r["Component"]),n=t,(a=[{key:"getBreakpointsImages",value:function(e){var t=Number.MAX_SAFE_INTEGER,n=0;return{breakpointsImages:[{breakpoint:"large",itemsPerRow:5,gutterWidth:1.1}].map(function(r,o){var a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2?arguments[2]:void 0,r=e.reduce(function(e,r){var o=e[e.length-1],a=e.length>0&&o.size<t;if(!a&&e.length>=n)return e;var i=r.aspectRatio,l=void 0===i?1:i;return a?(o.items.push(r),o.size+=l,e):[].concat(ao(e),[{items:[r],size:l}])},[]);return void 0===n||n>r.length?uo(r,t):r}(e,r.itemsPerRow,t),i=a.map(function(e,t){return e.items.map(function(n,o){var i=e.items.length-1,l=t===a.length-1&&e.size<.75*r.itemsPerRow?r.itemsPerRow:e.size,u=n.aspectRatio;return fo({},n,{calculatedMasonryWidth:(void 0===u?1:u)/l*(100-i*r.gutterWidth)})})});return n<i.length&&(n=i.length),{breakpoint:fo({},r,{size:r.breakpoint||0}),images:i.flat()}}),sliceIndex:n}}},{key:"render",value:function(){this.props.categories;var e=this.state,t=e.category,n=e.search;return o.a.createElement("div",{className:Cr.a.wrap},o.a.createElement(gt,so({ResultNode:$r,resultsPreProcessor:this.resultsPreProcessor,resultsClassName:Cr.a.results,SearchNode:ro,category:t,search:n},this.props)))}}])&&po(n.prototype,a),i&&po(n,i),t}();go.propTypes={};var bo=n(72),wo=n.n(bo);function xo(e){return(xo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Eo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function So(e){return(So=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ko(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function To(e,t){return(To=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Oo=function(e){function t(e){var n,r,o,a,i,l;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=So(t).call(this,e),n=!o||"object"!==xo(o)&&"function"!=typeof o?ko(r):o,a=ko(n),l=function(){n.forceUpdate()},(i="licenseChanged")in a?Object.defineProperty(a,i,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[i]=l,n.state={},n}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&To(e,t)}(t,r["Component"]),n=t,(a=[{key:"render",value:function(){var e=_e.get("elements_status");return o.a.createElement("div",{className:wo.a.wrap},o.a.createElement("div",{className:wo.a.welcome},o.a.createElement("h1",null,"Settings")),o.a.createElement("div",{className:wo.a.cards},"paid"!==e?o.a.createElement("div",{className:wo.a.license},o.a.createElement("h2",null,"License:"),o.a.createElement("div",null,o.a.createElement("p",null,"To download and use certain items you need to become an Envato Elements subscriber."),o.a.createElement(jt,{successCallback:this.licenseChanged,label:"Enter license code"}))):o.a.createElement("div",{className:wo.a.projectName},o.a.createElement("h2",null,"Success:"),o.a.createElement("p",null,"You are now connected."),o.a.createElement("p",null,"When content is imported into WordPress it is licensed against an Envato Elements project. Please choose the default project name here: ",o.a.createElement("br",null),o.a.createElement("br",null),o.a.createElement(Ur,null))),o.a.createElement("div",{className:wo.a.reset},o.a.createElement("h2",null,"Reset Plugin:"),o.a.createElement("p",null,"Sometimes we all need a good reset!",o.a.createElement("br",null),"Clicking this button will clear the Envato Elements cache and remove any settings. ",o.a.createElement("br",null),"A new Envato Elements token will be needed after reset. This will not remove any imported templates or photos."),o.a.createElement("a",{href:_e.get("license_deactivate"),className:"".concat(We.a.button," ").concat(We.a.resetButton)},"Clear Cache & Reset Plugin"))))}}])&&Eo(n.prototype,a),i&&Eo(n,i),t}();function _o(e){return(_o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Co(){return(Co=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Po(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function No(e){return(No=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function jo(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Io(e,t){return(Io=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ro(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Oo.propTypes={};var Ao=function(e){function t(e){var n,r,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=No(t).call(this,e),n=!o||"object"!==_o(o)&&"function"!=typeof o?jo(r):o,Ro(jo(n),"getModalPos",function(){var e={left:window.innerWidth<=782?0:jQuery("#adminmenuwrap").width(),headerTop:jQuery("#wpadminbar").height(),top:jQuery("#wpadminbar").height()+56,right:0,bottom:0};if("elementor"===_e.get("modalMode")){var t=jQuery(n.wrapperRef).parents(".dialog-lightbox-widget-content").first();if(t.get(0)){var r=t.get(0).getBoundingClientRect();e.left=r.left,e.headerTop=r.top,e.top=r.top+56,e.right=window.innerWidth-r.right,e.bottom=window.innerHeight-r.bottom}}else if("wpMedia"===_e.get("modalMode")){var o=jQuery(n.wrapperRef).parents(".envatoelements-attachments-browser").first();if(o.get(0)){var a=o.get(0).getBoundingClientRect();e.left=a.left,e.headerTop=a.top,e.top=a.top,e.right=window.innerWidth-a.right,e.bottom=window.innerHeight-a.bottom}}return e}),Ro(jo(n),"updateWordPressSidebarNavigation",function(){var e=n.props.location,t=jQuery("li#toplevel_page_envato-elements");if(t.length){t.find(".current").removeClass("current");var r=e.pathname&&"#"!==e.pathname&&"/"!==e.pathname?e.pathname:"/home",o=t.find('[href*="'.concat(r,'"]'));o.length||(o=t.find("ul a").first()),o.addClass("current"),o.parent("li").first().addClass("current")}}),Ro(jo(n),"updateFixedPositions",function(){n.setState({currentModalPos:n.getModalPos()})}),n.state={currentModalPos:{}},n.wrapperRef=null,n}var n,r,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Io(e,t)}(t,o.a.PureComponent),n=t,(r=[{key:"componentDidMount",value:function(){var e=this;this.updateWordPressSidebarNavigation(),this.updateFixedPositions(),window.addEventListener("resize",function(){e.updateFixedPositions()}),setTimeout(function(){e.updateFixedPositions()},300),jQuery("body").on("click","#collapse-button",function(){e.updateFixedPositions()})}},{key:"componentDidUpdate",value:function(e){this.props.location.pathname!==e.location.pathname&&this.updateWordPressSidebarNavigation()}},{key:"render",value:function(){var e=this,t=_e.get("navigation"),n=_e.get("categories"),r=this.props,a=r.location,i=r.history,l=r.photoUploadCompleteCallback,u=this.state.currentModalPos,c=!0===_e.get("hideNavigation")||window.innerWidth<=782;return o.a.createElement("div",{className:c?ce.a.wrapperNormal:ce.a.wrapperFixed},!0===_e.get("hideNavigation")?null:o.a.createElement($e,{navigation:t,getModalPos:u,location:a,normalNavigation:c}),o.a.createElement("div",{className:ce.a.scroller,ref:function(t){return e.wrapperRef=t}},o.a.createElement(re,{path:"/",exact:!0,render:function(e){return setTimeout(function(){!a||""!==a.pathname&&"/"!==a.pathname||i.push("/".concat(t[0].slug))},200),null}}),o.a.createElement(re,{path:"/elementor",render:function(e){return o.a.createElement(xn,Co({},e,{categories:n,getModalPos:u}))}}),o.a.createElement(re,{path:"/elementor-blocks",render:function(e){return o.a.createElement(nr,Co({},e,{categories:n,getModalPos:u}))}}),o.a.createElement(re,{path:"/beaver-builder",render:function(e){return o.a.createElement(Or,Co({},e,{categories:n,getModalPos:u}))}}),o.a.createElement(re,{path:"/photos",render:function(e){return o.a.createElement(go,Co({},e,{photoUploadCompleteCallback:l,categories:n,getModalPos:u}))}}),o.a.createElement(re,{path:"/settings",component:Oo})),o.a.createElement("div",{className:ce.a.footer},o.a.createElement("p",null,o.a.createElement("strong",null,"Feedback & Support: ")," If you have any questions or feedback for the team please send an email to ",o.a.createElement("a",{href:"mailto:extensions@envato.com"},"extensions@envato.com")," |"," ",o.a.createElement("a",{href:"https://elements.envato.com/user-terms",target:"_blank",rel:"noreferrer noopener"},"Terms & Conditions")," ","|"," ",o.a.createElement("a",{href:"https://envato.com/privacy",target:"_blank",rel:"noreferrer noopener"},"Privacy Policy"))))}}])&&Po(n.prototype,r),a&&Po(n,a),t}();Ao.propTypes={};var Lo=le(function(e){return o.a.createElement(Ao,e)});n(534);function Mo(e){return(Mo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Do(e){return(Do=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Fo(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uo(e,t){return(Uo=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Bo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Wo=function(e){function t(e){var n,r,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,n=!(a=Do(t).call(this,e))||"object"!==Mo(a)&&"function"!=typeof a?Fo(r):a,Bo(Fo(n),"adminPageLoaded",function(e){e&&(_e.set(e),i.a.render(o.a.createElement(Q,null,o.a.createElement(Lo,null)),document.getElementById("js-envato-elements-react")),Ee.init())}),Bo(Fo(n),"elementorMagicButton",function(e,t){e&&(e.modalMode="elementor",e.minimalMenu=!0,e.navigation=[{nav_title:"Templates",slug:"elementor",sub_nav:[]},{nav_title:"Blocks",slug:"elementor-blocks",sub_nav:[]},{nav_title:"Photos",slug:"photos",sub_nav:[],new_flag:!0}],_e.set(e),i.a.render(o.a.createElement(Q,null,o.a.createElement(Lo,null)),t),Ee.init())}),Bo(Fo(n),"elementor3rdPartyViewClose",function(e){i.a.unmountComponentAtNode(e)}),Bo(Fo(n),"elementsDeepPhotos",function(e,t,n){e&&(e.modalMode="wpMedia",e.hideNavigation=!0,e.minimalMenu=!0,e.navigation=[{nav_title:"Photos",slug:"photos",sub_nav:[]}],_e.set(e),i.a.render(o.a.createElement(Q,null,o.a.createElement(Lo,{photoUploadCompleteCallback:n})),t),Ee.init())}),n.state={},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uo(e,t)}(t,r["Component"]),t}();window.ElementsReact=new Wo}]);
79
  object-assign
80
  (c) Sindre Sorhus
81
  @license MIT
82
+ */var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=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 t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,i,l=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),u=1;u<arguments.length;u++){for(var c in n=Object(arguments[u]))o.call(n,c)&&(l[c]=n[c]);if(r){i=r(n);for(var s=0;s<i.length;s++)a.call(n,i[s])&&(l[i[s]]=n[i[s]])}}return l}},function(e,t,n){"use strict";var r=n(528);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var l=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 l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(136)),o=a(n(137));function a(e){return e&&e.__esModule?e:{default:e}}var i=function(e){var t=e.pageClassName,n=e.pageLinkClassName,o=e.onClick,a=e.href,i=e.ariaLabel||"Page "+e.page+(e.extraAriaContext?" "+e.extraAriaContext:""),l=null;return e.selected&&(l="page",i=e.ariaLabel||"Page "+e.page+" is your current page",t=void 0!==t?t+" "+e.activeClassName:e.activeClassName,void 0!==n?void 0!==e.activeLinkClassName&&(n=n+" "+e.activeLinkClassName):n=e.activeLinkClassName),r.default.createElement("li",{className:t},r.default.createElement("a",{onClick:o,role:"button",className:n,href:a,tabIndex:"0","aria-label":i,"aria-current":l,onKeyPress:o},e.page))};i.propTypes={onClick:o.default.func.isRequired,selected:o.default.bool.isRequired,pageClassName:o.default.string,pageLinkClassName:o.default.string,activeClassName:o.default.string,activeLinkClassName:o.default.string,extraAriaContext:o.default.string,href:o.default.string,ariaLabel:o.default.string,page:o.default.number.isRequired},t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(136)),o=a(n(137));function a(e){return e&&e.__esModule?e:{default:e}}var i=function(e){var t=e.breakLabel,n=e.breakClassName,o=e.breakLinkClassName,a=e.onClick,i=n||"break";return r.default.createElement("li",{className:i},r.default.createElement("a",{className:o,onClick:a,role:"button",tabIndex:"0",onKeyPress:a},t))};i.propTypes={breakLabel:o.default.oneOfType([o.default.string,o.default.node]),breakClassName:o.default.string,breakLinkClassName:o.default.string,onClick:o.default.func.isRequired},t.default=i},function(e,t,n){"use strict";e.exports=(e=>encodeURIComponent(e).replace(/[!'()*]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`))},function(e,t,n){"use strict";var r=new RegExp("%[a-f0-9]{2}","gi"),o=new RegExp("(%[a-f0-9]{2})+","gi");function a(e,t){try{return decodeURIComponent(e.join(""))}catch(e){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],a(n),a(r))}function i(e){try{return decodeURIComponent(e)}catch(o){for(var t=e.match(r),n=1;n<t.length;n++)t=(e=a(t,n).join("")).match(r);return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},n=o.exec(e);n;){try{t[n[0]]=decodeURIComponent(n[0])}catch(e){var r=i(n[0]);r!==n[0]&&(t[n[0]]=r)}n=o.exec(e)}t["%C2"]="�";for(var a=Object.keys(t),l=0;l<a.length;l++){var u=a[l];e=e.replace(new RegExp(u,"g"),t[u])}return e}(e)}}},function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},function(e,t,n){e.exports={"hs-resize-observer-dummy-animation":"_38Bu2TShhqwJBDe3sPLFvM"}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r),a=n(57),i=n.n(a),l=n(194),u=n.n(l),c=n(5),s=n.n(c),f=n(27),p=n.n(f),d=n(48),h=n.n(d);function m(e){return"/"===e.charAt(0)}function v(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}var y=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e&&e.split("/")||[],r=t&&t.split("/")||[],o=e&&m(e),a=t&&m(t),i=o||a;if(e&&m(e)?r=n:n.length&&(r.pop(),r=r.concat(n)),!r.length)return"/";var l=void 0;if(r.length){var u=r[r.length-1];l="."===u||".."===u||""===u}else l=!1;for(var c=0,s=r.length;s>=0;s--){var f=r[s];"."===f?v(r,s):".."===f?(v(r,s),c++):c&&(v(r,s),c--)}if(!i)for(;c--;c)r.unshift("..");!i||""===r[0]||r[0]&&m(r[0])||r.unshift("");var p=r.join("/");return l&&"/"!==p.substr(-1)&&(p+="/"),p},g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var b=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every(function(t,r){return e(t,n[r])});var r=void 0===t?"undefined":g(t);if(r!==(void 0===n?"undefined":g(n)))return!1;if("object"===r){var o=t.valueOf(),a=n.valueOf();if(o!==t||a!==n)return e(o,a);var i=Object.keys(t),l=Object.keys(n);return i.length===l.length&&i.every(function(r){return e(t[r],n[r])})}return!1},w=function(e){return"/"===e.charAt(0)?e:"/"+e},x=function(e){return"/"===e.charAt(0)?e.substr(1):e},E=function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)},S=function(e,t){return E(e,t)?e.substr(t.length):e},k=function(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e},T=function(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o},O=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_=function(e,t,n,r){var o=void 0;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var a=t.indexOf("?");return-1!==a&&(n=t.substr(a),t=t.substr(0,a)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e)).state=t:(void 0===(o=O({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(o.key=n),r?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=y(o.pathname,r.pathname)):o.pathname=r.pathname:o.pathname||(o.pathname="/"),o},C=function(){var e=null,t=[];return{setPrompt:function(t){return p()(null==e,"A history supports only one prompt at a time"),e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var a="function"==typeof e?e(t,n):e;"string"==typeof a?"function"==typeof r?r(a,o):(p()(!1,"A history needs a getUserConfirmation function in order to use a prompt message"),o(!0)):o(!1!==a)}else o(!0)},appendListener:function(e){var n=!0,r=function(){n&&e.apply(void 0,arguments)};return t.push(r),function(){n=!1,t=t.filter(function(e){return e!==r})}},notifyListeners:function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach(function(e){return e.apply(void 0,n)})}}},P=!("undefined"==typeof window||!window.document||!window.document.createElement),N=function(e,t,n){return e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)},j=function(e,t,n){return e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent("on"+t,n)},I=function(e,t){return t(window.confirm(e))},R=("function"==typeof Symbol&&Symbol.iterator,Object.assign,Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}),A={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+x(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:x,decodePath:w},slash:{encodePath:w,decodePath:w}},L=function(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)},M=function(e){var t=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,t>=0?t:0)+"#"+e)},D=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};h()(P,"Hash history needs a DOM");var t=window.history,n=-1===window.navigator.userAgent.indexOf("Firefox"),r=e.getUserConfirmation,o=void 0===r?I:r,a=e.hashType,i=void 0===a?"slash":a,l=e.basename?k(w(e.basename)):"",u=A[i],c=u.encodePath,s=u.decodePath,f=function(){var e=s(L());return p()(!l||E(e,l),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+e+'" to begin with "'+l+'".'),l&&(e=S(e,l)),_(e)},d=C(),m=function(e){R(V,e),V.length=t.length,d.notifyListeners(V.location,V.action)},v=!1,y=null,g=function(){var e,t,n=L(),r=c(n);if(n!==r)M(r);else{var o=f(),a=V.location;if(!v&&(t=o,(e=a).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&b(e.state,t.state)))return;if(y===T(o))return;y=null,x(o)}},x=function(e){v?(v=!1,m()):d.confirmTransitionTo(e,"POP",o,function(t){t?m({action:"POP",location:e}):O(e)})},O=function(e){var t=V.location,n=B.lastIndexOf(T(t));-1===n&&(n=0);var r=B.lastIndexOf(T(e));-1===r&&(r=0);var o=n-r;o&&(v=!0,W(o))},D=L(),F=c(D);D!==F&&M(F);var U=f(),B=[T(U)],W=function(e){p()(n,"Hash history go(n) causes a full page reload in this browser"),t.go(e)},q=0,z=function(e){1===(q+=e)?N(window,"hashchange",g):0===q&&j(window,"hashchange",g)},H=!1,V={length:t.length,action:"POP",location:U,createHref:function(e){return"#"+c(l+T(e))},push:function(e,t){p()(void 0===t,"Hash history cannot push state; it is ignored");var n=_(e,void 0,void 0,V.location);d.confirmTransitionTo(n,"PUSH",o,function(e){if(e){var t=T(n),r=c(l+t);if(L()!==r){y=t,function(e){window.location.hash=e}(r);var o=B.lastIndexOf(T(V.location)),a=B.slice(0,-1===o?0:o+1);a.push(t),B=a,m({action:"PUSH",location:n})}else p()(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),m()}})},replace:function(e,t){p()(void 0===t,"Hash history cannot replace state; it is ignored");var n=_(e,void 0,void 0,V.location);d.confirmTransitionTo(n,"REPLACE",o,function(e){if(e){var t=T(n),r=c(l+t);L()!==r&&(y=t,M(r));var o=B.indexOf(T(V.location));-1!==o&&(B[o]=t),m({action:"REPLACE",location:n})}})},go:W,goBack:function(){return W(-1)},goForward:function(){return W(1)},block:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=d.setPrompt(e);return H||(z(1),H=!0),function(){return H&&(H=!1,z(-1)),t()}},listen:function(e){var t=d.appendListener(e);return z(1),function(){z(-1),t()}}};return V},F=("function"==typeof Symbol&&Symbol.iterator,Object.assign,n(60)),U=n.n(F),B=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function W(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var q=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=W(this,e.call.apply(e,[this].concat(a))),r.state={match:r.computeMatch(r.props.history.location.pathname)},W(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.getChildContext=function(){return{router:B({},this.context.router,{history:this.props.history,route:{location:this.props.history.location,match:this.state.match}})}},t.prototype.computeMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}},t.prototype.componentWillMount=function(){var e=this,t=this.props,n=t.children,r=t.history;h()(null==n||1===o.a.Children.count(n),"A <Router> may have only one child element"),this.unlisten=r.listen(function(){e.setState({match:e.computeMatch(r.location.pathname)})})},t.prototype.componentWillReceiveProps=function(e){U()(this.props.history===e.history,"You cannot change <Router history>")},t.prototype.componentWillUnmount=function(){this.unlisten()},t.prototype.render=function(){var e=this.props.children;return e?o.a.Children.only(e):null},t}(o.a.Component);q.propTypes={history:s.a.object.isRequired,children:s.a.node},q.contextTypes={router:s.a.object},q.childContextTypes={router:s.a.object.isRequired};var z=q;function H(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var V=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=H(this,e.call.apply(e,[this].concat(a))),r.history=D(r.props),H(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentWillMount=function(){u()(!this.props.history,"<HashRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { HashRouter as Router }`.")},t.prototype.render=function(){return o.a.createElement(z,{history:this.history,children:this.props.children})},t}(o.a.Component);V.propTypes={basename:s.a.string,getUserConfirmation:s.a.func,hashType:s.a.oneOf(["hashbang","noslash","slash"]),children:s.a.node};var Q=V,$=(n(200),n(192)),Y=n.n($),G={},K=0,X=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];"string"==typeof t&&(t={path:t});var r=t,o=r.path,a=r.exact,i=void 0!==a&&a,l=r.strict,u=void 0!==l&&l,c=r.sensitive;if(null==o)return n;var s=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=G[n]||(G[n]={});if(r[e])return r[e];var o=[],a={re:Y()(e,o,t),keys:o};return K<1e4&&(r[e]=a,K++),a}(o,{end:i,strict:u,sensitive:void 0!==c&&c}),f=s.re,p=s.keys,d=f.exec(e);if(!d)return null;var h=d[0],m=d.slice(1),v=e===h;return i&&!v?null:{path:o,url:"/"===o&&""===h?"/":h,isExact:v,params:p.reduce(function(e,t,n){return e[t.name]=m[n],e},{})}},J=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function Z(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var ee=function(e){return 0===o.a.Children.count(e)},te=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=Z(this,e.call.apply(e,[this].concat(a))),r.state={match:r.computeMatch(r.props,r.context.router)},Z(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.getChildContext=function(){return{router:J({},this.context.router,{route:{location:this.props.location||this.context.router.route.location,match:this.state.match}})}},t.prototype.computeMatch=function(e,t){var n=e.computedMatch,r=e.location,o=e.path,a=e.strict,i=e.exact,l=e.sensitive;if(n)return n;h()(t,"You should not use <Route> or withRouter() outside a <Router>");var u=t.route,c=(r||u.location).pathname;return X(c,{path:o,strict:a,exact:i,sensitive:l},u.match)},t.prototype.componentWillMount=function(){U()(!(this.props.component&&this.props.render),"You should not use <Route component> and <Route render> in the same route; <Route render> will be ignored"),U()(!(this.props.component&&this.props.children&&!ee(this.props.children)),"You should not use <Route component> and <Route children> in the same route; <Route children> will be ignored"),U()(!(this.props.render&&this.props.children&&!ee(this.props.children)),"You should not use <Route render> and <Route children> in the same route; <Route children> will be ignored")},t.prototype.componentWillReceiveProps=function(e,t){U()(!(e.location&&!this.props.location),'<Route> elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),U()(!(!e.location&&this.props.location),'<Route> elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.'),this.setState({match:this.computeMatch(e,t.router)})},t.prototype.render=function(){var e=this.state.match,t=this.props,n=t.children,r=t.component,a=t.render,i=this.context.router,l=i.history,u=i.route,c=i.staticContext,s={match:e,location:this.props.location||u.location,history:l,staticContext:c};return r?e?o.a.createElement(r,s):null:a?e?a(s):null:"function"==typeof n?n(s):n&&!ee(n)?o.a.Children.only(n):null},t}(o.a.Component);te.propTypes={computedMatch:s.a.object,path:s.a.string,exact:s.a.bool,strict:s.a.bool,sensitive:s.a.bool,component:s.a.func,render:s.a.func,children:s.a.oneOfType([s.a.func,s.a.node]),location:s.a.object},te.contextTypes={router:s.a.shape({history:s.a.object.isRequired,route:s.a.object.isRequired,staticContext:s.a.object})},te.childContextTypes={router:s.a.object.isRequired};var ne=te,re=ne,oe=n(193),ae=n.n(oe),ie=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};var le=function(e){var t=function(t){var n=t.wrappedComponentRef,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["wrappedComponentRef"]);return o.a.createElement(ne,{children:function(t){return o.a.createElement(e,ie({},r,t,{ref:n}))}})};return t.displayName="withRouter("+(e.displayName||e.name)+")",t.WrappedComponent=e,t.propTypes={wrappedComponentRef:s.a.func},ae()(t,e)},ue=n(94),ce=n.n(ue),se=n(59),fe=n.n(se),pe=n(28),de=n.n(pe);function he(e){return(he="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function me(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ve(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ye(e){return(ye=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ge(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function be(e,t){return(be=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function we(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xe=function(e){function t(e){var n,r,o;return me(this,t),r=this,o=ye(t).call(this,e),n=!o||"object"!==he(o)&&"function"!=typeof o?ge(r):o,we(ge(n),"closeModal",function(){n.setState({modalOpen:!1}),fe()("body").removeClass("envato-elements--modal-open")}),we(ge(n),"openModal",function(e){n.setState({modalOpen:!0,modalData:e}),fe()("body").addClass("envato-elements--modal-open")}),n.state={showDebugDetails:!1,modalOpen:!1,modalData:{}},n}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&be(e,t)}(t,r["Component"]),n=t,(a=[{key:"componentDidMount",value:function(){}},{key:"componentDidUpdate",value:function(e,t,n){var r=this.state,o=r.modalData;r.modalOpen&&"string"!=typeof o.message&&this.modalBody&&this.modalBody.appendChild(o.message)}},{key:"render",value:function(){var e=this,t=this.state,n=t.modalData,r=t.modalOpen,a=t.showDebugDetails;return o.a.createElement("div",{"data-elements-modal":"yes",className:"".concat(de.a.wrap," ").concat(r?de.a.open:de.a.closed)},r?o.a.createElement("div",{className:de.a.inner},o.a.createElement("div",{className:de.a.content},o.a.createElement("div",{className:de.a.headerRow},o.a.createElement("h3",{className:de.a.title},n.title),o.a.createElement("button",{className:de.a.closeButton,onClick:this.closeModal},"Close")),o.a.createElement("div",{className:de.a.body,ref:function(t){return e.modalBody=t}},"object"!==he(n.message)?n.message:""),"function"==typeof n.tryAgain||void 0!==n.debug?o.a.createElement("div",{className:de.a.debugActions},"function"==typeof n.tryAgain?o.a.createElement("button",{className:de.a.buttonRetry,onClick:function(){e.closeModal(),n.tryAgain()}},"Try Again"):null,o.a.createElement("button",{className:de.a.buttonRefresh,onClick:function(e){return e.preventDefault(),window.location.reload(),!1}},"Refresh Page"),void 0!==n.debug?o.a.createElement("button",{className:de.a.buttonDebug,onClick:function(){e.setState({showDebugDetails:!a})}},a?"Hide":"Show"," Debug Details"):null):null,a&&void 0!==n.debug?o.a.createElement("div",{className:de.a.debug},o.a.createElement("textarea",{className:de.a.debugText,onClick:function(e){e.target.focus(),e.target.select()},defaultValue:n.debug&&n.debug.debug?n.debug.debug:"object"===he(n.debug)?JSON.stringify(n.debug):n.debug})):"",o.a.createElement("div",{className:de.a.footer},n.reactivate?o.a.createElement("span",null,"[put a link to reactivate plugin here]"):""))):"")}}])&&ve(n.prototype,a),i&&ve(n,i),t}(),Ee=new function e(){var t=this;me(this,e),we(this,"init",function(){t.$modalDom=document.createElement("div"),document.body.appendChild(t.$modalDom),i.a.render(o.a.createElement(xe,{ref:function(e){t.modalComponent=e}}),t.$modalDom)}),we(this,"closeModal",function(){t.modalComponent.closeModal()}),we(this,"openModal",function(e){t.modalComponent.openModal(e)}),this.$modalDom=null};function Se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ke=new function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Se(this,"pageLoaded",function(){}),Se(this,"displayError",function(e,t,n,r,o){!1!==r&&(r=!0),Ee.closeModal(),Ee.openModal({title:e,message:t,debug:n,tryAgain:o,reactivate:r})})};var Te=new function e(){var t,n,r,o=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),r=function(e,t,n){var r=n.abortExisting,a=n.cacheResults,i=n.ignoreErrors,l=n.retryCallback;return new Promise(function(n,u){t||(t={}),t._wpnonce=_e.get("api_nonce"),r&&o.xhr&&o.xhr.abort();var c=e+JSON.stringify(t);a&&void 0!==o.localCache[c]&&n(o.localCache[c]),o.xhr=fe.a.ajax({url:_e.get("api_url")+e,method:"POST",dataType:"json",data:t}).done(function(e){if(e&&void 0!==e.status&&!e.status){if(e.error=!0,!0!==i&&void 0!==e.error_code){var t="Unknown error";switch(e.error_code){case"token_extension_mismatch":t="Please generate a new token, this one has already been used elsewhere.";break;case"invalid_token":t="Sorry that is not a valid Envato Elements token";break;case"token_expired":t="Sorry the token has expired, please generate a new one.";break;case"download_forbidden":t="Sorry downloading this item is not allowed. Please confirm your Envato Elements Subscription is up to date.";break;case"item_not_found":t="Sorry downloading this item is not allowed. The item may have been removed from Envato Elements.";break;default:switch(e.error_status){case"http_request_failed":t="Envato Elements API connection failed. ".concat(e.error_message);break;case 503:t="Envato Elements API is temporarily down for maintenance, please try again soon."}}ke.displayError("API Error",t,e,!1,l)}}else a&&(o.localCache[c]=e);n(e)}).fail(function(e,t,n){if(e&&"abort"===e.statusText)u({aborted:!0});else{var r={};try{r=JSON.parse(e.responseText)}catch(e){}if(0===Object.keys(r).length&&(r={message:"Sorry something went wrong. ",debug:e.responseText}),!0!==i){var o=r&&r.message?r.message:"Unknown error",a="";a=e.responseText&&e.responseText.length>0?e.responseText:e.status>0?"Empty API response. Please contact hosting provider and ensure WordPress memory limit is set to 128M or above.":"Sorry we had trouble communicating with the API, please check your internet connection, refresh the page and try again. ",ke.displayError("Temporary API Error",o,a,!1,l)}u(r)}}).always(function(){o.xhr=null})})},(n="post")in(t=this)?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,this.xhr=null,this.localCache={}};function Oe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _e=new function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Oe(this,"set",function(e){t.config=Object.assign({},t.config,e)}),Oe(this,"persist",function(e,n){return new Promise(function(r,o){Te.post("options/set",{key:e,value:n},{abortExisting:!0,ignoreErrors:!0}).then(function(e){e?(void 0!==e.config&&t.set(e.config),r(e)):o()},function(e){o(e)}).finally(function(){})})}),Oe(this,"get",function(e){return void 0!==t.config[e]&&t.config[e]}),Oe(this,"state",function(e,n){return void 0!==n?(t.stateData[e]=n,n):void 0!==t.stateData[e]&&t.stateData[e]}),this.config={},this.stateData={}},Ce=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function Pe(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var Ne=function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)},je=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=Pe(this,e.call.apply(e,[this].concat(a))),r.handleClick=function(e){if(r.props.onClick&&r.props.onClick(e),!e.defaultPrevented&&0===e.button&&!r.props.target&&!Ne(e)){e.preventDefault();var t=r.context.router.history,n=r.props,o=n.replace,a=n.to;o?t.replace(a):t.push(a)}},Pe(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.render=function(){var e=this.props,t=(e.replace,e.to),n=e.innerRef,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["replace","to","innerRef"]);h()(this.context.router,"You should not use <Link> outside a <Router>"),h()(void 0!==t,'You must specify the "to" property');var a=this.context.router.history,i="string"==typeof t?_(t,null,null,a.location):t,l=a.createHref(i);return o.a.createElement("a",Ce({},r,{onClick:this.handleClick,href:l,ref:n}))},t}(o.a.Component);je.propTypes={onClick:s.a.func,target:s.a.string,replace:s.a.bool,to:s.a.oneOfType([s.a.string,s.a.object]).isRequired,innerRef:s.a.oneOfType([s.a.string,s.a.func])},je.defaultProps={replace:!1},je.contextTypes={router:s.a.shape({history:s.a.shape({push:s.a.func.isRequired,replace:s.a.func.isRequired,createHref:s.a.func.isRequired}).isRequired}).isRequired};var Ie=je;function Re(e){return(Re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ae(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Le(e,t){return!t||"object"!==Re(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Me(e){return(Me=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function De(e,t){return(De=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}(function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=Le(this,Me(t).call(this,e))).state={},n}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&De(e,t)}(t,r["Component"]),n=t,(a=[{key:"render",value:function(){return o.a.createElement("div",{className:"wrap"},o.a.createElement("h1",{style:{textAlign:"center",padding:"20px",color:"#CCC"}},"Plugin Home Page"),o.a.createElement("p",null,"Hey check out our cool ",o.a.createElement(Ie,{to:"/photos"},"Photos")," or ",o.a.createElement(Ie,{to:"/elementor"},"Page Template Kits")," "))}}])&&Ae(n.prototype,a),i&&Ae(n,i),t}()).propTypes={};var Fe=n(12),Ue=n.n(Fe),Be=n(10),We=n.n(Be);function qe(e){return(qe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ze(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function He(e){return(He=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ve(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qe(e,t){return(Qe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var $e=function(e){function t(e){var n,r,o,a,i,l;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=He(t).call(this,e),n=!o||"object"!==qe(o)&&"function"!=typeof o?Ve(r):o,a=Ve(n),l=function(){var e=n.state.unseenNotifications;e.length>0&&Te.post("notifications/read",{ids:e},{}).then(function(e){n.setState({unseenNotifications:[]})},function(e){})},(i="notificationViewed")in a?Object.defineProperty(a,i,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[i]=l,n.state={unseenNotifications:_e.get("unseen_notifications")},n}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qe(e,t)}(t,r["Component"]),n=t,(a=[{key:"render",value:function(){var e=this.props,t=e.navigation,n=e.getModalPos,r=e.location,a=e.normalNavigation,i=n.headerTop,l=n.left,u=n.right,c=this.state.unseenNotifications,s=_e.get("current_notifications");return o.a.createElement("div",{className:a?Ue.a.wrapperNormal:Ue.a.wrapperFixed,style:{top:i,left:l,right:u}},o.a.createElement("div",{className:Ue.a.logo},o.a.createElement(Ie,{to:"/",className:Ue.a.logoLink},"Envato Elements")),o.a.createElement("nav",{className:Ue.a.menu},o.a.createElement("ul",{className:Ue.a.menuInner},t.map(function(e){return o.a.createElement("li",{className:"".concat(Ue.a.menuItem," ").concat(e.sub_nav.length?Ue.a.menuItemHasChild:""),key:e.slug},o.a.createElement(Ie,{to:"/".concat(e.slug),className:"".concat(Ue.a.menuLink," ").concat(e.sub_nav.length>0?r.pathname.match(e.slug)?Ue.a.menuLinkActive:"":r.pathname==="/".concat(e.slug)?Ue.a.menuLinkActive:""," ").concat(e.new_flag?Ue.a.menuLinkNew:"")},e.nav_title),e.sub_nav.length?o.a.createElement("ul",{className:Ue.a.subNavWrap},e.sub_nav.map(function(e){return o.a.createElement("li",{className:Ue.a.subNavItem,key:e.slug},o.a.createElement(Ie,{to:"/".concat(e.slug),className:"".concat(Ue.a.menuLink," ").concat(r.pathname==="/".concat(e.slug)?Ue.a.menuLinkActive:"")},e.name))})):"")})),"elementor"===_e.get("modalMode")?o.a.createElement("ul",{className:"".concat(Ue.a.menuInner," ").concat(Ue.a.menuRight)},o.a.createElement("li",{className:Ue.a.menuItem},o.a.createElement("a",{href:"#",onClick:function(e){return e.preventDefault(),window.elementsModal.hide(),!1},className:Ue.a.menuLink},o.a.createElement("span",{className:"dashicons dashicons-no"})))):null,_e.get("minimalMenu")?"":o.a.createElement("ul",{className:"".concat(Ue.a.menuInner," ").concat(Ue.a.menuRight)},s.length>0?o.a.createElement("li",{className:"".concat(Ue.a.menuItem," ").concat(Ue.a.menuItemHasChild),onMouseOver:this.notificationViewed,onFocus:this.notificationViewed},o.a.createElement("span",{className:Ue.a.menuLink},"Updates"),c.length>0?o.a.createElement("span",{className:Ue.a.menuCountLabel},c.length):null,o.a.createElement("div",{className:"".concat(Ue.a.subNavWrap," ").concat(Ue.a.subNavWrapNotifications)},o.a.createElement("div",{className:Ue.a.dropDownInner},o.a.createElement("ul",{className:We.a.bullets},s.map(function(e){return o.a.createElement("li",{className:Ue.a.notification,key:e.id},o.a.createElement("div",{className:Ue.a.date},e.date),o.a.createElement("div",{className:Ue.a.title},e.title),o.a.createElement("div",{className:Ue.a.content,dangerouslySetInnerHTML:{__html:e.content}}))}))))):null,o.a.createElement("li",{className:Ue.a.menuItem},o.a.createElement(Ie,{to:"/settings",className:"".concat(Ue.a.menuLink," ").concat(r.pathname.match("settings")?Ue.a.menuLinkActive:"")},o.a.createElement("span",{className:"dashicons dashicons-admin-generic"}))))))}}])&&ze(n.prototype,a),i&&ze(n,i),t}();$e.propTypes={navigation:s.a.array};var Ye=n(188),Ge=n.n(Ye);function Ke(e){return(Ke="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Xe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Je(e,t){return!t||"object"!==Ke(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ze(e){return(Ze=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function et(e,t){return(et=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}(function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=Je(this,Ze(t).call(this,e))).state={},n}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&et(e,t)}(t,r["Component"]),n=t,(a=[{key:"render",value:function(){var e=this.props.title;return o.a.createElement("div",{className:Ge.a.wrap},o.a.createElement("h2",null,e))}}])&&Xe(n.prototype,a),i&&Xe(n,i),t}()).propTypes={};var tt=n(189),nt=n.n(tt),rt=n(138),ot=n.n(rt),at=n(44),it=n.n(at),lt=n(139),ut=n.n(lt),ct=function(){return o.a.createElement("div",{className:ut.a.wrap},o.a.createElement("span",{className:ut.a.inner,"aria-label":"Loading"}))};function st(e){return(st="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ft(){return(ft=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function pt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){yt(e,t,n[t])})}return e}function dt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ht(e){return(ht=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function mt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vt(e,t){return(vt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function yt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var gt=function(e){function t(e){var n,r,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=ht(t).call(this,e),n=!o||"object"!==st(o)&&"function"!=typeof o?mt(r):o,yt(mt(n),"searchChanges",function(e){n.updateURL(Object.assign({},n.state.searchQuery,e))}),yt(mt(n),"searchChange",function(e,t){var r=n.state.searchQuery;r[e]=t,n.updateURL(r)}),yt(mt(n),"layoutChange",function(e,t){n.setState(function(n){return{layoutOptions:pt({},n.layoutOptions,yt({},e,t))}}),n.searchChange(e,t)}),yt(mt(n),"updateURL",function(e){var t=ot.a.parse(window.location.search);Object.keys(t).forEach(function(e){return null==t[e]&&delete t[e]}),Object.keys(e).forEach(function(t){return null==e[t]&&delete e[t]}),JSON.stringify(t)!==JSON.stringify(e)&&n.props.history.push({search:"?".concat(Object.keys(e).map(function(t){if(e[t]&&"false"!==e[t])return"".concat(t,"=").concat(e[t])}).join("&"))})}),yt(mt(n),"searchRun",function(e){var t=n.state,r=t.searchCategory,o=t.searchQuery,a=t.apiData,i=t.openItem;if(void 0!==a.results&&!e)if(void 0!==o.photoId&&o.photoId){var l=!0,u=!1,c=void 0;try{for(var s,f=a.results[Symbol.iterator]();!(l=(s=f.next()).done);l=!0){var p=s.value;if(p.photoId===o.photoId)return void n.setState({openItem:{photoId:p.photoId}})}}catch(e){u=!0,c=e}finally{try{l||null==f.return||f.return()}finally{if(u)throw c}}}else if(void 0!==o.collectionId&&o.collectionId){var d=!0,h=!1,m=void 0;try{for(var v,y=a.results[Symbol.iterator]();!(d=(v=y.next()).done);d=!0){var g=v.value;if(g.collectionId===o.collectionId)return void n.setState({openItem:{collectionId:g.collectionId,templateId:o.templateId}})}}catch(e){h=!0,m=e}finally{try{d||null==y.return||y.return()}finally{if(h)throw m}}}else if(void 0!==o.blockGroup&&o.blockGroup){var b=!0,w=!1,x=void 0;try{for(var E,S=a.results[Symbol.iterator]();!(b=(E=S.next()).done);b=!0){var k=E.value;if(k.slug===o.blockGroup)return void n.setState({openItem:{blockGroup:k.slug}})}}catch(e){w=!0,x=e}finally{try{b||null==S.return||S.return()}finally{if(w)throw x}}}else if(i&&a.results.length>1)return void n.setState({openItem:null});n.setState({loading:!0}),Te.post("collections/".concat(r),{elementsSearch:pt({},o,{category:r,pg:parseInt(void 0!==o.pg?o.pg:1)})},{abortExisting:!0,cacheResults:!0,retryCallback:n.searchRun}).then(function(e){e&&e.data?(n.setState({openItem:!!e.openItem&&e.openItem,apiData:e.data,apiMeta:e.meta}),n.setState({firstLoad:!1,loading:!1})):ke.displayError("Search JSON Error",e&&void 0!==e.message?e.message:e&&void 0!==e.error?e.error:"Sorry something went wrong.",e,!1,n.searchRun)},function(e){e&&e.aborted||e&&void 0!==e.code&&"rest_cookie_invalid_nonce"===e.code&&(ke.displayError("API Token Expired","Refreshing please wait..."),setTimeout(function(){window.location.reload()},500))}).finally(function(){})}),yt(mt(n),"isApiRefreshNeeded",function(){return!0}),yt(mt(n),"updateSingleItem",function(e,t){var r=n.state.apiData;if(void 0!==r.results){var o=!1,a=Object.assign({},r);for(var i in a.results)if(void 0!==a.results[i].templates)for(var l in a.results[i].templates)a.results[i].templates[l]===e&&(a.results[i].templates[l]=Object.assign(a.results[i].templates[l],t),o=!0);else if(void 0!==a.results[i].blocks)for(var u in a.results[i].blocks)a.results[i].blocks[u]===e&&(a.results[i].blocks[u]=Object.assign(a.results[i].blocks[u],t),o=!0);else(void 0!==e.uuid&&e.uuid===a.results[i].uuid||a.results[i]===e)&&(a.results[i]=Object.assign(a.results[i],t),o=!0);o&&n.setState({apiData:a})}}),n.state={firstLoad:!0,loading:!0,openItem:{},apiData:{},apiMeta:{},searchQuery:{},searchCategory:e.category,layoutOptions:{display:"fluid"}},n}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vt(e,t)}(t,r["Component"]),n=t,i=[{key:"getDerivedStateFromProps",value:function(e,t){var n=ot.a.parse(e.location.search),r=Object.assign({},n);return{layoutOptions:{display:void 0!==n.display?n.display:"fluid"},searchQuery:r}}}],(a=[{key:"componentDidUpdate",value:function(e,t){var n=Object.assign({},t.searchQuery);delete n.display;var r=Object.assign({},this.state.searchQuery);if(delete r.display,JSON.stringify(n)!==JSON.stringify(r)){var o=!1;t.searchQuery.elementor!==this.state.searchQuery.elementor&&(o=!0),this.searchRun(o)}}},{key:"componentDidMount",value:function(){this.searchRun()}},{key:"render",value:function(){var e=this,t=this.props,n=t.SearchNode,r=t.ResultNode,a=t.resultsPreProcessor,i=t.resultsClassName,l=this.state,u=l.apiData,c=l.searchQuery,s=l.apiMeta,f=l.firstLoad,p=l.loading,d=l.layoutOptions,h=l.openItem;if(f)return o.a.createElement("div",{className:"".concat(it.a.wrap," ").concat(it.a.loading)},o.a.createElement(ct,null));var m=a?a(u.results):u.results;return o.a.createElement("div",{className:it.a.wrap},n?o.a.createElement(n,{apiMeta:s,searchQuery:c,searchChanges:this.searchChanges,layoutChange:this.layoutChange,layoutOptions:d}):null,p?o.a.createElement(ct,null):o.a.createElement(o.a.Fragment,null,o.a.createElement("div",{className:"".concat(it.a.results," ").concat("square"===d.display?it.a.resultsSquare:""," ").concat(i||""),"data-cy":"results"},m.length>0?m.map(function(t){var n=!1;return h&&(void 0!==h.collectionId&&(n=h.collectionId===t.collectionId&&h),void 0!==h.photoId&&(n=h.photoId===t.photoId&&h),void 0!==h.blockGroup&&(n=h.blockGroup===t.slug&&h)),o.a.createElement(r,ft({key:t.uuid,updateSingleItem:e.updateSingleItem,result:t,searchQuery:c,openItem:n,searchChanges:e.searchChanges,layoutOptions:d},e.props))}):o.a.createElement("div",{className:it.a.noResults},"Sorry no results found.")),u.page_number&&u.total_results&&u.per_page&&u.total_results>u.per_page?o.a.createElement(nt.a,{previousLabel:"Previous",nextLabel:"Next",breakLabel:"...",breakClassName:"break-me",pageCount:u.total_results/u.per_page,marginPagesDisplayed:2,pageRangeDisplayed:5,forcePage:parseInt(u.page_number)-1,onPageChange:function(t){window.scrollTo(0,0),e.searchChange("pg",t.selected+1)},containerClassName:it.a.pagination,pageClassName:it.a.paginationItem,pageLinkClassName:it.a.paginationLink,activeClassName:it.a.paginationActive,disabledClassName:it.a.paginationDisabled}):null))}}])&&dt(n.prototype,a),i&&dt(n,i),t}();gt.propTypes={};var bt=n(113),wt=n.n(bt),xt=n(39),Et=n(33),St=n(49),kt=n.n(St);function Tt(e){return(Tt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ot(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _t(e){return(_t=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ct(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pt(e,t){return(Pt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Nt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var jt=function(e){function t(e){var n,r,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=_t(t).call(this,e),n=!o||"object"!==Tt(o)&&"function"!=typeof o?Ct(r):o,Nt(Ct(n),"tokenEntered",function(e){n.setState({tokenValue:e.target.value})}),Nt(Ct(n),"verifyToken",function(e){var t=n.props.successCallback;e.preventDefault(),n.setState({tokenVerification:"loading"});var r=n.state.tokenValue;_e.persist("elements_token",r).then(function(e){if(e&&1===e.status)n.setState({tokenVerification:"success"}),setTimeout(function(){Ee.closeModal(),t&&"function"==typeof t&&t()},800);else switch(e.error_code){case"token_extension_mismatch":n.setState({tokenVerification:"failed",tokenVerificationMessage:"Please generate a new token, this one has already been used elsewhere."});break;case"invalid_token":n.setState({tokenVerification:"failed",tokenVerificationMessage:"Sorry that is not a valid Envato Elements token."});break;case"no_paid_account":n.setState({tokenVerification:"failed",tokenVerificationMessage:"Verification Failed - you need a paid, Envato Elements subscription to continue."});break;default:n.setState({tokenVerification:"failed",tokenVerificationMessage:"Something went wrong. ".concat(void 0!==e.message?e.message:""," (").concat(e.error_code?e.error_code:JSON.stringify(e),")")})}},function(e){e&&e.aborted||n.setState({tokenVerification:"failed",tokenVerificationMessage:"Error with verification, please try again. ".concat(void 0!==e.message?e.message:"")})}).finally(function(){})}),Nt(Ct(n),"getLicense",function(e){if("paid"===_e.get("elements_status")){e.preventDefault();var t=n.props.successCallback;return n.setState({tokenVerification:"success"}),t&&"function"==typeof t&&t(),!1}return Ee.closeModal(),Ee.openModal({title:"Connect your Envato Elements Subscription",message:n.modalContent,reactivate:!1}),setTimeout(function(){n.input&&n.input.focus()},300),!0}),n.input=null,n.state={tokenVerification:"",tokenVerificationMessage:"Success",elementsStatus:_e.get("elements_status"),tokenValue:""},n}var n,r,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pt(e,t)}(t,o.a.PureComponent),n=t,(r=[{key:"render",value:function(){var e=this,t=this.props.label,n=this.state,r=n.tokenVerification,a=n.tokenVerificationMessage,i=n.tokenValue,l={success:o.a.createElement("div",{className:kt.a.tokenSuccess},o.a.createElement("h2",{className:kt.a.tokenSuccessTitle},"Success"),o.a.createElement("p",null,"Your subscription has been verified")),loading:o.a.createElement("div",{className:kt.a.tokenLoading},o.a.createElement(ct,null)),default:o.a.createElement("div",{className:kt.a.tokenInput},o.a.createElement("h2",{className:kt.a.title},"Verify your Envato Elements Subscription"),o.a.createElement("p",null,"Enter your token below to verify your Subscription"),"failed"===r?o.a.createElement("div",{className:kt.a.tokenError},a):"",o.a.createElement("form",{onSubmit:this.verifyToken,className:kt.a.tokenWrap},o.a.createElement("input",{"data-cy":"elements-token-input",ref:function(t){e.input=t},onChange:this.tokenEntered,value:i,className:We.a.textInput,style:{width:"70%"},spellCheck:"false",autoComplete:"false"}),o.a.createElement("button",{"data-cy":"elements-token-submit",onClick:this.verifyToken,className:"".concat(We.a.button," ").concat(36!==i.length?We.a.buttonSecondary:""),style:{width:"30%",marginLeft:"20px"}},"Verify Token")),o.a.createElement("p",{className:kt.a.generateTokenLink},o.a.createElement("a",{href:_e.get("elements_token_url"),target:"_blank",rel:"noopener noreferrer"},"Follow this link")," ","to generate a new Envato Elements Token."))};return o.a.createElement("div",{className:kt.a.wrap},o.a.createElement("a",{href:_e.get("elements_token_url"),"data-cy":"get-elements-token",target:"_blank",rel:"noopener noreferrer",onClick:this.getLicense,className:We.a.button},t||"Get Started"),o.a.createElement("div",{className:kt.a.modalContentInject,ref:function(t){return e.modalContent=t}},void 0!==l[r]?l[r]:l.default))}}])&&Ot(n.prototype,r),a&&Ot(n,a),t}();jt.propTypes={};var It=n(4),Rt=n.n(It),At=n(35),Lt=n.n(At);function Mt(e){return(Mt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Dt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ft(e){return(Ft=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ut(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bt(e,t){return(Bt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Wt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var qt=function(e){function t(e){var n,r,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=Ft(t).call(this,e),n=!o||"object"!==Mt(o)&&"function"!=typeof o?Ut(r):o,Wt(Ut(n),"doOpen",function(){alert("open item page")}),Wt(Ut(n),"doImport",function(){var e=n.props,t=e.updateSingleItem,r=e.importData,o=e.category,a=e.item;n.setState({importing:!0}),Te.post("import/".concat(o,"/process"),r,{retryCallbac:n.doImport}).then(function(e){e&&e.status&&(t&&e.updateData&&t(a,e.updateData),n.setState({imported:!0,justImported:!0}))},function(e){}).finally(function(){n.setState({importing:!1})})}),Wt(Ut(n),"createPage",function(){var e=n.state,t=e.importing,r=e.pageName;if(!t){var o=n.props,a=(o.updateSingleItem,o.importData),i=o.category;o.item;n.setState({importing:!0,pageCreated:!1}),Te.post("create/".concat(i,"/process"),Object.assign({},a,{pageName:r}),{retryCallbac:n.createPage}).then(function(e){e&&e.status&&n.setState({imported:!0,pageCreated:e,pageName:""})},function(e){}).finally(function(){n.setState({importing:!1})})}}),Wt(Ut(n),"pageNameChanged",function(e){n.setState({pageName:e.target.value})}),n.state={imported:void 0!==e.item.itemImported&&e.item.itemImported,importing:!1,justImported:!1,pageName:""},n}var n,r,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bt(e,t)}(t,o.a.PureComponent),n=t,(r=[{key:"render",value:function(){var e=this.props,t=e.label,n=e.labelImported,r=e.item,a=e.createPage,i=e.labelEnterPageName,l=this.state,u=l.importing,c=l.imported,s=l.pageCreated,f=l.justImported;return a?o.a.createElement("div",{className:Lt.a.createPageWrap},s?o.a.createElement("div",{className:Lt.a.createPageSuccess},"Congrats! This draft page was just created:"," ",o.a.createElement("a",{href:s.page_url,"data-cy":"importer-created-page",target:"_blank"},s.page_name)):null,o.a.createElement("form",{onSubmit:this.createPage,className:Lt.a.createPageForm},o.a.createElement("input",{onChange:this.pageNameChanged,value:this.state.pageName,className:We.a.textInput,disabled:u,placeholder:i||"Enter Page Name","data-cy":"importer-create-page-name"}),o.a.createElement("button",{"data-cy":"importer-create-button",onClick:this.createPage,className:"".concat(We.a.button," ").concat(We.a.buttonSecondary," ").concat(Lt.a.createButton," ").concat(Lt.a.animatedButton," ").concat(Lt.a.animatedButtonSecondary," ").concat(u?Lt.a.importing:""),disabled:u},u?"Creating...":t||"Create New Page",o.a.createElement("span",null)))):o.a.createElement("div",{className:Lt.a.wrap},f?o.a.createElement("div",{className:Lt.a.createPageSuccess},"Congrats! This was just imported to the WordPress library."):null,c?o.a.createElement("a",{href:r.itemImportedUrl,className:We.a.button},n||"Open Item"):o.a.createElement("button",{type:"button",onClick:this.doImport,disabled:u,className:"".concat(We.a.button," ").concat(Lt.a.animatedButton," ").concat(u?Lt.a.importing:""),"data-cy":"importer-button"},u?"Importing...":t||"Import",o.a.createElement("span",null)))}}])&&Dt(n.prototype,r),a&&Dt(n,a),t}();qt.propTypes={};var zt=n(3),Ht=n.n(zt);function Vt(e){return(Vt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Qt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function $t(e,t){return!t||"object"!==Vt(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Yt(e){return(Yt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Gt(e,t){return(Gt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Kt=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),$t(this,Yt(t).apply(this,arguments))}var n,r,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gt(e,t)}(t,o.a.PureComponent),n=t,(r=[{key:"render",value:function(){var e=this.props,t=e.searchQuery,n=e.searchFilterChange;return o.a.createElement("div",{className:Ht.a.searchBasicFilters},o.a.createElement("div",{className:Ht.a.filter},o.a.createElement("div",{className:Ht.a.filterLabel},"Filter",o.a.createElement("div",{className:Ht.a.filterAttributes},o.a.createElement("div",{className:Ht.a.filterAttribute},o.a.createElement("label",{htmlFor:"filterElementorPro"},o.a.createElement("input",{type:"checkbox",className:Ht.a.filterAttributeCheckbox,name:"elementor",value:"pro",checked:t.elementor&&"pro"===t.elementor||!t.elementor,id:"filterElementorPro",onChange:function(e){n("elementor",e.target.checked?"pro":"free",!0)}}),"Show Elementor Pro Templates"))))))}}])&&Qt(n.prototype,r),a&&Qt(n,a),t}();function Xt(e){return(Xt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Jt(){return(Jt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Zt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function en(e){return(en=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function tn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nn(e,t){return(nn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var rn=Object(xt.trackWindowScroll)(function(e){var t=e.summary,n=e.fromSearch,r=e.result,a=e.template,i=e.scrollPosition,l=(e.layoutOptions,e.openItem),u=e.getModalPos,c=e.updateSingleItem,s=e.searchChanges,f=e.ignorePluginWarnings,p=e.setIgnorePluginWarnings,d=null,h=!!a.templateFeatures["elementor-pro"];return o.a.createElement(xt.LazyLoadComponent,{scrollPosition:i,placeholder:o.a.createElement("div",{className:Rt.a.squareWrapLoading})},o.a.createElement("div",{className:"".concat(Rt.a.squareWrap," ").concat(a.itemImported?Rt.a.imported:""," ").concat(a.templateInserted&&a.templateInserted.length>0?Rt.a.imported:""," ").concat(t?Rt.a.squareSummary:"")},l&&l.templateId===a.templateId?o.a.createElement("div",{className:Rt.a.itemOpen,style:u},o.a.createElement("div",{className:Rt.a.itemOpenTitle},o.a.createElement(Ie,{to:"/".concat(r.categorySlug,"?collectionId=").concat(r.collectionId),className:Rt.a.returnToIndex,onClick:function(e){return e.preventDefault(),window.history.back(),!1}},n?"Back to Elementor Templates":"Back to Template Kit")),o.a.createElement("div",{className:Rt.a.itemOpenContent},o.a.createElement("div",{className:Rt.a.itemOpenContentWelcome},o.a.createElement("h3",{className:Rt.a.itemOpenContentTitle},r.collectionName," - ",a.templateName)),o.a.createElement("div",{className:Rt.a.itemOpenItem},o.a.createElement("div",{className:Rt.a.imagePlaceHolder,style:{backgroundImage:"url( ".concat(a.previewThumb," )"),height:"".concat(a.largeThumb.height,"px"),maxWidth:"".concat(a.largeThumb.width,"px")},ref:function(e){return d=e}},o.a.createElement("div",{className:Rt.a.features},a.itemImported?o.a.createElement("span",{className:Rt.a.featureImported},"Imported"):a.templateInserted&&a.templateInserted.length>0?o.a.createElement("span",{className:Rt.a.featureImported},"Imported"):"",a.templateFeatures?Object.entries(a.templateFeatures).map(function(e){return o.a.createElement("span",{key:e[0],className:Rt.a.featureOther},e[1].small)}):""),o.a.createElement("img",{src:a.largeThumb.src,width:a.largeThumb.width,height:a.largeThumb.height,alt:a.templateName,className:Rt.a.itemOpenItemSrc,onLoad:function(){d.className="".concat(d.className," ").concat(Rt.a.imagePlaceHolderLoaded)}}))),o.a.createElement("div",{className:Rt.a.itemOpenOptions},o.a.createElement("div",{className:Rt.a.openFeatures},o.a.createElement("ul",{className:We.a.bullets},o.a.createElement("li",null,o.a.createElement("strong",null,"Plugin Requirements:"),o.a.createElement("br",null),h?"Template designed for Elementor Pro.":"Works fine with Elementor Free."),o.a.createElement("li",null,o.a.createElement("strong",null,"Commercial License:"),o.a.createElement("br",null),o.a.createElement("a",{href:"https://elements.envato.com/user-terms",target:"_blank",rel:"noopener noreferrer"},"This template is free to use.")))),!f&&a.templateError?o.a.createElement(o.a.Fragment,null,o.a.createElement("h3",{className:Rt.a.itemOpenOptionsTitle},"Required Plugins Missing"),a.templateMissingPlugins.map(function(e){return"elementor-pro"===e.slug?o.a.createElement("div",{className:Rt.a.itemOpenItemDescription,key:e.slug},o.a.createElement("div",{className:Rt.a.requiredPluginElementorPro}),o.a.createElement("p",null,"This Template requires Elementor Pro",e.min_version?" version ".concat(e.min_version," or above"):"",". Before you can import the template you'll need to buy, install and activate",o.a.createElement("strong",null," Elementor Pro"),"."),o.a.createElement("a",{href:e.url,className:We.a.button,target:"_blank"},e.text),o.a.createElement("a",{href:"#",className:Rt.a.importAnyway,onClick:function(e){return e.preventDefault(),p(),!1}},"Ignore warning and import anyway")):o.a.createElement("div",{className:Rt.a.itemOpenItemDescription,key:e.slug},o.a.createElement("p",null,"To use this template please ensure all required plugins are installed and active."),o.a.createElement("a",{href:e.url,className:We.a.button,target:"_blank"},e.text))})):o.a.createElement(o.a.Fragment,null,o.a.createElement("div",{className:Rt.a.itemOpenOptionsBlock},o.a.createElement("h3",{className:Rt.a.itemOpenOptionsTitle},"Import Template"),o.a.createElement("div",{className:Rt.a.itemOpenItemDescription},"Import this template to make it available in your Elementor Saved Templates list for future use."),o.a.createElement(qt,{updateSingleItem:c,category:"elementor",item:a,importData:{collectionId:r.collectionId,templateId:a.templateId,importType:"elementor-library"},label:"Import Template",labelImported:"Open Template in Library"})),o.a.createElement("div",{className:Rt.a.itemOpenOptionsBlock},o.a.createElement("h3",{className:Rt.a.itemOpenOptionsTitle},"Create Page from Template"),o.a.createElement("div",{className:Rt.a.itemOpenItemDescription},"Create a new page from this template to make it available as a draft page in your Pages list."),o.a.createElement(qt,{updateSingleItem:c,category:"elementor",item:a,createPage:!0,importData:{collectionId:r.collectionId,templateId:a.templateId,importType:"create-page"},label:"Create Page"})),h?o.a.createElement("div",{className:Rt.a.itemOpenOptionsBlock},o.a.createElement("h3",{className:Rt.a.itemOpenOptionsTitle},"Elementor Pro"),o.a.createElement("p",null,"This template includes features from"),o.a.createElement("div",{className:Rt.a.requiredPluginElementorPro})):null)))):"",o.a.createElement("div",{className:Rt.a.inner},o.a.createElement("div",{className:Rt.a.background,style:{backgroundImage:"url( ".concat(a.previewThumb," )")}}),t?o.a.createElement("div",{className:Rt.a.features},r.features?Object.entries(r.features).map(function(e){return o.a.createElement("span",{key:e[0],className:"".concat(Rt.a.featureOther," ").concat(Rt.a["featureOther".concat(e[0])])},e[1])}):""):o.a.createElement("div",{className:Rt.a.features},a.itemImported?o.a.createElement("span",{className:Rt.a.featureImported},"Imported"):a.templateInserted&&a.templateInserted.length>0?o.a.createElement("span",{className:Rt.a.featureImported},"Imported"):"",a.templateFeatures?Object.entries(a.templateFeatures).map(function(e){return o.a.createElement("span",{key:e[0],className:Rt.a.featureOther},e[1].small)}):""),o.a.createElement(Ie,{to:"/".concat(r.categorySlug,"?collectionId=").concat(r.collectionId).concat(t?"":"&templateId=".concat(a.templateId)),onClick:function(e){return e.preventDefault(),s({collectionId:r.collectionId,templateId:t?null:a.templateId}),!1},className:Rt.a.thumb}," ")),o.a.createElement("div",{className:Rt.a.details},t?o.a.createElement("div",{className:Rt.a.detailsItemName},o.a.createElement("h3",{className:Rt.a.detailsItemNameTitle},r.collectionName),r.templates.length," Page Templates in this Kits"):n?o.a.createElement("div",{className:Rt.a.detailsItemName},o.a.createElement("h3",{className:Rt.a.detailsItemNameTitle},r.collectionName),a.templateName):o.a.createElement("div",{className:Rt.a.detailsItemName},o.a.createElement("h3",{className:Rt.a.detailsItemNameTitle},a.templateName)))))}),on=function(e){function t(e){var n,r,o,a,i,l;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=en(t).call(this,e),n=!o||"object"!==Xt(o)&&"function"!=typeof o?tn(r):o,a=tn(n),l=function(){n.setState({ignorePluginWarnings:!0})},(i="setIgnorePluginWarnings")in a?Object.defineProperty(a,i,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[i]=l,n.groupRef=null,n.state={hasIndexLoaded:!0,isOpen:!1,ignorePluginWarnings:!1},n}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nn(e,t)}(t,r["Component"]),n=t,(a=[{key:"componentDidMount",value:function(){this.props.openItem,this.state.isOpen}},{key:"shouldComponentUpdate",value:function(e,t){return this.props.getModalPos!==e.getModalPos||(this.state.ignorePluginWarnings!==t.ignorePluginWarnings||(JSON.stringify(this.props.result.templates)!==JSON.stringify(e.result.templates)||this.props.openItem!==e.openItem))}},{key:"componentDidUpdate",value:function(e,t){var n=this.props.openItem,r=this.state.isOpen;n&&!r?(this.setState({isOpen:!0}),Object(Et.disableBodyScroll)(this.groupRef)):e.openItem&&!n&&(this.setState({isOpen:!1}),setTimeout(function(){Object(Et.clearAllBodyScrollLocks)()},100))}},{key:"componentWillUnmount",value:function(){Object(Et.clearAllBodyScrollLocks)()}},{key:"render",value:function(){var e=this,t=this.props,n=t.result,r=t.openItem,a=t.getModalPos,i=t.searchQuery,l=t.searchChanges,u=this.state.ignorePluginWarnings;return i.text&&i.text.length>0?o.a.createElement(o.a.Fragment,null,n.templates.map(function(t){return o.a.createElement(rn,Jt({key:t.templateId,fromSearch:!0,template:t},e.props))})):r&&r.collectionId?o.a.createElement("div",{className:Rt.a.open,style:a,ref:function(t){return e.groupRef=t}},o.a.createElement("div",{className:Rt.a.openTitle},o.a.createElement(Ie,{className:Rt.a.returnToIndex,to:"/".concat(n.categorySlug),onClick:function(e){return e.preventDefault(),i.collectionId=null,l(i),!1}},"Back to Elementor Templates")),o.a.createElement("div",{className:Rt.a.openContent},o.a.createElement("div",{className:Rt.a.openContentWelcome},o.a.createElement("h3",{className:Rt.a.openContentTitle},n.collectionName),n.templates.length," Page Templates in this Kits"),o.a.createElement("div",{className:Rt.a.openContentFilter},o.a.createElement(Kt,{searchFilterChange:function(e,t,n){i[e]=n?t:null,l(i)},searchQuery:i})),o.a.createElement("div",{className:Rt.a.openContentResults},n.templates.map(function(t){return o.a.createElement(rn,Jt({key:t.templateId,template:t,ignorePluginWarnings:u,setIgnorePluginWarnings:e.setIgnorePluginWarnings},e.props))})))):o.a.createElement(rn,Jt({key:n.collectionId,summary:!0,template:n.templates[0]},this.props))}}])&&Zt(n.prototype,a),i&&Zt(n,i),t}();function an(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function ln(e){return(ln="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function un(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function cn(e){return(cn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function sn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fn(e,t){return(fn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function pn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}on.propTypes={};var dn=function(e){function t(e){var n,r,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=cn(t).call(this,e),n=!o||"object"!==ln(o)&&"function"!=typeof o?sn(r):o,pn(sn(n),"doTextSearch",function(e,t,r){var o=n.props,a=o.searchQuery,i=o.searchChanges,l=n.state.textValue,u=Object.assign({},a);return u.text=void 0!==t?t:l,u.tag=void 0!==r?r:null,u.pg=null,i(u),e&&e.preventDefault(),n.setState({activeSearch:!1}),!1}),pn(sn(n),"searchFilterChange",function(e,t,r,o){var a=n.props,i=a.searchQuery,l=a.searchChanges;n.setState({showWelcomeMessage:!1});var u=Object.assign({},i);if(u[e]=r?t:null,o){var c=!0,s=!1,f=void 0;try{for(var p,d=o[Symbol.iterator]();!(c=(p=d.next()).done);c=!0){u[p.value]=null}}catch(e){s=!0,f=e}finally{try{c||null==d.return||d.return()}finally{if(s)throw f}}}n.setState({activeSearch:!1}),l(u)}),pn(sn(n),"autocomplete",function(e){n.setState({activeSearch:!0,textValue:e.target.value})}),n.state={activeSearch:!1,textValue:void 0!==e.searchQuery.text?e.searchQuery.text:""},n}var n,r,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fn(e,t)}(t,o.a.PureComponent),n=t,(r=[{key:"componentDidUpdate",value:function(e,t){this.props.searchQuery}},{key:"render",value:function(){var e=this,t=this.props,n=t.apiMeta,r=(t.layoutOptions,t.layoutChange,t.searchQuery),a=this.state,i=a.textValue,l=a.activeSearch;return o.a.createElement("div",{className:Ht.a.outer},o.a.createElement("div",{className:Ht.a.wrapNoBg},o.a.createElement("form",{onSubmit:this.doTextSearch,className:Ht.a.searchForm},o.a.createElement("div",{className:Ht.a.searchText},o.a.createElement("input",{type:"text",placeholder:"Search...",value:i,onFocus:function(){e.setState({activeSearch:!0,textValue:""})},onBlur:function(){setTimeout(function(){e.setState({activeSearch:!1})},150)},onChange:this.autocomplete,className:"".concat(We.a.textInput," ").concat(We.a.textInputLarge),style:{width:"100%"}}),o.a.createElement("input",{type:"submit",name:"go",value:"Search",className:Ht.a.searchTextSubmit}),i.length>0?o.a.createElement("button",{type:"button",name:"reset",className:Ht.a.searchTextReset,onClick:function(){e.setState({activeSearch:!1,textValue:""}),e.doTextSearch(!1,null,null)}},"Clear Search"):null,l?o.a.createElement(hn,{searchText:i,apiMeta:n,setValue:function(t,n){e.setState({activeSearch:!1,textValue:t}),e.doTextSearch(!1,null,n)}}):null),o.a.createElement(Kt,{searchFilterChange:this.searchFilterChange,searchQuery:r}))),o.a.createElement("div",{className:Ht.a.pageTitle},o.a.createElement("h1",{className:Ht.a.pageTitleHeading},"Free Template Kits for Elementor"),n.item_count?o.a.createElement("div",{className:Ht.a.pageTitleCount},n.item_count.is_filtered_count?"".concat(n.item_count.templates," individual Page Templates."):n.item_count.is_tag_count?"".concat(n.item_count.collections," Free Template Kits, ").concat(n.item_count.templates," individual Page Templates."):"".concat(n.item_count.collections," Free Template Kits, over ").concat(n.item_count.templates," individual Page Templates.")):""))}}])&&un(n.prototype,r),a&&un(n,a),t}();dn.propTypes={};var hn=function(e){var t=e.searchText,n=e.apiMeta,r=e.setValue;if(n&&n.filters&&n.filters.industry){var a=new RegExp(t,"gi"),i=Object.entries(n.filters.industry).reduce(function(e,n){return t.length>0&&!n[1].name.match(a)?e:[].concat(an(e),[{key:n[0],name:n[1].name,count:n[1].count}])},[]);return i.length>0?o.a.createElement("div",{className:Ht.a.autoComplete},i.sort(function(e,t){return e.name.localeCompare(t.name)}).map(function(e){return o.a.createElement("div",{className:Ht.a.autoCompleteEntry,key:e.key},o.a.createElement("button",{className:Ht.a.autoCompleteButton,onClick:function(){r(e.name,e.key)}},e.name," (",e.count,")"))})):null}return null};function mn(e){return(mn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function vn(){return(vn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function yn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function gn(e,t){return!t||"object"!==mn(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function bn(e){return(bn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function wn(e,t){return(wn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var xn=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=gn(this,bn(t).call(this,e))).state={category:"elementor",search:{}},n}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wn(e,t)}(t,r["Component"]),n=t,(a=[{key:"render",value:function(){this.props.categories;var e=this.state,t=e.category,n=e.search;return o.a.createElement("div",{className:wt.a.wrap},o.a.createElement(gt,vn({ResultNode:on,SearchNode:dn,contentTypeName:"Template Kit",category:t,search:n},this.props)))}}])&&yn(n.prototype,a),i&&yn(n,i),t}();xn.propTypes={};var En=n(190),Sn=n.n(En),kn=n(191),Tn=n.n(kn);function On(e){return(On="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Cn(e){return(Cn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Pn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nn(e,t){return(Nn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var jn=function(e){function t(e){var n,r,o,a,i,l;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=Cn(t).call(this,e),n=!o||"object"!==On(o)&&"function"!=typeof o?Pn(r):o,a=Pn(n),l=function(){var e=n.props,t=e.importData,r=e.photoUploadCompleteCallback,o=e.category,a=e.item;n.setState({inserting:!0}),Te.post("insert/".concat(o,"/process"),t,{retryCallbac:n.doImport}).then(function(e){if(r)r(a,e);else if("undefined"!=typeof elementor)for(var t=0;t<e.data.content.length;t++)elementor.getPreviewView().addChildElement(e.data.content[t]);window.elementsModal&&window.elementsModal.hide()},function(e){}).finally(function(){n.setState({inserting:!1})})},(i="doInsert")in a?Object.defineProperty(a,i,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[i]=l,n.state={inserting:!1},n}var n,r,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nn(e,t)}(t,o.a.PureComponent),n=t,(r=[{key:"render",value:function(){var e=this.props,t=e.label,n=(e.item,this.state.inserting);return o.a.createElement("div",{className:Tn.a.wrap},o.a.createElement("button",{type:"button",onClick:this.doInsert,disabled:n,className:"".concat(We.a.button," ").concat(Lt.a.animatedButton," ").concat(n?Lt.a.importing:"")},n?"Inserting...":t||"Insert",o.a.createElement("span",null)))}}])&&_n(n.prototype,r),a&&_n(n,a),t}();jn.propTypes={};var In=n(7),Rn=n.n(In);function An(e){return(An="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ln(){return(Ln=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Mn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Dn(e){return(Dn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Fn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Un(e,t){return(Un=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Bn=Object(xt.trackWindowScroll)(function(e){e.summary;var t=e.fromSearch,n=(e.result,e.template),r=e.scrollPosition,a=(e.layoutOptions,e.getModalPos,e.updateSingleItem),i=e.ignorePluginWarnings,l=e.setIgnorePluginWarnings,u=null,c=!!n.templateFeatures["elementor-pro"];return o.a.createElement(xt.LazyLoadComponent,{scrollPosition:r,placeholder:o.a.createElement("div",{className:Rn.a.blockWrapLoading})},o.a.createElement("div",{className:"".concat(Rn.a.blockWrap," ").concat(n.itemImported?Rn.a.imported:""," ").concat(n.templateInserted&&n.templateInserted.length>0?Rn.a.imported:""," ").concat(t?Rn.a.squareFromSearch:"")},o.a.createElement("div",{className:Rn.a.thumbnail},o.a.createElement("div",{className:Rn.a.imagePlaceHolder,style:{height:"".concat(n.largeThumb.height,"px"),maxWidth:"".concat(n.largeThumb.width,"px")},ref:function(e){return u=e}},o.a.createElement("img",{src:n.largeThumb.src,width:n.largeThumb.width,height:n.largeThumb.height,alt:n.templateName,className:Rn.a.itemOpenItemSrc,onLoad:function(){u.className="".concat(u.className," ").concat(Rn.a.imagePlaceHolderLoaded)}}))),o.a.createElement("div",{className:Rn.a.details},o.a.createElement("h3",{className:Rn.a.itemOpenItemName},n.templateName),o.a.createElement("div",{className:Rn.a.openFeatures},o.a.createElement("ul",{className:We.a.bullets},o.a.createElement("li",null,o.a.createElement("strong",null,"Plugin Requirements:"),o.a.createElement("br",null),"Works with Elementor Free"),o.a.createElement("li",null,o.a.createElement("strong",null,"Commercial License:"),o.a.createElement("br",null),o.a.createElement("a",{href:"https://elements.envato.com/user-terms",target:"_blank",rel:"noopener noreferrer"},"Free")))),!i&&n.templateError?o.a.createElement(o.a.Fragment,null,o.a.createElement("h3",{className:Rn.a.itemOpenOptionsTitle},"Required Plugins Missing"),n.templateMissingPlugins.map(function(e){return"elementor-pro"===e.slug?o.a.createElement("div",{className:Rn.a.itemOpenItemDescription,key:e.slug},o.a.createElement("div",{className:Rn.a.requiredPluginElementorPro}),o.a.createElement("p",null,"This Template requires Elementor Pro",e.min_version?" version ".concat(e.min_version," or above"):"",". Before you can import the template you'll need to buy, install and activate",o.a.createElement("strong",null," Elementor Pro"),"."),o.a.createElement("a",{href:e.url,className:We.a.button,target:"_blank"},e.text),o.a.createElement("a",{href:"#",className:Rn.a.importAnyway,onClick:function(e){return e.preventDefault(),l(),!1}},"Ignore warning and import anyway")):o.a.createElement("div",{className:Rn.a.itemOpenItemDescription,key:e.slug},o.a.createElement("p",null,"To use this template please ensure all required plugins are installed and active."),o.a.createElement("a",{href:e.url,className:We.a.button,target:"_blank"},e.text))})):o.a.createElement(o.a.Fragment,null,n.templateType.popup?o.a.createElement("div",{className:"envato-elements__collection-template-option--help-text"},o.a.createElement("div",{className:Rn.a.itemOpenItemDescription},"Create an Elementor Popup based on this block."),o.a.createElement(qt,{updateSingleItem:a,category:"elementor",item:n,importData:{collectionId:n.collectionId,templateId:n.templateId,importType:"elementor-popup-library"},label:"Import Popup",labelImported:"Open Popup in Elementor Pro"})):o.a.createElement(o.a.Fragment,null,"elementor"===_e.get("modalMode")?o.a.createElement(o.a.Fragment,null,o.a.createElement("div",{className:Rn.a.itemOpenItemDescription},"Insert this Elementor Block onto the current page in a single click."),o.a.createElement(jn,{updateSingleItem:a,category:"elementor-blocks",item:n,importData:{collectionId:n.collectionId,templateId:n.templateId,importType:"magic-insert"},label:"Add Block to Page"})):o.a.createElement(o.a.Fragment,null,o.a.createElement("div",{className:Rn.a.itemOpenItemDescription},"Import this template to make it available in your Elementor Saved Templates list for future use."),o.a.createElement(qt,{updateSingleItem:a,category:"elementor-blocks",item:n,importData:{collectionId:n.collectionId,templateId:n.templateId,importType:"elementor-library"},labelImported:"Edit Template",label:"Import to Library"}))),c?o.a.createElement("div",{className:Rn.a.itemOpenItemDescription},o.a.createElement("p",null,"This template includes features from Elementor Pro."),o.a.createElement("div",{className:Rn.a.requiredPluginElementorPro})):null))))}),Wn=Object(xt.trackWindowScroll)(function(e){e.result;var t=e.template,n=e.scrollPosition,r=(e.layoutOptions,e.getModalPos,e.updateSingleItem,e.searchChanges);return o.a.createElement(xt.LazyLoadComponent,{scrollPosition:n,placeholder:o.a.createElement("div",{className:Rn.a.cardWrapLoading})},o.a.createElement("div",{className:"".concat(Rn.a.cardWrap," ").concat(t.itemImported?Rn.a.imported:""," ").concat(t.templateInserted&&t.templateInserted.length>0?Rn.a.imported:"")},o.a.createElement("div",{className:Rn.a.inner,style:{backgroundImage:"url( ".concat(t.largeThumb.src," )")}},o.a.createElement("div",{className:Rn.a.features},t.itemImported?o.a.createElement("span",{className:Rn.a.featureImported},"Imported"):t.templateInserted&&t.templateInserted.length>0?o.a.createElement("span",{className:Rn.a.featureImported},"Imported"):"",t.templateFeatures?Object.entries(t.templateFeatures).map(function(e){return o.a.createElement("span",{key:e[0],className:Rn.a.featureOther},e[1].small)}):""),o.a.createElement(Ie,{to:"/elementor-blocks?collectionId=".concat(t.collectionId,"&templateId=").concat(t.templateId),onClick:function(e){return e.preventDefault(),r({collectionId:t.collectionId,templateId:t.templateId}),!1},className:Rn.a.thumb}," ")),o.a.createElement("div",{className:Rn.a.detailsItemName},t.templateName)))}),qn=function(e){function t(e){var n,r,o,a,i,l;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=Dn(t).call(this,e),n=!o||"object"!==An(o)&&"function"!=typeof o?Fn(r):o,a=Fn(n),l=function(){n.setState({ignorePluginWarnings:!0})},(i="setIgnorePluginWarnings")in a?Object.defineProperty(a,i,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[i]=l,n.groupRef=null,n.state={hasIndexLoaded:!0,isOpen:!1,ignorePluginWarnings:!1},n}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Un(e,t)}(t,r["Component"]),n=t,(a=[{key:"componentDidMount",value:function(){this.props.openItem,this.state.isOpen}},{key:"shouldComponentUpdate",value:function(e,t){return this.props.getModalPos!==e.getModalPos||(this.state.ignorePluginWarnings!==t.ignorePluginWarnings||this.props.openItem!==e.openItem)}},{key:"componentDidUpdate",value:function(e,t){var n=this.props.openItem,r=this.state.isOpen;n&&!r?(this.setState({isOpen:!0}),Object(Et.disableBodyScroll)(this.groupRef)):e.openItem&&!n&&(this.setState({isOpen:!1}),Object(Et.clearAllBodyScrollLocks)())}},{key:"componentWillUnmount",value:function(){Object(Et.clearAllBodyScrollLocks)()}},{key:"render",value:function(){var e=this,t=this.props,n=t.result,r=t.openItem,a=t.getModalPos,i=t.searchQuery,l=t.searchChanges,u=this.state.ignorePluginWarnings;return i.text&&i.text.length>0?r&&r.collectionId===n.collectionId&&r.templateId===n.templateId?o.a.createElement("div",{className:Rn.a.open,style:a},o.a.createElement("div",{className:Rn.a.openTitle},o.a.createElement(Ie,{className:Rn.a.returnToIndex,to:"/elementor-blocks",onClick:function(e){return e.preventDefault(),window.history.back(),!1}},"Back to Elementor Blocks")),o.a.createElement("div",{className:Rn.a.openContent},o.a.createElement(Bn,Ln({key:"".concat(n.collectionId).concat(n.templateId),template:n,ignorePluginWarnings:u,setIgnorePluginWarnings:this.setIgnorePluginWarnings},this.props)))):o.a.createElement(Wn,Ln({key:"".concat(n.collectionId).concat(n.templateId),template:n},this.props)):r&&r.blockGroup?r.blockGroup===n.slug?o.a.createElement("div",{className:Rn.a.open,style:a},o.a.createElement("div",{className:Rn.a.openTitle},o.a.createElement(Ie,{className:Rn.a.returnToIndex,to:"/elementor-blocks",onClick:function(e){return e.preventDefault(),window.history.back(),!1}},"Back to all Block Kits")),o.a.createElement("div",{className:Rn.a.openContent},o.a.createElement("div",{className:Rn.a.openContentWelcome},o.a.createElement("h3",{className:Rn.a.openContentTitle},n.title," Blocks"),o.a.createElement("div",{className:Rn.a.openContentSubTitle},n.blocks.length," Block Templates in this category")),n.blocks.map(function(t){return o.a.createElement(Bn,Ln({key:"".concat(t.collectionId).concat(t.templateId),template:t,ignorePluginWarnings:u,setIgnorePluginWarnings:e.setIgnorePluginWarnings},e.props))}))):null:void 0!==n.blocks&&n.blocks.length>0?o.a.createElement("div",{className:Rn.a.blockCategory},o.a.createElement(Ie,{to:"/elementor-blocks?blockGroup=".concat(n.slug),className:Rn.a.blockCategoryLink,onClick:function(e){return e.preventDefault(),l({blockGroup:n.slug}),!1}},o.a.createElement("h3",{className:Rn.a.blockCategoryTitle},n.title),o.a.createElement("div",{className:Rn.a.blockCategoryCount},n.blocks.length," blocks"))):null}}])&&Mn(n.prototype,a),i&&Mn(n,i),t}();function zn(e){return(zn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Hn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Vn(e){return(Vn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Qn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $n(e,t){return($n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Yn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}qn.propTypes={};var Gn=function(e){function t(e){var n,r,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=Vn(t).call(this,e),n=!o||"object"!==zn(o)&&"function"!=typeof o?Qn(r):o,Yn(Qn(n),"doTextSearch",function(e,t){var r=n.props,o=r.searchQuery,a=r.searchChanges,i=n.state.textValue,l=Object.assign({},o);return l.text=void 0!==t?t:i,l.tag=null,l.pg=null,a(l),e&&e.preventDefault(),!1}),Yn(Qn(n),"searchFilterChange",function(e,t,r,o){var a=n.props,i=a.searchQuery,l=a.searchChanges;n.setState({showWelcomeMessage:!1});var u=Object.assign({},i);if(u[e]=r?t:null,o){var c=!0,s=!1,f=void 0;try{for(var p,d=o[Symbol.iterator]();!(c=(p=d.next()).done);c=!0){u[p.value]=null}}catch(e){s=!0,f=e}finally{try{c||null==d.return||d.return()}finally{if(s)throw f}}}l(u)}),Yn(Qn(n),"autocomplete",function(e){n.setState({textValue:e.target.value})}),n.state={textValue:void 0!==e.searchQuery.text?e.searchQuery.text:""},n}var n,r,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$n(e,t)}(t,o.a.PureComponent),n=t,(r=[{key:"componentDidUpdate",value:function(e,t){this.props.searchQuery}},{key:"render",value:function(){var e=this,t=this.props,n=t.apiMeta,r=(t.layoutOptions,t.layoutChange,t.searchQuery),a=this.state.textValue;return o.a.createElement("div",{className:Ht.a.outer},o.a.createElement("div",{className:Ht.a.wrapNoBg},o.a.createElement("form",{onSubmit:this.doTextSearch,className:Ht.a.searchForm},o.a.createElement("div",{className:Ht.a.searchText},o.a.createElement("input",{type:"text",placeholder:"Search...",value:a,onChange:this.autocomplete,className:"".concat(We.a.textInput," ").concat(We.a.textInputLarge),style:{width:"100%"}}),o.a.createElement("input",{type:"submit",name:"go",value:"Search",className:Ht.a.searchTextSubmit}),a.length>0?o.a.createElement("button",{type:"button",name:"reset",className:Ht.a.searchTextReset,onClick:function(){e.setState({textValue:""}),e.doTextSearch(!1,"")}},"Clear Search"):null),o.a.createElement(Kt,{searchFilterChange:this.searchFilterChange,searchQuery:r}))),o.a.createElement("div",{className:Ht.a.pageTitle},o.a.createElement("h1",{className:Ht.a.pageTitleHeading},"Free Block Kits for Elementor"),n.item_count?o.a.createElement("div",{className:Ht.a.pageTitleCount},n.item_count.is_filtered_count?"".concat(n.item_count.templates," individual Block Templates."):"Browse over ".concat(n.item_count.templates," free Block Templates.")):""))}}])&&Hn(n.prototype,r),a&&Hn(n,a),t}();function Kn(e){return(Kn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Xn(){return(Xn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Jn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Zn(e,t){return!t||"object"!==Kn(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function er(e){return(er=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function tr(e,t){return(tr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Gn.propTypes={};var nr=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=Zn(this,er(t).call(this,e))).state={category:"elementor-blocks",search:{}},n}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tr(e,t)}(t,r["Component"]),n=t,(a=[{key:"render",value:function(){this.props.categories;var e=this.state,t=e.category,n=e.search;return o.a.createElement("div",{className:Sn.a.wrap},o.a.createElement(gt,Xn({ResultNode:qn,SearchNode:Gn,contentTypeName:"Block",category:t,search:n},this.props)))}}])&&Jn(n.prototype,a),i&&Jn(n,i),t}();nr.propTypes={};var rr=n(8),or=n.n(rr);function ar(e){return(ar="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ir(){return(ir=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function lr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ur(e){return(ur=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function cr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sr(e,t){return(sr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var fr=Object(xt.trackWindowScroll)(function(e){var t=e.summary,n=e.fromSearch,r=e.result,a=e.template,i=e.scrollPosition,l=(e.layoutOptions,e.openItem),u=e.getModalPos,c=e.updateSingleItem,s=e.searchChanges,f=e.ignorePluginWarnings,p=(e.setIgnorePluginWarnings,null);return o.a.createElement(xt.LazyLoadComponent,{scrollPosition:i,placeholder:o.a.createElement("div",{className:or.a.squareWrapLoading})},o.a.createElement("div",{className:"".concat(or.a.squareWrap," ").concat(a.itemImported?or.a.imported:""," ").concat(a.templateInserted&&a.templateInserted.length>0?or.a.imported:""," ").concat(t?or.a.squareSummary:"")},l&&l.templateId===a.templateId?o.a.createElement("div",{className:or.a.itemOpen,style:u},o.a.createElement("div",{className:or.a.itemOpenTitle},o.a.createElement(Ie,{to:"/".concat(r.categorySlug,"?collectionId=").concat(r.collectionId),className:or.a.returnToIndex,onClick:function(e){return e.preventDefault(),window.history.back(),!1}},n?"Back to Beaver Builder Templates":"Back to Template Kit")),o.a.createElement("div",{className:or.a.itemOpenContent},o.a.createElement("div",{className:or.a.itemOpenContentWelcome},o.a.createElement("h3",{className:or.a.itemOpenContentTitle},r.collectionName," - ",a.templateName)),o.a.createElement("div",{className:or.a.itemOpenItem},o.a.createElement("div",{className:or.a.imagePlaceHolder,style:{backgroundImage:"url( ".concat(a.previewThumb," )"),height:"".concat(a.largeThumb.height,"px"),maxWidth:"".concat(a.largeThumb.width,"px")},ref:function(e){return p=e}},o.a.createElement("div",{className:or.a.features},a.itemImported?o.a.createElement("span",{className:or.a.featureImported},"Imported"):a.templateInserted&&a.templateInserted.length>0?o.a.createElement("span",{className:or.a.featureImported},"Imported"):"",a.templateFeatures?Object.entries(a.templateFeatures).map(function(e){return o.a.createElement("span",{key:e[0],className:or.a.featureOther},e[1].small)}):""),o.a.createElement("img",{src:a.largeThumb.src,width:a.largeThumb.width,height:a.largeThumb.height,alt:a.templateName,className:or.a.itemOpenItemSrc,onLoad:function(){p.className="".concat(p.className," ").concat(or.a.imagePlaceHolderLoaded)}}))),o.a.createElement("div",{className:or.a.itemOpenOptions},o.a.createElement("div",{className:or.a.openFeatures},o.a.createElement("ul",{className:We.a.bullets},o.a.createElement("li",null,o.a.createElement("strong",null,"Plugin Requirements:"),o.a.createElement("br",null),"Works fine with Beaver Builder Free"),o.a.createElement("li",null,o.a.createElement("strong",null,"Commercial License:"),o.a.createElement("br",null),o.a.createElement("a",{href:"https://elements.envato.com/user-terms",target:"_blank",rel:"noopener noreferrer"},"This template is free to use.")))),!f&&a.templateError?o.a.createElement(o.a.Fragment,null,o.a.createElement("h3",{className:or.a.itemOpenOptionsTitle},"Required Plugins Missing"),a.templateMissingPlugins.map(function(e){return o.a.createElement("div",{className:or.a.itemOpenItemDescription,key:e.slug},o.a.createElement("p",null,"To use this template please ensure all required plugins are installed and active."),o.a.createElement("a",{href:e.url,className:We.a.button,target:"_blank"},e.text))})):o.a.createElement(o.a.Fragment,null,o.a.createElement("div",{className:or.a.itemOpenOptionsBlock},o.a.createElement("h3",{className:or.a.itemOpenOptionsTitle},"Create Page from Template"),o.a.createElement("div",{className:or.a.itemOpenItemDescription},"Create a new page from this template to make it available as a draft page in your Pages list."),o.a.createElement(qt,{updateSingleItem:c,category:"beaver-builder",item:a,createPage:!0,importData:{collectionId:r.collectionId,templateId:a.templateId,importType:"create-page"},label:"Create Page"})))))):"",o.a.createElement("div",{className:or.a.inner,style:{backgroundImage:"url( ".concat(a.previewThumb," )")}},t?o.a.createElement("div",{className:or.a.features},r.features?Object.entries(r.features).map(function(e){return o.a.createElement("span",{key:e[0],className:"".concat(or.a.featureOther," ").concat(or.a["featureOther".concat(e[0])])},e[1])}):""):o.a.createElement("div",{className:or.a.features},a.itemImported?o.a.createElement("span",{className:or.a.featureImported},"Imported"):a.templateInserted&&a.templateInserted.length>0?o.a.createElement("span",{className:or.a.featureImported},"Imported"):"",a.templateFeatures?Object.entries(a.templateFeatures).map(function(e){return o.a.createElement("span",{key:e[0],className:or.a.featureOther},e[1].small)}):""),o.a.createElement(Ie,{to:"/".concat(r.categorySlug,"?collectionId=").concat(r.collectionId).concat(t?"":"&templateId=".concat(a.templateId)),onClick:function(e){return e.preventDefault(),s({collectionId:r.collectionId,templateId:t?null:a.templateId}),!1},className:or.a.thumb}," ")),o.a.createElement("div",{className:or.a.details},t?o.a.createElement("div",{className:or.a.detailsItemName},o.a.createElement("h3",{className:or.a.detailsItemNameTitle},r.collectionName),r.templates.length," Page Templates in this Kits"):n?o.a.createElement("div",{className:or.a.detailsItemName},o.a.createElement("h3",{className:or.a.detailsItemNameTitle},r.collectionName),a.templateName):o.a.createElement("div",{className:or.a.detailsItemName},o.a.createElement("h3",{className:or.a.detailsItemNameTitle},a.templateName)))))}),pr=function(e){function t(e){var n,r,o,a,i,l;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=ur(t).call(this,e),n=!o||"object"!==ar(o)&&"function"!=typeof o?cr(r):o,a=cr(n),l=function(){n.setState({ignorePluginWarnings:!0})},(i="setIgnorePluginWarnings")in a?Object.defineProperty(a,i,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[i]=l,n.groupRef=null,n.state={hasIndexLoaded:!0,isOpen:!1,ignorePluginWarnings:!1},n}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sr(e,t)}(t,r["Component"]),n=t,(a=[{key:"componentDidMount",value:function(){this.props.openItem,this.state.isOpen}},{key:"shouldComponentUpdate",value:function(e,t){return this.props.getModalPos!==e.getModalPos||(this.state.ignorePluginWarnings!==t.ignorePluginWarnings||(JSON.stringify(this.props.result.templates)!==JSON.stringify(e.result.templates)||this.props.openItem!==e.openItem))}},{key:"componentDidUpdate",value:function(e,t){var n=this.props.openItem,r=this.state.isOpen;n&&!r?(this.setState({isOpen:!0}),Object(Et.disableBodyScroll)(this.groupRef)):e.openItem&&!n&&(this.setState({isOpen:!1}),setTimeout(function(){Object(Et.clearAllBodyScrollLocks)()},100))}},{key:"componentWillUnmount",value:function(){Object(Et.clearAllBodyScrollLocks)()}},{key:"render",value:function(){var e=this,t=this.props,n=t.result,r=t.openItem,a=t.getModalPos,i=t.searchQuery,l=this.state.ignorePluginWarnings;return i.text&&i.text.length>0?o.a.createElement(o.a.Fragment,null,n.templates.map(function(t){return o.a.createElement(fr,ir({key:t.templateId,fromSearch:!0,template:t},e.props))})):r&&r.collectionId?o.a.createElement("div",{className:or.a.open,style:a,ref:function(t){return e.groupRef=t}},o.a.createElement("div",{className:or.a.openTitle},o.a.createElement(Ie,{className:or.a.returnToIndex,to:"/".concat(n.categorySlug),onClick:function(e){return e.preventDefault(),window.history.back(),!1}},"Back to Beaver Builder Templates")),o.a.createElement("div",{className:or.a.openContent},o.a.createElement("div",{className:or.a.openContentWelcome},o.a.createElement("h3",{className:or.a.openContentTitle},n.collectionName),n.templates.length," Page Templates in this Kits"),n.templates.map(function(t){return o.a.createElement(fr,ir({key:t.templateId,template:t,ignorePluginWarnings:l,setIgnorePluginWarnings:e.setIgnorePluginWarnings},e.props))}))):o.a.createElement(fr,ir({key:n.collectionId,summary:!0,template:n.templates[0]},this.props))}}])&&lr(n.prototype,a),i&&lr(n,i),t}();function dr(e){return(dr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function hr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function mr(e){return(mr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function vr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yr(e,t){return(yr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function gr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}pr.propTypes={};var br=function(e){function t(e){var n,r,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=mr(t).call(this,e),n=!o||"object"!==dr(o)&&"function"!=typeof o?vr(r):o,gr(vr(n),"doTextSearch",function(e,t){var r=n.props,o=r.searchQuery,a=r.searchChanges,i=n.state.textValue,l=Object.assign({},o);return l.text=void 0!==t?t:i,l.tag=null,l.pg=null,a(l),e&&e.preventDefault(),!1}),gr(vr(n),"autocomplete",function(e){n.setState({activeSearch:!0,textValue:e.target.value})}),n.state={activeSearch:!1,textValue:void 0!==e.searchQuery.text?e.searchQuery.text:""},n}var n,r,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yr(e,t)}(t,o.a.PureComponent),n=t,(r=[{key:"componentDidUpdate",value:function(e,t){this.props.searchQuery}},{key:"render",value:function(){var e=this,t=this.props,n=t.apiMeta,r=(t.layoutOptions,t.layoutChange,t.searchQuery,this.state),a=r.textValue;r.activeSearch;return o.a.createElement("div",{className:Ht.a.outer},o.a.createElement("div",{className:Ht.a.wrapNoBg},o.a.createElement("form",{onSubmit:this.doTextSearch},o.a.createElement("div",{className:Ht.a.searchText},o.a.createElement("input",{type:"text",placeholder:"Search...",value:a,onChange:this.autocomplete,className:"".concat(We.a.textInput," ").concat(We.a.textInputLarge),style:{width:"100%"}}),o.a.createElement("input",{type:"submit",name:"go",value:"Search",className:Ht.a.searchTextSubmit}),a.length>0?o.a.createElement("button",{type:"button",name:"reset",className:Ht.a.searchTextReset,onClick:function(){e.setState({activeSearch:!1,textValue:""}),e.doTextSearch(!1,"")}},"Clear Search"):null))),o.a.createElement("div",{className:Ht.a.pageTitle},o.a.createElement("h1",{className:Ht.a.pageTitleHeading},"Free Template Kits for Beaver Builder"),n.item_count?o.a.createElement("div",{className:Ht.a.pageTitleCount},n.item_count.collections," Free Template Kits, over ",n.item_count.templates," individual Page Templates."):""))}}])&&hr(n.prototype,r),a&&hr(n,a),t}();function wr(e){return(wr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function xr(){return(xr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Er(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Sr(e,t){return!t||"object"!==wr(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function kr(e){return(kr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Tr(e,t){return(Tr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}br.propTypes={};var Or=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=Sr(this,kr(t).call(this,e))).state={category:"beaver-builder",search:{}},n}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tr(e,t)}(t,r["Component"]),n=t,(a=[{key:"render",value:function(){this.props.categories;var e=this.state,t=e.category,n=e.search;return o.a.createElement("div",{className:wt.a.wrap},o.a.createElement(gt,xr({ResultNode:pr,SearchNode:br,contentTypeName:"Template Kit",category:t,search:n},this.props)))}}])&&Er(n.prototype,a),i&&Er(n,i),t}();Or.propTypes={};var _r=n(140),Cr=n.n(_r),Pr=n(19),Nr=n.n(Pr),jr=n(114),Ir=n.n(jr);function Rr(e){return(Rr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ar(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Lr(e){return(Lr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Mr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dr(e,t){return(Dr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Fr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ur=function(e){function t(e){var n,r,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=Lr(t).call(this,e),n=!o||"object"!==Rr(o)&&"function"!=typeof o?Mr(r):o,Fr(Mr(n),"updateProjectName",function(e){n.state.projectName!==n.txt.innerText&&(n.setState({projectName:n.txt.innerText}),n.iconRef&&(n.iconRef.className="dashicons dashicons-update"),n.txt.innerText.length>0&&_e.persist("elements_project",n.txt.innerText).then(function(){n.iconRef&&(n.iconRef.className="dashicons dashicons-yes")},function(){}))}),Fr(Mr(n),"editProjectName",function(){n.txt.focus(),document.execCommand("selectAll",!1,null)}),n.iconRef=null,n.txt=null,n.state={projectNameEdit:!1,projectName:_e.get("elements_project")},n}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dr(e,t)}(t,r["Component"]),n=t,(a=[{key:"shouldComponentUpdate",value:function(e,t,n){return!1}},{key:"render",value:function(){var e=this,t=this.state.projectName;return o.a.createElement("span",{className:Ir.a.wrap},o.a.createElement("span",{className:Ir.a.projectNameView,contentEditable:!0,onInput:this.updateProjectName,onBlur:this.updateProjectName,onKeyPress:function(e){if(13===(e.charCode||e.keyCode))return e.preventDefault(),!1},ref:function(t){e.txt=t},dangerouslySetInnerHTML:{__html:t}}),o.a.createElement("button",{type:"text",onClick:this.editProjectName,className:Ir.a.projectNameButton},o.a.createElement("span",{ref:function(t){e.iconRef=t},className:"dashicons dashicons-edit"})))}}])&&Ar(n.prototype,a),i&&Ar(n,i),t}();function Br(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Ur.propTypes={};new function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Br(this,"remember",function(){}),Br(this,"restore",function(){}),this.config={}};function Wr(e){return(Wr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function qr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function zr(e){return(zr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Hr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vr(e,t){return(Vr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Qr=function(e){function t(e){var n,r,o,a,i,l;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=zr(t).call(this,e),n=!o||"object"!==Wr(o)&&"function"!=typeof o?Hr(r):o,a=Hr(n),l=function(){n.forceUpdate()},(i="licenseChanged")in a?Object.defineProperty(a,i,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[i]=l,n.photoRef=null,n.state={isOpen:!1},n}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vr(e,t)}(t,r["Component"]),n=t,(a=[{key:"shouldComponentUpdate",value:function(e,t){return this.props.getModalPos!==e.getModalPos||(this.props.layoutOptions.display!==e.layoutOptions.display||(!(!e.result.itemImported||this.props.result.itemImported===e.result.itemImported)||this.props.openItem!==e.openItem))}},{key:"componentDidUpdate",value:function(e,t){var n=this.props.openItem,r=this.state.isOpen;n&&!r?(this.setState({isOpen:!0}),Object(Et.disableBodyScroll)(this.photoRef)):e.openItem&&!n&&(this.setState({isOpen:!1}),setTimeout(function(){Object(Et.clearAllBodyScrollLocks)()},100))}},{key:"componentWillUnmount",value:function(){Object(Et.clearAllBodyScrollLocks)()}},{key:"render",value:function(){var e=this,t=this.props,n=t.result,r=t.scrollPosition,a=t.openItem,i=t.getModalPos,l=t.searchChanges,u=t.layoutOptions,c=t.updateSingleItem,s=t.photoUploadCompleteCallback,f=_e.get("elements_status"),p={},d={backgroundImage:"url( ".concat(n.imageThumb.src," )")};return"square"===u.display||(p.width="".concat(n.calculatedMasonryWidth,"%"),d.paddingBottom="".concat(n.aspectRatioHeight,"%")),o.a.createElement("div",{className:"".concat("square"===u.display?Nr.a.wrapSquare:Nr.a.wrapFluid," ").concat(n.photoImported?Nr.a.imported:""),ref:function(t){return e.photoRef=t},style:p},a?o.a.createElement("div",{className:Nr.a.open,style:i},o.a.createElement("div",{className:Nr.a.openTitle},o.a.createElement(Ie,{className:Nr.a.returnToIndex,to:"/photos",onClick:function(e){return e.preventDefault(),window.history.back(),!1}},"Back to Photos")),o.a.createElement("div",{className:Nr.a.openContent},o.a.createElement("div",{className:Nr.a.openPhoto},o.a.createElement("div",{className:Nr.a.imagePlaceHolder,style:{backgroundImage:"url( ".concat(n.imageThumb.src," )"),maxWidth:n.imageLarge.width,height:n.imageLarge.height},ref:function(t){return e.imagePlaceHolder=t}},o.a.createElement("div",{className:Nr.a.features},n.itemImported?o.a.createElement("span",{className:Nr.a.featureImported},"Imported"):""),o.a.createElement("img",{src:n.imageLarge.src,width:n.imageLarge.width,height:n.imageLarge.height,alt:n.title,className:Nr.a.openPhotoSrc,onLoad:function(){e.imagePlaceHolder.className="".concat(e.imagePlaceHolder.className," ").concat(Nr.a.imagePlaceHolderLoaded)}}))),o.a.createElement("div",{className:Nr.a.openOptions},o.a.createElement("h3",{className:Nr.a.openPhotoName},n.title),o.a.createElement("div",{className:Nr.a.openAuthor},o.a.createElement("a",{href:"https://elements.envato.com/".concat(n.slug,"-").concat(n.photoId,"?utm_source=extensions&utm_medium=referral&utm_campaign=wordpress_photos_page"),className:Nr.a.outboundElementsLink,target:"_blank",rel:"noreferrer noopener"},"By ",n.contributor_username)),o.a.createElement("div",{className:Nr.a.openFeatures},o.a.createElement("ul",{className:We.a.bullets},o.a.createElement("li",null,o.a.createElement("strong",null,"Orientation"),o.a.createElement("br",null),n.item_attributes.orientation),n.displayWidth?o.a.createElement("li",null,o.a.createElement("strong",null,"Dimensions"),o.a.createElement("br",null),n.displayWidth,"px x ",n.displayHeight,"px"):"",o.a.createElement("li",null,o.a.createElement("strong",null,"Commercial License:"),o.a.createElement("br",null),o.a.createElement("a",{href:"https://elements.envato.com/license-terms",target:"_blank",rel:"noopener noreferrer"},"Further Information")))),o.a.createElement("div",{className:Nr.a.openDivider}),"paid"!==f?o.a.createElement("div",{className:Nr.a.needsLicense},o.a.createElement("p",null,"To download and use this photo, you need to become an Envato Elements subscriber."),o.a.createElement(jt,{successCallback:this.licenseChanged})):o.a.createElement("div",{className:Nr.a.readyToLicense},o.a.createElement("p",null,"I understand that this image will be licensed to the project named ",o.a.createElement(Ur,null)," and is subject to the standard ",o.a.createElement("br",null),o.a.createElement("a",{href:"https://elements.envato.com/license-terms?utm_source=extensions&utm_medium=referral&utm_campaign=wordpress_photos_license",rel:"noreferrer noopener",target:"_blank"},"Envato Elements License"),"."),_e.get("modalMode")?o.a.createElement(jn,{photoUploadCompleteCallback:s,updateSingleItem:c,item:n,modalMode:_e.get("modalMode"),category:"photos",importData:{itemId:n.uuid,photoName:n.title,photoDescription:n.description,importType:"magic-insert"},label:"License & Insert Photo on Page",labelImported:"Insert Photo on Page"}):o.a.createElement(qt,{updateSingleItem:c,item:n,category:"photos",importData:{itemId:n.uuid,photoName:n.title,photoDescription:n.description,importType:"media-library"},label:"License & Download into Media Library",labelImported:"View Image in Media Library"}))))):"",o.a.createElement(xt.LazyLoadComponent,{scrollPosition:r},o.a.createElement("div",{className:Nr.a.inner,style:d},o.a.createElement("div",{className:Nr.a.features},n.itemImported?o.a.createElement("span",{className:Nr.a.featureImported},"Imported"):""),o.a.createElement(Ie,{to:"/photos?photoId=".concat(n.humane_id),onClick:function(e){return e.preventDefault(),l({photoId:n.humane_id}),!1},className:Nr.a.link}," "),o.a.createElement("div",{className:Nr.a.details},o.a.createElement("div",{className:Nr.a.detailsItemName},n.title)))))}}])&&qr(n.prototype,a),i&&qr(n,i),t}(),$r=Object(xt.trackWindowScroll)(Qr);function Yr(e){return(Yr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Gr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Kr(e){return(Kr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Xr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jr(e,t){return(Jr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Zr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Qr.propTypes={};var eo=function(e){return o.a.createElement("svg",e,o.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 1h16c.55 0 1 .45 1 1v16c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1zm7.01 7.99v-6H3v6h6.01zm8 0v-6h-6v6h6zm-8 8.01v-6H3v6h6.01zm8 0v-6h-6v6h6z",fill:"#888"}))};eo.defaultProps={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var to=function(e){return o.a.createElement("svg",e,o.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 18V2c0-.55.45-1 1-1h16c.55 0 1 .45 1 1v16c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1zm10-7H3v6h8v-6zM6 3H3v6h3V3zm11 8h-4v6h4v-6zm0-8H8v6h9V3z",fill:"#888"}),o.a.createElement("mask",{id:"a",maskUnits:"userSpaceOnUse",x:"1",y:"1",width:"18",height:"18"},o.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 18V2c0-.55.45-1 1-1h16c.55 0 1 .45 1 1v16c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1zm10-7H3v6h8v-6zM6 3H3v6h3V3zm11 8h-4v6h4v-6zm0-8H8v6h9V3z",fill:"#fff"})),o.a.createElement("g",{mask:"url(#a)"},o.a.createElement("path",{fill:"#0878B0",d:"M-.242 20.816V-1.03h20.765v21.846z"})))};to.defaultProps={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var no=function(e){var t=e.label,n=e.name,r=e.attributes,a=e.searchFilterChange,i=e.values,l=e.columns,u=t;return Object.entries(r).filter(function(e){return e[1].label&&i[n]===e[0]&&(u=e[1].label),!1}),o.a.createElement("div",{className:Ht.a.filter},o.a.createElement("div",{className:Ht.a.filterLabel},u,o.a.createElement("div",{className:"".concat(Ht.a.filterAttributes," ").concat(2===l?Ht.a.filterAttributesWide:"")},Object.entries(r).map(function(e){return e[1].label&&e[1].label.length>0?o.a.createElement("div",{key:e[0],className:Ht.a.filterAttribute},o.a.createElement("label",{htmlFor:"filter".concat(n).concat(e[0])},o.a.createElement("input",{type:"checkbox",className:"".concat(Ht.a.filterAttributeCheckbox," ").concat(e[1].color?Ht.a.filterAttributeCheckboxColor:""," ").concat(e[1].color?Ht.a["filterAttributeCheckboxColor--".concat(e[1].color)]:""),name:e[0],value:1,checked:i[n]===e[0],id:"filter".concat(n).concat(e[0]),onChange:function(t){a(n,e[0],t.target.checked,["tag"])}}),e[1].label)):""}))))},ro=function(e){function t(e){var n,r,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=Kr(t).call(this,e),n=!o||"object"!==Yr(o)&&"function"!=typeof o?Xr(r):o,Zr(Xr(n),"searchFilterChange",function(e,t,r,o){var a=n.props,i=a.searchQuery,l=a.searchChanges;n.setState({showWelcomeMessage:!1});var u=Object.assign({},i);if(u[e]=r?t:null,o){var c=!0,s=!1,f=void 0;try{for(var p,d=o[Symbol.iterator]();!(c=(p=d.next()).done);c=!0){u[p.value]=null}}catch(e){s=!0,f=e}finally{try{c||null==d.return||d.return()}finally{if(s)throw f}}}l(u)}),Zr(Xr(n),"doTextSearch",function(e){var t=n.props,r=t.searchQuery,o=t.searchChanges;n.setState({showWelcomeMessage:!1});var a=Object.assign({},r);return a.text=n.txtRef.value,a.tag=null,a.pg=null,o(a),e&&e.preventDefault(),!1}),Zr(Xr(n),"licenseChanged",function(){n.setState({showWelcomeMessage:!1})}),n.txtRef=null,n.state={showWelcomeMessage:!e.searchQuery.text&&"paid"!==_e.get("elements_status")},n}var n,r,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jr(e,t)}(t,o.a.PureComponent),n=t,(r=[{key:"componentDidUpdate",value:function(e,t){var n=this.props.searchQuery;this.txtRef.value=n.text?n.text:""}},{key:"render",value:function(){var e=this,t=this.props,n=t.apiMeta,r=t.layoutOptions,a=t.layoutChange,i=t.searchQuery,l=this.state.showWelcomeMessage,u=0;return l||window.innerWidth<=782?o.a.createElement("div",{className:Ht.a.wrap},o.a.createElement("form",{onSubmit:this.doTextSearch},o.a.createElement("div",{className:Ht.a.searchText},o.a.createElement("input",{id:"elements-search-text","data-cy":"elements-search-text",type:"text",defaultValue:i.text?i.text:"",placeholder:"Search...",ref:function(t){e.txtRef=t},className:"".concat(We.a.textInput," ").concat(We.a.textInputLarge),style:{width:"100%"}}),o.a.createElement("input",{type:"submit",name:"go",value:"Search",className:Ht.a.searchTextSubmit,"data-cy":"elements-search-submit"}))),o.a.createElement("div",{className:Ht.a.intro},o.a.createElement("h3",{className:Ht.a.introTitle},"Get access to over ",n.totalItemCount," photos"),o.a.createElement("p",null,"These photos are brought to you by Envato Elements, and they could be yours! To get unlimited access to them and thousands of other digital assets, you need to become a paid Envato Elements subscriber."," ",o.a.createElement("a",{href:"https://elements.envato.com/?utm_source=extensions&utm_medium=referral&utm_campaign=wordpress_photos_welcome",rel:"noopener noreferrer",target:"_blank"},"Find out more")),o.a.createElement(jt,{label:"Get Started",successCallback:this.licenseChanged}))):o.a.createElement("div",{className:Ht.a.wrap},o.a.createElement("form",{onSubmit:this.doTextSearch},o.a.createElement("div",{className:Ht.a.searchText},o.a.createElement("input",{type:"text",defaultValue:i.text,placeholder:"Search...",ref:function(t){e.txtRef=t},className:"".concat(We.a.textInput," ").concat(We.a.textInputLarge),style:{width:"100%"}}),o.a.createElement("input",{type:"submit",name:"go",value:"Search",className:Ht.a.searchTextSubmit}),n.totalItemCount?o.a.createElement("div",{className:Ht.a.searchTotalItems},"Search ",n.totalItemCount," royalty-free stock photos."):""),n.aggregations?o.a.createElement("div",{className:Ht.a.searchFilter},o.a.createElement("button",{type:"button",className:"".concat(Ht.a.viewToggle," ").concat("fluid"===r.display?Ht.a.viewToggleMasonry:Ht.a.viewToggleGrid),onClick:function(e){return e.preventDefault(),a("display","fluid"===r.display?"square":"fluid"),!1}},"View",o.a.createElement(eo,{className:Ht.a.viewToggleGridIcon}),o.a.createElement(to,{className:Ht.a.viewToggleMasonryIcon})),n.aggregations.orientation?o.a.createElement(no,{searchFilterChange:this.searchFilterChange,label:"Orientation",name:"orientation",values:i,attributes:n.aggregations.orientation}):"",n.aggregations.background?o.a.createElement(no,{searchFilterChange:this.searchFilterChange,label:"Background",name:"background",values:i,attributes:n.aggregations.background}):"",n.aggregations.colors?o.a.createElement(no,{searchFilterChange:this.searchFilterChange,label:"Colors",name:"colors",columns:2,values:i,attributes:n.aggregations.colors}):""):"",n.aggregations&&Object.keys(n.aggregations.tags).length>0?o.a.createElement("div",{className:Ht.a.tagFilter},"Related tags:",Object.entries(n.aggregations.tags).map(function(t){return u++<10&&t[1].label&&t[1].label.length>0?o.a.createElement("button",{type:"button",key:t[0],className:void 0!==i.tag&&i.tag===t[0]?Ht.a.tagCurrent:Ht.a.tag,onClick:function(n){return n.preventDefault(),e.searchFilterChange("tag",t[0],void 0===i.tag||i.tag!==t[0]),!1}},t[1].label):""})):""))}}])&&Gr(n.prototype,r),a&&Gr(n,a),t}();function oo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ao(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}ro.propTypes={};var io=function(e){return e.reduce(function(e,t){return e+t.aspectRatio},0)},lo=function(e,t){return e.size<t-.25*t},uo=function(e,t){if(e.length<=2)return e;for(var n=ao(e).map(function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){oo(e,t,n[t])})}return e}({},e,{items:ao(e.items)})}),r=n.length-1,o=!0;o&&(o=lo(n[r],t))&&(n[r].items.unshift(n[r-1].items.pop()),n[r].size=io(n[r].items),n[r-1].size=io(n[r-1].items),lo(n[r],t)||(r-=1),!(r<1)););return n};function co(e){return(co="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function so(){return(so=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function fo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){yo(e,t,n[t])})}return e}function po(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ho(e){return(ho=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function mo(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vo(e,t){return(vo=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function yo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var go=function(e){function t(e){var n,r,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=ho(t).call(this,e),n=!o||"object"!==co(o)&&"function"!=typeof o?mo(r):o,yo(mo(n),"resultsPreProcessor",function(e){return n.getBreakpointsImages(e).breakpointsImages[0].images}),n.state={category:"photos",search:{}},n}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vo(e,t)}(t,r["Component"]),n=t,(a=[{key:"getBreakpointsImages",value:function(e){var t=Number.MAX_SAFE_INTEGER,n=0;return{breakpointsImages:[{breakpoint:"large",itemsPerRow:5,gutterWidth:1.1}].map(function(r,o){var a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2?arguments[2]:void 0,r=e.reduce(function(e,r){var o=e[e.length-1],a=e.length>0&&o.size<t;if(!a&&e.length>=n)return e;var i=r.aspectRatio,l=void 0===i?1:i;return a?(o.items.push(r),o.size+=l,e):[].concat(ao(e),[{items:[r],size:l}])},[]);return void 0===n||n>r.length?uo(r,t):r}(e,r.itemsPerRow,t),i=a.map(function(e,t){return e.items.map(function(n,o){var i=e.items.length-1,l=t===a.length-1&&e.size<.75*r.itemsPerRow?r.itemsPerRow:e.size,u=n.aspectRatio;return fo({},n,{calculatedMasonryWidth:(void 0===u?1:u)/l*(100-i*r.gutterWidth)})})});return n<i.length&&(n=i.length),{breakpoint:fo({},r,{size:r.breakpoint||0}),images:i.flat()}}),sliceIndex:n}}},{key:"render",value:function(){this.props.categories;var e=this.state,t=e.category,n=e.search;return o.a.createElement("div",{className:Cr.a.wrap},o.a.createElement(gt,so({ResultNode:$r,resultsPreProcessor:this.resultsPreProcessor,resultsClassName:Cr.a.results,SearchNode:ro,category:t,search:n},this.props)))}}])&&po(n.prototype,a),i&&po(n,i),t}();go.propTypes={};var bo=n(72),wo=n.n(bo);function xo(e){return(xo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Eo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function So(e){return(So=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ko(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function To(e,t){return(To=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Oo=function(e){function t(e){var n,r,o,a,i,l;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=So(t).call(this,e),n=!o||"object"!==xo(o)&&"function"!=typeof o?ko(r):o,a=ko(n),l=function(){n.forceUpdate()},(i="licenseChanged")in a?Object.defineProperty(a,i,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[i]=l,n.state={},n}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&To(e,t)}(t,r["Component"]),n=t,(a=[{key:"render",value:function(){var e=_e.get("elements_status");return o.a.createElement("div",{className:wo.a.wrap},o.a.createElement("div",{className:wo.a.welcome},o.a.createElement("h1",null,"Settings")),o.a.createElement("div",{className:wo.a.cards},"paid"!==e?o.a.createElement("div",{className:wo.a.license},o.a.createElement("h2",null,"License:"),o.a.createElement("div",null,o.a.createElement("p",null,"To download and use certain items you need to become an Envato Elements subscriber."),o.a.createElement(jt,{successCallback:this.licenseChanged,label:"Enter license code"}))):o.a.createElement("div",{className:wo.a.projectName},o.a.createElement("h2",null,"Success:"),o.a.createElement("p",null,"You are now connected."),o.a.createElement("p",null,"When content is imported into WordPress it is licensed against an Envato Elements project. Please choose the default project name here: ",o.a.createElement("br",null),o.a.createElement("br",null),o.a.createElement(Ur,null))),o.a.createElement("div",{className:wo.a.reset},o.a.createElement("h2",null,"Reset Plugin:"),o.a.createElement("p",null,"Sometimes we all need a good reset!",o.a.createElement("br",null),"Clicking this button will clear the Envato Elements cache and remove any settings. ",o.a.createElement("br",null),"A new Envato Elements token will be needed after reset. This will not remove any imported templates or photos."),o.a.createElement("a",{href:_e.get("license_deactivate"),className:"".concat(We.a.button," ").concat(We.a.resetButton)},"Clear Cache & Reset Plugin"))))}}])&&Eo(n.prototype,a),i&&Eo(n,i),t}();function _o(e){return(_o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Co(){return(Co=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Po(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function No(e){return(No=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function jo(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Io(e,t){return(Io=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ro(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Oo.propTypes={};var Ao=function(e){function t(e){var n,r,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=No(t).call(this,e),n=!o||"object"!==_o(o)&&"function"!=typeof o?jo(r):o,Ro(jo(n),"getModalPos",function(){var e={left:window.innerWidth<=782?0:jQuery("#adminmenuwrap").width(),headerTop:jQuery("#wpadminbar").height(),top:jQuery("#wpadminbar").height()+56,right:0,bottom:0};if("elementor"===_e.get("modalMode")){var t=jQuery(n.wrapperRef).parents(".dialog-lightbox-widget-content").first();if(t.get(0)){var r=t.get(0).getBoundingClientRect();e.left=r.left,e.headerTop=r.top,e.top=r.top+56,e.right=window.innerWidth-r.right,e.bottom=window.innerHeight-r.bottom}}else if("wpMedia"===_e.get("modalMode")){var o=jQuery(n.wrapperRef).parents(".envatoelements-attachments-browser").first();if(o.get(0)){var a=o.get(0).getBoundingClientRect();e.left=a.left,e.headerTop=a.top,e.top=a.top,e.right=window.innerWidth-a.right,e.bottom=window.innerHeight-a.bottom}}return e}),Ro(jo(n),"updateWordPressSidebarNavigation",function(){var e=n.props.location,t=jQuery("li#toplevel_page_envato-elements");if(t.length){t.find(".current").removeClass("current");var r=e.pathname&&"#"!==e.pathname&&"/"!==e.pathname?e.pathname:"/home",o=t.find('[href*="'.concat(r,'"]'));o.length||(o=t.find("ul a").first()),o.addClass("current"),o.parent("li").first().addClass("current")}}),Ro(jo(n),"updateFixedPositions",function(){n.setState({currentModalPos:n.getModalPos()})}),n.state={currentModalPos:{}},n.wrapperRef=null,n}var n,r,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Io(e,t)}(t,o.a.PureComponent),n=t,(r=[{key:"componentDidMount",value:function(){var e=this;this.updateWordPressSidebarNavigation(),this.updateFixedPositions(),window.addEventListener("resize",function(){e.updateFixedPositions()}),setTimeout(function(){e.updateFixedPositions()},300),jQuery("body").on("click","#collapse-button",function(){e.updateFixedPositions()})}},{key:"componentDidUpdate",value:function(e){this.props.location.pathname!==e.location.pathname&&this.updateWordPressSidebarNavigation()}},{key:"render",value:function(){var e=this,t=_e.get("navigation"),n=_e.get("categories"),r=this.props,a=r.location,i=r.history,l=r.photoUploadCompleteCallback,u=this.state.currentModalPos,c=!0===_e.get("hideNavigation")||window.innerWidth<=782;return o.a.createElement("div",{className:c?ce.a.wrapperNormal:ce.a.wrapperFixed},!0===_e.get("hideNavigation")?null:o.a.createElement($e,{navigation:t,getModalPos:u,location:a,normalNavigation:c}),o.a.createElement("div",{className:ce.a.scroller,ref:function(t){return e.wrapperRef=t}},o.a.createElement(re,{path:"/",exact:!0,render:function(e){return setTimeout(function(){!a||""!==a.pathname&&"/"!==a.pathname||i.push("/".concat(t[0].slug))},200),null}}),o.a.createElement(re,{path:"/elementor",render:function(e){return o.a.createElement(xn,Co({},e,{categories:n,getModalPos:u}))}}),o.a.createElement(re,{path:"/elementor-blocks",render:function(e){return o.a.createElement(nr,Co({},e,{categories:n,getModalPos:u}))}}),o.a.createElement(re,{path:"/beaver-builder",render:function(e){return o.a.createElement(Or,Co({},e,{categories:n,getModalPos:u}))}}),o.a.createElement(re,{path:"/photos",render:function(e){return o.a.createElement(go,Co({},e,{photoUploadCompleteCallback:l,categories:n,getModalPos:u}))}}),o.a.createElement(re,{path:"/settings",component:Oo})),o.a.createElement("div",{className:ce.a.footer},o.a.createElement("p",null,o.a.createElement("strong",null,"Feedback & Support: ")," If you have any questions or feedback for the team please send an email to ",o.a.createElement("a",{href:"mailto:extensions@envato.com"},"extensions@envato.com")," |"," ",o.a.createElement("a",{href:"https://elements.envato.com/user-terms",target:"_blank",rel:"noreferrer noopener"},"Terms & Conditions")," ","|"," ",o.a.createElement("a",{href:"https://envato.com/privacy",target:"_blank",rel:"noreferrer noopener"},"Privacy Policy"))))}}])&&Po(n.prototype,r),a&&Po(n,a),t}();Ao.propTypes={};var Lo=le(function(e){return o.a.createElement(Ao,e)});n(534);function Mo(e){return(Mo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Do(e){return(Do=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Fo(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uo(e,t){return(Uo=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Bo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Wo=function(e){function t(e){var n,r,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,n=!(a=Do(t).call(this,e))||"object"!==Mo(a)&&"function"!=typeof a?Fo(r):a,Bo(Fo(n),"adminPageLoaded",function(e){e&&(_e.set(e),i.a.render(o.a.createElement(Q,null,o.a.createElement(Lo,null)),document.getElementById("js-envato-elements-react")),Ee.init())}),Bo(Fo(n),"elementorMagicButton",function(e,t){e&&(e.modalMode="elementor",e.minimalMenu=!0,e.navigation=[{nav_title:"Templates",slug:"elementor",sub_nav:[]},{nav_title:"Blocks",slug:"elementor-blocks",sub_nav:[]},{nav_title:"Photos",slug:"photos",sub_nav:[],new_flag:!0}],_e.set(e),i.a.render(o.a.createElement(Q,null,o.a.createElement(Lo,null)),t),Ee.init())}),Bo(Fo(n),"elementor3rdPartyViewClose",function(e){i.a.unmountComponentAtNode(e)}),Bo(Fo(n),"elementsDeepPhotos",function(e,t,n){e&&(e.modalMode="wpMedia",e.hideNavigation=!0,e.minimalMenu=!0,e.navigation=[{nav_title:"Photos",slug:"photos",sub_nav:[]}],_e.set(e),i.a.render(o.a.createElement(Q,null,o.a.createElement(Lo,{photoUploadCompleteCallback:n})),t),Ee.init())}),n.state={},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uo(e,t)}(t,r["Component"]),t}();window.ElementsReact=new Wo}]);
envato-elements.php CHANGED
@@ -4,7 +4,7 @@
4
  * Description: Beautifully designed, Free templates for popular WordPress page builders & access to Premium Photos from Envato Elements.
5
  * Author: Envato
6
  * Author URI: https://elements.envato.com/extensions/wordpress/?utm_source=extensions&utm_medium=referral&utm_campaign=elements_extensions_wpplugins
7
- * Version: 1.0.2
8
  * License: GPLv3 or later
9
  * License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
  *
@@ -28,7 +28,7 @@ if ( ! defined( 'ABSPATH' ) ) {
28
  }
29
 
30
  define( 'ENVATO_ELEMENTS_SLUG', 'envato-elements' );
31
- define( 'ENVATO_ELEMENTS_VER', '1.0.2' );
32
  define( 'ENVATO_ELEMENTS_FILE', __FILE__ );
33
  define( 'ENVATO_ELEMENTS_DIR', plugin_dir_path( ENVATO_ELEMENTS_FILE ) );
34
  define( 'ENVATO_ELEMENTS_URI', plugins_url( '/', ENVATO_ELEMENTS_FILE ) );
4
  * Description: Beautifully designed, Free templates for popular WordPress page builders & access to Premium Photos from Envato Elements.
5
  * Author: Envato
6
  * Author URI: https://elements.envato.com/extensions/wordpress/?utm_source=extensions&utm_medium=referral&utm_campaign=elements_extensions_wpplugins
7
+ * Version: 1.0.3
8
  * License: GPLv3 or later
9
  * License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
  *
28
  }
29
 
30
  define( 'ENVATO_ELEMENTS_SLUG', 'envato-elements' );
31
+ define( 'ENVATO_ELEMENTS_VER', '1.0.3' );
32
  define( 'ENVATO_ELEMENTS_FILE', __FILE__ );
33
  define( 'ENVATO_ELEMENTS_DIR', plugin_dir_path( ENVATO_ELEMENTS_FILE ) );
34
  define( 'ENVATO_ELEMENTS_URI', plugins_url( '/', ENVATO_ELEMENTS_FILE ) );
inc/class-api.php CHANGED
@@ -74,6 +74,10 @@ class API extends Base {
74
  $body_args['envato_elements_dev'] = true;
75
  }
76
 
 
 
 
 
77
  $cache_key = 'envato_elements_' . md5( serialize( [ $this->api_endpoint, $endpoint, $body_args ] ) );
78
  $data = false;
79
 
@@ -95,10 +99,10 @@ class API extends Base {
95
 
96
  $response = wp_remote_post(
97
  $url, [
98
- 'sslverify' => false, // Some hosts require this unfortunately :(
99
  'user-agent' => 'Mozilla/5.0 (Envato Elements ' . ENVATO_ELEMENTS_VER . ';) ' . home_url(),
100
- 'timeout' => 10,
101
- 'body' => $body_args,
102
  ]
103
  );
104
  if ( ! is_wp_error( $response ) ) {
@@ -122,10 +126,13 @@ class API extends Base {
122
  }
123
 
124
  if ( empty( $data ) || ! is_array( $data ) ) {
125
- return new \WP_Error( 'no_json', '', [ __( 'An error occurred, please try again', 'envato-elements' ), var_export( wp_remote_retrieve_body( $response ), true ) ] );
 
 
 
126
  }
127
 
128
- if ( in_array( $endpoint, $cache_endpoints, true ) ) {
129
  set_transient( $cache_key, $data, 60 * 10 );
130
  }
131
 
74
  $body_args['envato_elements_dev'] = true;
75
  }
76
 
77
+ if ( defined( 'ENVATO_ELEMENTS_LOADING_FIX' ) ) {
78
+ $force = true;
79
+ }
80
+
81
  $cache_key = 'envato_elements_' . md5( serialize( [ $this->api_endpoint, $endpoint, $body_args ] ) );
82
  $data = false;
83
 
99
 
100
  $response = wp_remote_post(
101
  $url, [
102
+ 'sslverify' => false, // Some hosts require this unfortunately :(
103
  'user-agent' => 'Mozilla/5.0 (Envato Elements ' . ENVATO_ELEMENTS_VER . ';) ' . home_url(),
104
+ 'timeout' => 10,
105
+ 'body' => $body_args,
106
  ]
107
  );
108
  if ( ! is_wp_error( $response ) ) {
126
  }
127
 
128
  if ( empty( $data ) || ! is_array( $data ) ) {
129
+ return new \WP_Error( 'no_json', '', [
130
+ __( 'An error occurred, please try again', 'envato-elements' ),
131
+ var_export( wp_remote_retrieve_body( $response ), true )
132
+ ] );
133
  }
134
 
135
+ if ( in_array( $endpoint, $cache_endpoints, true ) && ! $force ) {
136
  set_transient( $cache_key, $data, 60 * 10 );
137
  }
138
 
inc/class-collection-elementor.php CHANGED
@@ -61,7 +61,7 @@ class Collection_Elementor extends Collection {
61
  $import_type = get_post_meta( $local_collection_cache->ID, 'import_type', true );
62
  if ( $import_type && 'direct' === $import_type && $import_result && ! is_wp_error( $import_result ) && ! empty( $import_result['post_id'] ) ) {
63
 
64
- } elseif ( $import_type && 'library' === $import_type && $import_result && ! is_wp_error( $import_result ) && ! empty( $import_result['post_id'] ) ) {
65
 
66
 
67
  $template = get_post_meta( $local_collection_cache->ID, 'template_data', true );
61
  $import_type = get_post_meta( $local_collection_cache->ID, 'import_type', true );
62
  if ( $import_type && 'direct' === $import_type && $import_result && ! is_wp_error( $import_result ) && ! empty( $import_result['post_id'] ) ) {
63
 
64
+ } elseif ( $import_type && $import_result && ! is_wp_error( $import_result ) && ! empty( $import_result['post_id'] ) ) {
65
 
66
 
67
  $template = get_post_meta( $local_collection_cache->ID, 'template_data', true );
inc/class-collection-photos.php CHANGED
@@ -296,13 +296,12 @@ class Collection_Photos extends Collection {
296
  */
297
  public function rest_process_import( $request ) {
298
 
299
- $photo_id = $request->get_param( 'itemId' ); // photo humane_id
300
- $import_type = $request->get_param( 'importType' ); // media-library
301
- if ( ! $import_type ) {
302
- $import_type = 'media-library';
303
- }
304
 
305
- $result = $this->import_photo_by_id( $photo_id );
306
 
307
  if ( ! empty( $result['status'] ) && ! empty( $result['attachment_id'] ) ) {
308
  $result['updateData'] = [
@@ -316,7 +315,19 @@ class Collection_Photos extends Collection {
316
  }
317
 
318
 
319
- public function import_photo_by_id( $photo_id ) {
 
 
 
 
 
 
 
 
 
 
 
 
320
 
321
  $result = [
322
  'status' => false,
@@ -342,7 +353,9 @@ class Collection_Photos extends Collection {
342
 
343
  if ( ! $result['status'] ) {
344
 
345
- API::get_instance()->api_call( 'v2/photos/download/' . $photo_id, [] );
 
 
346
 
347
  // Grab a copy of the photo from the Elements API, using our token.
348
  // Return a status json error if the user doesn't have a valid license.
@@ -353,7 +366,6 @@ class Collection_Photos extends Collection {
353
  'extension_type' => 'envato-wp',
354
  ] );
355
  if ( $data && ! is_wp_error( $data ) && ! empty( $data['download_urls'][ 'max' . self::IMPORT_WIDTH ] ) ) {
356
- $file_name = 'elements-' . $photo_id . '.jpg';
357
  $temporary_image_name = wp_tempnam( $file_name );
358
  wp_safe_remote_get( $data['download_urls'][ 'max' . self::IMPORT_WIDTH ], array(
359
  'timeout' => 15,
@@ -365,7 +377,9 @@ class Collection_Photos extends Collection {
365
  if ( $upload && ! is_wp_error( $upload ) && empty( $upload['error'] ) && ! empty( $upload['file'] ) ) {
366
  $info = wp_check_filetype( $upload['file'] );
367
  $post_data = [
368
- 'post_title' => 'Envato Elements: ' . basename( $upload['file'] ), // todo: look up single item name.
 
 
369
  ];
370
  if ( $info ) {
371
  $post_data['post_mime_type'] = $info['type'];
@@ -380,7 +394,8 @@ class Collection_Photos extends Collection {
380
  $this->get_imported_images();
381
  $this->imported_images[ $photo_id ] = $attachment_id;
382
  update_option( self::IMPORT_OPTIONS_NAME, $this->imported_images );
383
- add_post_meta( $attachment_id, 'envato_elements', $photo_id );
 
384
  }
385
  }
386
  } else {
@@ -415,8 +430,13 @@ class Collection_Photos extends Collection {
415
  */
416
  public function rest_process_insert( $request ) {
417
 
418
- $photo_id = $request->get_param( 'itemId' );
419
- $result = $this->import_photo_by_id( $photo_id );
 
 
 
 
 
420
 
421
  if ( ! empty( $result['status'] ) && ! empty( $result['attachment_id'] ) ) {
422
 
296
  */
297
  public function rest_process_import( $request ) {
298
 
299
+ $photo_id = $request->get_param( 'itemId' ); // photo humane_id
300
+ $import_options['photo_name'] = $request->get_param( 'photoName' ); // photo name, used for naming our local file.
301
+ $import_options['photo_description'] = $request->get_param( 'photoDescription' ); // photo description, used for seo.
302
+ $import_options['import_type'] = $request->get_param( 'importType' );
 
303
 
304
+ $result = $this->import_photo_by_id( $photo_id, $import_options );
305
 
306
  if ( ! empty( $result['status'] ) && ! empty( $result['attachment_id'] ) ) {
307
  $result['updateData'] = [
315
  }
316
 
317
 
318
+ public function import_photo_by_id( $photo_id, $import_options = [] ) {
319
+
320
+ $file_name = '';
321
+ if ( ! empty( $import_options['photo_name'] ) ) {
322
+ $file_name = preg_replace( '#[^a-z0-9]+#', '-', basename( strtolower( sanitize_text_field( $import_options['photo_name'] ) ) ) ) . '.jpg';
323
+ }
324
+ if ( ! $file_name ) {
325
+ $file_name = 'elements-' . $photo_id . '.jpg';
326
+ }
327
+ $file_description = 'Envato Elements: ' . $file_name;
328
+ if ( ! empty( $import_options['photo_description'] ) ) {
329
+ $file_description = $import_options['photo_description'];
330
+ }
331
 
332
  $result = [
333
  'status' => false,
353
 
354
  if ( ! $result['status'] ) {
355
 
356
+ API::get_instance()->api_call( 'v2/photos/download/' . $photo_id, [
357
+ 'import_type' => $import_options['import_type']
358
+ ] );
359
 
360
  // Grab a copy of the photo from the Elements API, using our token.
361
  // Return a status json error if the user doesn't have a valid license.
366
  'extension_type' => 'envato-wp',
367
  ] );
368
  if ( $data && ! is_wp_error( $data ) && ! empty( $data['download_urls'][ 'max' . self::IMPORT_WIDTH ] ) ) {
 
369
  $temporary_image_name = wp_tempnam( $file_name );
370
  wp_safe_remote_get( $data['download_urls'][ 'max' . self::IMPORT_WIDTH ], array(
371
  'timeout' => 15,
377
  if ( $upload && ! is_wp_error( $upload ) && empty( $upload['error'] ) && ! empty( $upload['file'] ) ) {
378
  $info = wp_check_filetype( $upload['file'] );
379
  $post_data = [
380
+ 'post_title' => sanitize_text_field( ! empty( $import_options['photo_name'] ) ? $import_options['photo_name'] : $file_name ),
381
+ 'post_excerpt' => sanitize_text_field( $file_description ),
382
+ 'post_content' => sanitize_text_field( $file_description ),
383
  ];
384
  if ( $info ) {
385
  $post_data['post_mime_type'] = $info['type'];
394
  $this->get_imported_images();
395
  $this->imported_images[ $photo_id ] = $attachment_id;
396
  update_option( self::IMPORT_OPTIONS_NAME, $this->imported_images );
397
+ update_post_meta( $attachment_id, 'envato_elements', $photo_id );
398
+ update_post_meta( $attachment_id, '_wp_attachment_image_alt', sanitize_text_field( ! empty( $import_options['photo_name'] ) ? $import_options['photo_name'] : '' ) );
399
  }
400
  }
401
  } else {
430
  */
431
  public function rest_process_insert( $request ) {
432
 
433
+ $photo_id = $request->get_param( 'itemId' );
434
+ $import_options = [];
435
+ $import_options['photo_name'] = $request->get_param( 'photoName' ); // photo name, used for naming our local file.
436
+ $import_options['photo_description'] = $request->get_param( 'photoDescription' ); // photo description, used for seo.
437
+ $import_options['import_type'] = $request->get_param( 'importType' );
438
+
439
+ $result = $this->import_photo_by_id( $photo_id, $import_options );
440
 
441
  if ( ! empty( $result['status'] ) && ! empty( $result['attachment_id'] ) ) {
442
 
inc/class-collection.php CHANGED
@@ -89,15 +89,14 @@ class Collection extends Base {
89
  $page_number = empty( $search['pg'] ) || (int) $search['pg'] < 1 || (int) $search['pg'] > 100 ? 1 : (int) $search['pg'];
90
  $search_text = ! empty( $search['text'] ) ? sanitize_text_field( trim( $search['text'] ) ) : false;
91
  $filters = [];
92
- // We whitelist certain tempalte filters.
93
- foreach ( [ 'industry' ] as $available_filter ) {
94
- if ( ! empty( $search[ $available_filter ] ) ) {
95
- $filters[ $available_filter ] = sanitize_text_field( $search[ $available_filter ] );
96
- }
97
  }
98
  $per_page = 20;
99
 
100
  $is_filtered_data = false;
 
101
 
102
  // This gets all templates available for local searching.
103
  $data = API::get_instance()->api_call( 'v1/collections', $api_data );
@@ -154,39 +153,40 @@ class Collection extends Base {
154
  }
155
  }
156
  }
157
- foreach ( $collections_to_filter as $collection_id => $collection ) {
158
- $has_filter_match = true;
159
- if ( ! empty( $filters ) ) {
160
- $has_filter_match = false;
161
- foreach ( $filters as $filter_key => $filter_value ) {
162
- if ( ! empty( $collection['filter'] ) && ! empty( $collection['filter'][ $filter_key ] ) && isset( $collection['filter'][ $filter_key ][ $filter_value ] ) ) {
163
- $has_filter_match = true;
164
- break;
165
- }
166
  }
167
  }
168
- if ( ! $has_filter_match ) {
169
- $is_filtered_data = true;
170
- unset( $collections_to_filter[ $collection_id ] );
171
- }else {
172
- if ( ! empty( $collection['templates'] ) ) {
173
- // We have to filter all collections so we get the right Pro/Free template count below.
174
- $filtered_collection = $this->filter_collection( $collection, $search );
175
- if ( $filtered_collection ) {
176
- $collections_to_filter[$collection_id] = $filtered_collection;
177
- }else{
178
- $is_filtered_data = true;
179
- unset( $collections_to_filter[$collection_id] );
180
- }
181
  }
182
  }
183
  }
 
184
 
185
  // Count up the number of results.
186
  $item_count = [
 
187
  'is_filtered_count' => $is_filtered_data,
188
- 'collections' => count( $data['data'] ),
189
- 'templates' => 0,
190
  ];
191
  foreach ( $collections_to_filter as $collection_id => $collection ) {
192
  $item_count['templates'] += count( $collection['templates'] );
@@ -195,7 +195,7 @@ class Collection extends Base {
195
 
196
  $show_coming_soon = count( $collections_to_filter ) < $per_page || count( $collections_to_filter ) <= $page_number * $per_page;
197
  $paged_data = array_slice( $collections_to_filter, ( $page_number - 1 ) * $per_page, $per_page );
198
- $data['data'] = [
199
  'page_number' => $page_number,
200
  'per_page' => $per_page,
201
  'all_results' => count( $data['data'] ),
@@ -312,7 +312,7 @@ class Collection extends Base {
312
 
313
  $collection_id = $request->get_param( 'collectionId' );
314
  $template_id = $request->get_param( 'templateId' );
315
- $insert_type = $request->get_param( 'insertType' ); // direct
316
  if ( ! $insert_type ) {
317
  $insert_type = 'direct';
318
  }
@@ -358,7 +358,7 @@ class Collection extends Base {
358
 
359
  $collection_id = $request->get_param( 'collectionId' );
360
  $template_id = $request->get_param( 'templateId' );
361
- $insert_type = $request->get_param( 'insertType' ); // create-page
362
  if ( ! $insert_type ) {
363
  $insert_type = 'create-page';
364
  }
@@ -586,13 +586,6 @@ class Collection extends Base {
586
  'previewThumbAspect' => $aspect,
587
  'previewThumbHeight' => $animationHeight,
588
  'templateName' => $api_data['name'],
589
- 'templateUrl' => add_query_arg(
590
- [
591
- 'category' => $this->category,
592
- 'collection_id' => $category_data['collectionId'],
593
- 'template_id' => $api_data['template_id'],
594
- ], Collection::get_instance()->get_url()
595
- ),
596
  // detail view data:
597
  'templateInstalled' => false, // todo
598
  // if already installed.
@@ -615,10 +608,12 @@ class Collection extends Base {
615
  $filtered_data['templateInstalledText'] = 'Edit Pro Template';
616
  }
617
 
618
- $missing_plugins = Required_Plugin::get_instance()->get_missing_plugins( ! empty( $api_data['plugins'] ) ? $api_data['plugins'] : [], $this->category );
619
- if ( $missing_plugins ) {
620
- $filtered_data['templateError'] = true;
621
- $filtered_data['templateMissingPlugins'] = $missing_plugins;
 
 
622
  }
623
 
624
  return $filtered_data;
@@ -656,9 +651,13 @@ class Collection extends Base {
656
  foreach ( $api_data['templates'] as $template ) {
657
  $filtered_templates[] = $this->filter_template( $template, $filtered_data );
658
  }
 
659
  if ( $filtered_templates ) {
660
  $filtered_data['templates'] = $filtered_templates;
661
- $filtered_data = $this->filter_installed_status( $filtered_data, $search );
 
 
 
662
  }
663
  }
664
 
89
  $page_number = empty( $search['pg'] ) || (int) $search['pg'] < 1 || (int) $search['pg'] > 100 ? 1 : (int) $search['pg'];
90
  $search_text = ! empty( $search['text'] ) ? sanitize_text_field( trim( $search['text'] ) ) : false;
91
  $filters = [];
92
+ if ( ! empty( $search['tag'] ) ) {
93
+ // We're in Elementor looking for an industry.
94
+ $filters['industry'] = sanitize_text_field( trim( $search['tag'] ) );
 
 
95
  }
96
  $per_page = 20;
97
 
98
  $is_filtered_data = false;
99
+ $is_tag_filtered = false;
100
 
101
  // This gets all templates available for local searching.
102
  $data = API::get_instance()->api_call( 'v1/collections', $api_data );
153
  }
154
  }
155
  }
156
+ foreach ( $collections_to_filter as $collection_id => $collection ) {
157
+ $has_filter_match = true;
158
+ if ( ! empty( $filters ) ) {
159
+ $has_filter_match = false;
160
+ foreach ( $filters as $filter_key => $filter_value ) {
161
+ if ( ! empty( $collection['filter'] ) && ! empty( $collection['filter'][ $filter_key ] ) && isset( $collection['filter'][ $filter_key ][ $filter_value ] ) ) {
162
+ $has_filter_match = true;
163
+ break;
 
164
  }
165
  }
166
+ }
167
+ if ( ! $has_filter_match ) {
168
+ $is_tag_filtered = true;
169
+ unset( $collections_to_filter[ $collection_id ] );
170
+ } else {
171
+ if ( ! empty( $collection['templates'] ) ) {
172
+ // We have to filter all collections so we get the right Pro/Free template count below.
173
+ $filtered_collection = $this->filter_collection( $collection, $search );
174
+ if ( $filtered_collection ) {
175
+ $collections_to_filter[ $collection_id ] = $filtered_collection;
176
+ } else {
177
+ $is_tag_filtered = true;
178
+ unset( $collections_to_filter[ $collection_id ] );
179
  }
180
  }
181
  }
182
+ }
183
 
184
  // Count up the number of results.
185
  $item_count = [
186
+ 'is_tag_count' => $is_tag_filtered,
187
  'is_filtered_count' => $is_filtered_data,
188
+ 'collections' => count( $collections_to_filter ),
189
+ 'templates' => 0,
190
  ];
191
  foreach ( $collections_to_filter as $collection_id => $collection ) {
192
  $item_count['templates'] += count( $collection['templates'] );
195
 
196
  $show_coming_soon = count( $collections_to_filter ) < $per_page || count( $collections_to_filter ) <= $page_number * $per_page;
197
  $paged_data = array_slice( $collections_to_filter, ( $page_number - 1 ) * $per_page, $per_page );
198
+ $data['data'] = [
199
  'page_number' => $page_number,
200
  'per_page' => $per_page,
201
  'all_results' => count( $data['data'] ),
312
 
313
  $collection_id = $request->get_param( 'collectionId' );
314
  $template_id = $request->get_param( 'templateId' );
315
+ $insert_type = $request->get_param( 'importType' ); // direct
316
  if ( ! $insert_type ) {
317
  $insert_type = 'direct';
318
  }
358
 
359
  $collection_id = $request->get_param( 'collectionId' );
360
  $template_id = $request->get_param( 'templateId' );
361
+ $insert_type = $request->get_param( 'importType' ); // create-page
362
  if ( ! $insert_type ) {
363
  $insert_type = 'create-page';
364
  }
586
  'previewThumbAspect' => $aspect,
587
  'previewThumbHeight' => $animationHeight,
588
  'templateName' => $api_data['name'],
 
 
 
 
 
 
 
589
  // detail view data:
590
  'templateInstalled' => false, // todo
591
  // if already installed.
608
  $filtered_data['templateInstalledText'] = 'Edit Pro Template';
609
  }
610
 
611
+ if ( ! defined( 'ENVATO_ELEMENTS_LOADING_FIX' ) ) {
612
+ $missing_plugins = Required_Plugin::get_instance()->get_missing_plugins( ! empty( $api_data['plugins'] ) ? $api_data['plugins'] : [], $this->category );
613
+ if ( $missing_plugins ) {
614
+ $filtered_data['templateError'] = true;
615
+ $filtered_data['templateMissingPlugins'] = $missing_plugins;
616
+ }
617
  }
618
 
619
  return $filtered_data;
651
  foreach ( $api_data['templates'] as $template ) {
652
  $filtered_templates[] = $this->filter_template( $template, $filtered_data );
653
  }
654
+
655
  if ( $filtered_templates ) {
656
  $filtered_data['templates'] = $filtered_templates;
657
+ unset( $filtered_templates );
658
+ if ( ! defined( 'ENVATO_ELEMENTS_LOADING_FIX' ) ) {
659
+ $filtered_data = $this->filter_installed_status( $filtered_data, $search );
660
+ }
661
  }
662
  }
663
 
inc/class-cpt-kits.php CHANGED
@@ -35,14 +35,13 @@ class CPT_Kits extends CPT {
35
  * @var string
36
  */
37
  public $cpt_slug = 'envato_kits';
38
-
39
  private $_collection_id = false;
 
40
 
41
  public function __construct() {
42
  parent::__construct();
43
 
44
  add_filter( 'wpseo_sitemap_exclude_post_type', [ $this, 'wpseo_sitemap_exclude_post_type' ], 10, 2 );
45
-
46
  }
47
 
48
  /**
@@ -235,15 +234,12 @@ class CPT_Kits extends CPT {
235
  return false;
236
  }
237
 
238
- public function get_imported_templates( $force = false ) {
239
 
240
- $cache_key = 'envato_elements_imported';
241
- $templates = get_transient( $cache_key );
242
- if ( $templates && is_array( $templates ) ) {
243
- // todo: transient. but make sure transient is cleared every time we publish/delete a $this->cpt_slug before enabling this.
244
- // return $templates;
245
  }
246
- $templates = [];
247
 
248
  foreach (
249
  get_posts(
@@ -284,7 +280,7 @@ class CPT_Kits extends CPT {
284
  }
285
  }
286
 
287
- $templates[] = [
288
  'ID' => $post->ID,
289
  'name' => $post->post_title,
290
  'templateId' => $template_data['template_id'],
@@ -298,9 +294,7 @@ class CPT_Kits extends CPT {
298
  }
299
  }
300
 
301
- set_transient( $cache_key, $templates, 60 * 5 );
302
-
303
- return $templates;
304
  }
305
 
306
  public function schedule_local_install( $template, $import_type = false ) {
35
  * @var string
36
  */
37
  public $cpt_slug = 'envato_kits';
 
38
  private $_collection_id = false;
39
+ private $imported_templates = null;
40
 
41
  public function __construct() {
42
  parent::__construct();
43
 
44
  add_filter( 'wpseo_sitemap_exclude_post_type', [ $this, 'wpseo_sitemap_exclude_post_type' ], 10, 2 );
 
45
  }
46
 
47
  /**
234
  return false;
235
  }
236
 
237
+ public function get_imported_templates() {
238
 
239
+ if ( ! is_null( $this->imported_templates ) ) {
240
+ return $this->imported_templates;
 
 
 
241
  }
242
+ $this->imported_templates = [];
243
 
244
  foreach (
245
  get_posts(
280
  }
281
  }
282
 
283
+ $this->imported_templates[] = [
284
  'ID' => $post->ID,
285
  'name' => $post->post_title,
286
  'templateId' => $template_data['template_id'],
294
  }
295
  }
296
 
297
+ return $this->imported_templates;
 
 
298
  }
299
 
300
  public function schedule_local_install( $template, $import_type = false ) {
languages/envato-elements.pot CHANGED
@@ -29,11 +29,11 @@ msgstr ""
29
  msgid "Envato Elements requires WordPress version %s+. Because you are using an earlier version, the plugin is currently NOT ACTIVE."
30
  msgstr ""
31
 
32
- #: inc/class-api.php:121, inc/class-elements-api.php:124
33
  msgid "HTTP Error"
34
  msgstr ""
35
 
36
- #: inc/class-api.php:125, inc/class-elements-api.php:129
37
  msgid "An error occurred, please try again"
38
  msgstr ""
39
 
29
  msgid "Envato Elements requires WordPress version %s+. Because you are using an earlier version, the plugin is currently NOT ACTIVE."
30
  msgstr ""
31
 
32
+ #: inc/class-api.php:125, inc/class-elements-api.php:124
33
  msgid "HTTP Error"
34
  msgstr ""
35
 
36
+ #: inc/class-api.php:130, inc/class-elements-api.php:129
37
  msgid "An error occurred, please try again"
38
  msgstr ""
39
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: elementor, beaver builder, elements, templates
4
  Requires at least: 4.6
5
  Tested up to: 5.1
6
  Requires PHP: 5.6
7
- Stable tag: 1.0.2
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -81,6 +81,11 @@ If you have any questions or feedback for the team, please send an email to exte
81
 
82
  == Changelog ==
83
 
 
 
 
 
 
84
  = 1.0.2 - 2019-04-16 =
85
  * Fix: Scrolling Envato Elements Photos in the Media library
86
  * Fix: API token missing information error
4
  Requires at least: 4.6
5
  Tested up to: 5.1
6
  Requires PHP: 5.6
7
+ Stable tag: 1.0.3
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
81
 
82
  == Changelog ==
83
 
84
+ = 1.0.3 - 2019-04-30 =
85
+ * Improvement: Imported Envato Elements Photos now get SEO metadata filled in.
86
+ * Improvement: Search and Browse speed increase.
87
+ * Improvement: Search UI autocomplete improvement.
88
+
89
  = 1.0.2 - 2019-04-16 =
90
  * Fix: Scrolling Envato Elements Photos in the Media library
91
  * Fix: API token missing information error