Version Description
- Bug: Fix PDF display issues with the Survey, Poll, Post Category, and Post Custom Fields
Download this release
Release Info
Developer | Blue Liquid Designs |
Plugin | Gravity PDF |
Version | 6.4.1 |
Comparing to | |
See all releases |
Code changes from version 6.4.0 to 6.4.1
- README.txt +4 -1
- dist/assets/js/admin.min.js +1 -1
- dist/assets/js/app.bundle.min.js +1 -1
- pdf.php +2 -2
- src/Controller/Controller_Save_Core_Fonts.php +1 -1
- src/Helper/Fields/Field_Poll.php +4 -0
- src/Helper/Fields/Field_Post_Category.php +4 -0
- src/Helper/Fields/Field_Post_Custom_Field.php +4 -0
- src/Helper/Fields/Field_Survey.php +4 -0
- src/Statics/Kses.php +168 -11
- src/assets/languages/gravity-forms-pdf-extended.pot +1 -1
- vendor/composer/autoload_classmap.php +1 -0
- vendor/composer/autoload_static.php +1 -0
- vendor/composer/installed.json +8 -10
- vendor/composer/installed.php +9 -9
- vendor_prefixed/monolog/src/Monolog/Formatter/GoogleCloudLoggingFormatter.php +35 -0
- vendor_prefixed/monolog/src/Monolog/Formatter/JsonFormatter.php +15 -5
- vendor_prefixed/monolog/src/Monolog/Formatter/LineFormatter.php +10 -1
- vendor_prefixed/monolog/src/Monolog/Formatter/NormalizerFormatter.php +3 -0
- vendor_prefixed/monolog/src/Monolog/Handler/AmqpHandler.php +28 -1
- vendor_prefixed/monolog/src/Monolog/Handler/ChromePHPHandler.php +3 -3
- vendor_prefixed/monolog/src/Monolog/Handler/CubeHandler.php +2 -1
- vendor_prefixed/monolog/src/Monolog/Handler/Handler.php +8 -1
- vendor_prefixed/monolog/src/Monolog/Handler/PHPConsoleHandler.php +2 -1
- vendor_prefixed/monolog/src/Monolog/Handler/RedisHandler.php +2 -2
- vendor_prefixed/monolog/src/Monolog/Handler/RedisPubSubHandler.php +2 -2
- vendor_prefixed/monolog/src/Monolog/Handler/StreamHandler.php +1 -1
- vendor_prefixed/monolog/src/Monolog/Logger.php +14 -2
- vendor_prefixed/monolog/src/Monolog/Utils.php +1 -1
README.txt
CHANGED
@@ -5,7 +5,7 @@ Donate link: https://gravitypdf.com/donate-to-plugin/
|
|
5 |
Tags: gravityforms, gravity, forms, pdf, automation, attachment, email
|
6 |
Requires at least: 5.3
|
7 |
Tested up to: 6.0
|
8 |
-
Stable tag: 6.4.
|
9 |
Requires PHP: 7.3
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl.txt
|
@@ -107,6 +107,9 @@ If you aren't able to meet the v6 minimum requirements [you can download v5 whic
|
|
107 |
|
108 |
== Changelog ==
|
109 |
|
|
|
|
|
|
|
110 |
= 6.4.0 =
|
111 |
* Security (Hardening): Move from early escaping to late escaping variables on output
|
112 |
* Security (Hardening): Add additional validation checks to the Core Font installer
|
5 |
Tags: gravityforms, gravity, forms, pdf, automation, attachment, email
|
6 |
Requires at least: 5.3
|
7 |
Tested up to: 6.0
|
8 |
+
Stable tag: 6.4.1
|
9 |
Requires PHP: 7.3
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl.txt
|
107 |
|
108 |
== Changelog ==
|
109 |
|
110 |
+
= 6.4.1 =
|
111 |
+
* Bug: Fix PDF display issues with the Survey, Poll, Post Category, and Post Custom Fields
|
112 |
+
|
113 |
= 6.4.0 =
|
114 |
* Security (Hardening): Move from early escaping to late escaping variables on output
|
115 |
* Security (Hardening): Add additional validation checks to the Core Font installer
|
dist/assets/js/admin.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
(()=>{var t={9662:(t,e,n)=>{var r=n(614),i=n(6330),o=TypeError;t.exports=function(t){if(r(t))return t;throw o(i(t)+" is not a function")}},9483:(t,e,n)=>{var r=n(4411),i=n(6330),o=TypeError;t.exports=function(t){if(r(t))return t;throw o(i(t)+" is not a constructor")}},6077:(t,e,n)=>{var r=n(614),i=String,o=TypeError;t.exports=function(t){if("object"==typeof t||r(t))return t;throw o("Can't set "+i(t)+" as a prototype")}},1530:(t,e,n)=>{"use strict";var r=n(8710).charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},9670:(t,e,n)=>{var r=n(111),i=String,o=TypeError;t.exports=function(t){if(r(t))return t;throw o(i(t)+" is not an object")}},1318:(t,e,n)=>{var r=n(5656),i=n(1400),o=n(6244),a=function(t){return function(e,n,a){var s,c=r(e),f=o(c),u=i(a,f);if(t&&n!=n){for(;f>u;)if((s=c[u++])!=s)return!0}else for(;f>u;u++)if((t||u in c)&&c[u]===n)return t||u||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},1589:(t,e,n)=>{var r=n(1400),i=n(6244),o=n(6135),a=Array,s=Math.max;t.exports=function(t,e,n){for(var c=i(t),f=r(e,c),u=r(void 0===n?c:n,c),p=a(s(u-f,0)),l=0;f<u;f++,l++)o(p,l,t[f]);return p.length=l,p}},4326:(t,e,n)=>{var r=n(1702),i=r({}.toString),o=r("".slice);t.exports=function(t){return o(i(t),8,-1)}},648:(t,e,n)=>{var r=n(1694),i=n(614),o=n(4326),a=n(5112)("toStringTag"),s=Object,c="Arguments"==o(function(){return arguments}());t.exports=r?o:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=s(t),a))?n:c?o(e):"Object"==(r=o(e))&&i(e.callee)?"Arguments":r}},9920:(t,e,n)=>{var r=n(2597),i=n(3887),o=n(1236),a=n(3070);t.exports=function(t,e,n){for(var s=i(e),c=a.f,f=o.f,u=0;u<s.length;u++){var p=s[u];r(t,p)||n&&r(n,p)||c(t,p,f(e,p))}}},8880:(t,e,n)=>{var r=n(9781),i=n(3070),o=n(9114);t.exports=r?function(t,e,n){return i.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},9114:t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},6135:(t,e,n)=>{"use strict";var r=n(4948),i=n(3070),o=n(9114);t.exports=function(t,e,n){var a=r(e);a in t?i.f(t,a,o(0,n)):t[a]=n}},7045:(t,e,n)=>{var r=n(6339),i=n(3070);t.exports=function(t,e,n){return n.get&&r(n.get,e,{getter:!0}),n.set&&r(n.set,e,{setter:!0}),i.f(t,e,n)}},8052:(t,e,n)=>{var r=n(614),i=n(3070),o=n(6339),a=n(3072);t.exports=function(t,e,n,s){s||(s={});var c=s.enumerable,f=void 0!==s.name?s.name:e;if(r(n)&&o(n,f,s),s.global)c?t[e]=n:a(e,n);else{try{s.unsafe?t[e]&&(c=!0):delete t[e]}catch(t){}c?t[e]=n:i.f(t,e,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},3072:(t,e,n)=>{var r=n(7854),i=Object.defineProperty;t.exports=function(t,e){try{i(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},9781:(t,e,n)=>{var r=n(7293);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},317:(t,e,n)=>{var r=n(7854),i=n(111),o=r.document,a=i(o)&&i(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},8113:(t,e,n)=>{var r=n(5005);t.exports=r("navigator","userAgent")||""},7392:(t,e,n)=>{var r,i,o=n(7854),a=n(8113),s=o.process,c=o.Deno,f=s&&s.versions||c&&c.version,u=f&&f.v8;u&&(i=(r=u.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=+r[1]),t.exports=i},748:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:(t,e,n)=>{var r=n(7854),i=n(1236).f,o=n(8880),a=n(8052),s=n(3072),c=n(9920),f=n(4705);t.exports=function(t,e){var n,u,p,l,d,g=t.target,v=t.global,h=t.stat;if(n=v?r:h?r[g]||s(g,{}):(r[g]||{}).prototype)for(u in e){if(l=e[u],p=t.dontCallGetSet?(d=i(n,u))&&d.value:n[u],!f(v?u:g+(h?".":"#")+u,t.forced)&&void 0!==p){if(typeof l==typeof p)continue;c(l,p)}(t.sham||p&&p.sham)&&o(l,"sham",!0),a(n,u,l,t)}}},7293:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},7007:(t,e,n)=>{"use strict";n(4916);var r=n(1702),i=n(8052),o=n(2261),a=n(7293),s=n(5112),c=n(8880),f=s("species"),u=RegExp.prototype;t.exports=function(t,e,n,p){var l=s(t),d=!a((function(){var e={};return e[l]=function(){return 7},7!=""[t](e)})),g=d&&!a((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[f]=function(){return n},n.flags="",n[l]=/./[l]),n.exec=function(){return e=!0,null},n[l](""),!e}));if(!d||!g||n){var v=r(/./[l]),h=e(l,""[t],(function(t,e,n,i,a){var s=r(t),c=e.exec;return c===o||c===u.exec?d&&!a?{done:!0,value:v(e,n,i)}:{done:!0,value:s(n,e,i)}:{done:!1}}));i(String.prototype,t,h[0]),i(u,l,h[1])}p&&c(u[l],"sham",!0)}},2104:(t,e,n)=>{var r=n(4374),i=Function.prototype,o=i.apply,a=i.call;t.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(o):function(){return a.apply(o,arguments)})},4374:(t,e,n)=>{var r=n(7293);t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},6916:(t,e,n)=>{var r=n(4374),i=Function.prototype.call;t.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},6530:(t,e,n)=>{var r=n(9781),i=n(2597),o=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=i(o,"name"),c=s&&"something"===function(){}.name,f=s&&(!r||r&&a(o,"name").configurable);t.exports={EXISTS:s,PROPER:c,CONFIGURABLE:f}},1702:(t,e,n)=>{var r=n(4374),i=Function.prototype,o=i.bind,a=i.call,s=r&&o.bind(a,a);t.exports=r?function(t){return t&&s(t)}:function(t){return t&&function(){return a.apply(t,arguments)}}},5005:(t,e,n)=>{var r=n(7854),i=n(614),o=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(r[t]):r[t]&&r[t][e]}},8173:(t,e,n)=>{var r=n(9662);t.exports=function(t,e){var n=t[e];return null==n?void 0:r(n)}},647:(t,e,n)=>{var r=n(1702),i=n(7908),o=Math.floor,a=r("".charAt),s=r("".replace),c=r("".slice),f=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,r,p,l){var d=n+t.length,g=r.length,v=u;return void 0!==p&&(p=i(p),v=f),s(l,v,(function(i,s){var f;switch(a(s,0)){case"$":return"$";case"&":return t;case"`":return c(e,0,n);case"'":return c(e,d);case"<":f=p[c(s,1,-1)];break;default:var u=+s;if(0===u)return i;if(u>g){var l=o(u/10);return 0===l?i:l<=g?void 0===r[l-1]?a(s,1):r[l-1]+a(s,1):i}f=r[u-1]}return void 0===f?"":f}))}},7854:(t,e,n)=>{var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},2597:(t,e,n)=>{var r=n(1702),i=n(7908),o=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(i(t),e)}},3501:t=>{t.exports={}},490:(t,e,n)=>{var r=n(5005);t.exports=r("document","documentElement")},4664:(t,e,n)=>{var r=n(9781),i=n(7293),o=n(317);t.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},8361:(t,e,n)=>{var r=n(1702),i=n(7293),o=n(4326),a=Object,s=r("".split);t.exports=i((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?s(t,""):a(t)}:a},9587:(t,e,n)=>{var r=n(614),i=n(111),o=n(7674);t.exports=function(t,e,n){var a,s;return o&&r(a=e.constructor)&&a!==n&&i(s=a.prototype)&&s!==n.prototype&&o(t,s),t}},2788:(t,e,n)=>{var r=n(1702),i=n(614),o=n(5465),a=r(Function.toString);i(o.inspectSource)||(o.inspectSource=function(t){return a(t)}),t.exports=o.inspectSource},9909:(t,e,n)=>{var r,i,o,a=n(8536),s=n(7854),c=n(1702),f=n(111),u=n(8880),p=n(2597),l=n(5465),d=n(6200),g=n(3501),v="Object already initialized",h=s.TypeError,m=s.WeakMap;if(a||l.state){var _=l.state||(l.state=new m),y=c(_.get),b=c(_.has),x=c(_.set);r=function(t,e){if(b(_,t))throw new h(v);return e.facade=t,x(_,t,e),e},i=function(t){return y(_,t)||{}},o=function(t){return b(_,t)}}else{var w=d("state");g[w]=!0,r=function(t,e){if(p(t,w))throw new h(v);return e.facade=t,u(t,w,e),e},i=function(t){return p(t,w)?t[w]:{}},o=function(t){return p(t,w)}}t.exports={set:r,get:i,has:o,enforce:function(t){return o(t)?i(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!f(e)||(n=i(e)).type!==t)throw h("Incompatible receiver, "+t+" required");return n}}}},614:t=>{t.exports=function(t){return"function"==typeof t}},4411:(t,e,n)=>{var r=n(1702),i=n(7293),o=n(614),a=n(648),s=n(5005),c=n(2788),f=function(){},u=[],p=s("Reflect","construct"),l=/^\s*(?:class|function)\b/,d=r(l.exec),g=!l.exec(f),v=function(t){if(!o(t))return!1;try{return p(f,u,t),!0}catch(t){return!1}},h=function(t){if(!o(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return g||!!d(l,c(t))}catch(t){return!0}};h.sham=!0,t.exports=!p||i((function(){var t;return v(v.call)||!v(Object)||!v((function(){t=!0}))||t}))?h:v},4705:(t,e,n)=>{var r=n(7293),i=n(614),o=/#|\.prototype\./,a=function(t,e){var n=c[s(t)];return n==u||n!=f&&(i(e)?r(e):!!e)},s=a.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=a.data={},f=a.NATIVE="N",u=a.POLYFILL="P";t.exports=a},111:(t,e,n)=>{var r=n(614);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},1913:t=>{t.exports=!1},7850:(t,e,n)=>{var r=n(111),i=n(4326),o=n(5112)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},2190:(t,e,n)=>{var r=n(5005),i=n(614),o=n(7976),a=n(3307),s=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return i(e)&&o(e.prototype,s(t))}},6244:(t,e,n)=>{var r=n(7466);t.exports=function(t){return r(t.length)}},6339:(t,e,n)=>{var r=n(7293),i=n(614),o=n(2597),a=n(9781),s=n(6530).CONFIGURABLE,c=n(2788),f=n(9909),u=f.enforce,p=f.get,l=Object.defineProperty,d=a&&!r((function(){return 8!==l((function(){}),"length",{value:8}).length})),g=String(String).split("String"),v=t.exports=function(t,e,n){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!o(t,"name")||s&&t.name!==e)&&(a?l(t,"name",{value:e,configurable:!0}):t.name=e),d&&n&&o(n,"arity")&&t.length!==n.arity&&l(t,"length",{value:n.arity});try{n&&o(n,"constructor")&&n.constructor?a&&l(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var r=u(t);return o(r,"source")||(r.source=g.join("string"==typeof e?e:"")),t};Function.prototype.toString=v((function(){return i(this)&&p(this).source||c(this)}),"toString")},4758:t=>{var e=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(t){var r=+t;return(r>0?n:e)(r)}},133:(t,e,n)=>{var r=n(7392),i=n(7293);t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},8536:(t,e,n)=>{var r=n(7854),i=n(614),o=n(2788),a=r.WeakMap;t.exports=i(a)&&/native code/.test(o(a))},30:(t,e,n)=>{var r,i=n(9670),o=n(6048),a=n(748),s=n(3501),c=n(490),f=n(317),u=n(6200),p=u("IE_PROTO"),l=function(){},d=function(t){return"<script>"+t+"</"+"script>"},g=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},v=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}var t,e;v="undefined"!=typeof document?document.domain&&r?g(r):((e=f("iframe")).style.display="none",c.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(d("document.F=Object")),t.close(),t.F):g(r);for(var n=a.length;n--;)delete v.prototype[a[n]];return v()};s[p]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(l.prototype=i(t),n=new l,l.prototype=null,n[p]=t):n=v(),void 0===e?n:o.f(n,e)}},6048:(t,e,n)=>{var r=n(9781),i=n(3353),o=n(3070),a=n(9670),s=n(5656),c=n(1956);e.f=r&&!i?Object.defineProperties:function(t,e){a(t);for(var n,r=s(e),i=c(e),f=i.length,u=0;f>u;)o.f(t,n=i[u++],r[n]);return t}},3070:(t,e,n)=>{var r=n(9781),i=n(4664),o=n(3353),a=n(9670),s=n(4948),c=TypeError,f=Object.defineProperty,u=Object.getOwnPropertyDescriptor,p="enumerable",l="configurable",d="writable";e.f=r?o?function(t,e,n){if(a(t),e=s(e),a(n),"function"==typeof t&&"prototype"===e&&"value"in n&&d in n&&!n.writable){var r=u(t,e);r&&r.writable&&(t[e]=n.value,n={configurable:l in n?n.configurable:r.configurable,enumerable:p in n?n.enumerable:r.enumerable,writable:!1})}return f(t,e,n)}:f:function(t,e,n){if(a(t),e=s(e),a(n),i)try{return f(t,e,n)}catch(t){}if("get"in n||"set"in n)throw c("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},1236:(t,e,n)=>{var r=n(9781),i=n(6916),o=n(5296),a=n(9114),s=n(5656),c=n(4948),f=n(2597),u=n(4664),p=Object.getOwnPropertyDescriptor;e.f=r?p:function(t,e){if(t=s(t),e=c(e),u)try{return p(t,e)}catch(t){}if(f(t,e))return a(!i(o.f,t,e),t[e])}},8006:(t,e,n)=>{var r=n(6324),i=n(748).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},5181:(t,e)=>{e.f=Object.getOwnPropertySymbols},7976:(t,e,n)=>{var r=n(1702);t.exports=r({}.isPrototypeOf)},6324:(t,e,n)=>{var r=n(1702),i=n(2597),o=n(5656),a=n(1318).indexOf,s=n(3501),c=r([].push);t.exports=function(t,e){var n,r=o(t),f=0,u=[];for(n in r)!i(s,n)&&i(r,n)&&c(u,n);for(;e.length>f;)i(r,n=e[f++])&&(~a(u,n)||c(u,n));return u}},1956:(t,e,n)=>{var r=n(6324),i=n(748);t.exports=Object.keys||function(t){return r(t,i)}},5296:(t,e)=>{"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!n.call({1:2},1);e.f=i?function(t){var e=r(this,t);return!!e&&e.enumerable}:n},7674:(t,e,n)=>{var r=n(1702),i=n(9670),o=n(6077);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return i(n),o(r),e?t(n,r):n.__proto__=r,n}}():void 0)},2140:(t,e,n)=>{var r=n(6916),i=n(614),o=n(111),a=TypeError;t.exports=function(t,e){var n,s;if("string"===e&&i(n=t.toString)&&!o(s=r(n,t)))return s;if(i(n=t.valueOf)&&!o(s=r(n,t)))return s;if("string"!==e&&i(n=t.toString)&&!o(s=r(n,t)))return s;throw a("Can't convert object to primitive value")}},3887:(t,e,n)=>{var r=n(5005),i=n(1702),o=n(8006),a=n(5181),s=n(9670),c=i([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(s(t)),n=a.f;return n?c(e,n(t)):e}},2626:(t,e,n)=>{var r=n(3070).f;t.exports=function(t,e,n){n in t||r(t,n,{configurable:!0,get:function(){return e[n]},set:function(t){e[n]=t}})}},7651:(t,e,n)=>{var r=n(6916),i=n(9670),o=n(614),a=n(4326),s=n(2261),c=TypeError;t.exports=function(t,e){var n=t.exec;if(o(n)){var f=r(n,t,e);return null!==f&&i(f),f}if("RegExp"===a(t))return r(s,t,e);throw c("RegExp#exec called on incompatible receiver")}},2261:(t,e,n)=>{"use strict";var r,i,o=n(6916),a=n(1702),s=n(1340),c=n(7066),f=n(2999),u=n(2309),p=n(30),l=n(9909).get,d=n(9441),g=n(7168),v=u("native-string-replace",String.prototype.replace),h=RegExp.prototype.exec,m=h,_=a("".charAt),y=a("".indexOf),b=a("".replace),x=a("".slice),w=(i=/b*/g,o(h,r=/a/,"a"),o(h,i,"a"),0!==r.lastIndex||0!==i.lastIndex),S=f.BROKEN_CARET,O=void 0!==/()??/.exec("")[1];(w||O||S||d||g)&&(m=function(t){var e,n,r,i,a,f,u,d=this,g=l(d),E=s(t),j=g.raw;if(j)return j.lastIndex=d.lastIndex,e=o(m,j,E),d.lastIndex=j.lastIndex,e;var C=g.groups,P=S&&d.sticky,F=o(c,d),A=d.source,I=0,R=E;if(P&&(F=b(F,"y",""),-1===y(F,"g")&&(F+="g"),R=x(E,d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==_(E,d.lastIndex-1))&&(A="(?: "+A+")",R=" "+R,I++),n=new RegExp("^(?:"+A+")",F)),O&&(n=new RegExp("^"+A+"$(?!\\s)",F)),w&&(r=d.lastIndex),i=o(h,P?n:d,R),P?i?(i.input=x(i.input,I),i[0]=x(i[0],I),i.index=d.lastIndex,d.lastIndex+=i[0].length):d.lastIndex=0:w&&i&&(d.lastIndex=d.global?i.index+i[0].length:r),O&&i&&i.length>1&&o(v,i[0],n,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(i[a]=void 0)})),i&&C)for(i.groups=f=p(null),a=0;a<C.length;a++)f[(u=C[a])[0]]=i[u[1]];return i}),t.exports=m},7066:(t,e,n)=>{"use strict";var r=n(9670);t.exports=function(){var t=r(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e}},4706:(t,e,n)=>{var r=n(6916),i=n(2597),o=n(7976),a=n(7066),s=RegExp.prototype;t.exports=function(t){var e=t.flags;return void 0!==e||"flags"in s||i(t,"flags")||!o(s,t)?e:r(a,t)}},2999:(t,e,n)=>{var r=n(7293),i=n(7854).RegExp,o=r((function(){var t=i("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),a=o||r((function(){return!i("a","y").sticky})),s=o||r((function(){var t=i("^r","gy");return t.lastIndex=2,null!=t.exec("str")}));t.exports={BROKEN_CARET:s,MISSED_STICKY:a,UNSUPPORTED_Y:o}},9441:(t,e,n)=>{var r=n(7293),i=n(7854).RegExp;t.exports=r((function(){var t=i(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},7168:(t,e,n)=>{var r=n(7293),i=n(7854).RegExp;t.exports=r((function(){var t=i("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},4488:t=>{var e=TypeError;t.exports=function(t){if(null==t)throw e("Can't call method on "+t);return t}},6340:(t,e,n)=>{"use strict";var r=n(5005),i=n(3070),o=n(5112),a=n(9781),s=o("species");t.exports=function(t){var e=r(t),n=i.f;a&&e&&!e[s]&&n(e,s,{configurable:!0,get:function(){return this}})}},6200:(t,e,n)=>{var r=n(2309),i=n(9711),o=r("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},5465:(t,e,n)=>{var r=n(7854),i=n(3072),o="__core-js_shared__",a=r[o]||i(o,{});t.exports=a},2309:(t,e,n)=>{var r=n(1913),i=n(5465);(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.23.5",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.23.5/LICENSE",source:"https://github.com/zloirock/core-js"})},6707:(t,e,n)=>{var r=n(9670),i=n(9483),o=n(5112)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[o])?e:i(n)}},8710:(t,e,n)=>{var r=n(1702),i=n(9303),o=n(1340),a=n(4488),s=r("".charAt),c=r("".charCodeAt),f=r("".slice),u=function(t){return function(e,n){var r,u,p=o(a(e)),l=i(n),d=p.length;return l<0||l>=d?t?"":void 0:(r=c(p,l))<55296||r>56319||l+1===d||(u=c(p,l+1))<56320||u>57343?t?s(p,l):r:t?f(p,l,l+2):u-56320+(r-55296<<10)+65536}};t.exports={codeAt:u(!1),charAt:u(!0)}},1400:(t,e,n)=>{var r=n(9303),i=Math.max,o=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):o(n,e)}},5656:(t,e,n)=>{var r=n(8361),i=n(4488);t.exports=function(t){return r(i(t))}},9303:(t,e,n)=>{var r=n(4758);t.exports=function(t){var e=+t;return e!=e||0===e?0:r(e)}},7466:(t,e,n)=>{var r=n(9303),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},7908:(t,e,n)=>{var r=n(4488),i=Object;t.exports=function(t){return i(r(t))}},7593:(t,e,n)=>{var r=n(6916),i=n(111),o=n(2190),a=n(8173),s=n(2140),c=n(5112),f=TypeError,u=c("toPrimitive");t.exports=function(t,e){if(!i(t)||o(t))return t;var n,c=a(t,u);if(c){if(void 0===e&&(e="default"),n=r(c,t,e),!i(n)||o(n))return n;throw f("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},4948:(t,e,n)=>{var r=n(7593),i=n(2190);t.exports=function(t){var e=r(t,"string");return i(e)?e:e+""}},1694:(t,e,n)=>{var r={};r[n(5112)("toStringTag")]="z",t.exports="[object z]"===String(r)},1340:(t,e,n)=>{var r=n(648),i=String;t.exports=function(t){if("Symbol"===r(t))throw TypeError("Cannot convert a Symbol value to a string");return i(t)}},6330:t=>{var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},9711:(t,e,n)=>{var r=n(1702),i=0,o=Math.random(),a=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++i+o,36)}},3307:(t,e,n)=>{var r=n(133);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:(t,e,n)=>{var r=n(9781),i=n(7293);t.exports=r&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5112:(t,e,n)=>{var r=n(7854),i=n(2309),o=n(2597),a=n(9711),s=n(133),c=n(3307),f=i("wks"),u=r.Symbol,p=u&&u.for,l=c?u:u&&u.withoutSetter||a;t.exports=function(t){if(!o(f,t)||!s&&"string"!=typeof f[t]){var e="Symbol."+t;s&&o(u,t)?f[t]=u[t]:f[t]=c&&p?p(e):l(e)}return f[t]}},4603:(t,e,n)=>{var r=n(9781),i=n(7854),o=n(1702),a=n(4705),s=n(9587),c=n(8880),f=n(8006).f,u=n(7976),p=n(7850),l=n(1340),d=n(4706),g=n(2999),v=n(2626),h=n(8052),m=n(7293),_=n(2597),y=n(9909).enforce,b=n(6340),x=n(5112),w=n(9441),S=n(7168),O=x("match"),E=i.RegExp,j=E.prototype,C=i.SyntaxError,P=o(j.exec),F=o("".charAt),A=o("".replace),I=o("".indexOf),R=o("".slice),k=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,T=/a/g,M=/a/g,D=new E(T)!==T,L=g.MISSED_STICKY,N=g.UNSUPPORTED_Y,U=r&&(!D||L||w||S||m((function(){return M[O]=!1,E(T)!=T||E(M)==M||"/a/i"!=E(T,"i")})));if(a("RegExp",U)){for(var G=function(t,e){var n,r,i,o,a,f,g=u(j,this),v=p(t),h=void 0===e,m=[],b=t;if(!g&&v&&h&&t.constructor===G)return t;if((v||u(j,t))&&(t=t.source,h&&(e=d(b))),t=void 0===t?"":l(t),e=void 0===e?"":l(e),b=t,w&&"dotAll"in T&&(r=!!e&&I(e,"s")>-1)&&(e=A(e,/s/g,"")),n=e,L&&"sticky"in T&&(i=!!e&&I(e,"y")>-1)&&N&&(e=A(e,/y/g,"")),S&&(o=function(t){for(var e,n=t.length,r=0,i="",o=[],a={},s=!1,c=!1,f=0,u="";r<=n;r++){if("\\"===(e=F(t,r)))e+=F(t,++r);else if("]"===e)s=!1;else if(!s)switch(!0){case"["===e:s=!0;break;case"("===e:P(k,R(t,r+1))&&(r+=2,c=!0),i+=e,f++;continue;case">"===e&&c:if(""===u||_(a,u))throw new C("Invalid capture group name");a[u]=!0,o[o.length]=[u,f],c=!1,u="";continue}c?u+=e:i+=e}return[i,o]}(t),t=o[0],m=o[1]),a=s(E(t,e),g?this:j,G),(r||i||m.length)&&(f=y(a),r&&(f.dotAll=!0,f.raw=G(function(t){for(var e,n=t.length,r=0,i="",o=!1;r<=n;r++)"\\"!==(e=F(t,r))?o||"."!==e?("["===e?o=!0:"]"===e&&(o=!1),i+=e):i+="[\\s\\S]":i+=e+F(t,++r);return i}(t),n)),i&&(f.sticky=!0),m.length&&(f.groups=m)),t!==b)try{c(a,"source",""===b?"(?:)":b)}catch(t){}return a},$=f(E),z=0;$.length>z;)v(G,E,$[z++]);j.constructor=G,G.prototype=j,h(i,"RegExp",G,{constructor:!0})}b("RegExp")},8450:(t,e,n)=>{var r=n(9781),i=n(9441),o=n(4326),a=n(7045),s=n(9909).get,c=RegExp.prototype,f=TypeError;r&&i&&a(c,"dotAll",{configurable:!0,get:function(){if(this!==c){if("RegExp"===o(this))return!!s(this).dotAll;throw f("Incompatible receiver, RegExp required")}}})},4916:(t,e,n)=>{"use strict";var r=n(2109),i=n(2261);r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},9714:(t,e,n)=>{"use strict";var r=n(6530).PROPER,i=n(8052),o=n(9670),a=n(1340),s=n(7293),c=n(4706),f="toString",u=RegExp.prototype.toString,p=s((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),l=r&&u.name!=f;(p||l)&&i(RegExp.prototype,f,(function(){var t=o(this);return"/"+a(t.source)+"/"+a(c(t))}),{unsafe:!0})},5306:(t,e,n)=>{"use strict";var r=n(2104),i=n(6916),o=n(1702),a=n(7007),s=n(7293),c=n(9670),f=n(614),u=n(9303),p=n(7466),l=n(1340),d=n(4488),g=n(1530),v=n(8173),h=n(647),m=n(7651),_=n(5112)("replace"),y=Math.max,b=Math.min,x=o([].concat),w=o([].push),S=o("".indexOf),O=o("".slice),E="$0"==="a".replace(/./,"$0"),j=!!/./[_]&&""===/./[_]("a","$0");a("replace",(function(t,e,n){var o=j?"$":"$0";return[function(t,n){var r=d(this),o=null==t?void 0:v(t,_);return o?i(o,t,r,n):i(e,l(r),t,n)},function(t,i){var a=c(this),s=l(t);if("string"==typeof i&&-1===S(i,o)&&-1===S(i,"$<")){var d=n(e,a,s,i);if(d.done)return d.value}var v=f(i);v||(i=l(i));var _=a.global;if(_){var E=a.unicode;a.lastIndex=0}for(var j=[];;){var C=m(a,s);if(null===C)break;if(w(j,C),!_)break;""===l(C[0])&&(a.lastIndex=g(s,p(a.lastIndex),E))}for(var P,F="",A=0,I=0;I<j.length;I++){for(var R=l((C=j[I])[0]),k=y(b(u(C.index),s.length),0),T=[],M=1;M<C.length;M++)w(T,void 0===(P=C[M])?P:String(P));var D=C.groups;if(v){var L=x([R],T,k,s);void 0!==D&&w(L,D);var N=l(r(i,void 0,L))}else N=h(R,s,k,T,D,i);k>=A&&(F+=O(s,A,k)+N,A=k+R.length)}return F+O(s,A)}]}),!!s((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!E||j)},3123:(t,e,n)=>{"use strict";var r=n(2104),i=n(6916),o=n(1702),a=n(7007),s=n(7850),c=n(9670),f=n(4488),u=n(6707),p=n(1530),l=n(7466),d=n(1340),g=n(8173),v=n(1589),h=n(7651),m=n(2261),_=n(2999),y=n(7293),b=_.UNSUPPORTED_Y,x=4294967295,w=Math.min,S=[].push,O=o(/./.exec),E=o(S),j=o("".slice);a("split",(function(t,e,n){var o;return o="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var o=d(f(this)),a=void 0===n?x:n>>>0;if(0===a)return[];if(void 0===t)return[o];if(!s(t))return i(e,o,t,a);for(var c,u,p,l=[],g=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),h=0,_=new RegExp(t.source,g+"g");(c=i(m,_,o))&&!((u=_.lastIndex)>h&&(E(l,j(o,h,c.index)),c.length>1&&c.index<o.length&&r(S,l,v(c,1)),p=c[0].length,h=u,l.length>=a));)_.lastIndex===c.index&&_.lastIndex++;return h===o.length?!p&&O(_,"")||E(l,""):E(l,j(o,h)),l.length>a?v(l,0,a):l}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:i(e,this,t,n)}:e,[function(e,n){var r=f(this),a=null==e?void 0:g(e,t);return a?i(a,e,r,n):i(o,d(r),e,n)},function(t,r){var i=c(this),a=d(t),s=n(o,i,a,r,o!==e);if(s.done)return s.value;var f=u(i,RegExp),g=i.unicode,v=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(b?"g":"y"),m=new f(b?"^(?:"+i.source+")":i,v),_=void 0===r?x:r>>>0;if(0===_)return[];if(0===a.length)return null===h(m,a)?[a]:[];for(var y=0,S=0,O=[];S<a.length;){m.lastIndex=b?0:S;var C,P=h(m,b?j(a,S):a);if(null===P||(C=w(l(m.lastIndex+(b?S:0)),a.length))===y)S=p(a,S,g);else{if(E(O,j(a,y,S)),O.length===_)return O;for(var F=1;F<=P.length-1;F++)if(E(O,P[F]),O.length===_)return O;S=y=C}}return E(O,j(a,y)),O}]}),!!y((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),b)},3753:(t,e,n)=>{"use strict";var r=n(2109),i=n(6916);r({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return i(URL.prototype.toString,this)}})}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var o=e[r]={exports:{}};return t[r](o,o.exports,n),o.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";const t=jQuery;var e=n.n(t);n(3753);function r(t,n){return e().ajax({type:"post",dataType:"json",url:GFPDF.ajaxUrl,data:t,success:n,error:n})}function i(t){return e()("<img alt="+GFPDF.spinnerAlt+" src="+GFPDF.spinnerUrl+" class="+t+" />")}function o(t){var n=e()("#gfpdf-settings-field-wrapper-font, #gfpdf-settings-field-wrapper-font_size, #gfpdf-settings-field-wrapper-font_colour");"legacy"===t?n.hide():n.show()}function a(t,e,n,r){var i="submit-container-"+n;if(!t.classList.contains("gform-settings-panel--collapsed")){var o=e.querySelector("#submit").cloneNode(!0);o.setAttribute("id","submit_"+n);var a=document.createElement("div");return a.setAttribute("class",i),a.innerHTML=o.outerHTML,t.parentNode.insertBefore(a,t.nextSibling)}r||document.querySelector(".".concat(i)).remove()}function s(){e()("#gfpdf_settings\\[template\\]").off("change").on("change",(function(){var t=i("gfpdf-spinner-template");e()(this).next().after(t),r({action:"gfpdf_get_template_fields",nonce:GFPDF.ajaxNonce,template:e()(this).val(),type:e()(this).attr("id"),id:e()("#gform_id").val(),gform_pdf_id:e()("#gform_pdf_id").val()},(function(n){var r,i,s=e()(".submit-container-2")[0];t.remove(),e()('input[name="gfpdf_settings[advanced_template]"][value="No"]').prop("checked",!0).trigger("change"),n.fields?(e().each(n.editors,(function(t,e){var n=tinyMCE.get(e);if(null!==n)try{tinyMCE.remove(n)}catch(t){}})),s||a(e()("#gfpdf-fieldset-gfpdf_form_settings_template")[0],e()("#gfpdf_pdf_form")[0],"2"),e()("#gfpdf-fieldset-gfpdf_form_settings_template").show().find(".gform-settings-panel__content").html(n.fields),r=n.editors,null!=(i=n.editor_init)&&(i.body_class="id post-type-post post-status-publish post-format-standard",i.formats={alignleft:[{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li",styles:{textAlign:"left"}},{selector:"img,table,dl.wp-caption",classes:"alignleft"}],aligncenter:[{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li",styles:{textAlign:"center"}},{selector:"img,table,dl.wp-caption",classes:"aligncenter"}],alignright:[{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li",styles:{textAlign:"right"}},{selector:"img,table,dl.wp-caption",classes:"alignright"}],strikethrough:{inline:"del"}},i.content_style='body#tinymce { max-width: 100%; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;}'),e().each(r,(function(t,e){i.selector="#"+e,tinyMCE.init(i),tinyMCE.execCommand("mceAddEditor",!1,e),"function"==typeof QTags&&(QTags({id:e}),QTags._buttonsInit(),"function"==typeof switchEditors.switchto&&switchEditors.switchto(jQuery("#wp-"+e+"-wrap").find(".wp-switch-editor.switch-"+("html"===getUserSetting("editor")?"html":"tmce"))[0]))})),c.runElements(),window.gfMergeTags&&"undefined"!=typeof form&&e()("#gfpdf-fieldset-gfpdf_form_settings_template .merge-tag-support").length>=0&&(e()("#gfpdf-fieldset-gfpdf_form_settings_template .merge-tag-support").each((function(){new gfMergeTagsObj(form,e()(this))})),e()("#gfpdf-fieldset-gfpdf_form_settings_template .gform-settings-field").each((function(){e()(this).find(".merge-tag-support, .merge-tag-support + span").wrapAll('<div class="gform-settings-input__container gform-settings-input__container--with-merge-tag"></div>'),e()(this).find(".all-merge-tags.textarea").parent().wrapAll('<div class="gform-settings-input__container gform-settings-input__container--with-merge-tag gfpdf-merge-tag-container"></div>')}))),gform_initialize_tooltips()):(s&&s.remove(),e()("#gfpdf-fieldset-gfpdf_form_settings_template").hide().find(".gform-settings-panel__content").html("")),n.template_type&&o(n.template_type),e()(document).trigger("gfpdf_template_loaded",[n])}))}))}var c=new class{runElements(){var t;"undefined"!=typeof gf_vars&&(gf_vars.thisFormButton=GFPDF.conditionalText,gf_vars.show=GFPDF.enable,gf_vars.hide=GFPDF.disable),window.formfield="",e()("body").off("click",".gfpdf_settings_upload_button").on("click",".gfpdf_settings_upload_button",(function(n){n.preventDefault();var r=e()(this);window.formfield=e()(this).prev(),t||(t=wp.media.frames.file_frame=wp.media({title:r.data("uploader-title"),button:{text:r.data("uploader-button-text")},multiple:!1})).on("select",(function(){t.state().get("selection").each((function(t){t=t.toJSON(),window.formfield.val(t.url).trigger("change")}))})),t.open()})),e()(".gfpdf-color-picker").each((function(){e()(this).wpColorPicker({width:300}),e()(this).parents(".wp-picker-container").find(".wp-color-result").addClass("ed_button")})),e()(".gfpdf_paper_size").each((function(){var t=e()(this).nextAll(".gfpdf_paper_size_other").first();e()(this).find("select").off("change").on("change",(function(){"CUSTOM"===e()(this).val()?t.fadeIn():t.fadeOut()})).trigger("change")})),e()("form").off("change",".gfpdf-input-toggle").on("change",".gfpdf-input-toggle",(function(){var t=e()(this).parent().next();e()(this).prop("checked")?t.slideDown("slow"):(t.slideUp("slow"),t.find(".wp-editor-area").each((function(){var t=tinyMCE.get(e()(this).attr("id"));null!==t&&t.setContent("")})),t.find("textarea").each((function(){e()(this).val("")})))})),s(),e()(".gfpdf-deactivate-license").on("click",(function(){var t=e()(this).parent(),n=i("gfpdf-spinner");e()(this).append(n);var o=e()(this).data("addon-name");return r({action:"gfpdf_deactivate_license",addon_name:o,nonce:e()(this).data("nonce")},(function(r){n.remove(),r.success?(e()("#gfpdf_settings\\[license_"+o+"\\]").val(""),e()("#gfpdf_settings\\[license_"+o+"_message\\]").val(""),e()("#gfpdf_settings\\[license_"+o+"_status\\]").val(""),t.find("button").remove(),t.find("#message").removeClass("error").addClass("success").html(r.success)):t.find("#message").removeClass("success").addClass("error").html(r.error)})),!1}))}};n(4603),n(8450),n(4916),n(9714),n(5306);function f(t){t.attr("novalidate","novalidate"),t.find('input[type="submit"]').on("click",(function(){t.addClass("formSubmitted")})),t.find(':input[required=""], :input[required]').each((function(){var t=e()(this).parent();t.find(".gform-settings-panel__title a").length?t.find(".gform-settings-panel__title a").before('<span class="gfield_required">(required)</span>'):t.find(".gform-settings-panel__title").append('<span class="gfield_required">(required)</span>')}))}function u(t,n,r){n=void 0!==n?n:4500,r=void 0!==r&&r;var i=e()('<div id="message">').html("<p>"+t+"</p>");!0===r?i.addClass("error"):i.addClass("updated"),e()(".wrap > h2").after(i),setTimeout((function(){i.slideUp()}),n)}function p(){function t(t){t.append(i("gfpdf-spinner gfpdf-spinner-small")).closest(".row-actions").attr("style","position:static; visibility: visible;"),r({action:"gfpdf_list_delete",nonce:t.data("nonce"),fid:t.data("fid"),pid:t.data("id")},(function(n){n.msg&&(t.closest(".row-actions").attr("style","").find(".gfpdf-spinner").remove(),u(n.msg),t.parents("tr").css("background","#ffb8b8").fadeOut(400,(function(){this.remove(),function(){var t=e()("#gfpdf_list_form tbody");if(0===t.find("tr").length){var n=e()("<tr>").addClass("no-items"),r=e()("<td>").attr("colspan","5").addClass("colspanchange"),i=e()("<a>").attr("href",e()("#gfpdf_list_form a.button:first").attr("href")).append(GFPDF.letsGoCreateOne+".");r.append(GFPDF.thisFormHasNoPdfs).append(" ").append(i),n.append(r),t.append(n)}}()})))}))}e()("#gfpdf_list_form").on("click","a.submitdelete",(function(){String(e()(this).data("id")).length>0&&window.confirm(GFPDF.pdfDeleteWarning)&&t(e()(this));return!1}))}n(3123);var l=new class{setupAJAXListListener(){p(),e()("#gfpdf_list_form").on("click","a.submitduplicate",(function(t){t.preventDefault();var n=String(e()(this).data("id")),o=this;e()(this).after(i("gfpdf-spinner gfpdf-spinner-small")).parent().parent().attr("style","position:static; visibility: visible;"),n.length>0&&r({action:"gfpdf_list_duplicate",nonce:e()(this).data("nonce"),fid:e()(this).data("fid"),pid:e()(this).data("id")},(function(t){if(t.msg){e()(o).parent().parent().attr("style","").find(".gfpdf-spinner").remove(),u(t.msg);var r=e()(o).parents("tr"),i=r.clone();i.find(".column-name > a, .edit a").each((function(){var n=e()(this).attr("href");n=function(t,e,n){var r="",i=t.split("?"),o=i[0],a=i[1],s="";if(a){i=a.split("&");for(var c=0;c<i.length;c++)i[c].split("=")[0]!==e&&(r+=s+i[c],s="&")}return o+"?"+r+s+e+"="+n}(n,"pid",t.pid),e()(this).attr("href",n)})),i.find(".column-name > a").html(t.name);var a=i.find(".duplicate a"),s=i.find(".delete a"),c=i.find(".check-column button"),f=i.find(".column-shortcode");a.data("id",t.pid),a.data("nonce",t.dup_nonce),s.data("id",t.pid),s.data("nonce",t.del_nonce),c.data("id",t.pid),c.data("nonce",t.state_nonce),c[0].setAttribute("data-status","inactive");var p=f.find("button").attr("data-clipboard-text");p=p.replace(n,t.pid),f.find("button").attr("data-clipboard-text",p),f.find("input").attr("id",t.pid).attr("value",p),c.removeClass("gform-status--active").addClass("gform-status--inactive").find(".gform-status-indicator-status").html(t.status),i.hide().insertAfter(r).fadeIn()}}))})),e()("#gfpdf_list_form").on("click",".check-column button",(function(){var t=String(e()(this).data("id")),n=e()(this),i=n.find("span.gform-status-indicator-status");t.length>0&&(n.addClass("gform_status--pending").removeClass("gform-status--active gform-status--inactive"),r({action:"gfpdf_change_state",nonce:e()(this).data("nonce"),fid:e()(this).data("fid"),pid:e()(this).data("id")},(function(t){i.html(t.state),"active"===n.data("status")?(n[0].setAttribute("data-status","inactive"),n.data("status","inactive").removeClass("gform_status--pending").addClass("gform-status--inactive")):(n[0].setAttribute("data-status","active"),n.data("status","active").removeClass("gform_status--pending").addClass("gform-status--active"))})))}))}};function d(){var t,n,r,i,a,s,c,u;f(e()("#gfpdf_pdf_form")),t=e()("#gfpdf-fieldset-gfpdf_form_settings_advanced"),n=t.find('input[name="gfpdf_settings[security]"]'),r=t.find('input[name="gfpdf_settings[format]"]'),i=t.find("#gfpdf-settings-field-wrapper-security"),a=t.find("#gfpdf-settings-field-wrapper-password,#gfpdf-settings-field-wrapper-privileges,#gfpdf-settings-field-wrapper-master_password:not(.gfpdf-hidden)"),n.on("change",(function(){var t=r.filter(":checked").val();"No"===e()(this).val()||"Standard"!==t?a.hide():e()(this).is(":checked")?a.show():a.hide(),"Standard"!==t?i.hide():i.show()})).trigger("change"),r.on("change",(function(){e()(this).is(":checked")&&n.trigger("change")})).trigger("change"),gform.addFilter("gform_conditional_object",(function(t,e){return"gfpdf"===e?window.gfpdf_current_pdf:t})),e()("#gfpdf_conditional_logic").on("change",(function(){void 0===window.gfpdf_current_pdf.conditionalLogic&&e()(this).prop("checked")?window.gfpdf_current_pdf.conditionalLogic=new ConditionalLogic:e()(this).prop("checked")||(window.gfpdf_current_pdf.conditionalLogic=null),ToggleConditionalLogic(!1,"gfpdf")})).trigger("change"),s=e()("#gfpdf-fieldset-gfpdf_form_settings_advanced").find('input[name="gfpdf_settings[public_access]"]'),c=e()("#gfpdf-settings-field-wrapper-restrict_owner"),s.on("change",(function(){e()(this).is(":checked")?c.hide():c.show()})).trigger("change"),o(e()("#gfpdf_settings\\[template\\]").data("template_group")),u=e()("#gfpdf-fieldset-gfpdf_form_settings_appearance"),e()('input[name="gfpdf_settings[advanced_template]"]').on("change",(function(){"Yes"===e()(this).val()?u.hide():u.show()})),e()('input[name="gfpdf_settings[advanced_template]"]:checked').trigger("change"),e()(".gform-settings-field").each((function(){e()(this).find(".merge-tag-support, .merge-tag-support + span").wrapAll('<div class="gform-settings-input__container gform-settings-input__container--with-merge-tag"></div>'),e()(this).find(".all-merge-tags.textarea").parent().wrapAll('<div class="gform-settings-input__container gform-settings-input__container--with-merge-tag gfpdf-merge-tag-container"></div>')}));var p=e()("#gfpdf-fieldset-gfpdf_form_settings_template");0===p.find(".gform-settings-panel__content").children().length&&p.hide(),e()(".gform-settings__wrapper > .alert").detach().prependTo("#tab_PDF"),e()("#gfpdf_pdf_form").on("submit",(function(){try{tinyMCE.triggerSave()}catch(t){}})),e()("#gfpdf_pdf_form").on("submit",(function(){e()("#gfpdf_settings\\[conditionalLogic\\]").val(e().toJSON(window.gfpdf_current_pdf.conditionalLogic))}))}var g=new class{isSettings(){return e()("#pdfextended-settings").length}isFormSettings(){return e()(".gforms_edit_form").length}isFormSettingsList(){return e()("#gfpdf_list_form").length}isFormSettingsEdit(){return e()("#gfpdf_pdf_form").length}};var v=new class{init(){c.runElements(),g.isSettings()&&this.processSettings(),g.isFormSettings()&&this.processFormSettings()}getCurrentSettingsPage(){return g.isSettings()?e()(".gform-settings-tabs__navigation a.active:first").data("id"):""}processSettings(){if(e()("#gform_tabs a").each((function(){var t=e()(this).attr("href"),n=new RegExp("&tab=[^&;]*","g");e()(this).attr("href",t.replace(n,""))})),"general"===this.getCurrentSettingsPage())!function(){f(e()("#pdfextended-settings > form"));var t=e()("#pdf-general-security");t.find('input[name="gfpdf_settings[default_restrict_owner]"]').on("change",(function(){e()(this).is(":checked")&&("Yes"===e()(this).val()?t.find("tr:nth-child(3)").hide():t.find("tr:nth-child(3)").show())})).trigger("change")}()}processFormSettings(){g.isFormSettingsList()&&l.setupAJAXListListener(),g.isFormSettingsEdit()&&d()}};e()((function(){v.init()}))})()})();
|
1 |
+
(()=>{var t={9662:(t,e,n)=>{var r=n(614),i=n(6330),o=TypeError;t.exports=function(t){if(r(t))return t;throw o(i(t)+" is not a function")}},9483:(t,e,n)=>{var r=n(4411),i=n(6330),o=TypeError;t.exports=function(t){if(r(t))return t;throw o(i(t)+" is not a constructor")}},6077:(t,e,n)=>{var r=n(614),i=String,o=TypeError;t.exports=function(t){if("object"==typeof t||r(t))return t;throw o("Can't set "+i(t)+" as a prototype")}},1530:(t,e,n)=>{"use strict";var r=n(8710).charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},9670:(t,e,n)=>{var r=n(111),i=String,o=TypeError;t.exports=function(t){if(r(t))return t;throw o(i(t)+" is not an object")}},1318:(t,e,n)=>{var r=n(5656),i=n(1400),o=n(6244),a=function(t){return function(e,n,a){var s,c=r(e),f=o(c),u=i(a,f);if(t&&n!=n){for(;f>u;)if((s=c[u++])!=s)return!0}else for(;f>u;u++)if((t||u in c)&&c[u]===n)return t||u||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},1589:(t,e,n)=>{var r=n(1400),i=n(6244),o=n(6135),a=Array,s=Math.max;t.exports=function(t,e,n){for(var c=i(t),f=r(e,c),u=r(void 0===n?c:n,c),p=a(s(u-f,0)),l=0;f<u;f++,l++)o(p,l,t[f]);return p.length=l,p}},4326:(t,e,n)=>{var r=n(1702),i=r({}.toString),o=r("".slice);t.exports=function(t){return o(i(t),8,-1)}},648:(t,e,n)=>{var r=n(1694),i=n(614),o=n(4326),a=n(5112)("toStringTag"),s=Object,c="Arguments"==o(function(){return arguments}());t.exports=r?o:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=s(t),a))?n:c?o(e):"Object"==(r=o(e))&&i(e.callee)?"Arguments":r}},9920:(t,e,n)=>{var r=n(2597),i=n(3887),o=n(1236),a=n(3070);t.exports=function(t,e,n){for(var s=i(e),c=a.f,f=o.f,u=0;u<s.length;u++){var p=s[u];r(t,p)||n&&r(n,p)||c(t,p,f(e,p))}}},8880:(t,e,n)=>{var r=n(9781),i=n(3070),o=n(9114);t.exports=r?function(t,e,n){return i.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},9114:t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},6135:(t,e,n)=>{"use strict";var r=n(4948),i=n(3070),o=n(9114);t.exports=function(t,e,n){var a=r(e);a in t?i.f(t,a,o(0,n)):t[a]=n}},7045:(t,e,n)=>{var r=n(6339),i=n(3070);t.exports=function(t,e,n){return n.get&&r(n.get,e,{getter:!0}),n.set&&r(n.set,e,{setter:!0}),i.f(t,e,n)}},8052:(t,e,n)=>{var r=n(614),i=n(3070),o=n(6339),a=n(3072);t.exports=function(t,e,n,s){s||(s={});var c=s.enumerable,f=void 0!==s.name?s.name:e;if(r(n)&&o(n,f,s),s.global)c?t[e]=n:a(e,n);else{try{s.unsafe?t[e]&&(c=!0):delete t[e]}catch(t){}c?t[e]=n:i.f(t,e,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},3072:(t,e,n)=>{var r=n(7854),i=Object.defineProperty;t.exports=function(t,e){try{i(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},9781:(t,e,n)=>{var r=n(7293);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},317:(t,e,n)=>{var r=n(7854),i=n(111),o=r.document,a=i(o)&&i(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},8113:(t,e,n)=>{var r=n(5005);t.exports=r("navigator","userAgent")||""},7392:(t,e,n)=>{var r,i,o=n(7854),a=n(8113),s=o.process,c=o.Deno,f=s&&s.versions||c&&c.version,u=f&&f.v8;u&&(i=(r=u.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=+r[1]),t.exports=i},748:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:(t,e,n)=>{var r=n(7854),i=n(1236).f,o=n(8880),a=n(8052),s=n(3072),c=n(9920),f=n(4705);t.exports=function(t,e){var n,u,p,l,d,g=t.target,v=t.global,h=t.stat;if(n=v?r:h?r[g]||s(g,{}):(r[g]||{}).prototype)for(u in e){if(l=e[u],p=t.dontCallGetSet?(d=i(n,u))&&d.value:n[u],!f(v?u:g+(h?".":"#")+u,t.forced)&&void 0!==p){if(typeof l==typeof p)continue;c(l,p)}(t.sham||p&&p.sham)&&o(l,"sham",!0),a(n,u,l,t)}}},7293:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},7007:(t,e,n)=>{"use strict";n(4916);var r=n(1702),i=n(8052),o=n(2261),a=n(7293),s=n(5112),c=n(8880),f=s("species"),u=RegExp.prototype;t.exports=function(t,e,n,p){var l=s(t),d=!a((function(){var e={};return e[l]=function(){return 7},7!=""[t](e)})),g=d&&!a((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[f]=function(){return n},n.flags="",n[l]=/./[l]),n.exec=function(){return e=!0,null},n[l](""),!e}));if(!d||!g||n){var v=r(/./[l]),h=e(l,""[t],(function(t,e,n,i,a){var s=r(t),c=e.exec;return c===o||c===u.exec?d&&!a?{done:!0,value:v(e,n,i)}:{done:!0,value:s(n,e,i)}:{done:!1}}));i(String.prototype,t,h[0]),i(u,l,h[1])}p&&c(u[l],"sham",!0)}},2104:(t,e,n)=>{var r=n(4374),i=Function.prototype,o=i.apply,a=i.call;t.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(o):function(){return a.apply(o,arguments)})},4374:(t,e,n)=>{var r=n(7293);t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},6916:(t,e,n)=>{var r=n(4374),i=Function.prototype.call;t.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},6530:(t,e,n)=>{var r=n(9781),i=n(2597),o=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=i(o,"name"),c=s&&"something"===function(){}.name,f=s&&(!r||r&&a(o,"name").configurable);t.exports={EXISTS:s,PROPER:c,CONFIGURABLE:f}},1702:(t,e,n)=>{var r=n(4374),i=Function.prototype,o=i.bind,a=i.call,s=r&&o.bind(a,a);t.exports=r?function(t){return t&&s(t)}:function(t){return t&&function(){return a.apply(t,arguments)}}},5005:(t,e,n)=>{var r=n(7854),i=n(614),o=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(r[t]):r[t]&&r[t][e]}},8173:(t,e,n)=>{var r=n(9662);t.exports=function(t,e){var n=t[e];return null==n?void 0:r(n)}},647:(t,e,n)=>{var r=n(1702),i=n(7908),o=Math.floor,a=r("".charAt),s=r("".replace),c=r("".slice),f=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,r,p,l){var d=n+t.length,g=r.length,v=u;return void 0!==p&&(p=i(p),v=f),s(l,v,(function(i,s){var f;switch(a(s,0)){case"$":return"$";case"&":return t;case"`":return c(e,0,n);case"'":return c(e,d);case"<":f=p[c(s,1,-1)];break;default:var u=+s;if(0===u)return i;if(u>g){var l=o(u/10);return 0===l?i:l<=g?void 0===r[l-1]?a(s,1):r[l-1]+a(s,1):i}f=r[u-1]}return void 0===f?"":f}))}},7854:(t,e,n)=>{var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},2597:(t,e,n)=>{var r=n(1702),i=n(7908),o=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(i(t),e)}},3501:t=>{t.exports={}},490:(t,e,n)=>{var r=n(5005);t.exports=r("document","documentElement")},4664:(t,e,n)=>{var r=n(9781),i=n(7293),o=n(317);t.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},8361:(t,e,n)=>{var r=n(1702),i=n(7293),o=n(4326),a=Object,s=r("".split);t.exports=i((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?s(t,""):a(t)}:a},9587:(t,e,n)=>{var r=n(614),i=n(111),o=n(7674);t.exports=function(t,e,n){var a,s;return o&&r(a=e.constructor)&&a!==n&&i(s=a.prototype)&&s!==n.prototype&&o(t,s),t}},2788:(t,e,n)=>{var r=n(1702),i=n(614),o=n(5465),a=r(Function.toString);i(o.inspectSource)||(o.inspectSource=function(t){return a(t)}),t.exports=o.inspectSource},9909:(t,e,n)=>{var r,i,o,a=n(8536),s=n(7854),c=n(1702),f=n(111),u=n(8880),p=n(2597),l=n(5465),d=n(6200),g=n(3501),v="Object already initialized",h=s.TypeError,m=s.WeakMap;if(a||l.state){var _=l.state||(l.state=new m),y=c(_.get),b=c(_.has),x=c(_.set);r=function(t,e){if(b(_,t))throw new h(v);return e.facade=t,x(_,t,e),e},i=function(t){return y(_,t)||{}},o=function(t){return b(_,t)}}else{var w=d("state");g[w]=!0,r=function(t,e){if(p(t,w))throw new h(v);return e.facade=t,u(t,w,e),e},i=function(t){return p(t,w)?t[w]:{}},o=function(t){return p(t,w)}}t.exports={set:r,get:i,has:o,enforce:function(t){return o(t)?i(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!f(e)||(n=i(e)).type!==t)throw h("Incompatible receiver, "+t+" required");return n}}}},614:t=>{t.exports=function(t){return"function"==typeof t}},4411:(t,e,n)=>{var r=n(1702),i=n(7293),o=n(614),a=n(648),s=n(5005),c=n(2788),f=function(){},u=[],p=s("Reflect","construct"),l=/^\s*(?:class|function)\b/,d=r(l.exec),g=!l.exec(f),v=function(t){if(!o(t))return!1;try{return p(f,u,t),!0}catch(t){return!1}},h=function(t){if(!o(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return g||!!d(l,c(t))}catch(t){return!0}};h.sham=!0,t.exports=!p||i((function(){var t;return v(v.call)||!v(Object)||!v((function(){t=!0}))||t}))?h:v},4705:(t,e,n)=>{var r=n(7293),i=n(614),o=/#|\.prototype\./,a=function(t,e){var n=c[s(t)];return n==u||n!=f&&(i(e)?r(e):!!e)},s=a.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=a.data={},f=a.NATIVE="N",u=a.POLYFILL="P";t.exports=a},111:(t,e,n)=>{var r=n(614);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},1913:t=>{t.exports=!1},7850:(t,e,n)=>{var r=n(111),i=n(4326),o=n(5112)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},2190:(t,e,n)=>{var r=n(5005),i=n(614),o=n(7976),a=n(3307),s=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return i(e)&&o(e.prototype,s(t))}},6244:(t,e,n)=>{var r=n(7466);t.exports=function(t){return r(t.length)}},6339:(t,e,n)=>{var r=n(7293),i=n(614),o=n(2597),a=n(9781),s=n(6530).CONFIGURABLE,c=n(2788),f=n(9909),u=f.enforce,p=f.get,l=Object.defineProperty,d=a&&!r((function(){return 8!==l((function(){}),"length",{value:8}).length})),g=String(String).split("String"),v=t.exports=function(t,e,n){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!o(t,"name")||s&&t.name!==e)&&(a?l(t,"name",{value:e,configurable:!0}):t.name=e),d&&n&&o(n,"arity")&&t.length!==n.arity&&l(t,"length",{value:n.arity});try{n&&o(n,"constructor")&&n.constructor?a&&l(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var r=u(t);return o(r,"source")||(r.source=g.join("string"==typeof e?e:"")),t};Function.prototype.toString=v((function(){return i(this)&&p(this).source||c(this)}),"toString")},4758:t=>{var e=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(t){var r=+t;return(r>0?n:e)(r)}},133:(t,e,n)=>{var r=n(7392),i=n(7293);t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},8536:(t,e,n)=>{var r=n(7854),i=n(614),o=n(2788),a=r.WeakMap;t.exports=i(a)&&/native code/.test(o(a))},30:(t,e,n)=>{var r,i=n(9670),o=n(6048),a=n(748),s=n(3501),c=n(490),f=n(317),u=n(6200),p=u("IE_PROTO"),l=function(){},d=function(t){return"<script>"+t+"</"+"script>"},g=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},v=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}var t,e;v="undefined"!=typeof document?document.domain&&r?g(r):((e=f("iframe")).style.display="none",c.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(d("document.F=Object")),t.close(),t.F):g(r);for(var n=a.length;n--;)delete v.prototype[a[n]];return v()};s[p]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(l.prototype=i(t),n=new l,l.prototype=null,n[p]=t):n=v(),void 0===e?n:o.f(n,e)}},6048:(t,e,n)=>{var r=n(9781),i=n(3353),o=n(3070),a=n(9670),s=n(5656),c=n(1956);e.f=r&&!i?Object.defineProperties:function(t,e){a(t);for(var n,r=s(e),i=c(e),f=i.length,u=0;f>u;)o.f(t,n=i[u++],r[n]);return t}},3070:(t,e,n)=>{var r=n(9781),i=n(4664),o=n(3353),a=n(9670),s=n(4948),c=TypeError,f=Object.defineProperty,u=Object.getOwnPropertyDescriptor,p="enumerable",l="configurable",d="writable";e.f=r?o?function(t,e,n){if(a(t),e=s(e),a(n),"function"==typeof t&&"prototype"===e&&"value"in n&&d in n&&!n.writable){var r=u(t,e);r&&r.writable&&(t[e]=n.value,n={configurable:l in n?n.configurable:r.configurable,enumerable:p in n?n.enumerable:r.enumerable,writable:!1})}return f(t,e,n)}:f:function(t,e,n){if(a(t),e=s(e),a(n),i)try{return f(t,e,n)}catch(t){}if("get"in n||"set"in n)throw c("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},1236:(t,e,n)=>{var r=n(9781),i=n(6916),o=n(5296),a=n(9114),s=n(5656),c=n(4948),f=n(2597),u=n(4664),p=Object.getOwnPropertyDescriptor;e.f=r?p:function(t,e){if(t=s(t),e=c(e),u)try{return p(t,e)}catch(t){}if(f(t,e))return a(!i(o.f,t,e),t[e])}},8006:(t,e,n)=>{var r=n(6324),i=n(748).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},5181:(t,e)=>{e.f=Object.getOwnPropertySymbols},7976:(t,e,n)=>{var r=n(1702);t.exports=r({}.isPrototypeOf)},6324:(t,e,n)=>{var r=n(1702),i=n(2597),o=n(5656),a=n(1318).indexOf,s=n(3501),c=r([].push);t.exports=function(t,e){var n,r=o(t),f=0,u=[];for(n in r)!i(s,n)&&i(r,n)&&c(u,n);for(;e.length>f;)i(r,n=e[f++])&&(~a(u,n)||c(u,n));return u}},1956:(t,e,n)=>{var r=n(6324),i=n(748);t.exports=Object.keys||function(t){return r(t,i)}},5296:(t,e)=>{"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!n.call({1:2},1);e.f=i?function(t){var e=r(this,t);return!!e&&e.enumerable}:n},7674:(t,e,n)=>{var r=n(1702),i=n(9670),o=n(6077);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return i(n),o(r),e?t(n,r):n.__proto__=r,n}}():void 0)},2140:(t,e,n)=>{var r=n(6916),i=n(614),o=n(111),a=TypeError;t.exports=function(t,e){var n,s;if("string"===e&&i(n=t.toString)&&!o(s=r(n,t)))return s;if(i(n=t.valueOf)&&!o(s=r(n,t)))return s;if("string"!==e&&i(n=t.toString)&&!o(s=r(n,t)))return s;throw a("Can't convert object to primitive value")}},3887:(t,e,n)=>{var r=n(5005),i=n(1702),o=n(8006),a=n(5181),s=n(9670),c=i([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(s(t)),n=a.f;return n?c(e,n(t)):e}},2626:(t,e,n)=>{var r=n(3070).f;t.exports=function(t,e,n){n in t||r(t,n,{configurable:!0,get:function(){return e[n]},set:function(t){e[n]=t}})}},7651:(t,e,n)=>{var r=n(6916),i=n(9670),o=n(614),a=n(4326),s=n(2261),c=TypeError;t.exports=function(t,e){var n=t.exec;if(o(n)){var f=r(n,t,e);return null!==f&&i(f),f}if("RegExp"===a(t))return r(s,t,e);throw c("RegExp#exec called on incompatible receiver")}},2261:(t,e,n)=>{"use strict";var r,i,o=n(6916),a=n(1702),s=n(1340),c=n(7066),f=n(2999),u=n(2309),p=n(30),l=n(9909).get,d=n(9441),g=n(7168),v=u("native-string-replace",String.prototype.replace),h=RegExp.prototype.exec,m=h,_=a("".charAt),y=a("".indexOf),b=a("".replace),x=a("".slice),w=(i=/b*/g,o(h,r=/a/,"a"),o(h,i,"a"),0!==r.lastIndex||0!==i.lastIndex),S=f.BROKEN_CARET,O=void 0!==/()??/.exec("")[1];(w||O||S||d||g)&&(m=function(t){var e,n,r,i,a,f,u,d=this,g=l(d),E=s(t),j=g.raw;if(j)return j.lastIndex=d.lastIndex,e=o(m,j,E),d.lastIndex=j.lastIndex,e;var C=g.groups,P=S&&d.sticky,F=o(c,d),A=d.source,I=0,R=E;if(P&&(F=b(F,"y",""),-1===y(F,"g")&&(F+="g"),R=x(E,d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==_(E,d.lastIndex-1))&&(A="(?: "+A+")",R=" "+R,I++),n=new RegExp("^(?:"+A+")",F)),O&&(n=new RegExp("^"+A+"$(?!\\s)",F)),w&&(r=d.lastIndex),i=o(h,P?n:d,R),P?i?(i.input=x(i.input,I),i[0]=x(i[0],I),i.index=d.lastIndex,d.lastIndex+=i[0].length):d.lastIndex=0:w&&i&&(d.lastIndex=d.global?i.index+i[0].length:r),O&&i&&i.length>1&&o(v,i[0],n,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(i[a]=void 0)})),i&&C)for(i.groups=f=p(null),a=0;a<C.length;a++)f[(u=C[a])[0]]=i[u[1]];return i}),t.exports=m},7066:(t,e,n)=>{"use strict";var r=n(9670);t.exports=function(){var t=r(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e}},4706:(t,e,n)=>{var r=n(6916),i=n(2597),o=n(7976),a=n(7066),s=RegExp.prototype;t.exports=function(t){var e=t.flags;return void 0!==e||"flags"in s||i(t,"flags")||!o(s,t)?e:r(a,t)}},2999:(t,e,n)=>{var r=n(7293),i=n(7854).RegExp,o=r((function(){var t=i("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),a=o||r((function(){return!i("a","y").sticky})),s=o||r((function(){var t=i("^r","gy");return t.lastIndex=2,null!=t.exec("str")}));t.exports={BROKEN_CARET:s,MISSED_STICKY:a,UNSUPPORTED_Y:o}},9441:(t,e,n)=>{var r=n(7293),i=n(7854).RegExp;t.exports=r((function(){var t=i(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},7168:(t,e,n)=>{var r=n(7293),i=n(7854).RegExp;t.exports=r((function(){var t=i("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},4488:t=>{var e=TypeError;t.exports=function(t){if(null==t)throw e("Can't call method on "+t);return t}},6340:(t,e,n)=>{"use strict";var r=n(5005),i=n(3070),o=n(5112),a=n(9781),s=o("species");t.exports=function(t){var e=r(t),n=i.f;a&&e&&!e[s]&&n(e,s,{configurable:!0,get:function(){return this}})}},6200:(t,e,n)=>{var r=n(2309),i=n(9711),o=r("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},5465:(t,e,n)=>{var r=n(7854),i=n(3072),o="__core-js_shared__",a=r[o]||i(o,{});t.exports=a},2309:(t,e,n)=>{var r=n(1913),i=n(5465);(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.24.0",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.24.0/LICENSE",source:"https://github.com/zloirock/core-js"})},6707:(t,e,n)=>{var r=n(9670),i=n(9483),o=n(5112)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[o])?e:i(n)}},8710:(t,e,n)=>{var r=n(1702),i=n(9303),o=n(1340),a=n(4488),s=r("".charAt),c=r("".charCodeAt),f=r("".slice),u=function(t){return function(e,n){var r,u,p=o(a(e)),l=i(n),d=p.length;return l<0||l>=d?t?"":void 0:(r=c(p,l))<55296||r>56319||l+1===d||(u=c(p,l+1))<56320||u>57343?t?s(p,l):r:t?f(p,l,l+2):u-56320+(r-55296<<10)+65536}};t.exports={codeAt:u(!1),charAt:u(!0)}},1400:(t,e,n)=>{var r=n(9303),i=Math.max,o=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):o(n,e)}},5656:(t,e,n)=>{var r=n(8361),i=n(4488);t.exports=function(t){return r(i(t))}},9303:(t,e,n)=>{var r=n(4758);t.exports=function(t){var e=+t;return e!=e||0===e?0:r(e)}},7466:(t,e,n)=>{var r=n(9303),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},7908:(t,e,n)=>{var r=n(4488),i=Object;t.exports=function(t){return i(r(t))}},7593:(t,e,n)=>{var r=n(6916),i=n(111),o=n(2190),a=n(8173),s=n(2140),c=n(5112),f=TypeError,u=c("toPrimitive");t.exports=function(t,e){if(!i(t)||o(t))return t;var n,c=a(t,u);if(c){if(void 0===e&&(e="default"),n=r(c,t,e),!i(n)||o(n))return n;throw f("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},4948:(t,e,n)=>{var r=n(7593),i=n(2190);t.exports=function(t){var e=r(t,"string");return i(e)?e:e+""}},1694:(t,e,n)=>{var r={};r[n(5112)("toStringTag")]="z",t.exports="[object z]"===String(r)},1340:(t,e,n)=>{var r=n(648),i=String;t.exports=function(t){if("Symbol"===r(t))throw TypeError("Cannot convert a Symbol value to a string");return i(t)}},6330:t=>{var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},9711:(t,e,n)=>{var r=n(1702),i=0,o=Math.random(),a=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++i+o,36)}},3307:(t,e,n)=>{var r=n(133);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:(t,e,n)=>{var r=n(9781),i=n(7293);t.exports=r&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5112:(t,e,n)=>{var r=n(7854),i=n(2309),o=n(2597),a=n(9711),s=n(133),c=n(3307),f=i("wks"),u=r.Symbol,p=u&&u.for,l=c?u:u&&u.withoutSetter||a;t.exports=function(t){if(!o(f,t)||!s&&"string"!=typeof f[t]){var e="Symbol."+t;s&&o(u,t)?f[t]=u[t]:f[t]=c&&p?p(e):l(e)}return f[t]}},4603:(t,e,n)=>{var r=n(9781),i=n(7854),o=n(1702),a=n(4705),s=n(9587),c=n(8880),f=n(8006).f,u=n(7976),p=n(7850),l=n(1340),d=n(4706),g=n(2999),v=n(2626),h=n(8052),m=n(7293),_=n(2597),y=n(9909).enforce,b=n(6340),x=n(5112),w=n(9441),S=n(7168),O=x("match"),E=i.RegExp,j=E.prototype,C=i.SyntaxError,P=o(j.exec),F=o("".charAt),A=o("".replace),I=o("".indexOf),R=o("".slice),k=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,T=/a/g,M=/a/g,D=new E(T)!==T,L=g.MISSED_STICKY,N=g.UNSUPPORTED_Y,U=r&&(!D||L||w||S||m((function(){return M[O]=!1,E(T)!=T||E(M)==M||"/a/i"!=E(T,"i")})));if(a("RegExp",U)){for(var G=function(t,e){var n,r,i,o,a,f,g=u(j,this),v=p(t),h=void 0===e,m=[],b=t;if(!g&&v&&h&&t.constructor===G)return t;if((v||u(j,t))&&(t=t.source,h&&(e=d(b))),t=void 0===t?"":l(t),e=void 0===e?"":l(e),b=t,w&&"dotAll"in T&&(r=!!e&&I(e,"s")>-1)&&(e=A(e,/s/g,"")),n=e,L&&"sticky"in T&&(i=!!e&&I(e,"y")>-1)&&N&&(e=A(e,/y/g,"")),S&&(o=function(t){for(var e,n=t.length,r=0,i="",o=[],a={},s=!1,c=!1,f=0,u="";r<=n;r++){if("\\"===(e=F(t,r)))e+=F(t,++r);else if("]"===e)s=!1;else if(!s)switch(!0){case"["===e:s=!0;break;case"("===e:P(k,R(t,r+1))&&(r+=2,c=!0),i+=e,f++;continue;case">"===e&&c:if(""===u||_(a,u))throw new C("Invalid capture group name");a[u]=!0,o[o.length]=[u,f],c=!1,u="";continue}c?u+=e:i+=e}return[i,o]}(t),t=o[0],m=o[1]),a=s(E(t,e),g?this:j,G),(r||i||m.length)&&(f=y(a),r&&(f.dotAll=!0,f.raw=G(function(t){for(var e,n=t.length,r=0,i="",o=!1;r<=n;r++)"\\"!==(e=F(t,r))?o||"."!==e?("["===e?o=!0:"]"===e&&(o=!1),i+=e):i+="[\\s\\S]":i+=e+F(t,++r);return i}(t),n)),i&&(f.sticky=!0),m.length&&(f.groups=m)),t!==b)try{c(a,"source",""===b?"(?:)":b)}catch(t){}return a},$=f(E),z=0;$.length>z;)v(G,E,$[z++]);j.constructor=G,G.prototype=j,h(i,"RegExp",G,{constructor:!0})}b("RegExp")},8450:(t,e,n)=>{var r=n(9781),i=n(9441),o=n(4326),a=n(7045),s=n(9909).get,c=RegExp.prototype,f=TypeError;r&&i&&a(c,"dotAll",{configurable:!0,get:function(){if(this!==c){if("RegExp"===o(this))return!!s(this).dotAll;throw f("Incompatible receiver, RegExp required")}}})},4916:(t,e,n)=>{"use strict";var r=n(2109),i=n(2261);r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},9714:(t,e,n)=>{"use strict";var r=n(6530).PROPER,i=n(8052),o=n(9670),a=n(1340),s=n(7293),c=n(4706),f="toString",u=RegExp.prototype.toString,p=s((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),l=r&&u.name!=f;(p||l)&&i(RegExp.prototype,f,(function(){var t=o(this);return"/"+a(t.source)+"/"+a(c(t))}),{unsafe:!0})},5306:(t,e,n)=>{"use strict";var r=n(2104),i=n(6916),o=n(1702),a=n(7007),s=n(7293),c=n(9670),f=n(614),u=n(9303),p=n(7466),l=n(1340),d=n(4488),g=n(1530),v=n(8173),h=n(647),m=n(7651),_=n(5112)("replace"),y=Math.max,b=Math.min,x=o([].concat),w=o([].push),S=o("".indexOf),O=o("".slice),E="$0"==="a".replace(/./,"$0"),j=!!/./[_]&&""===/./[_]("a","$0");a("replace",(function(t,e,n){var o=j?"$":"$0";return[function(t,n){var r=d(this),o=null==t?void 0:v(t,_);return o?i(o,t,r,n):i(e,l(r),t,n)},function(t,i){var a=c(this),s=l(t);if("string"==typeof i&&-1===S(i,o)&&-1===S(i,"$<")){var d=n(e,a,s,i);if(d.done)return d.value}var v=f(i);v||(i=l(i));var _=a.global;if(_){var E=a.unicode;a.lastIndex=0}for(var j=[];;){var C=m(a,s);if(null===C)break;if(w(j,C),!_)break;""===l(C[0])&&(a.lastIndex=g(s,p(a.lastIndex),E))}for(var P,F="",A=0,I=0;I<j.length;I++){for(var R=l((C=j[I])[0]),k=y(b(u(C.index),s.length),0),T=[],M=1;M<C.length;M++)w(T,void 0===(P=C[M])?P:String(P));var D=C.groups;if(v){var L=x([R],T,k,s);void 0!==D&&w(L,D);var N=l(r(i,void 0,L))}else N=h(R,s,k,T,D,i);k>=A&&(F+=O(s,A,k)+N,A=k+R.length)}return F+O(s,A)}]}),!!s((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!E||j)},3123:(t,e,n)=>{"use strict";var r=n(2104),i=n(6916),o=n(1702),a=n(7007),s=n(7850),c=n(9670),f=n(4488),u=n(6707),p=n(1530),l=n(7466),d=n(1340),g=n(8173),v=n(1589),h=n(7651),m=n(2261),_=n(2999),y=n(7293),b=_.UNSUPPORTED_Y,x=4294967295,w=Math.min,S=[].push,O=o(/./.exec),E=o(S),j=o("".slice);a("split",(function(t,e,n){var o;return o="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var o=d(f(this)),a=void 0===n?x:n>>>0;if(0===a)return[];if(void 0===t)return[o];if(!s(t))return i(e,o,t,a);for(var c,u,p,l=[],g=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),h=0,_=new RegExp(t.source,g+"g");(c=i(m,_,o))&&!((u=_.lastIndex)>h&&(E(l,j(o,h,c.index)),c.length>1&&c.index<o.length&&r(S,l,v(c,1)),p=c[0].length,h=u,l.length>=a));)_.lastIndex===c.index&&_.lastIndex++;return h===o.length?!p&&O(_,"")||E(l,""):E(l,j(o,h)),l.length>a?v(l,0,a):l}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:i(e,this,t,n)}:e,[function(e,n){var r=f(this),a=null==e?void 0:g(e,t);return a?i(a,e,r,n):i(o,d(r),e,n)},function(t,r){var i=c(this),a=d(t),s=n(o,i,a,r,o!==e);if(s.done)return s.value;var f=u(i,RegExp),g=i.unicode,v=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(b?"g":"y"),m=new f(b?"^(?:"+i.source+")":i,v),_=void 0===r?x:r>>>0;if(0===_)return[];if(0===a.length)return null===h(m,a)?[a]:[];for(var y=0,S=0,O=[];S<a.length;){m.lastIndex=b?0:S;var C,P=h(m,b?j(a,S):a);if(null===P||(C=w(l(m.lastIndex+(b?S:0)),a.length))===y)S=p(a,S,g);else{if(E(O,j(a,y,S)),O.length===_)return O;for(var F=1;F<=P.length-1;F++)if(E(O,P[F]),O.length===_)return O;S=y=C}}return E(O,j(a,y)),O}]}),!!y((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),b)},3753:(t,e,n)=>{"use strict";var r=n(2109),i=n(6916);r({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return i(URL.prototype.toString,this)}})}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var o=e[r]={exports:{}};return t[r](o,o.exports,n),o.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";const t=jQuery;var e=n.n(t);n(3753);function r(t,n){return e().ajax({type:"post",dataType:"json",url:GFPDF.ajaxUrl,data:t,success:n,error:n})}function i(t){return e()("<img alt="+GFPDF.spinnerAlt+" src="+GFPDF.spinnerUrl+" class="+t+" />")}function o(t){var n=e()("#gfpdf-settings-field-wrapper-font, #gfpdf-settings-field-wrapper-font_size, #gfpdf-settings-field-wrapper-font_colour");"legacy"===t?n.hide():n.show()}function a(t,e,n,r){var i="submit-container-"+n;if(!t.classList.contains("gform-settings-panel--collapsed")){var o=e.querySelector("#submit").cloneNode(!0);o.setAttribute("id","submit_"+n);var a=document.createElement("div");return a.setAttribute("class",i),a.innerHTML=o.outerHTML,t.parentNode.insertBefore(a,t.nextSibling)}r||document.querySelector(".".concat(i)).remove()}function s(){e()("#gfpdf_settings\\[template\\]").off("change").on("change",(function(){var t=i("gfpdf-spinner-template");e()(this).next().after(t),r({action:"gfpdf_get_template_fields",nonce:GFPDF.ajaxNonce,template:e()(this).val(),type:e()(this).attr("id"),id:e()("#gform_id").val(),gform_pdf_id:e()("#gform_pdf_id").val()},(function(n){var r,i,s=e()(".submit-container-2")[0];t.remove(),e()('input[name="gfpdf_settings[advanced_template]"][value="No"]').prop("checked",!0).trigger("change"),n.fields?(e().each(n.editors,(function(t,e){var n=tinyMCE.get(e);if(null!==n)try{tinyMCE.remove(n)}catch(t){}})),s||a(e()("#gfpdf-fieldset-gfpdf_form_settings_template")[0],e()("#gfpdf_pdf_form")[0],"2"),e()("#gfpdf-fieldset-gfpdf_form_settings_template").show().find(".gform-settings-panel__content").html(n.fields),r=n.editors,null!=(i=n.editor_init)&&(i.body_class="id post-type-post post-status-publish post-format-standard",i.formats={alignleft:[{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li",styles:{textAlign:"left"}},{selector:"img,table,dl.wp-caption",classes:"alignleft"}],aligncenter:[{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li",styles:{textAlign:"center"}},{selector:"img,table,dl.wp-caption",classes:"aligncenter"}],alignright:[{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li",styles:{textAlign:"right"}},{selector:"img,table,dl.wp-caption",classes:"alignright"}],strikethrough:{inline:"del"}},i.content_style='body#tinymce { max-width: 100%; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;}'),e().each(r,(function(t,e){i.selector="#"+e,tinyMCE.init(i),tinyMCE.execCommand("mceAddEditor",!1,e),"function"==typeof QTags&&(QTags({id:e}),QTags._buttonsInit(),"function"==typeof switchEditors.switchto&&switchEditors.switchto(jQuery("#wp-"+e+"-wrap").find(".wp-switch-editor.switch-"+("html"===getUserSetting("editor")?"html":"tmce"))[0]))})),c.runElements(),window.gfMergeTags&&"undefined"!=typeof form&&e()("#gfpdf-fieldset-gfpdf_form_settings_template .merge-tag-support").length>=0&&(e()("#gfpdf-fieldset-gfpdf_form_settings_template .merge-tag-support").each((function(){new gfMergeTagsObj(form,e()(this))})),e()("#gfpdf-fieldset-gfpdf_form_settings_template .gform-settings-field").each((function(){e()(this).find(".merge-tag-support, .merge-tag-support + span").wrapAll('<div class="gform-settings-input__container gform-settings-input__container--with-merge-tag"></div>'),e()(this).find(".all-merge-tags.textarea").parent().wrapAll('<div class="gform-settings-input__container gform-settings-input__container--with-merge-tag gfpdf-merge-tag-container"></div>')}))),gform_initialize_tooltips()):(s&&s.remove(),e()("#gfpdf-fieldset-gfpdf_form_settings_template").hide().find(".gform-settings-panel__content").html("")),n.template_type&&o(n.template_type),e()(document).trigger("gfpdf_template_loaded",[n])}))}))}var c=new class{runElements(){var t;"undefined"!=typeof gf_vars&&(gf_vars.thisFormButton=GFPDF.conditionalText,gf_vars.show=GFPDF.enable,gf_vars.hide=GFPDF.disable),window.formfield="",e()("body").off("click",".gfpdf_settings_upload_button").on("click",".gfpdf_settings_upload_button",(function(n){n.preventDefault();var r=e()(this);window.formfield=e()(this).prev(),t||(t=wp.media.frames.file_frame=wp.media({title:r.data("uploader-title"),button:{text:r.data("uploader-button-text")},multiple:!1})).on("select",(function(){t.state().get("selection").each((function(t){t=t.toJSON(),window.formfield.val(t.url).trigger("change")}))})),t.open()})),e()(".gfpdf-color-picker").each((function(){e()(this).wpColorPicker({width:300}),e()(this).parents(".wp-picker-container").find(".wp-color-result").addClass("ed_button")})),e()(".gfpdf_paper_size").each((function(){var t=e()(this).nextAll(".gfpdf_paper_size_other").first();e()(this).find("select").off("change").on("change",(function(){"CUSTOM"===e()(this).val()?t.fadeIn():t.fadeOut()})).trigger("change")})),e()("form").off("change",".gfpdf-input-toggle").on("change",".gfpdf-input-toggle",(function(){var t=e()(this).parent().next();e()(this).prop("checked")?t.slideDown("slow"):(t.slideUp("slow"),t.find(".wp-editor-area").each((function(){var t=tinyMCE.get(e()(this).attr("id"));null!==t&&t.setContent("")})),t.find("textarea").each((function(){e()(this).val("")})))})),s(),e()(".gfpdf-deactivate-license").on("click",(function(){var t=e()(this).parent(),n=i("gfpdf-spinner");e()(this).append(n);var o=e()(this).data("addon-name");return r({action:"gfpdf_deactivate_license",addon_name:o,nonce:e()(this).data("nonce")},(function(r){n.remove(),r.success?(e()("#gfpdf_settings\\[license_"+o+"\\]").val(""),e()("#gfpdf_settings\\[license_"+o+"_message\\]").val(""),e()("#gfpdf_settings\\[license_"+o+"_status\\]").val(""),t.find("button").remove(),t.find("#message").removeClass("error").addClass("success").html(r.success)):t.find("#message").removeClass("success").addClass("error").html(r.error)})),!1}))}};n(4603),n(8450),n(4916),n(9714),n(5306);function f(t){t.attr("novalidate","novalidate"),t.find('input[type="submit"]').on("click",(function(){t.addClass("formSubmitted")})),t.find(':input[required=""], :input[required]').each((function(){var t=e()(this).parent();t.find(".gform-settings-panel__title a").length?t.find(".gform-settings-panel__title a").before('<span class="gfield_required">(required)</span>'):t.find(".gform-settings-panel__title").append('<span class="gfield_required">(required)</span>')}))}function u(t,n,r){n=void 0!==n?n:4500,r=void 0!==r&&r;var i=e()('<div id="message">').html("<p>"+t+"</p>");!0===r?i.addClass("error"):i.addClass("updated"),e()(".wrap > h2").after(i),setTimeout((function(){i.slideUp()}),n)}function p(){function t(t){t.append(i("gfpdf-spinner gfpdf-spinner-small")).closest(".row-actions").attr("style","position:static; visibility: visible;"),r({action:"gfpdf_list_delete",nonce:t.data("nonce"),fid:t.data("fid"),pid:t.data("id")},(function(n){n.msg&&(t.closest(".row-actions").attr("style","").find(".gfpdf-spinner").remove(),u(n.msg),t.parents("tr").css("background","#ffb8b8").fadeOut(400,(function(){this.remove(),function(){var t=e()("#gfpdf_list_form tbody");if(0===t.find("tr").length){var n=e()("<tr>").addClass("no-items"),r=e()("<td>").attr("colspan","5").addClass("colspanchange"),i=e()("<a>").attr("href",e()("#gfpdf_list_form a.button:first").attr("href")).append(GFPDF.letsGoCreateOne+".");r.append(GFPDF.thisFormHasNoPdfs).append(" ").append(i),n.append(r),t.append(n)}}()})))}))}e()("#gfpdf_list_form").on("click","a.submitdelete",(function(){String(e()(this).data("id")).length>0&&window.confirm(GFPDF.pdfDeleteWarning)&&t(e()(this));return!1}))}n(3123);var l=new class{setupAJAXListListener(){p(),e()("#gfpdf_list_form").on("click","a.submitduplicate",(function(t){t.preventDefault();var n=String(e()(this).data("id")),o=this;e()(this).after(i("gfpdf-spinner gfpdf-spinner-small")).parent().parent().attr("style","position:static; visibility: visible;"),n.length>0&&r({action:"gfpdf_list_duplicate",nonce:e()(this).data("nonce"),fid:e()(this).data("fid"),pid:e()(this).data("id")},(function(t){if(t.msg){e()(o).parent().parent().attr("style","").find(".gfpdf-spinner").remove(),u(t.msg);var r=e()(o).parents("tr"),i=r.clone();i.find(".column-name > a, .edit a").each((function(){var n=e()(this).attr("href");n=function(t,e,n){var r="",i=t.split("?"),o=i[0],a=i[1],s="";if(a){i=a.split("&");for(var c=0;c<i.length;c++)i[c].split("=")[0]!==e&&(r+=s+i[c],s="&")}return o+"?"+r+s+e+"="+n}(n,"pid",t.pid),e()(this).attr("href",n)})),i.find(".column-name > a").html(t.name);var a=i.find(".duplicate a"),s=i.find(".delete a"),c=i.find(".check-column button"),f=i.find(".column-shortcode");a.data("id",t.pid),a.data("nonce",t.dup_nonce),s.data("id",t.pid),s.data("nonce",t.del_nonce),c.data("id",t.pid),c.data("nonce",t.state_nonce),c[0].setAttribute("data-status","inactive");var p=f.find("button").attr("data-clipboard-text");p=p.replace(n,t.pid),f.find("button").attr("data-clipboard-text",p),f.find("input").attr("id",t.pid).attr("value",p),c.removeClass("gform-status--active").addClass("gform-status--inactive").find(".gform-status-indicator-status").html(t.status),i.hide().insertAfter(r).fadeIn()}}))})),e()("#gfpdf_list_form").on("click",".check-column button",(function(){var t=String(e()(this).data("id")),n=e()(this),i=n.find("span.gform-status-indicator-status");t.length>0&&(n.addClass("gform_status--pending").removeClass("gform-status--active gform-status--inactive"),r({action:"gfpdf_change_state",nonce:e()(this).data("nonce"),fid:e()(this).data("fid"),pid:e()(this).data("id")},(function(t){i.html(t.state),"active"===n.data("status")?(n[0].setAttribute("data-status","inactive"),n.data("status","inactive").removeClass("gform_status--pending").addClass("gform-status--inactive")):(n[0].setAttribute("data-status","active"),n.data("status","active").removeClass("gform_status--pending").addClass("gform-status--active"))})))}))}};function d(){var t,n,r,i,a,s,c,u;f(e()("#gfpdf_pdf_form")),t=e()("#gfpdf-fieldset-gfpdf_form_settings_advanced"),n=t.find('input[name="gfpdf_settings[security]"]'),r=t.find('input[name="gfpdf_settings[format]"]'),i=t.find("#gfpdf-settings-field-wrapper-security"),a=t.find("#gfpdf-settings-field-wrapper-password,#gfpdf-settings-field-wrapper-privileges,#gfpdf-settings-field-wrapper-master_password:not(.gfpdf-hidden)"),n.on("change",(function(){var t=r.filter(":checked").val();"No"===e()(this).val()||"Standard"!==t?a.hide():e()(this).is(":checked")?a.show():a.hide(),"Standard"!==t?i.hide():i.show()})).trigger("change"),r.on("change",(function(){e()(this).is(":checked")&&n.trigger("change")})).trigger("change"),gform.addFilter("gform_conditional_object",(function(t,e){return"gfpdf"===e?window.gfpdf_current_pdf:t})),e()("#gfpdf_conditional_logic").on("change",(function(){void 0===window.gfpdf_current_pdf.conditionalLogic&&e()(this).prop("checked")?window.gfpdf_current_pdf.conditionalLogic=new ConditionalLogic:e()(this).prop("checked")||(window.gfpdf_current_pdf.conditionalLogic=null),ToggleConditionalLogic(!1,"gfpdf")})).trigger("change"),s=e()("#gfpdf-fieldset-gfpdf_form_settings_advanced").find('input[name="gfpdf_settings[public_access]"]'),c=e()("#gfpdf-settings-field-wrapper-restrict_owner"),s.on("change",(function(){e()(this).is(":checked")?c.hide():c.show()})).trigger("change"),o(e()("#gfpdf_settings\\[template\\]").data("template_group")),u=e()("#gfpdf-fieldset-gfpdf_form_settings_appearance"),e()('input[name="gfpdf_settings[advanced_template]"]').on("change",(function(){"Yes"===e()(this).val()?u.hide():u.show()})),e()('input[name="gfpdf_settings[advanced_template]"]:checked').trigger("change"),e()(".gform-settings-field").each((function(){e()(this).find(".merge-tag-support, .merge-tag-support + span").wrapAll('<div class="gform-settings-input__container gform-settings-input__container--with-merge-tag"></div>'),e()(this).find(".all-merge-tags.textarea").parent().wrapAll('<div class="gform-settings-input__container gform-settings-input__container--with-merge-tag gfpdf-merge-tag-container"></div>')}));var p=e()("#gfpdf-fieldset-gfpdf_form_settings_template");0===p.find(".gform-settings-panel__content").children().length&&p.hide(),e()(".gform-settings__wrapper > .alert").detach().prependTo("#tab_PDF"),e()("#gfpdf_pdf_form").on("submit",(function(){try{tinyMCE.triggerSave()}catch(t){}})),e()("#gfpdf_pdf_form").on("submit",(function(){e()("#gfpdf_settings\\[conditionalLogic\\]").val(e().toJSON(window.gfpdf_current_pdf.conditionalLogic))}))}var g=new class{isSettings(){return e()("#pdfextended-settings").length}isFormSettings(){return e()(".gforms_edit_form").length}isFormSettingsList(){return e()("#gfpdf_list_form").length}isFormSettingsEdit(){return e()("#gfpdf_pdf_form").length}};var v=new class{init(){c.runElements(),g.isSettings()&&this.processSettings(),g.isFormSettings()&&this.processFormSettings()}getCurrentSettingsPage(){return g.isSettings()?e()(".gform-settings-tabs__navigation a.active:first").data("id"):""}processSettings(){if(e()("#gform_tabs a").each((function(){var t=e()(this).attr("href"),n=new RegExp("&tab=[^&;]*","g");e()(this).attr("href",t.replace(n,""))})),"general"===this.getCurrentSettingsPage())!function(){f(e()("#pdfextended-settings > form"));var t=e()("#pdf-general-security");t.find('input[name="gfpdf_settings[default_restrict_owner]"]').on("change",(function(){e()(this).is(":checked")&&("Yes"===e()(this).val()?t.find("tr:nth-child(3)").hide():t.find("tr:nth-child(3)").show())})).trigger("change")}()}processFormSettings(){g.isFormSettingsList()&&l.setupAJAXListListener(),g.isFormSettingsEdit()&&d()}};e()((function(){v.init()}))})()})();
|
dist/assets/js/app.bundle.min.js
CHANGED
@@ -18,7 +18,7 @@ return function(e,t){var n=document.querySelector(".gfpdf-font-manager select"),
|
|
18 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
19 |
* @since 6.0
|
20 |
*/
|
21 |
-
function r(e,t){var n=document.querySelector(".update-font");if(t){var r=e.location.pathname;return r.substr(r.lastIndexOf("/")+1)===t?o(n,e):a(n,e,t)}return o(n,e)}function o(e,t){if(e.classList.remove("show"),"/fontmanager/"!==t.location.pathname)return t.push("/fontmanager/")}function a(e,t,n){return e.classList.add("show"),t.push("/fontmanager/"+n)}n.d(t,{cn:()=>a,kv:()=>r})},9662:(e,t,n)=>{var r=n(614),o=n(6330),a=TypeError;e.exports=function(e){if(r(e))return e;throw a(o(e)+" is not a function")}},9483:(e,t,n)=>{var r=n(4411),o=n(6330),a=TypeError;e.exports=function(e){if(r(e))return e;throw a(o(e)+" is not a constructor")}},6077:(e,t,n)=>{var r=n(614),o=String,a=TypeError;e.exports=function(e){if("object"==typeof e||r(e))return e;throw a("Can't set "+o(e)+" as a prototype")}},1223:(e,t,n)=>{var r=n(5112),o=n(30),a=n(3070).f,i=r("unscopables"),l=Array.prototype;null==l[i]&&a(l,i,{configurable:!0,value:o(null)}),e.exports=function(e){l[i][e]=!0}},1530:(e,t,n)=>{"use strict";var r=n(8710).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},5787:(e,t,n)=>{var r=n(7976),o=TypeError;e.exports=function(e,t){if(r(t,e))return e;throw o("Incorrect invocation")}},9670:(e,t,n)=>{var r=n(111),o=String,a=TypeError;e.exports=function(e){if(r(e))return e;throw a(o(e)+" is not an object")}},1318:(e,t,n)=>{var r=n(5656),o=n(1400),a=n(6244),i=function(e){return function(t,n,i){var l,u=r(t),s=a(u),c=o(i,s);if(e&&n!=n){for(;s>c;)if((l=u[c++])!=l)return!0}else for(;s>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},9341:(e,t,n)=>{"use strict";var r=n(7293);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){return 1},1)}))}},1589:(e,t,n)=>{var r=n(1400),o=n(6244),a=n(6135),i=Array,l=Math.max;e.exports=function(e,t,n){for(var u=o(e),s=r(t,u),c=r(void 0===n?u:n,u),f=i(l(c-s,0)),d=0;s<c;s++,d++)a(f,d,e[s]);return f.length=d,f}},206:(e,t,n)=>{var r=n(1702);e.exports=r([].slice)},4362:(e,t,n)=>{var r=n(1589),o=Math.floor,a=function(e,t){var n=e.length,u=o(n/2);return n<8?i(e,t):l(e,a(r(e,0,u),t),a(r(e,u),t),t)},i=function(e,t){for(var n,r,o=e.length,a=1;a<o;){for(r=a,n=e[a];r&&t(e[r-1],n)>0;)e[r]=e[--r];r!==a++&&(e[r]=n)}return e},l=function(e,t,n,r){for(var o=t.length,a=n.length,i=0,l=0;i<o||l<a;)e[i+l]=i<o&&l<a?r(t[i],n[l])<=0?t[i++]:n[l++]:i<o?t[i++]:n[l++];return e};e.exports=a},7072:(e,t,n)=>{var r=n(5112)("iterator"),o=!1;try{var a=0,i={next:function(){return{done:!!a++}},return:function(){o=!0}};i[r]=function(){return this},Array.from(i,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var a={};a[r]=function(){return{next:function(){return{done:n=!0}}}},e(a)}catch(e){}return n}},4326:(e,t,n)=>{var r=n(1702),o=r({}.toString),a=r("".slice);e.exports=function(e){return a(o(e),8,-1)}},648:(e,t,n)=>{var r=n(1694),o=n(614),a=n(4326),i=n(5112)("toStringTag"),l=Object,u="Arguments"==a(function(){return arguments}());e.exports=r?a:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=l(e),i))?n:u?a(t):"Object"==(r=a(t))&&o(t.callee)?"Arguments":r}},9920:(e,t,n)=>{var r=n(2597),o=n(3887),a=n(1236),i=n(3070);e.exports=function(e,t,n){for(var l=o(t),u=i.f,s=a.f,c=0;c<l.length;c++){var f=l[c];r(e,f)||n&&r(n,f)||u(e,f,s(t,f))}}},4964:(e,t,n)=>{var r=n(5112)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},8544:(e,t,n)=>{var r=n(7293);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},4994:(e,t,n)=>{"use strict";var r=n(3383).IteratorPrototype,o=n(30),a=n(9114),i=n(8003),l=n(7497),u=function(){return this};e.exports=function(e,t,n,s){var c=t+" Iterator";return e.prototype=o(r,{next:a(+!s,n)}),i(e,c,!1,!0),l[c]=u,e}},8880:(e,t,n)=>{var r=n(9781),o=n(3070),a=n(9114);e.exports=r?function(e,t,n){return o.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},9114:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},6135:(e,t,n)=>{"use strict";var r=n(4948),o=n(3070),a=n(9114);e.exports=function(e,t,n){var i=r(t);i in e?o.f(e,i,a(0,n)):e[i]=n}},8052:(e,t,n)=>{var r=n(614),o=n(3070),a=n(6339),i=n(3072);e.exports=function(e,t,n,l){l||(l={});var u=l.enumerable,s=void 0!==l.name?l.name:t;if(r(n)&&a(n,s,l),l.global)u?e[t]=n:i(t,n);else{try{l.unsafe?e[t]&&(u=!0):delete e[t]}catch(e){}u?e[t]=n:o.f(e,t,{value:n,enumerable:!1,configurable:!l.nonConfigurable,writable:!l.nonWritable})}return e}},3072:(e,t,n)=>{var r=n(7854),o=Object.defineProperty;e.exports=function(e,t){try{o(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},654:(e,t,n)=>{"use strict";var r=n(2109),o=n(6916),a=n(1913),i=n(6530),l=n(614),u=n(4994),s=n(9518),c=n(7674),f=n(8003),d=n(8880),p=n(8052),h=n(5112),y=n(7497),m=n(3383),v=i.PROPER,g=i.CONFIGURABLE,b=m.IteratorPrototype,w=m.BUGGY_SAFARI_ITERATORS,E=h("iterator"),S="keys",x="values",k="entries",O=function(){return this};e.exports=function(e,t,n,i,h,m,F){u(n,t,i);var P,_,T,C=function(e){if(e===h&&L)return L;if(!w&&e in D)return D[e];switch(e){case S:case x:case k:return function(){return new n(this,e)}}return function(){return new n(this)}},j=t+" Iterator",R=!1,D=e.prototype,A=D[E]||D["@@iterator"]||h&&D[h],L=!w&&A||C(h),N="Array"==t&&D.entries||A;if(N&&(P=s(N.call(new e)))!==Object.prototype&&P.next&&(a||s(P)===b||(c?c(P,b):l(P[E])||p(P,E,O)),f(P,j,!0,!0),a&&(y[j]=O)),v&&h==x&&A&&A.name!==x&&(!a&&g?d(D,"name",x):(R=!0,L=function(){return o(A,this)})),h)if(_={values:C(x),keys:m?L:C(S),entries:C(k)},F)for(T in _)(w||R||!(T in D))&&p(D,T,_[T]);else r({target:t,proto:!0,forced:w||R},_);return a&&!F||D[E]===L||p(D,E,L,{name:h}),y[t]=L,_}},5117:(e,t,n)=>{"use strict";var r=n(6330),o=TypeError;e.exports=function(e,t){if(!delete e[t])throw o("Cannot delete property "+r(t)+" of "+r(e))}},9781:(e,t,n)=>{var r=n(7293);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},317:(e,t,n)=>{var r=n(7854),o=n(111),a=r.document,i=o(a)&&o(a.createElement);e.exports=function(e){return i?a.createElement(e):{}}},8324:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8509:(e,t,n)=>{var r=n(317)("span").classList,o=r&&r.constructor&&r.constructor.prototype;e.exports=o===Object.prototype?void 0:o},8886:(e,t,n)=>{var r=n(8113).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},7871:e=>{e.exports="object"==typeof window&&"object"!=typeof Deno},256:(e,t,n)=>{var r=n(8113);e.exports=/MSIE|Trident/.test(r)},1528:(e,t,n)=>{var r=n(8113),o=n(7854);e.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==o.Pebble},6833:(e,t,n)=>{var r=n(8113);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},5268:(e,t,n)=>{var r=n(4326),o=n(7854);e.exports="process"==r(o.process)},1036:(e,t,n)=>{var r=n(8113);e.exports=/web0s(?!.*chrome)/i.test(r)},8113:(e,t,n)=>{var r=n(5005);e.exports=r("navigator","userAgent")||""},7392:(e,t,n)=>{var r,o,a=n(7854),i=n(8113),l=a.process,u=a.Deno,s=l&&l.versions||u&&u.version,c=s&&s.v8;c&&(o=(r=c.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&i&&(!(r=i.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=i.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},8008:(e,t,n)=>{var r=n(8113).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},748:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:(e,t,n)=>{var r=n(7854),o=n(1236).f,a=n(8880),i=n(8052),l=n(3072),u=n(9920),s=n(4705);e.exports=function(e,t){var n,c,f,d,p,h=e.target,y=e.global,m=e.stat;if(n=y?r:m?r[h]||l(h,{}):(r[h]||{}).prototype)for(c in t){if(d=t[c],f=e.dontCallGetSet?(p=o(n,c))&&p.value:n[c],!s(y?c:h+(m?".":"#")+c,e.forced)&&void 0!==f){if(typeof d==typeof f)continue;u(d,f)}(e.sham||f&&f.sham)&&a(d,"sham",!0),i(n,c,d,e)}}},7293:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},7007:(e,t,n)=>{"use strict";n(4916);var r=n(1702),o=n(8052),a=n(2261),i=n(7293),l=n(5112),u=n(8880),s=l("species"),c=RegExp.prototype;e.exports=function(e,t,n,f){var d=l(e),p=!i((function(){var t={};return t[d]=function(){return 7},7!=""[e](t)})),h=p&&!i((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[s]=function(){return n},n.flags="",n[d]=/./[d]),n.exec=function(){return t=!0,null},n[d](""),!t}));if(!p||!h||n){var y=r(/./[d]),m=t(d,""[e],(function(e,t,n,o,i){var l=r(e),u=t.exec;return u===a||u===c.exec?p&&!i?{done:!0,value:y(t,n,o)}:{done:!0,value:l(n,t,o)}:{done:!1}}));o(String.prototype,e,m[0]),o(c,d,m[1])}f&&u(c[d],"sham",!0)}},2104:(e,t,n)=>{var r=n(4374),o=Function.prototype,a=o.apply,i=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?i.bind(a):function(){return i.apply(a,arguments)})},9974:(e,t,n)=>{var r=n(1702),o=n(9662),a=n(4374),i=r(r.bind);e.exports=function(e,t){return o(e),void 0===t?e:a?i(e,t):function(){return e.apply(t,arguments)}}},4374:(e,t,n)=>{var r=n(7293);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},6916:(e,t,n)=>{var r=n(4374),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},6530:(e,t,n)=>{var r=n(9781),o=n(2597),a=Function.prototype,i=r&&Object.getOwnPropertyDescriptor,l=o(a,"name"),u=l&&"something"===function(){}.name,s=l&&(!r||r&&i(a,"name").configurable);e.exports={EXISTS:l,PROPER:u,CONFIGURABLE:s}},1702:(e,t,n)=>{var r=n(4374),o=Function.prototype,a=o.bind,i=o.call,l=r&&a.bind(i,i);e.exports=r?function(e){return e&&l(e)}:function(e){return e&&function(){return i.apply(e,arguments)}}},5005:(e,t,n)=>{var r=n(7854),o=n(614),a=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?a(r[e]):r[e]&&r[e][t]}},1246:(e,t,n)=>{var r=n(648),o=n(8173),a=n(7497),i=n(5112)("iterator");e.exports=function(e){if(null!=e)return o(e,i)||o(e,"@@iterator")||a[r(e)]}},8554:(e,t,n)=>{var r=n(6916),o=n(9662),a=n(9670),i=n(6330),l=n(1246),u=TypeError;e.exports=function(e,t){var n=arguments.length<2?l(e):t;if(o(n))return a(r(n,e));throw u(i(e)+" is not iterable")}},8173:(e,t,n)=>{var r=n(9662);e.exports=function(e,t){var n=e[t];return null==n?void 0:r(n)}},647:(e,t,n)=>{var r=n(1702),o=n(7908),a=Math.floor,i=r("".charAt),l=r("".replace),u=r("".slice),s=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,f,d){var p=n+e.length,h=r.length,y=c;return void 0!==f&&(f=o(f),y=s),l(d,y,(function(o,l){var s;switch(i(l,0)){case"$":return"$";case"&":return e;case"`":return u(t,0,n);case"'":return u(t,p);case"<":s=f[u(l,1,-1)];break;default:var c=+l;if(0===c)return o;if(c>h){var d=a(c/10);return 0===d?o:d<=h?void 0===r[d-1]?i(l,1):r[d-1]+i(l,1):o}s=r[c-1]}return void 0===s?"":s}))}},7854:(e,t,n)=>{var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},2597:(e,t,n)=>{var r=n(1702),o=n(7908),a=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return a(o(e),t)}},3501:e=>{e.exports={}},842:(e,t,n)=>{var r=n(7854);e.exports=function(e,t){var n=r.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}},490:(e,t,n)=>{var r=n(5005);e.exports=r("document","documentElement")},4664:(e,t,n)=>{var r=n(9781),o=n(7293),a=n(317);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},8361:(e,t,n)=>{var r=n(1702),o=n(7293),a=n(4326),i=Object,l=r("".split);e.exports=o((function(){return!i("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?l(e,""):i(e)}:i},2788:(e,t,n)=>{var r=n(1702),o=n(614),a=n(5465),i=r(Function.toString);o(a.inspectSource)||(a.inspectSource=function(e){return i(e)}),e.exports=a.inspectSource},9909:(e,t,n)=>{var r,o,a,i=n(8536),l=n(7854),u=n(1702),s=n(111),c=n(8880),f=n(2597),d=n(5465),p=n(6200),h=n(3501),y="Object already initialized",m=l.TypeError,v=l.WeakMap;if(i||d.state){var g=d.state||(d.state=new v),b=u(g.get),w=u(g.has),E=u(g.set);r=function(e,t){if(w(g,e))throw new m(y);return t.facade=e,E(g,e,t),t},o=function(e){return b(g,e)||{}},a=function(e){return w(g,e)}}else{var S=p("state");h[S]=!0,r=function(e,t){if(f(e,S))throw new m(y);return t.facade=e,c(e,S,t),t},o=function(e){return f(e,S)?e[S]:{}},a=function(e){return f(e,S)}}e.exports={set:r,get:o,has:a,enforce:function(e){return a(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!s(t)||(n=o(t)).type!==e)throw m("Incompatible receiver, "+e+" required");return n}}}},7659:(e,t,n)=>{var r=n(5112),o=n(7497),a=r("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||i[a]===e)}},3157:(e,t,n)=>{var r=n(4326);e.exports=Array.isArray||function(e){return"Array"==r(e)}},614:e=>{e.exports=function(e){return"function"==typeof e}},4411:(e,t,n)=>{var r=n(1702),o=n(7293),a=n(614),i=n(648),l=n(5005),u=n(2788),s=function(){},c=[],f=l("Reflect","construct"),d=/^\s*(?:class|function)\b/,p=r(d.exec),h=!d.exec(s),y=function(e){if(!a(e))return!1;try{return f(s,c,e),!0}catch(e){return!1}},m=function(e){if(!a(e))return!1;switch(i(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!p(d,u(e))}catch(e){return!0}};m.sham=!0,e.exports=!f||o((function(){var e;return y(y.call)||!y(Object)||!y((function(){e=!0}))||e}))?m:y},4705:(e,t,n)=>{var r=n(7293),o=n(614),a=/#|\.prototype\./,i=function(e,t){var n=u[l(e)];return n==c||n!=s&&(o(t)?r(t):!!t)},l=i.normalize=function(e){return String(e).replace(a,".").toLowerCase()},u=i.data={},s=i.NATIVE="N",c=i.POLYFILL="P";e.exports=i},111:(e,t,n)=>{var r=n(614);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},1913:e=>{e.exports=!1},7850:(e,t,n)=>{var r=n(111),o=n(4326),a=n(5112)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==o(e))}},2190:(e,t,n)=>{var r=n(5005),o=n(614),a=n(7976),i=n(3307),l=Object;e.exports=i?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return o(t)&&a(t.prototype,l(e))}},408:(e,t,n)=>{var r=n(9974),o=n(6916),a=n(9670),i=n(6330),l=n(7659),u=n(6244),s=n(7976),c=n(8554),f=n(1246),d=n(9212),p=TypeError,h=function(e,t){this.stopped=e,this.result=t},y=h.prototype;e.exports=function(e,t,n){var m,v,g,b,w,E,S,x=n&&n.that,k=!(!n||!n.AS_ENTRIES),O=!(!n||!n.IS_RECORD),F=!(!n||!n.IS_ITERATOR),P=!(!n||!n.INTERRUPTED),_=r(t,x),T=function(e){return m&&d(m,"normal",e),new h(!0,e)},C=function(e){return k?(a(e),P?_(e[0],e[1],T):_(e[0],e[1])):P?_(e,T):_(e)};if(O)m=e.iterator;else if(F)m=e;else{if(!(v=f(e)))throw p(i(e)+" is not iterable");if(l(v)){for(g=0,b=u(e);b>g;g++)if((w=C(e[g]))&&s(y,w))return w;return new h(!1)}m=c(e,v)}for(E=O?e.next:m.next;!(S=o(E,m)).done;){try{w=C(S.value)}catch(e){d(m,"throw",e)}if("object"==typeof w&&w&&s(y,w))return w}return new h(!1)}},9212:(e,t,n)=>{var r=n(6916),o=n(9670),a=n(8173);e.exports=function(e,t,n){var i,l;o(e);try{if(!(i=a(e,"return"))){if("throw"===t)throw n;return n}i=r(i,e)}catch(e){l=!0,i=e}if("throw"===t)throw n;if(l)throw i;return o(i),n}},3383:(e,t,n)=>{"use strict";var r,o,a,i=n(7293),l=n(614),u=n(30),s=n(9518),c=n(8052),f=n(5112),d=n(1913),p=f("iterator"),h=!1;[].keys&&("next"in(a=[].keys())?(o=s(s(a)))!==Object.prototype&&(r=o):h=!0),null==r||i((function(){var e={};return r[p].call(e)!==e}))?r={}:d&&(r=u(r)),l(r[p])||c(r,p,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},7497:e=>{e.exports={}},6244:(e,t,n)=>{var r=n(7466);e.exports=function(e){return r(e.length)}},6339:(e,t,n)=>{var r=n(7293),o=n(614),a=n(2597),i=n(9781),l=n(6530).CONFIGURABLE,u=n(2788),s=n(9909),c=s.enforce,f=s.get,d=Object.defineProperty,p=i&&!r((function(){return 8!==d((function(){}),"length",{value:8}).length})),h=String(String).split("String"),y=e.exports=function(e,t,n){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!a(e,"name")||l&&e.name!==t)&&(i?d(e,"name",{value:t,configurable:!0}):e.name=t),p&&n&&a(n,"arity")&&e.length!==n.arity&&d(e,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?i&&d(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=c(e);return a(r,"source")||(r.source=h.join("string"==typeof t?t:"")),e};Function.prototype.toString=y((function(){return o(this)&&f(this).source||u(this)}),"toString")},4758:e=>{var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},5948:(e,t,n)=>{var r,o,a,i,l,u,s,c,f=n(7854),d=n(9974),p=n(1236).f,h=n(261).set,y=n(6833),m=n(1528),v=n(1036),g=n(5268),b=f.MutationObserver||f.WebKitMutationObserver,w=f.document,E=f.process,S=f.Promise,x=p(f,"queueMicrotask"),k=x&&x.value;k||(r=function(){var e,t;for(g&&(e=E.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(e){throw o?i():a=void 0,e}}a=void 0,e&&e.enter()},y||g||v||!b||!w?!m&&S&&S.resolve?((s=S.resolve(void 0)).constructor=S,c=d(s.then,s),i=function(){c(r)}):g?i=function(){E.nextTick(r)}:(h=d(h,f),i=function(){h(r)}):(l=!0,u=w.createTextNode(""),new b(r).observe(u,{characterData:!0}),i=function(){u.data=l=!l})),e.exports=k||function(e){var t={fn:e,next:void 0};a&&(a.next=t),o||(o=t,i()),a=t}},133:(e,t,n)=>{var r=n(7392),o=n(7293);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},8536:(e,t,n)=>{var r=n(7854),o=n(614),a=n(2788),i=r.WeakMap;e.exports=o(i)&&/native code/.test(a(i))},8523:(e,t,n)=>{"use strict";var r=n(9662),o=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new o(e)}},3929:(e,t,n)=>{var r=n(7850),o=TypeError;e.exports=function(e){if(r(e))throw o("The method doesn't accept regular expressions");return e}},1574:(e,t,n)=>{"use strict";var r=n(9781),o=n(1702),a=n(6916),i=n(7293),l=n(1956),u=n(5181),s=n(5296),c=n(7908),f=n(8361),d=Object.assign,p=Object.defineProperty,h=o([].concat);e.exports=!d||i((function(){if(r&&1!==d({b:1},d(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach((function(e){t[e]=e})),7!=d({},e)[n]||l(d({},t)).join("")!=o}))?function(e,t){for(var n=c(e),o=arguments.length,i=1,d=u.f,p=s.f;o>i;)for(var y,m=f(arguments[i++]),v=d?h(l(m),d(m)):l(m),g=v.length,b=0;g>b;)y=v[b++],r&&!a(p,m,y)||(n[y]=m[y]);return n}:d},30:(e,t,n)=>{var r,o=n(9670),a=n(6048),i=n(748),l=n(3501),u=n(490),s=n(317),c=n(6200),f=c("IE_PROTO"),d=function(){},p=function(e){return"<script>"+e+"</"+"script>"},h=function(e){e.write(p("")),e.close();var t=e.parentWindow.Object;return e=null,t},y=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t;y="undefined"!=typeof document?document.domain&&r?h(r):((t=s("iframe")).style.display="none",u.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(p("document.F=Object")),e.close(),e.F):h(r);for(var n=i.length;n--;)delete y.prototype[i[n]];return y()};l[f]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(d.prototype=o(e),n=new d,d.prototype=null,n[f]=e):n=y(),void 0===t?n:a.f(n,t)}},6048:(e,t,n)=>{var r=n(9781),o=n(3353),a=n(3070),i=n(9670),l=n(5656),u=n(1956);t.f=r&&!o?Object.defineProperties:function(e,t){i(e);for(var n,r=l(t),o=u(t),s=o.length,c=0;s>c;)a.f(e,n=o[c++],r[n]);return e}},3070:(e,t,n)=>{var r=n(9781),o=n(4664),a=n(3353),i=n(9670),l=n(4948),u=TypeError,s=Object.defineProperty,c=Object.getOwnPropertyDescriptor,f="enumerable",d="configurable",p="writable";t.f=r?a?function(e,t,n){if(i(e),t=l(t),i(n),"function"==typeof e&&"prototype"===t&&"value"in n&&p in n&&!n.writable){var r=c(e,t);r&&r.writable&&(e[t]=n.value,n={configurable:d in n?n.configurable:r.configurable,enumerable:f in n?n.enumerable:r.enumerable,writable:!1})}return s(e,t,n)}:s:function(e,t,n){if(i(e),t=l(t),i(n),o)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw u("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},1236:(e,t,n)=>{var r=n(9781),o=n(6916),a=n(5296),i=n(9114),l=n(5656),u=n(4948),s=n(2597),c=n(4664),f=Object.getOwnPropertyDescriptor;t.f=r?f:function(e,t){if(e=l(e),t=u(t),c)try{return f(e,t)}catch(e){}if(s(e,t))return i(!o(a.f,e,t),e[t])}},8006:(e,t,n)=>{var r=n(6324),o=n(748).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},5181:(e,t)=>{t.f=Object.getOwnPropertySymbols},9518:(e,t,n)=>{var r=n(2597),o=n(614),a=n(7908),i=n(6200),l=n(8544),u=i("IE_PROTO"),s=Object,c=s.prototype;e.exports=l?s.getPrototypeOf:function(e){var t=a(e);if(r(t,u))return t[u];var n=t.constructor;return o(n)&&t instanceof n?n.prototype:t instanceof s?c:null}},7976:(e,t,n)=>{var r=n(1702);e.exports=r({}.isPrototypeOf)},6324:(e,t,n)=>{var r=n(1702),o=n(2597),a=n(5656),i=n(1318).indexOf,l=n(3501),u=r([].push);e.exports=function(e,t){var n,r=a(e),s=0,c=[];for(n in r)!o(l,n)&&o(r,n)&&u(c,n);for(;t.length>s;)o(r,n=t[s++])&&(~i(c,n)||u(c,n));return c}},1956:(e,t,n)=>{var r=n(6324),o=n(748);e.exports=Object.keys||function(e){return r(e,o)}},5296:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},7674:(e,t,n)=>{var r=n(1702),o=n(9670),a=n(6077);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return o(n),a(r),t?e(n,r):n.__proto__=r,n}}():void 0)},2140:(e,t,n)=>{var r=n(6916),o=n(614),a=n(111),i=TypeError;e.exports=function(e,t){var n,l;if("string"===t&&o(n=e.toString)&&!a(l=r(n,e)))return l;if(o(n=e.valueOf)&&!a(l=r(n,e)))return l;if("string"!==t&&o(n=e.toString)&&!a(l=r(n,e)))return l;throw i("Can't convert object to primitive value")}},3887:(e,t,n)=>{var r=n(5005),o=n(1702),a=n(8006),i=n(5181),l=n(9670),u=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=a.f(l(e)),n=i.f;return n?u(t,n(e)):t}},2534:e=>{e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},3702:(e,t,n)=>{var r=n(7854),o=n(2492),a=n(614),i=n(4705),l=n(2788),u=n(5112),s=n(7871),c=n(1913),f=n(7392),d=o&&o.prototype,p=u("species"),h=!1,y=a(r.PromiseRejectionEvent),m=i("Promise",(function(){var e=l(o),t=e!==String(o);if(!t&&66===f)return!0;if(c&&(!d.catch||!d.finally))return!0;if(f>=51&&/native code/.test(e))return!1;var n=new o((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};return(n.constructor={})[p]=r,!(h=n.then((function(){}))instanceof r)||!t&&s&&!y}));e.exports={CONSTRUCTOR:m,REJECTION_EVENT:y,SUBCLASSING:h}},2492:(e,t,n)=>{var r=n(7854);e.exports=r.Promise},9478:(e,t,n)=>{var r=n(9670),o=n(111),a=n(8523);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=a.f(e);return(0,n.resolve)(t),n.promise}},612:(e,t,n)=>{var r=n(2492),o=n(7072),a=n(3702).CONSTRUCTOR;e.exports=a||!o((function(e){r.all(e).then(void 0,(function(){}))}))},8572:e=>{var t=function(){this.head=null,this.tail=null};t.prototype={add:function(e){var t={item:e,next:null};this.head?this.tail.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return this.head=e.next,this.tail===e&&(this.tail=null),e.item}},e.exports=t},7651:(e,t,n)=>{var r=n(6916),o=n(9670),a=n(614),i=n(4326),l=n(2261),u=TypeError;e.exports=function(e,t){var n=e.exec;if(a(n)){var s=r(n,e,t);return null!==s&&o(s),s}if("RegExp"===i(e))return r(l,e,t);throw u("RegExp#exec called on incompatible receiver")}},2261:(e,t,n)=>{"use strict";var r,o,a=n(6916),i=n(1702),l=n(1340),u=n(7066),s=n(2999),c=n(2309),f=n(30),d=n(9909).get,p=n(9441),h=n(7168),y=c("native-string-replace",String.prototype.replace),m=RegExp.prototype.exec,v=m,g=i("".charAt),b=i("".indexOf),w=i("".replace),E=i("".slice),S=(o=/b*/g,a(m,r=/a/,"a"),a(m,o,"a"),0!==r.lastIndex||0!==o.lastIndex),x=s.BROKEN_CARET,k=void 0!==/()??/.exec("")[1];(S||k||x||p||h)&&(v=function(e){var t,n,r,o,i,s,c,p=this,h=d(p),O=l(e),F=h.raw;if(F)return F.lastIndex=p.lastIndex,t=a(v,F,O),p.lastIndex=F.lastIndex,t;var P=h.groups,_=x&&p.sticky,T=a(u,p),C=p.source,j=0,R=O;if(_&&(T=w(T,"y",""),-1===b(T,"g")&&(T+="g"),R=E(O,p.lastIndex),p.lastIndex>0&&(!p.multiline||p.multiline&&"\n"!==g(O,p.lastIndex-1))&&(C="(?: "+C+")",R=" "+R,j++),n=new RegExp("^(?:"+C+")",T)),k&&(n=new RegExp("^"+C+"$(?!\\s)",T)),S&&(r=p.lastIndex),o=a(m,_?n:p,R),_?o?(o.input=E(o.input,j),o[0]=E(o[0],j),o.index=p.lastIndex,p.lastIndex+=o[0].length):p.lastIndex=0:S&&o&&(p.lastIndex=p.global?o.index+o[0].length:r),k&&o&&o.length>1&&a(y,o[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&P)for(o.groups=s=f(null),i=0;i<P.length;i++)s[(c=P[i])[0]]=o[c[1]];return o}),e.exports=v},7066:(e,t,n)=>{"use strict";var r=n(9670);e.exports=function(){var e=r(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},2999:(e,t,n)=>{var r=n(7293),o=n(7854).RegExp,a=r((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),i=a||r((function(){return!o("a","y").sticky})),l=a||r((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));e.exports={BROKEN_CARET:l,MISSED_STICKY:i,UNSUPPORTED_Y:a}},9441:(e,t,n)=>{var r=n(7293),o=n(7854).RegExp;e.exports=r((function(){var e=o(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},7168:(e,t,n)=>{var r=n(7293),o=n(7854).RegExp;e.exports=r((function(){var e=o("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},4488:e=>{var t=TypeError;e.exports=function(e){if(null==e)throw t("Can't call method on "+e);return e}},1150:e=>{e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},6340:(e,t,n)=>{"use strict";var r=n(5005),o=n(3070),a=n(5112),i=n(9781),l=a("species");e.exports=function(e){var t=r(e),n=o.f;i&&t&&!t[l]&&n(t,l,{configurable:!0,get:function(){return this}})}},8003:(e,t,n)=>{var r=n(3070).f,o=n(2597),a=n(5112)("toStringTag");e.exports=function(e,t,n){e&&!n&&(e=e.prototype),e&&!o(e,a)&&r(e,a,{configurable:!0,value:t})}},6200:(e,t,n)=>{var r=n(2309),o=n(9711),a=r("keys");e.exports=function(e){return a[e]||(a[e]=o(e))}},5465:(e,t,n)=>{var r=n(7854),o=n(3072),a="__core-js_shared__",i=r[a]||o(a,{});e.exports=i},2309:(e,t,n)=>{var r=n(1913),o=n(5465);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.23.5",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.23.5/LICENSE",source:"https://github.com/zloirock/core-js"})},6707:(e,t,n)=>{var r=n(9670),o=n(9483),a=n(5112)("species");e.exports=function(e,t){var n,i=r(e).constructor;return void 0===i||null==(n=r(i)[a])?t:o(n)}},8710:(e,t,n)=>{var r=n(1702),o=n(9303),a=n(1340),i=n(4488),l=r("".charAt),u=r("".charCodeAt),s=r("".slice),c=function(e){return function(t,n){var r,c,f=a(i(t)),d=o(n),p=f.length;return d<0||d>=p?e?"":void 0:(r=u(f,d))<55296||r>56319||d+1===p||(c=u(f,d+1))<56320||c>57343?e?l(f,d):r:e?s(f,d,d+2):c-56320+(r-55296<<10)+65536}};e.exports={codeAt:c(!1),charAt:c(!0)}},261:(e,t,n)=>{var r,o,a,i,l=n(7854),u=n(2104),s=n(9974),c=n(614),f=n(2597),d=n(7293),p=n(490),h=n(206),y=n(317),m=n(8053),v=n(6833),g=n(5268),b=l.setImmediate,w=l.clearImmediate,E=l.process,S=l.Dispatch,x=l.Function,k=l.MessageChannel,O=l.String,F=0,P={},_="onreadystatechange";try{r=l.location}catch(e){}var T=function(e){if(f(P,e)){var t=P[e];delete P[e],t()}},C=function(e){return function(){T(e)}},j=function(e){T(e.data)},R=function(e){l.postMessage(O(e),r.protocol+"//"+r.host)};b&&w||(b=function(e){m(arguments.length,1);var t=c(e)?e:x(e),n=h(arguments,1);return P[++F]=function(){u(t,void 0,n)},o(F),F},w=function(e){delete P[e]},g?o=function(e){E.nextTick(C(e))}:S&&S.now?o=function(e){S.now(C(e))}:k&&!v?(i=(a=new k).port2,a.port1.onmessage=j,o=s(i.postMessage,i)):l.addEventListener&&c(l.postMessage)&&!l.importScripts&&r&&"file:"!==r.protocol&&!d(R)?(o=R,l.addEventListener("message",j,!1)):o=_ in y("script")?function(e){p.appendChild(y("script")).onreadystatechange=function(){p.removeChild(this),T(e)}}:function(e){setTimeout(C(e),0)}),e.exports={set:b,clear:w}},1400:(e,t,n)=>{var r=n(9303),o=Math.max,a=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):a(n,t)}},5656:(e,t,n)=>{var r=n(8361),o=n(4488);e.exports=function(e){return r(o(e))}},9303:(e,t,n)=>{var r=n(4758);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},7466:(e,t,n)=>{var r=n(9303),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},7908:(e,t,n)=>{var r=n(4488),o=Object;e.exports=function(e){return o(r(e))}},7593:(e,t,n)=>{var r=n(6916),o=n(111),a=n(2190),i=n(8173),l=n(2140),u=n(5112),s=TypeError,c=u("toPrimitive");e.exports=function(e,t){if(!o(e)||a(e))return e;var n,u=i(e,c);if(u){if(void 0===t&&(t="default"),n=r(u,e,t),!o(n)||a(n))return n;throw s("Can't convert object to primitive value")}return void 0===t&&(t="number"),l(e,t)}},4948:(e,t,n)=>{var r=n(7593),o=n(2190);e.exports=function(e){var t=r(e,"string");return o(t)?t:t+""}},1694:(e,t,n)=>{var r={};r[n(5112)("toStringTag")]="z",e.exports="[object z]"===String(r)},1340:(e,t,n)=>{var r=n(648),o=String;e.exports=function(e){if("Symbol"===r(e))throw TypeError("Cannot convert a Symbol value to a string");return o(e)}},6330:e=>{var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},9711:(e,t,n)=>{var r=n(1702),o=0,a=Math.random(),i=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+i(++o+a,36)}},3307:(e,t,n)=>{var r=n(133);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:(e,t,n)=>{var r=n(9781),o=n(7293);e.exports=r&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8053:e=>{var t=TypeError;e.exports=function(e,n){if(e<n)throw t("Not enough arguments");return e}},5112:(e,t,n)=>{var r=n(7854),o=n(2309),a=n(2597),i=n(9711),l=n(133),u=n(3307),s=o("wks"),c=r.Symbol,f=c&&c.for,d=u?c:c&&c.withoutSetter||i;e.exports=function(e){if(!a(s,e)||!l&&"string"!=typeof s[e]){var t="Symbol."+e;l&&a(c,e)?s[e]=c[e]:s[e]=u&&f?f(t):d(t)}return s[e]}},6699:(e,t,n)=>{"use strict";var r=n(2109),o=n(1318).includes,a=n(7293),i=n(1223);r({target:"Array",proto:!0,forced:a((function(){return!Array(1).includes()}))},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},6992:(e,t,n)=>{"use strict";var r=n(5656),o=n(1223),a=n(7497),i=n(9909),l=n(3070).f,u=n(654),s=n(1913),c=n(9781),f="Array Iterator",d=i.set,p=i.getterFor(f);e.exports=u(Array,"Array",(function(e,t){d(this,{type:f,target:r(e),index:0,kind:t})}),(function(){var e=p(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values");var h=a.Arguments=a.Array;if(o("keys"),o("values"),o("entries"),!s&&c&&"values"!==h.name)try{l(h,"name",{value:"values"})}catch(e){}},2707:(e,t,n)=>{"use strict";var r=n(2109),o=n(1702),a=n(9662),i=n(7908),l=n(6244),u=n(5117),s=n(1340),c=n(7293),f=n(4362),d=n(9341),p=n(8886),h=n(256),y=n(7392),m=n(8008),v=[],g=o(v.sort),b=o(v.push),w=c((function(){v.sort(void 0)})),E=c((function(){v.sort(null)})),S=d("sort"),x=!c((function(){if(y)return y<70;if(!(p&&p>3)){if(h)return!0;if(m)return m<603;var e,t,n,r,o="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)v.push({k:t+r,v:n})}for(v.sort((function(e,t){return t.v-e.v})),r=0;r<v.length;r++)t=v[r].k.charAt(0),o.charAt(o.length-1)!==t&&(o+=t);return"DGBEFHACIJK"!==o}}));r({target:"Array",proto:!0,forced:w||!E||!S||!x},{sort:function(e){void 0!==e&&a(e);var t=i(this);if(x)return void 0===e?g(t):g(t,e);var n,r,o=[],c=l(t);for(r=0;r<c;r++)r in t&&b(o,t[r]);for(f(o,function(e){return function(t,n){return void 0===n?-1:void 0===t?1:void 0!==e?+e(t,n)||0:s(t)>s(n)?1:-1}}(e)),n=o.length,r=0;r<n;)t[r]=o[r++];for(;r<c;)u(t,r++);return t}})},8862:(e,t,n)=>{var r=n(2109),o=n(5005),a=n(2104),i=n(6916),l=n(1702),u=n(7293),s=n(3157),c=n(614),f=n(111),d=n(2190),p=n(206),h=n(133),y=o("JSON","stringify"),m=l(/./.exec),v=l("".charAt),g=l("".charCodeAt),b=l("".replace),w=l(1..toString),E=/[\uD800-\uDFFF]/g,S=/^[\uD800-\uDBFF]$/,x=/^[\uDC00-\uDFFF]$/,k=!h||u((function(){var e=o("Symbol")();return"[null]"!=y([e])||"{}"!=y({a:e})||"{}"!=y(Object(e))})),O=u((function(){return'"\\udf06\\ud834"'!==y("\udf06\ud834")||'"\\udead"'!==y("\udead")})),F=function(e,t){var n=p(arguments),r=t;if((f(t)||void 0!==e)&&!d(e))return s(t)||(t=function(e,t){if(c(r)&&(t=i(r,this,e,t)),!d(t))return t}),n[1]=t,a(y,null,n)},P=function(e,t,n){var r=v(n,t-1),o=v(n,t+1);return m(S,e)&&!m(x,o)||m(x,e)&&!m(S,r)?"\\u"+w(g(e,0),16):e};y&&r({target:"JSON",stat:!0,arity:3,forced:k||O},{stringify:function(e,t,n){var r=p(arguments),o=a(k?F:y,null,r);return O&&"string"==typeof o?b(o,E,P):o}})},9601:(e,t,n)=>{var r=n(2109),o=n(1574);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},821:(e,t,n)=>{"use strict";var r=n(2109),o=n(6916),a=n(9662),i=n(8523),l=n(2534),u=n(408);r({target:"Promise",stat:!0,forced:n(612)},{all:function(e){var t=this,n=i.f(t),r=n.resolve,s=n.reject,c=l((function(){var n=a(t.resolve),i=[],l=0,c=1;u(e,(function(e){var a=l++,u=!1;c++,o(n,t,e).then((function(e){u||(u=!0,i[a]=e,--c||r(i))}),s)})),--c||r(i)}));return c.error&&s(c.value),n.promise}})},4164:(e,t,n)=>{"use strict";var r=n(2109),o=n(1913),a=n(3702).CONSTRUCTOR,i=n(2492),l=n(5005),u=n(614),s=n(8052),c=i&&i.prototype;if(r({target:"Promise",proto:!0,forced:a,real:!0},{catch:function(e){return this.then(void 0,e)}}),!o&&u(i)){var f=l("Promise").prototype.catch;c.catch!==f&&s(c,"catch",f,{unsafe:!0})}},3401:(e,t,n)=>{"use strict";var r,o,a,i=n(2109),l=n(1913),u=n(5268),s=n(7854),c=n(6916),f=n(8052),d=n(7674),p=n(8003),h=n(6340),y=n(9662),m=n(614),v=n(111),g=n(5787),b=n(6707),w=n(261).set,E=n(5948),S=n(842),x=n(2534),k=n(8572),O=n(9909),F=n(2492),P=n(3702),_=n(8523),T="Promise",C=P.CONSTRUCTOR,j=P.REJECTION_EVENT,R=P.SUBCLASSING,D=O.getterFor(T),A=O.set,L=F&&F.prototype,N=F,I=L,M=s.TypeError,U=s.document,z=s.process,q=_.f,G=q,B=!!(U&&U.createEvent&&s.dispatchEvent),H="unhandledrejection",$=function(e){var t;return!(!v(e)||!m(t=e.then))&&t},V=function(e,t){var n,r,o,a=t.value,i=1==t.state,l=i?e.ok:e.fail,u=e.resolve,s=e.reject,f=e.domain;try{l?(i||(2===t.rejection&&X(t),t.rejection=1),!0===l?n=a:(f&&f.enter(),n=l(a),f&&(f.exit(),o=!0)),n===e.promise?s(M("Promise-chain cycle")):(r=$(n))?c(r,n,u,s):u(n)):s(a)}catch(e){f&&!o&&f.exit(),s(e)}},W=function(e,t){e.notified||(e.notified=!0,E((function(){for(var n,r=e.reactions;n=r.get();)V(n,e);e.notified=!1,t&&!e.rejection&&Q(e)})))},K=function(e,t,n){var r,o;B?((r=U.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),s.dispatchEvent(r)):r={promise:t,reason:n},!j&&(o=s["on"+e])?o(r):e===H&&S("Unhandled promise rejection",n)},Q=function(e){c(w,s,(function(){var t,n=e.facade,r=e.value;if(Z(e)&&(t=x((function(){u?z.emit("unhandledRejection",r,n):K(H,n,r)})),e.rejection=u||Z(e)?2:1,t.error))throw t.value}))},Z=function(e){return 1!==e.rejection&&!e.parent},X=function(e){c(w,s,(function(){var t=e.facade;u?z.emit("rejectionHandled",t):K("rejectionhandled",t,e.value)}))},Y=function(e,t,n){return function(r){e(t,r,n)}},J=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,W(e,!0))},ee=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw M("Promise can't be resolved itself");var r=$(t);r?E((function(){var n={done:!1};try{c(r,t,Y(ee,n,e),Y(J,n,e))}catch(t){J(n,t,e)}})):(e.value=t,e.state=1,W(e,!1))}catch(t){J({done:!1},t,e)}}};if(C&&(I=(N=function(e){g(this,I),y(e),c(r,this);var t=D(this);try{e(Y(ee,t),Y(J,t))}catch(e){J(t,e)}}).prototype,(r=function(e){A(this,{type:T,done:!1,notified:!1,parent:!1,reactions:new k,rejection:!1,state:0,value:void 0})}).prototype=f(I,"then",(function(e,t){var n=D(this),r=q(b(this,N));return n.parent=!0,r.ok=!m(e)||e,r.fail=m(t)&&t,r.domain=u?z.domain:void 0,0==n.state?n.reactions.add(r):E((function(){V(r,n)})),r.promise})),o=function(){var e=new r,t=D(e);this.promise=e,this.resolve=Y(ee,t),this.reject=Y(J,t)},_.f=q=function(e){return e===N||undefined===e?new o(e):G(e)},!l&&m(F)&&L!==Object.prototype)){a=L.then,R||f(L,"then",(function(e,t){var n=this;return new N((function(e,t){c(a,n,e,t)})).then(e,t)}),{unsafe:!0});try{delete L.constructor}catch(e){}d&&d(L,I)}i({global:!0,constructor:!0,wrap:!0,forced:C},{Promise:N}),p(N,T,!1,!0),h(T)},8674:(e,t,n)=>{n(3401),n(821),n(4164),n(6027),n(683),n(6294)},6027:(e,t,n)=>{"use strict";var r=n(2109),o=n(6916),a=n(9662),i=n(8523),l=n(2534),u=n(408);r({target:"Promise",stat:!0,forced:n(612)},{race:function(e){var t=this,n=i.f(t),r=n.reject,s=l((function(){var i=a(t.resolve);u(e,(function(e){o(i,t,e).then(n.resolve,r)}))}));return s.error&&r(s.value),n.promise}})},683:(e,t,n)=>{"use strict";var r=n(2109),o=n(6916),a=n(8523);r({target:"Promise",stat:!0,forced:n(3702).CONSTRUCTOR},{reject:function(e){var t=a.f(this);return o(t.reject,void 0,e),t.promise}})},6294:(e,t,n)=>{"use strict";var r=n(2109),o=n(5005),a=n(1913),i=n(2492),l=n(3702).CONSTRUCTOR,u=n(9478),s=o("Promise"),c=a&&!l;r({target:"Promise",stat:!0,forced:a||l},{resolve:function(e){return u(c&&this===s?i:this,e)}})},4916:(e,t,n)=>{"use strict";var r=n(2109),o=n(2261);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},7601:(e,t,n)=>{"use strict";n(4916);var r,o,a=n(2109),i=n(6916),l=n(1702),u=n(614),s=n(111),c=(r=!1,(o=/[ac]/).exec=function(){return r=!0,/./.exec.apply(this,arguments)},!0===o.test("abc")&&r),f=TypeError,d=l(/./.test);a({target:"RegExp",proto:!0,forced:!c},{test:function(e){var t=this.exec;if(!u(t))return d(this,e);var n=i(t,this,e);if(null!==n&&!s(n))throw new f("RegExp exec method returned something other than an Object or null");return!!n}})},2023:(e,t,n)=>{"use strict";var r=n(2109),o=n(1702),a=n(3929),i=n(4488),l=n(1340),u=n(4964),s=o("".indexOf);r({target:"String",proto:!0,forced:!u("includes")},{includes:function(e){return!!~s(l(i(this)),l(a(e)),arguments.length>1?arguments[1]:void 0)}})},4723:(e,t,n)=>{"use strict";var r=n(6916),o=n(7007),a=n(9670),i=n(7466),l=n(1340),u=n(4488),s=n(8173),c=n(1530),f=n(7651);o("match",(function(e,t,n){return[function(t){var n=u(this),o=null==t?void 0:s(t,e);return o?r(o,t,n):new RegExp(t)[e](l(n))},function(e){var r=a(this),o=l(e),u=n(t,r,o);if(u.done)return u.value;if(!r.global)return f(r,o);var s=r.unicode;r.lastIndex=0;for(var d,p=[],h=0;null!==(d=f(r,o));){var y=l(d[0]);p[h]=y,""===y&&(r.lastIndex=c(o,i(r.lastIndex),s)),h++}return 0===h?null:p}]}))},5306:(e,t,n)=>{"use strict";var r=n(2104),o=n(6916),a=n(1702),i=n(7007),l=n(7293),u=n(9670),s=n(614),c=n(9303),f=n(7466),d=n(1340),p=n(4488),h=n(1530),y=n(8173),m=n(647),v=n(7651),g=n(5112)("replace"),b=Math.max,w=Math.min,E=a([].concat),S=a([].push),x=a("".indexOf),k=a("".slice),O="$0"==="a".replace(/./,"$0"),F=!!/./[g]&&""===/./[g]("a","$0");i("replace",(function(e,t,n){var a=F?"$":"$0";return[function(e,n){var r=p(this),a=null==e?void 0:y(e,g);return a?o(a,e,r,n):o(t,d(r),e,n)},function(e,o){var i=u(this),l=d(e);if("string"==typeof o&&-1===x(o,a)&&-1===x(o,"$<")){var p=n(t,i,l,o);if(p.done)return p.value}var y=s(o);y||(o=d(o));var g=i.global;if(g){var O=i.unicode;i.lastIndex=0}for(var F=[];;){var P=v(i,l);if(null===P)break;if(S(F,P),!g)break;""===d(P[0])&&(i.lastIndex=h(l,f(i.lastIndex),O))}for(var _,T="",C=0,j=0;j<F.length;j++){for(var R=d((P=F[j])[0]),D=b(w(c(P.index),l.length),0),A=[],L=1;L<P.length;L++)S(A,void 0===(_=P[L])?_:String(_));var N=P.groups;if(y){var I=E([R],A,D,l);void 0!==N&&S(I,N);var M=d(r(o,void 0,I))}else M=m(R,l,D,A,N,o);D>=C&&(T+=k(l,C,D)+M,C=D+R.length)}return T+k(l,C)}]}),!!l((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!O||F)},4765:(e,t,n)=>{"use strict";var r=n(6916),o=n(7007),a=n(9670),i=n(4488),l=n(1150),u=n(1340),s=n(8173),c=n(7651);o("search",(function(e,t,n){return[function(t){var n=i(this),o=null==t?void 0:s(t,e);return o?r(o,t,n):new RegExp(t)[e](u(n))},function(e){var r=a(this),o=u(e),i=n(t,r,o);if(i.done)return i.value;var s=r.lastIndex;l(s,0)||(r.lastIndex=0);var f=c(r,o);return l(r.lastIndex,s)||(r.lastIndex=s),null===f?-1:f.index}]}))},3948:(e,t,n)=>{var r=n(7854),o=n(8324),a=n(8509),i=n(6992),l=n(8880),u=n(5112),s=u("iterator"),c=u("toStringTag"),f=i.values,d=function(e,t){if(e){if(e[s]!==f)try{l(e,s,f)}catch(t){e[s]=f}if(e[c]||l(e,c,t),o[t])for(var n in i)if(e[n]!==i[n])try{l(e,n,i[n])}catch(t){e[n]=i[n]}}};for(var p in o)d(r[p]&&r[p].prototype,p);d(a,"DOMTokenList")},7531:(e,t,n)=>{"use strict";n.d(t,{lX:()=>w,q_:()=>F,ob:()=>p,PP:()=>_,Ep:()=>d});var r=n(7462);function o(e){return"/"===e.charAt(0)}function a(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}const i=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],i=t&&t.split("/")||[],l=e&&o(e),u=t&&o(t),s=l||u;if(e&&o(e)?i=r:r.length&&(i.pop(),i=i.concat(r)),!i.length)return"/";if(i.length){var c=i[i.length-1];n="."===c||".."===c||""===c}else n=!1;for(var f=0,d=i.length;d>=0;d--){var p=i[d];"."===p?a(i,d):".."===p?(a(i,d),f++):f&&(a(i,d),f--)}if(!s)for(;f--;f)i.unshift("..");!s||""===i[0]||i[0]&&o(i[0])||i.unshift("");var h=i.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};var l=n(2177);function u(e){return"/"===e.charAt(0)?e:"/"+e}function s(e){return"/"===e.charAt(0)?e.substr(1):e}function c(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function f(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function d(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}function p(e,t,n,o){var a;"string"==typeof e?(a=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),a.state=t):(void 0===(a=(0,r.Z)({},e)).pathname&&(a.pathname=""),a.search?"?"!==a.search.charAt(0)&&(a.search="?"+a.search):a.search="",a.hash?"#"!==a.hash.charAt(0)&&(a.hash="#"+a.hash):a.hash="",void 0!==t&&void 0===a.state&&(a.state=t));try{a.pathname=decodeURI(a.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+a.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(a.key=n),o?a.pathname?"/"!==a.pathname.charAt(0)&&(a.pathname=i(a.pathname,o.pathname)):a.pathname=o.pathname:a.pathname||(a.pathname="/"),a}function h(){var e=null;var t=[];return{setPrompt:function(t){return 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):o(!0):o(!1!==a)}else o(!0)},appendListener:function(e){var n=!0;function r(){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=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var y=!("undefined"==typeof window||!window.document||!window.document.createElement);function m(e,t){t(window.confirm(e))}var v="popstate",g="hashchange";function b(){try{return window.history.state||{}}catch(e){return{}}}function w(e){void 0===e&&(e={}),y||(0,l.Z)(!1);var t,n=window.history,o=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,a=!(-1===window.navigator.userAgent.indexOf("Trident")),i=e,s=i.forceRefresh,w=void 0!==s&&s,E=i.getUserConfirmation,S=void 0===E?m:E,x=i.keyLength,k=void 0===x?6:x,O=e.basename?f(u(e.basename)):"";function F(e){var t=e||{},n=t.key,r=t.state,o=window.location,a=o.pathname+o.search+o.hash;return O&&(a=c(a,O)),p(a,r,n)}function P(){return Math.random().toString(36).substr(2,k)}var _=h();function T(e){(0,r.Z)(q,e),q.length=n.length,_.notifyListeners(q.location,q.action)}function C(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||D(F(e.state))}function j(){D(F(b()))}var R=!1;function D(e){if(R)R=!1,T();else{_.confirmTransitionTo(e,"POP",S,(function(t){t?T({action:"POP",location:e}):function(e){var t=q.location,n=L.indexOf(t.key);-1===n&&(n=0);var r=L.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(R=!0,I(o))}(e)}))}}var A=F(b()),L=[A.key];function N(e){return O+d(e)}function I(e){n.go(e)}var M=0;function U(e){1===(M+=e)&&1===e?(window.addEventListener(v,C),a&&window.addEventListener(g,j)):0===M&&(window.removeEventListener(v,C),a&&window.removeEventListener(g,j))}var z=!1;var q={length:n.length,action:"POP",location:A,createHref:N,push:function(e,t){var r="PUSH",a=p(e,t,P(),q.location);_.confirmTransitionTo(a,r,S,(function(e){if(e){var t=N(a),i=a.key,l=a.state;if(o)if(n.pushState({key:i,state:l},null,t),w)window.location.href=t;else{var u=L.indexOf(q.location.key),s=L.slice(0,u+1);s.push(a.key),L=s,T({action:r,location:a})}else window.location.href=t}}))},replace:function(e,t){var r="REPLACE",a=p(e,t,P(),q.location);_.confirmTransitionTo(a,r,S,(function(e){if(e){var t=N(a),i=a.key,l=a.state;if(o)if(n.replaceState({key:i,state:l},null,t),w)window.location.replace(t);else{var u=L.indexOf(q.location.key);-1!==u&&(L[u]=a.key),T({action:r,location:a})}else window.location.replace(t)}}))},go:I,goBack:function(){I(-1)},goForward:function(){I(1)},block:function(e){void 0===e&&(e=!1);var t=_.setPrompt(e);return z||(U(1),z=!0),function(){return z&&(z=!1,U(-1)),t()}},listen:function(e){var t=_.appendListener(e);return U(1),function(){U(-1),t()}}};return q}var E="hashchange",S={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+s(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:s,decodePath:u},slash:{encodePath:u,decodePath:u}};function x(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function k(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function O(e){window.location.replace(x(window.location.href)+"#"+e)}function F(e){void 0===e&&(e={}),y||(0,l.Z)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),o=n.getUserConfirmation,a=void 0===o?m:o,i=n.hashType,s=void 0===i?"slash":i,v=e.basename?f(u(e.basename)):"",g=S[s],b=g.encodePath,w=g.decodePath;function F(){var e=w(k());return v&&(e=c(e,v)),p(e)}var P=h();function _(e){(0,r.Z)(z,e),z.length=t.length,P.notifyListeners(z.location,z.action)}var T=!1,C=null;function j(){var e,t,n=k(),r=b(n);if(n!==r)O(r);else{var o=F(),i=z.location;if(!T&&(t=o,(e=i).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(C===d(o))return;C=null,function(e){if(T)T=!1,_();else{var t="POP";P.confirmTransitionTo(e,t,a,(function(n){n?_({action:t,location:e}):function(e){var t=z.location,n=L.lastIndexOf(d(t));-1===n&&(n=0);var r=L.lastIndexOf(d(e));-1===r&&(r=0);var o=n-r;o&&(T=!0,N(o))}(e)}))}}(o)}}var R=k(),D=b(R);R!==D&&O(D);var A=F(),L=[d(A)];function N(e){t.go(e)}var I=0;function M(e){1===(I+=e)&&1===e?window.addEventListener(E,j):0===I&&window.removeEventListener(E,j)}var U=!1;var z={length:t.length,action:"POP",location:A,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=x(window.location.href)),n+"#"+b(v+d(e))},push:function(e,t){var n="PUSH",r=p(e,void 0,void 0,z.location);P.confirmTransitionTo(r,n,a,(function(e){if(e){var t=d(r),o=b(v+t);if(k()!==o){C=t,function(e){window.location.hash=e}(o);var a=L.lastIndexOf(d(z.location)),i=L.slice(0,a+1);i.push(t),L=i,_({action:n,location:r})}else _()}}))},replace:function(e,t){var n="REPLACE",r=p(e,void 0,void 0,z.location);P.confirmTransitionTo(r,n,a,(function(e){if(e){var t=d(r),o=b(v+t);k()!==o&&(C=t,O(o));var a=L.indexOf(d(z.location));-1!==a&&(L[a]=t),_({action:n,location:r})}}))},go:N,goBack:function(){N(-1)},goForward:function(){N(1)},block:function(e){void 0===e&&(e=!1);var t=P.setPrompt(e);return U||(M(1),U=!0),function(){return U&&(U=!1,M(-1)),t()}},listen:function(e){var t=P.appendListener(e);return M(1),function(){M(-1),t()}}};return z}function P(e,t,n){return Math.min(Math.max(e,t),n)}function _(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,o=t.initialEntries,a=void 0===o?["/"]:o,i=t.initialIndex,l=void 0===i?0:i,u=t.keyLength,s=void 0===u?6:u,c=h();function f(e){(0,r.Z)(w,e),w.length=w.entries.length,c.notifyListeners(w.location,w.action)}function y(){return Math.random().toString(36).substr(2,s)}var m=P(l,0,a.length-1),v=a.map((function(e){return p(e,void 0,"string"==typeof e?y():e.key||y())})),g=d;function b(e){var t=P(w.index+e,0,w.entries.length-1),r=w.entries[t];c.confirmTransitionTo(r,"POP",n,(function(e){e?f({action:"POP",location:r,index:t}):f()}))}var w={length:v.length,action:"POP",location:v[m],index:m,entries:v,createHref:g,push:function(e,t){var r="PUSH",o=p(e,t,y(),w.location);c.confirmTransitionTo(o,r,n,(function(e){if(e){var t=w.index+1,n=w.entries.slice(0);n.length>t?n.splice(t,n.length-t,o):n.push(o),f({action:r,location:o,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",o=p(e,t,y(),w.location);c.confirmTransitionTo(o,r,n,(function(e){e&&(w.entries[w.index]=o,f({action:r,location:o}))}))},go:b,goBack:function(){b(-1)},goForward:function(){b(1)},canGo:function(e){var t=w.index+e;return t>=0&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),c.setPrompt(e)},listen:function(e){return c.appendListener(e)}};return w}},8679:(e,t,n)=>{"use strict";var r=n(9864),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function u(e){return r.isMemo(e)?i:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;var s=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var i=c(n);f&&(i=i.concat(f(n)));for(var l=u(t),y=u(n),m=0;m<i.length;++m){var v=i[m];if(!(a[v]||r&&r[v]||y&&y[v]||l&&l[v])){var g=d(n,v);try{s(t,v,g)}catch(e){}}}}return t}},7418:e=>{"use strict";
|
22 |
/*
|
23 |
object-assign
|
24 |
(c) Sindre Sorhus
|
18 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
19 |
* @since 6.0
|
20 |
*/
|
21 |
+
function r(e,t){var n=document.querySelector(".update-font");if(t){var r=e.location.pathname;return r.substr(r.lastIndexOf("/")+1)===t?o(n,e):a(n,e,t)}return o(n,e)}function o(e,t){if(e.classList.remove("show"),"/fontmanager/"!==t.location.pathname)return t.push("/fontmanager/")}function a(e,t,n){return e.classList.add("show"),t.push("/fontmanager/"+n)}n.d(t,{cn:()=>a,kv:()=>r})},9662:(e,t,n)=>{var r=n(614),o=n(6330),a=TypeError;e.exports=function(e){if(r(e))return e;throw a(o(e)+" is not a function")}},9483:(e,t,n)=>{var r=n(4411),o=n(6330),a=TypeError;e.exports=function(e){if(r(e))return e;throw a(o(e)+" is not a constructor")}},6077:(e,t,n)=>{var r=n(614),o=String,a=TypeError;e.exports=function(e){if("object"==typeof e||r(e))return e;throw a("Can't set "+o(e)+" as a prototype")}},1223:(e,t,n)=>{var r=n(5112),o=n(30),a=n(3070).f,i=r("unscopables"),l=Array.prototype;null==l[i]&&a(l,i,{configurable:!0,value:o(null)}),e.exports=function(e){l[i][e]=!0}},1530:(e,t,n)=>{"use strict";var r=n(8710).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},5787:(e,t,n)=>{var r=n(7976),o=TypeError;e.exports=function(e,t){if(r(t,e))return e;throw o("Incorrect invocation")}},9670:(e,t,n)=>{var r=n(111),o=String,a=TypeError;e.exports=function(e){if(r(e))return e;throw a(o(e)+" is not an object")}},1318:(e,t,n)=>{var r=n(5656),o=n(1400),a=n(6244),i=function(e){return function(t,n,i){var l,u=r(t),s=a(u),c=o(i,s);if(e&&n!=n){for(;s>c;)if((l=u[c++])!=l)return!0}else for(;s>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},9341:(e,t,n)=>{"use strict";var r=n(7293);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){return 1},1)}))}},1589:(e,t,n)=>{var r=n(1400),o=n(6244),a=n(6135),i=Array,l=Math.max;e.exports=function(e,t,n){for(var u=o(e),s=r(t,u),c=r(void 0===n?u:n,u),f=i(l(c-s,0)),d=0;s<c;s++,d++)a(f,d,e[s]);return f.length=d,f}},206:(e,t,n)=>{var r=n(1702);e.exports=r([].slice)},4362:(e,t,n)=>{var r=n(1589),o=Math.floor,a=function(e,t){var n=e.length,u=o(n/2);return n<8?i(e,t):l(e,a(r(e,0,u),t),a(r(e,u),t),t)},i=function(e,t){for(var n,r,o=e.length,a=1;a<o;){for(r=a,n=e[a];r&&t(e[r-1],n)>0;)e[r]=e[--r];r!==a++&&(e[r]=n)}return e},l=function(e,t,n,r){for(var o=t.length,a=n.length,i=0,l=0;i<o||l<a;)e[i+l]=i<o&&l<a?r(t[i],n[l])<=0?t[i++]:n[l++]:i<o?t[i++]:n[l++];return e};e.exports=a},7072:(e,t,n)=>{var r=n(5112)("iterator"),o=!1;try{var a=0,i={next:function(){return{done:!!a++}},return:function(){o=!0}};i[r]=function(){return this},Array.from(i,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var a={};a[r]=function(){return{next:function(){return{done:n=!0}}}},e(a)}catch(e){}return n}},4326:(e,t,n)=>{var r=n(1702),o=r({}.toString),a=r("".slice);e.exports=function(e){return a(o(e),8,-1)}},648:(e,t,n)=>{var r=n(1694),o=n(614),a=n(4326),i=n(5112)("toStringTag"),l=Object,u="Arguments"==a(function(){return arguments}());e.exports=r?a:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=l(e),i))?n:u?a(t):"Object"==(r=a(t))&&o(t.callee)?"Arguments":r}},9920:(e,t,n)=>{var r=n(2597),o=n(3887),a=n(1236),i=n(3070);e.exports=function(e,t,n){for(var l=o(t),u=i.f,s=a.f,c=0;c<l.length;c++){var f=l[c];r(e,f)||n&&r(n,f)||u(e,f,s(t,f))}}},4964:(e,t,n)=>{var r=n(5112)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},8544:(e,t,n)=>{var r=n(7293);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},4994:(e,t,n)=>{"use strict";var r=n(3383).IteratorPrototype,o=n(30),a=n(9114),i=n(8003),l=n(7497),u=function(){return this};e.exports=function(e,t,n,s){var c=t+" Iterator";return e.prototype=o(r,{next:a(+!s,n)}),i(e,c,!1,!0),l[c]=u,e}},8880:(e,t,n)=>{var r=n(9781),o=n(3070),a=n(9114);e.exports=r?function(e,t,n){return o.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},9114:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},6135:(e,t,n)=>{"use strict";var r=n(4948),o=n(3070),a=n(9114);e.exports=function(e,t,n){var i=r(t);i in e?o.f(e,i,a(0,n)):e[i]=n}},8052:(e,t,n)=>{var r=n(614),o=n(3070),a=n(6339),i=n(3072);e.exports=function(e,t,n,l){l||(l={});var u=l.enumerable,s=void 0!==l.name?l.name:t;if(r(n)&&a(n,s,l),l.global)u?e[t]=n:i(t,n);else{try{l.unsafe?e[t]&&(u=!0):delete e[t]}catch(e){}u?e[t]=n:o.f(e,t,{value:n,enumerable:!1,configurable:!l.nonConfigurable,writable:!l.nonWritable})}return e}},3072:(e,t,n)=>{var r=n(7854),o=Object.defineProperty;e.exports=function(e,t){try{o(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},654:(e,t,n)=>{"use strict";var r=n(2109),o=n(6916),a=n(1913),i=n(6530),l=n(614),u=n(4994),s=n(9518),c=n(7674),f=n(8003),d=n(8880),p=n(8052),h=n(5112),y=n(7497),m=n(3383),v=i.PROPER,g=i.CONFIGURABLE,b=m.IteratorPrototype,w=m.BUGGY_SAFARI_ITERATORS,E=h("iterator"),S="keys",x="values",k="entries",O=function(){return this};e.exports=function(e,t,n,i,h,m,F){u(n,t,i);var P,_,T,C=function(e){if(e===h&&L)return L;if(!w&&e in D)return D[e];switch(e){case S:case x:case k:return function(){return new n(this,e)}}return function(){return new n(this)}},j=t+" Iterator",R=!1,D=e.prototype,A=D[E]||D["@@iterator"]||h&&D[h],L=!w&&A||C(h),N="Array"==t&&D.entries||A;if(N&&(P=s(N.call(new e)))!==Object.prototype&&P.next&&(a||s(P)===b||(c?c(P,b):l(P[E])||p(P,E,O)),f(P,j,!0,!0),a&&(y[j]=O)),v&&h==x&&A&&A.name!==x&&(!a&&g?d(D,"name",x):(R=!0,L=function(){return o(A,this)})),h)if(_={values:C(x),keys:m?L:C(S),entries:C(k)},F)for(T in _)(w||R||!(T in D))&&p(D,T,_[T]);else r({target:t,proto:!0,forced:w||R},_);return a&&!F||D[E]===L||p(D,E,L,{name:h}),y[t]=L,_}},5117:(e,t,n)=>{"use strict";var r=n(6330),o=TypeError;e.exports=function(e,t){if(!delete e[t])throw o("Cannot delete property "+r(t)+" of "+r(e))}},9781:(e,t,n)=>{var r=n(7293);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},317:(e,t,n)=>{var r=n(7854),o=n(111),a=r.document,i=o(a)&&o(a.createElement);e.exports=function(e){return i?a.createElement(e):{}}},8324:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8509:(e,t,n)=>{var r=n(317)("span").classList,o=r&&r.constructor&&r.constructor.prototype;e.exports=o===Object.prototype?void 0:o},8886:(e,t,n)=>{var r=n(8113).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},7871:e=>{e.exports="object"==typeof window&&"object"!=typeof Deno},3823:e=>{e.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},256:(e,t,n)=>{var r=n(8113);e.exports=/MSIE|Trident/.test(r)},1528:(e,t,n)=>{var r=n(8113),o=n(7854);e.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==o.Pebble},6833:(e,t,n)=>{var r=n(8113);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},5268:(e,t,n)=>{var r=n(4326),o=n(7854);e.exports="process"==r(o.process)},1036:(e,t,n)=>{var r=n(8113);e.exports=/web0s(?!.*chrome)/i.test(r)},8113:(e,t,n)=>{var r=n(5005);e.exports=r("navigator","userAgent")||""},7392:(e,t,n)=>{var r,o,a=n(7854),i=n(8113),l=a.process,u=a.Deno,s=l&&l.versions||u&&u.version,c=s&&s.v8;c&&(o=(r=c.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&i&&(!(r=i.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=i.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},8008:(e,t,n)=>{var r=n(8113).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},748:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:(e,t,n)=>{var r=n(7854),o=n(1236).f,a=n(8880),i=n(8052),l=n(3072),u=n(9920),s=n(4705);e.exports=function(e,t){var n,c,f,d,p,h=e.target,y=e.global,m=e.stat;if(n=y?r:m?r[h]||l(h,{}):(r[h]||{}).prototype)for(c in t){if(d=t[c],f=e.dontCallGetSet?(p=o(n,c))&&p.value:n[c],!s(y?c:h+(m?".":"#")+c,e.forced)&&void 0!==f){if(typeof d==typeof f)continue;u(d,f)}(e.sham||f&&f.sham)&&a(d,"sham",!0),i(n,c,d,e)}}},7293:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},7007:(e,t,n)=>{"use strict";n(4916);var r=n(1702),o=n(8052),a=n(2261),i=n(7293),l=n(5112),u=n(8880),s=l("species"),c=RegExp.prototype;e.exports=function(e,t,n,f){var d=l(e),p=!i((function(){var t={};return t[d]=function(){return 7},7!=""[e](t)})),h=p&&!i((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[s]=function(){return n},n.flags="",n[d]=/./[d]),n.exec=function(){return t=!0,null},n[d](""),!t}));if(!p||!h||n){var y=r(/./[d]),m=t(d,""[e],(function(e,t,n,o,i){var l=r(e),u=t.exec;return u===a||u===c.exec?p&&!i?{done:!0,value:y(t,n,o)}:{done:!0,value:l(n,t,o)}:{done:!1}}));o(String.prototype,e,m[0]),o(c,d,m[1])}f&&u(c[d],"sham",!0)}},2104:(e,t,n)=>{var r=n(4374),o=Function.prototype,a=o.apply,i=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?i.bind(a):function(){return i.apply(a,arguments)})},9974:(e,t,n)=>{var r=n(1702),o=n(9662),a=n(4374),i=r(r.bind);e.exports=function(e,t){return o(e),void 0===t?e:a?i(e,t):function(){return e.apply(t,arguments)}}},4374:(e,t,n)=>{var r=n(7293);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},6916:(e,t,n)=>{var r=n(4374),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},6530:(e,t,n)=>{var r=n(9781),o=n(2597),a=Function.prototype,i=r&&Object.getOwnPropertyDescriptor,l=o(a,"name"),u=l&&"something"===function(){}.name,s=l&&(!r||r&&i(a,"name").configurable);e.exports={EXISTS:l,PROPER:u,CONFIGURABLE:s}},1702:(e,t,n)=>{var r=n(4374),o=Function.prototype,a=o.bind,i=o.call,l=r&&a.bind(i,i);e.exports=r?function(e){return e&&l(e)}:function(e){return e&&function(){return i.apply(e,arguments)}}},5005:(e,t,n)=>{var r=n(7854),o=n(614),a=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?a(r[e]):r[e]&&r[e][t]}},1246:(e,t,n)=>{var r=n(648),o=n(8173),a=n(7497),i=n(5112)("iterator");e.exports=function(e){if(null!=e)return o(e,i)||o(e,"@@iterator")||a[r(e)]}},8554:(e,t,n)=>{var r=n(6916),o=n(9662),a=n(9670),i=n(6330),l=n(1246),u=TypeError;e.exports=function(e,t){var n=arguments.length<2?l(e):t;if(o(n))return a(r(n,e));throw u(i(e)+" is not iterable")}},8173:(e,t,n)=>{var r=n(9662);e.exports=function(e,t){var n=e[t];return null==n?void 0:r(n)}},647:(e,t,n)=>{var r=n(1702),o=n(7908),a=Math.floor,i=r("".charAt),l=r("".replace),u=r("".slice),s=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,f,d){var p=n+e.length,h=r.length,y=c;return void 0!==f&&(f=o(f),y=s),l(d,y,(function(o,l){var s;switch(i(l,0)){case"$":return"$";case"&":return e;case"`":return u(t,0,n);case"'":return u(t,p);case"<":s=f[u(l,1,-1)];break;default:var c=+l;if(0===c)return o;if(c>h){var d=a(c/10);return 0===d?o:d<=h?void 0===r[d-1]?i(l,1):r[d-1]+i(l,1):o}s=r[c-1]}return void 0===s?"":s}))}},7854:(e,t,n)=>{var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},2597:(e,t,n)=>{var r=n(1702),o=n(7908),a=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return a(o(e),t)}},3501:e=>{e.exports={}},842:(e,t,n)=>{var r=n(7854);e.exports=function(e,t){var n=r.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}},490:(e,t,n)=>{var r=n(5005);e.exports=r("document","documentElement")},4664:(e,t,n)=>{var r=n(9781),o=n(7293),a=n(317);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},8361:(e,t,n)=>{var r=n(1702),o=n(7293),a=n(4326),i=Object,l=r("".split);e.exports=o((function(){return!i("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?l(e,""):i(e)}:i},2788:(e,t,n)=>{var r=n(1702),o=n(614),a=n(5465),i=r(Function.toString);o(a.inspectSource)||(a.inspectSource=function(e){return i(e)}),e.exports=a.inspectSource},9909:(e,t,n)=>{var r,o,a,i=n(8536),l=n(7854),u=n(1702),s=n(111),c=n(8880),f=n(2597),d=n(5465),p=n(6200),h=n(3501),y="Object already initialized",m=l.TypeError,v=l.WeakMap;if(i||d.state){var g=d.state||(d.state=new v),b=u(g.get),w=u(g.has),E=u(g.set);r=function(e,t){if(w(g,e))throw new m(y);return t.facade=e,E(g,e,t),t},o=function(e){return b(g,e)||{}},a=function(e){return w(g,e)}}else{var S=p("state");h[S]=!0,r=function(e,t){if(f(e,S))throw new m(y);return t.facade=e,c(e,S,t),t},o=function(e){return f(e,S)?e[S]:{}},a=function(e){return f(e,S)}}e.exports={set:r,get:o,has:a,enforce:function(e){return a(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!s(t)||(n=o(t)).type!==e)throw m("Incompatible receiver, "+e+" required");return n}}}},7659:(e,t,n)=>{var r=n(5112),o=n(7497),a=r("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||i[a]===e)}},3157:(e,t,n)=>{var r=n(4326);e.exports=Array.isArray||function(e){return"Array"==r(e)}},614:e=>{e.exports=function(e){return"function"==typeof e}},4411:(e,t,n)=>{var r=n(1702),o=n(7293),a=n(614),i=n(648),l=n(5005),u=n(2788),s=function(){},c=[],f=l("Reflect","construct"),d=/^\s*(?:class|function)\b/,p=r(d.exec),h=!d.exec(s),y=function(e){if(!a(e))return!1;try{return f(s,c,e),!0}catch(e){return!1}},m=function(e){if(!a(e))return!1;switch(i(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!p(d,u(e))}catch(e){return!0}};m.sham=!0,e.exports=!f||o((function(){var e;return y(y.call)||!y(Object)||!y((function(){e=!0}))||e}))?m:y},4705:(e,t,n)=>{var r=n(7293),o=n(614),a=/#|\.prototype\./,i=function(e,t){var n=u[l(e)];return n==c||n!=s&&(o(t)?r(t):!!t)},l=i.normalize=function(e){return String(e).replace(a,".").toLowerCase()},u=i.data={},s=i.NATIVE="N",c=i.POLYFILL="P";e.exports=i},111:(e,t,n)=>{var r=n(614);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},1913:e=>{e.exports=!1},7850:(e,t,n)=>{var r=n(111),o=n(4326),a=n(5112)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==o(e))}},2190:(e,t,n)=>{var r=n(5005),o=n(614),a=n(7976),i=n(3307),l=Object;e.exports=i?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return o(t)&&a(t.prototype,l(e))}},408:(e,t,n)=>{var r=n(9974),o=n(6916),a=n(9670),i=n(6330),l=n(7659),u=n(6244),s=n(7976),c=n(8554),f=n(1246),d=n(9212),p=TypeError,h=function(e,t){this.stopped=e,this.result=t},y=h.prototype;e.exports=function(e,t,n){var m,v,g,b,w,E,S,x=n&&n.that,k=!(!n||!n.AS_ENTRIES),O=!(!n||!n.IS_RECORD),F=!(!n||!n.IS_ITERATOR),P=!(!n||!n.INTERRUPTED),_=r(t,x),T=function(e){return m&&d(m,"normal",e),new h(!0,e)},C=function(e){return k?(a(e),P?_(e[0],e[1],T):_(e[0],e[1])):P?_(e,T):_(e)};if(O)m=e.iterator;else if(F)m=e;else{if(!(v=f(e)))throw p(i(e)+" is not iterable");if(l(v)){for(g=0,b=u(e);b>g;g++)if((w=C(e[g]))&&s(y,w))return w;return new h(!1)}m=c(e,v)}for(E=O?e.next:m.next;!(S=o(E,m)).done;){try{w=C(S.value)}catch(e){d(m,"throw",e)}if("object"==typeof w&&w&&s(y,w))return w}return new h(!1)}},9212:(e,t,n)=>{var r=n(6916),o=n(9670),a=n(8173);e.exports=function(e,t,n){var i,l;o(e);try{if(!(i=a(e,"return"))){if("throw"===t)throw n;return n}i=r(i,e)}catch(e){l=!0,i=e}if("throw"===t)throw n;if(l)throw i;return o(i),n}},3383:(e,t,n)=>{"use strict";var r,o,a,i=n(7293),l=n(614),u=n(30),s=n(9518),c=n(8052),f=n(5112),d=n(1913),p=f("iterator"),h=!1;[].keys&&("next"in(a=[].keys())?(o=s(s(a)))!==Object.prototype&&(r=o):h=!0),null==r||i((function(){var e={};return r[p].call(e)!==e}))?r={}:d&&(r=u(r)),l(r[p])||c(r,p,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},7497:e=>{e.exports={}},6244:(e,t,n)=>{var r=n(7466);e.exports=function(e){return r(e.length)}},6339:(e,t,n)=>{var r=n(7293),o=n(614),a=n(2597),i=n(9781),l=n(6530).CONFIGURABLE,u=n(2788),s=n(9909),c=s.enforce,f=s.get,d=Object.defineProperty,p=i&&!r((function(){return 8!==d((function(){}),"length",{value:8}).length})),h=String(String).split("String"),y=e.exports=function(e,t,n){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!a(e,"name")||l&&e.name!==t)&&(i?d(e,"name",{value:t,configurable:!0}):e.name=t),p&&n&&a(n,"arity")&&e.length!==n.arity&&d(e,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?i&&d(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=c(e);return a(r,"source")||(r.source=h.join("string"==typeof t?t:"")),e};Function.prototype.toString=y((function(){return o(this)&&f(this).source||u(this)}),"toString")},4758:e=>{var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},5948:(e,t,n)=>{var r,o,a,i,l,u,s,c,f=n(7854),d=n(9974),p=n(1236).f,h=n(261).set,y=n(6833),m=n(1528),v=n(1036),g=n(5268),b=f.MutationObserver||f.WebKitMutationObserver,w=f.document,E=f.process,S=f.Promise,x=p(f,"queueMicrotask"),k=x&&x.value;k||(r=function(){var e,t;for(g&&(e=E.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(e){throw o?i():a=void 0,e}}a=void 0,e&&e.enter()},y||g||v||!b||!w?!m&&S&&S.resolve?((s=S.resolve(void 0)).constructor=S,c=d(s.then,s),i=function(){c(r)}):g?i=function(){E.nextTick(r)}:(h=d(h,f),i=function(){h(r)}):(l=!0,u=w.createTextNode(""),new b(r).observe(u,{characterData:!0}),i=function(){u.data=l=!l})),e.exports=k||function(e){var t={fn:e,next:void 0};a&&(a.next=t),o||(o=t,i()),a=t}},133:(e,t,n)=>{var r=n(7392),o=n(7293);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},8536:(e,t,n)=>{var r=n(7854),o=n(614),a=n(2788),i=r.WeakMap;e.exports=o(i)&&/native code/.test(a(i))},8523:(e,t,n)=>{"use strict";var r=n(9662),o=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new o(e)}},3929:(e,t,n)=>{var r=n(7850),o=TypeError;e.exports=function(e){if(r(e))throw o("The method doesn't accept regular expressions");return e}},1574:(e,t,n)=>{"use strict";var r=n(9781),o=n(1702),a=n(6916),i=n(7293),l=n(1956),u=n(5181),s=n(5296),c=n(7908),f=n(8361),d=Object.assign,p=Object.defineProperty,h=o([].concat);e.exports=!d||i((function(){if(r&&1!==d({b:1},d(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach((function(e){t[e]=e})),7!=d({},e)[n]||l(d({},t)).join("")!=o}))?function(e,t){for(var n=c(e),o=arguments.length,i=1,d=u.f,p=s.f;o>i;)for(var y,m=f(arguments[i++]),v=d?h(l(m),d(m)):l(m),g=v.length,b=0;g>b;)y=v[b++],r&&!a(p,m,y)||(n[y]=m[y]);return n}:d},30:(e,t,n)=>{var r,o=n(9670),a=n(6048),i=n(748),l=n(3501),u=n(490),s=n(317),c=n(6200),f=c("IE_PROTO"),d=function(){},p=function(e){return"<script>"+e+"</"+"script>"},h=function(e){e.write(p("")),e.close();var t=e.parentWindow.Object;return e=null,t},y=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t;y="undefined"!=typeof document?document.domain&&r?h(r):((t=s("iframe")).style.display="none",u.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(p("document.F=Object")),e.close(),e.F):h(r);for(var n=i.length;n--;)delete y.prototype[i[n]];return y()};l[f]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(d.prototype=o(e),n=new d,d.prototype=null,n[f]=e):n=y(),void 0===t?n:a.f(n,t)}},6048:(e,t,n)=>{var r=n(9781),o=n(3353),a=n(3070),i=n(9670),l=n(5656),u=n(1956);t.f=r&&!o?Object.defineProperties:function(e,t){i(e);for(var n,r=l(t),o=u(t),s=o.length,c=0;s>c;)a.f(e,n=o[c++],r[n]);return e}},3070:(e,t,n)=>{var r=n(9781),o=n(4664),a=n(3353),i=n(9670),l=n(4948),u=TypeError,s=Object.defineProperty,c=Object.getOwnPropertyDescriptor,f="enumerable",d="configurable",p="writable";t.f=r?a?function(e,t,n){if(i(e),t=l(t),i(n),"function"==typeof e&&"prototype"===t&&"value"in n&&p in n&&!n.writable){var r=c(e,t);r&&r.writable&&(e[t]=n.value,n={configurable:d in n?n.configurable:r.configurable,enumerable:f in n?n.enumerable:r.enumerable,writable:!1})}return s(e,t,n)}:s:function(e,t,n){if(i(e),t=l(t),i(n),o)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw u("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},1236:(e,t,n)=>{var r=n(9781),o=n(6916),a=n(5296),i=n(9114),l=n(5656),u=n(4948),s=n(2597),c=n(4664),f=Object.getOwnPropertyDescriptor;t.f=r?f:function(e,t){if(e=l(e),t=u(t),c)try{return f(e,t)}catch(e){}if(s(e,t))return i(!o(a.f,e,t),e[t])}},8006:(e,t,n)=>{var r=n(6324),o=n(748).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},5181:(e,t)=>{t.f=Object.getOwnPropertySymbols},9518:(e,t,n)=>{var r=n(2597),o=n(614),a=n(7908),i=n(6200),l=n(8544),u=i("IE_PROTO"),s=Object,c=s.prototype;e.exports=l?s.getPrototypeOf:function(e){var t=a(e);if(r(t,u))return t[u];var n=t.constructor;return o(n)&&t instanceof n?n.prototype:t instanceof s?c:null}},7976:(e,t,n)=>{var r=n(1702);e.exports=r({}.isPrototypeOf)},6324:(e,t,n)=>{var r=n(1702),o=n(2597),a=n(5656),i=n(1318).indexOf,l=n(3501),u=r([].push);e.exports=function(e,t){var n,r=a(e),s=0,c=[];for(n in r)!o(l,n)&&o(r,n)&&u(c,n);for(;t.length>s;)o(r,n=t[s++])&&(~i(c,n)||u(c,n));return c}},1956:(e,t,n)=>{var r=n(6324),o=n(748);e.exports=Object.keys||function(e){return r(e,o)}},5296:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},7674:(e,t,n)=>{var r=n(1702),o=n(9670),a=n(6077);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return o(n),a(r),t?e(n,r):n.__proto__=r,n}}():void 0)},2140:(e,t,n)=>{var r=n(6916),o=n(614),a=n(111),i=TypeError;e.exports=function(e,t){var n,l;if("string"===t&&o(n=e.toString)&&!a(l=r(n,e)))return l;if(o(n=e.valueOf)&&!a(l=r(n,e)))return l;if("string"!==t&&o(n=e.toString)&&!a(l=r(n,e)))return l;throw i("Can't convert object to primitive value")}},3887:(e,t,n)=>{var r=n(5005),o=n(1702),a=n(8006),i=n(5181),l=n(9670),u=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=a.f(l(e)),n=i.f;return n?u(t,n(e)):t}},2534:e=>{e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},3702:(e,t,n)=>{var r=n(7854),o=n(2492),a=n(614),i=n(4705),l=n(2788),u=n(5112),s=n(7871),c=n(3823),f=n(1913),d=n(7392),p=o&&o.prototype,h=u("species"),y=!1,m=a(r.PromiseRejectionEvent),v=i("Promise",(function(){var e=l(o),t=e!==String(o);if(!t&&66===d)return!0;if(f&&(!p.catch||!p.finally))return!0;if(d<51||!/native code/.test(e)){var n=new o((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};if((n.constructor={})[h]=r,!(y=n.then((function(){}))instanceof r))return!0}return!t&&(s||c)&&!m}));e.exports={CONSTRUCTOR:v,REJECTION_EVENT:m,SUBCLASSING:y}},2492:(e,t,n)=>{var r=n(7854);e.exports=r.Promise},9478:(e,t,n)=>{var r=n(9670),o=n(111),a=n(8523);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=a.f(e);return(0,n.resolve)(t),n.promise}},612:(e,t,n)=>{var r=n(2492),o=n(7072),a=n(3702).CONSTRUCTOR;e.exports=a||!o((function(e){r.all(e).then(void 0,(function(){}))}))},8572:e=>{var t=function(){this.head=null,this.tail=null};t.prototype={add:function(e){var t={item:e,next:null};this.head?this.tail.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return this.head=e.next,this.tail===e&&(this.tail=null),e.item}},e.exports=t},7651:(e,t,n)=>{var r=n(6916),o=n(9670),a=n(614),i=n(4326),l=n(2261),u=TypeError;e.exports=function(e,t){var n=e.exec;if(a(n)){var s=r(n,e,t);return null!==s&&o(s),s}if("RegExp"===i(e))return r(l,e,t);throw u("RegExp#exec called on incompatible receiver")}},2261:(e,t,n)=>{"use strict";var r,o,a=n(6916),i=n(1702),l=n(1340),u=n(7066),s=n(2999),c=n(2309),f=n(30),d=n(9909).get,p=n(9441),h=n(7168),y=c("native-string-replace",String.prototype.replace),m=RegExp.prototype.exec,v=m,g=i("".charAt),b=i("".indexOf),w=i("".replace),E=i("".slice),S=(o=/b*/g,a(m,r=/a/,"a"),a(m,o,"a"),0!==r.lastIndex||0!==o.lastIndex),x=s.BROKEN_CARET,k=void 0!==/()??/.exec("")[1];(S||k||x||p||h)&&(v=function(e){var t,n,r,o,i,s,c,p=this,h=d(p),O=l(e),F=h.raw;if(F)return F.lastIndex=p.lastIndex,t=a(v,F,O),p.lastIndex=F.lastIndex,t;var P=h.groups,_=x&&p.sticky,T=a(u,p),C=p.source,j=0,R=O;if(_&&(T=w(T,"y",""),-1===b(T,"g")&&(T+="g"),R=E(O,p.lastIndex),p.lastIndex>0&&(!p.multiline||p.multiline&&"\n"!==g(O,p.lastIndex-1))&&(C="(?: "+C+")",R=" "+R,j++),n=new RegExp("^(?:"+C+")",T)),k&&(n=new RegExp("^"+C+"$(?!\\s)",T)),S&&(r=p.lastIndex),o=a(m,_?n:p,R),_?o?(o.input=E(o.input,j),o[0]=E(o[0],j),o.index=p.lastIndex,p.lastIndex+=o[0].length):p.lastIndex=0:S&&o&&(p.lastIndex=p.global?o.index+o[0].length:r),k&&o&&o.length>1&&a(y,o[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&P)for(o.groups=s=f(null),i=0;i<P.length;i++)s[(c=P[i])[0]]=o[c[1]];return o}),e.exports=v},7066:(e,t,n)=>{"use strict";var r=n(9670);e.exports=function(){var e=r(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},2999:(e,t,n)=>{var r=n(7293),o=n(7854).RegExp,a=r((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),i=a||r((function(){return!o("a","y").sticky})),l=a||r((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));e.exports={BROKEN_CARET:l,MISSED_STICKY:i,UNSUPPORTED_Y:a}},9441:(e,t,n)=>{var r=n(7293),o=n(7854).RegExp;e.exports=r((function(){var e=o(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},7168:(e,t,n)=>{var r=n(7293),o=n(7854).RegExp;e.exports=r((function(){var e=o("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},4488:e=>{var t=TypeError;e.exports=function(e){if(null==e)throw t("Can't call method on "+e);return e}},1150:e=>{e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},6340:(e,t,n)=>{"use strict";var r=n(5005),o=n(3070),a=n(5112),i=n(9781),l=a("species");e.exports=function(e){var t=r(e),n=o.f;i&&t&&!t[l]&&n(t,l,{configurable:!0,get:function(){return this}})}},8003:(e,t,n)=>{var r=n(3070).f,o=n(2597),a=n(5112)("toStringTag");e.exports=function(e,t,n){e&&!n&&(e=e.prototype),e&&!o(e,a)&&r(e,a,{configurable:!0,value:t})}},6200:(e,t,n)=>{var r=n(2309),o=n(9711),a=r("keys");e.exports=function(e){return a[e]||(a[e]=o(e))}},5465:(e,t,n)=>{var r=n(7854),o=n(3072),a="__core-js_shared__",i=r[a]||o(a,{});e.exports=i},2309:(e,t,n)=>{var r=n(1913),o=n(5465);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.24.0",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.24.0/LICENSE",source:"https://github.com/zloirock/core-js"})},6707:(e,t,n)=>{var r=n(9670),o=n(9483),a=n(5112)("species");e.exports=function(e,t){var n,i=r(e).constructor;return void 0===i||null==(n=r(i)[a])?t:o(n)}},8710:(e,t,n)=>{var r=n(1702),o=n(9303),a=n(1340),i=n(4488),l=r("".charAt),u=r("".charCodeAt),s=r("".slice),c=function(e){return function(t,n){var r,c,f=a(i(t)),d=o(n),p=f.length;return d<0||d>=p?e?"":void 0:(r=u(f,d))<55296||r>56319||d+1===p||(c=u(f,d+1))<56320||c>57343?e?l(f,d):r:e?s(f,d,d+2):c-56320+(r-55296<<10)+65536}};e.exports={codeAt:c(!1),charAt:c(!0)}},261:(e,t,n)=>{var r,o,a,i,l=n(7854),u=n(2104),s=n(9974),c=n(614),f=n(2597),d=n(7293),p=n(490),h=n(206),y=n(317),m=n(8053),v=n(6833),g=n(5268),b=l.setImmediate,w=l.clearImmediate,E=l.process,S=l.Dispatch,x=l.Function,k=l.MessageChannel,O=l.String,F=0,P={},_="onreadystatechange";try{r=l.location}catch(e){}var T=function(e){if(f(P,e)){var t=P[e];delete P[e],t()}},C=function(e){return function(){T(e)}},j=function(e){T(e.data)},R=function(e){l.postMessage(O(e),r.protocol+"//"+r.host)};b&&w||(b=function(e){m(arguments.length,1);var t=c(e)?e:x(e),n=h(arguments,1);return P[++F]=function(){u(t,void 0,n)},o(F),F},w=function(e){delete P[e]},g?o=function(e){E.nextTick(C(e))}:S&&S.now?o=function(e){S.now(C(e))}:k&&!v?(i=(a=new k).port2,a.port1.onmessage=j,o=s(i.postMessage,i)):l.addEventListener&&c(l.postMessage)&&!l.importScripts&&r&&"file:"!==r.protocol&&!d(R)?(o=R,l.addEventListener("message",j,!1)):o=_ in y("script")?function(e){p.appendChild(y("script")).onreadystatechange=function(){p.removeChild(this),T(e)}}:function(e){setTimeout(C(e),0)}),e.exports={set:b,clear:w}},1400:(e,t,n)=>{var r=n(9303),o=Math.max,a=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):a(n,t)}},5656:(e,t,n)=>{var r=n(8361),o=n(4488);e.exports=function(e){return r(o(e))}},9303:(e,t,n)=>{var r=n(4758);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},7466:(e,t,n)=>{var r=n(9303),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},7908:(e,t,n)=>{var r=n(4488),o=Object;e.exports=function(e){return o(r(e))}},7593:(e,t,n)=>{var r=n(6916),o=n(111),a=n(2190),i=n(8173),l=n(2140),u=n(5112),s=TypeError,c=u("toPrimitive");e.exports=function(e,t){if(!o(e)||a(e))return e;var n,u=i(e,c);if(u){if(void 0===t&&(t="default"),n=r(u,e,t),!o(n)||a(n))return n;throw s("Can't convert object to primitive value")}return void 0===t&&(t="number"),l(e,t)}},4948:(e,t,n)=>{var r=n(7593),o=n(2190);e.exports=function(e){var t=r(e,"string");return o(t)?t:t+""}},1694:(e,t,n)=>{var r={};r[n(5112)("toStringTag")]="z",e.exports="[object z]"===String(r)},1340:(e,t,n)=>{var r=n(648),o=String;e.exports=function(e){if("Symbol"===r(e))throw TypeError("Cannot convert a Symbol value to a string");return o(e)}},6330:e=>{var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},9711:(e,t,n)=>{var r=n(1702),o=0,a=Math.random(),i=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+i(++o+a,36)}},3307:(e,t,n)=>{var r=n(133);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:(e,t,n)=>{var r=n(9781),o=n(7293);e.exports=r&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8053:e=>{var t=TypeError;e.exports=function(e,n){if(e<n)throw t("Not enough arguments");return e}},5112:(e,t,n)=>{var r=n(7854),o=n(2309),a=n(2597),i=n(9711),l=n(133),u=n(3307),s=o("wks"),c=r.Symbol,f=c&&c.for,d=u?c:c&&c.withoutSetter||i;e.exports=function(e){if(!a(s,e)||!l&&"string"!=typeof s[e]){var t="Symbol."+e;l&&a(c,e)?s[e]=c[e]:s[e]=u&&f?f(t):d(t)}return s[e]}},6699:(e,t,n)=>{"use strict";var r=n(2109),o=n(1318).includes,a=n(7293),i=n(1223);r({target:"Array",proto:!0,forced:a((function(){return!Array(1).includes()}))},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},6992:(e,t,n)=>{"use strict";var r=n(5656),o=n(1223),a=n(7497),i=n(9909),l=n(3070).f,u=n(654),s=n(1913),c=n(9781),f="Array Iterator",d=i.set,p=i.getterFor(f);e.exports=u(Array,"Array",(function(e,t){d(this,{type:f,target:r(e),index:0,kind:t})}),(function(){var e=p(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values");var h=a.Arguments=a.Array;if(o("keys"),o("values"),o("entries"),!s&&c&&"values"!==h.name)try{l(h,"name",{value:"values"})}catch(e){}},2707:(e,t,n)=>{"use strict";var r=n(2109),o=n(1702),a=n(9662),i=n(7908),l=n(6244),u=n(5117),s=n(1340),c=n(7293),f=n(4362),d=n(9341),p=n(8886),h=n(256),y=n(7392),m=n(8008),v=[],g=o(v.sort),b=o(v.push),w=c((function(){v.sort(void 0)})),E=c((function(){v.sort(null)})),S=d("sort"),x=!c((function(){if(y)return y<70;if(!(p&&p>3)){if(h)return!0;if(m)return m<603;var e,t,n,r,o="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)v.push({k:t+r,v:n})}for(v.sort((function(e,t){return t.v-e.v})),r=0;r<v.length;r++)t=v[r].k.charAt(0),o.charAt(o.length-1)!==t&&(o+=t);return"DGBEFHACIJK"!==o}}));r({target:"Array",proto:!0,forced:w||!E||!S||!x},{sort:function(e){void 0!==e&&a(e);var t=i(this);if(x)return void 0===e?g(t):g(t,e);var n,r,o=[],c=l(t);for(r=0;r<c;r++)r in t&&b(o,t[r]);for(f(o,function(e){return function(t,n){return void 0===n?-1:void 0===t?1:void 0!==e?+e(t,n)||0:s(t)>s(n)?1:-1}}(e)),n=o.length,r=0;r<n;)t[r]=o[r++];for(;r<c;)u(t,r++);return t}})},8862:(e,t,n)=>{var r=n(2109),o=n(5005),a=n(2104),i=n(6916),l=n(1702),u=n(7293),s=n(3157),c=n(614),f=n(111),d=n(2190),p=n(206),h=n(133),y=o("JSON","stringify"),m=l(/./.exec),v=l("".charAt),g=l("".charCodeAt),b=l("".replace),w=l(1..toString),E=/[\uD800-\uDFFF]/g,S=/^[\uD800-\uDBFF]$/,x=/^[\uDC00-\uDFFF]$/,k=!h||u((function(){var e=o("Symbol")();return"[null]"!=y([e])||"{}"!=y({a:e})||"{}"!=y(Object(e))})),O=u((function(){return'"\\udf06\\ud834"'!==y("\udf06\ud834")||'"\\udead"'!==y("\udead")})),F=function(e,t){var n=p(arguments),r=t;if((f(t)||void 0!==e)&&!d(e))return s(t)||(t=function(e,t){if(c(r)&&(t=i(r,this,e,t)),!d(t))return t}),n[1]=t,a(y,null,n)},P=function(e,t,n){var r=v(n,t-1),o=v(n,t+1);return m(S,e)&&!m(x,o)||m(x,e)&&!m(S,r)?"\\u"+w(g(e,0),16):e};y&&r({target:"JSON",stat:!0,arity:3,forced:k||O},{stringify:function(e,t,n){var r=p(arguments),o=a(k?F:y,null,r);return O&&"string"==typeof o?b(o,E,P):o}})},9601:(e,t,n)=>{var r=n(2109),o=n(1574);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},821:(e,t,n)=>{"use strict";var r=n(2109),o=n(6916),a=n(9662),i=n(8523),l=n(2534),u=n(408);r({target:"Promise",stat:!0,forced:n(612)},{all:function(e){var t=this,n=i.f(t),r=n.resolve,s=n.reject,c=l((function(){var n=a(t.resolve),i=[],l=0,c=1;u(e,(function(e){var a=l++,u=!1;c++,o(n,t,e).then((function(e){u||(u=!0,i[a]=e,--c||r(i))}),s)})),--c||r(i)}));return c.error&&s(c.value),n.promise}})},4164:(e,t,n)=>{"use strict";var r=n(2109),o=n(1913),a=n(3702).CONSTRUCTOR,i=n(2492),l=n(5005),u=n(614),s=n(8052),c=i&&i.prototype;if(r({target:"Promise",proto:!0,forced:a,real:!0},{catch:function(e){return this.then(void 0,e)}}),!o&&u(i)){var f=l("Promise").prototype.catch;c.catch!==f&&s(c,"catch",f,{unsafe:!0})}},3401:(e,t,n)=>{"use strict";var r,o,a,i=n(2109),l=n(1913),u=n(5268),s=n(7854),c=n(6916),f=n(8052),d=n(7674),p=n(8003),h=n(6340),y=n(9662),m=n(614),v=n(111),g=n(5787),b=n(6707),w=n(261).set,E=n(5948),S=n(842),x=n(2534),k=n(8572),O=n(9909),F=n(2492),P=n(3702),_=n(8523),T="Promise",C=P.CONSTRUCTOR,j=P.REJECTION_EVENT,R=P.SUBCLASSING,D=O.getterFor(T),A=O.set,L=F&&F.prototype,N=F,I=L,M=s.TypeError,U=s.document,z=s.process,q=_.f,G=q,B=!!(U&&U.createEvent&&s.dispatchEvent),H="unhandledrejection",$=function(e){var t;return!(!v(e)||!m(t=e.then))&&t},V=function(e,t){var n,r,o,a=t.value,i=1==t.state,l=i?e.ok:e.fail,u=e.resolve,s=e.reject,f=e.domain;try{l?(i||(2===t.rejection&&X(t),t.rejection=1),!0===l?n=a:(f&&f.enter(),n=l(a),f&&(f.exit(),o=!0)),n===e.promise?s(M("Promise-chain cycle")):(r=$(n))?c(r,n,u,s):u(n)):s(a)}catch(e){f&&!o&&f.exit(),s(e)}},W=function(e,t){e.notified||(e.notified=!0,E((function(){for(var n,r=e.reactions;n=r.get();)V(n,e);e.notified=!1,t&&!e.rejection&&Q(e)})))},K=function(e,t,n){var r,o;B?((r=U.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),s.dispatchEvent(r)):r={promise:t,reason:n},!j&&(o=s["on"+e])?o(r):e===H&&S("Unhandled promise rejection",n)},Q=function(e){c(w,s,(function(){var t,n=e.facade,r=e.value;if(Z(e)&&(t=x((function(){u?z.emit("unhandledRejection",r,n):K(H,n,r)})),e.rejection=u||Z(e)?2:1,t.error))throw t.value}))},Z=function(e){return 1!==e.rejection&&!e.parent},X=function(e){c(w,s,(function(){var t=e.facade;u?z.emit("rejectionHandled",t):K("rejectionhandled",t,e.value)}))},Y=function(e,t,n){return function(r){e(t,r,n)}},J=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,W(e,!0))},ee=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw M("Promise can't be resolved itself");var r=$(t);r?E((function(){var n={done:!1};try{c(r,t,Y(ee,n,e),Y(J,n,e))}catch(t){J(n,t,e)}})):(e.value=t,e.state=1,W(e,!1))}catch(t){J({done:!1},t,e)}}};if(C&&(I=(N=function(e){g(this,I),y(e),c(r,this);var t=D(this);try{e(Y(ee,t),Y(J,t))}catch(e){J(t,e)}}).prototype,(r=function(e){A(this,{type:T,done:!1,notified:!1,parent:!1,reactions:new k,rejection:!1,state:0,value:void 0})}).prototype=f(I,"then",(function(e,t){var n=D(this),r=q(b(this,N));return n.parent=!0,r.ok=!m(e)||e,r.fail=m(t)&&t,r.domain=u?z.domain:void 0,0==n.state?n.reactions.add(r):E((function(){V(r,n)})),r.promise})),o=function(){var e=new r,t=D(e);this.promise=e,this.resolve=Y(ee,t),this.reject=Y(J,t)},_.f=q=function(e){return e===N||undefined===e?new o(e):G(e)},!l&&m(F)&&L!==Object.prototype)){a=L.then,R||f(L,"then",(function(e,t){var n=this;return new N((function(e,t){c(a,n,e,t)})).then(e,t)}),{unsafe:!0});try{delete L.constructor}catch(e){}d&&d(L,I)}i({global:!0,constructor:!0,wrap:!0,forced:C},{Promise:N}),p(N,T,!1,!0),h(T)},8674:(e,t,n)=>{n(3401),n(821),n(4164),n(6027),n(683),n(6294)},6027:(e,t,n)=>{"use strict";var r=n(2109),o=n(6916),a=n(9662),i=n(8523),l=n(2534),u=n(408);r({target:"Promise",stat:!0,forced:n(612)},{race:function(e){var t=this,n=i.f(t),r=n.reject,s=l((function(){var i=a(t.resolve);u(e,(function(e){o(i,t,e).then(n.resolve,r)}))}));return s.error&&r(s.value),n.promise}})},683:(e,t,n)=>{"use strict";var r=n(2109),o=n(6916),a=n(8523);r({target:"Promise",stat:!0,forced:n(3702).CONSTRUCTOR},{reject:function(e){var t=a.f(this);return o(t.reject,void 0,e),t.promise}})},6294:(e,t,n)=>{"use strict";var r=n(2109),o=n(5005),a=n(1913),i=n(2492),l=n(3702).CONSTRUCTOR,u=n(9478),s=o("Promise"),c=a&&!l;r({target:"Promise",stat:!0,forced:a||l},{resolve:function(e){return u(c&&this===s?i:this,e)}})},4916:(e,t,n)=>{"use strict";var r=n(2109),o=n(2261);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},7601:(e,t,n)=>{"use strict";n(4916);var r,o,a=n(2109),i=n(6916),l=n(1702),u=n(614),s=n(111),c=(r=!1,(o=/[ac]/).exec=function(){return r=!0,/./.exec.apply(this,arguments)},!0===o.test("abc")&&r),f=TypeError,d=l(/./.test);a({target:"RegExp",proto:!0,forced:!c},{test:function(e){var t=this.exec;if(!u(t))return d(this,e);var n=i(t,this,e);if(null!==n&&!s(n))throw new f("RegExp exec method returned something other than an Object or null");return!!n}})},2023:(e,t,n)=>{"use strict";var r=n(2109),o=n(1702),a=n(3929),i=n(4488),l=n(1340),u=n(4964),s=o("".indexOf);r({target:"String",proto:!0,forced:!u("includes")},{includes:function(e){return!!~s(l(i(this)),l(a(e)),arguments.length>1?arguments[1]:void 0)}})},4723:(e,t,n)=>{"use strict";var r=n(6916),o=n(7007),a=n(9670),i=n(7466),l=n(1340),u=n(4488),s=n(8173),c=n(1530),f=n(7651);o("match",(function(e,t,n){return[function(t){var n=u(this),o=null==t?void 0:s(t,e);return o?r(o,t,n):new RegExp(t)[e](l(n))},function(e){var r=a(this),o=l(e),u=n(t,r,o);if(u.done)return u.value;if(!r.global)return f(r,o);var s=r.unicode;r.lastIndex=0;for(var d,p=[],h=0;null!==(d=f(r,o));){var y=l(d[0]);p[h]=y,""===y&&(r.lastIndex=c(o,i(r.lastIndex),s)),h++}return 0===h?null:p}]}))},5306:(e,t,n)=>{"use strict";var r=n(2104),o=n(6916),a=n(1702),i=n(7007),l=n(7293),u=n(9670),s=n(614),c=n(9303),f=n(7466),d=n(1340),p=n(4488),h=n(1530),y=n(8173),m=n(647),v=n(7651),g=n(5112)("replace"),b=Math.max,w=Math.min,E=a([].concat),S=a([].push),x=a("".indexOf),k=a("".slice),O="$0"==="a".replace(/./,"$0"),F=!!/./[g]&&""===/./[g]("a","$0");i("replace",(function(e,t,n){var a=F?"$":"$0";return[function(e,n){var r=p(this),a=null==e?void 0:y(e,g);return a?o(a,e,r,n):o(t,d(r),e,n)},function(e,o){var i=u(this),l=d(e);if("string"==typeof o&&-1===x(o,a)&&-1===x(o,"$<")){var p=n(t,i,l,o);if(p.done)return p.value}var y=s(o);y||(o=d(o));var g=i.global;if(g){var O=i.unicode;i.lastIndex=0}for(var F=[];;){var P=v(i,l);if(null===P)break;if(S(F,P),!g)break;""===d(P[0])&&(i.lastIndex=h(l,f(i.lastIndex),O))}for(var _,T="",C=0,j=0;j<F.length;j++){for(var R=d((P=F[j])[0]),D=b(w(c(P.index),l.length),0),A=[],L=1;L<P.length;L++)S(A,void 0===(_=P[L])?_:String(_));var N=P.groups;if(y){var I=E([R],A,D,l);void 0!==N&&S(I,N);var M=d(r(o,void 0,I))}else M=m(R,l,D,A,N,o);D>=C&&(T+=k(l,C,D)+M,C=D+R.length)}return T+k(l,C)}]}),!!l((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!O||F)},4765:(e,t,n)=>{"use strict";var r=n(6916),o=n(7007),a=n(9670),i=n(4488),l=n(1150),u=n(1340),s=n(8173),c=n(7651);o("search",(function(e,t,n){return[function(t){var n=i(this),o=null==t?void 0:s(t,e);return o?r(o,t,n):new RegExp(t)[e](u(n))},function(e){var r=a(this),o=u(e),i=n(t,r,o);if(i.done)return i.value;var s=r.lastIndex;l(s,0)||(r.lastIndex=0);var f=c(r,o);return l(r.lastIndex,s)||(r.lastIndex=s),null===f?-1:f.index}]}))},3948:(e,t,n)=>{var r=n(7854),o=n(8324),a=n(8509),i=n(6992),l=n(8880),u=n(5112),s=u("iterator"),c=u("toStringTag"),f=i.values,d=function(e,t){if(e){if(e[s]!==f)try{l(e,s,f)}catch(t){e[s]=f}if(e[c]||l(e,c,t),o[t])for(var n in i)if(e[n]!==i[n])try{l(e,n,i[n])}catch(t){e[n]=i[n]}}};for(var p in o)d(r[p]&&r[p].prototype,p);d(a,"DOMTokenList")},7531:(e,t,n)=>{"use strict";n.d(t,{lX:()=>w,q_:()=>F,ob:()=>p,PP:()=>_,Ep:()=>d});var r=n(7462);function o(e){return"/"===e.charAt(0)}function a(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}const i=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],i=t&&t.split("/")||[],l=e&&o(e),u=t&&o(t),s=l||u;if(e&&o(e)?i=r:r.length&&(i.pop(),i=i.concat(r)),!i.length)return"/";if(i.length){var c=i[i.length-1];n="."===c||".."===c||""===c}else n=!1;for(var f=0,d=i.length;d>=0;d--){var p=i[d];"."===p?a(i,d):".."===p?(a(i,d),f++):f&&(a(i,d),f--)}if(!s)for(;f--;f)i.unshift("..");!s||""===i[0]||i[0]&&o(i[0])||i.unshift("");var h=i.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};var l=n(2177);function u(e){return"/"===e.charAt(0)?e:"/"+e}function s(e){return"/"===e.charAt(0)?e.substr(1):e}function c(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function f(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function d(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}function p(e,t,n,o){var a;"string"==typeof e?(a=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),a.state=t):(void 0===(a=(0,r.Z)({},e)).pathname&&(a.pathname=""),a.search?"?"!==a.search.charAt(0)&&(a.search="?"+a.search):a.search="",a.hash?"#"!==a.hash.charAt(0)&&(a.hash="#"+a.hash):a.hash="",void 0!==t&&void 0===a.state&&(a.state=t));try{a.pathname=decodeURI(a.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+a.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(a.key=n),o?a.pathname?"/"!==a.pathname.charAt(0)&&(a.pathname=i(a.pathname,o.pathname)):a.pathname=o.pathname:a.pathname||(a.pathname="/"),a}function h(){var e=null;var t=[];return{setPrompt:function(t){return 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):o(!0):o(!1!==a)}else o(!0)},appendListener:function(e){var n=!0;function r(){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=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var y=!("undefined"==typeof window||!window.document||!window.document.createElement);function m(e,t){t(window.confirm(e))}var v="popstate",g="hashchange";function b(){try{return window.history.state||{}}catch(e){return{}}}function w(e){void 0===e&&(e={}),y||(0,l.Z)(!1);var t,n=window.history,o=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,a=!(-1===window.navigator.userAgent.indexOf("Trident")),i=e,s=i.forceRefresh,w=void 0!==s&&s,E=i.getUserConfirmation,S=void 0===E?m:E,x=i.keyLength,k=void 0===x?6:x,O=e.basename?f(u(e.basename)):"";function F(e){var t=e||{},n=t.key,r=t.state,o=window.location,a=o.pathname+o.search+o.hash;return O&&(a=c(a,O)),p(a,r,n)}function P(){return Math.random().toString(36).substr(2,k)}var _=h();function T(e){(0,r.Z)(q,e),q.length=n.length,_.notifyListeners(q.location,q.action)}function C(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||D(F(e.state))}function j(){D(F(b()))}var R=!1;function D(e){if(R)R=!1,T();else{_.confirmTransitionTo(e,"POP",S,(function(t){t?T({action:"POP",location:e}):function(e){var t=q.location,n=L.indexOf(t.key);-1===n&&(n=0);var r=L.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(R=!0,I(o))}(e)}))}}var A=F(b()),L=[A.key];function N(e){return O+d(e)}function I(e){n.go(e)}var M=0;function U(e){1===(M+=e)&&1===e?(window.addEventListener(v,C),a&&window.addEventListener(g,j)):0===M&&(window.removeEventListener(v,C),a&&window.removeEventListener(g,j))}var z=!1;var q={length:n.length,action:"POP",location:A,createHref:N,push:function(e,t){var r="PUSH",a=p(e,t,P(),q.location);_.confirmTransitionTo(a,r,S,(function(e){if(e){var t=N(a),i=a.key,l=a.state;if(o)if(n.pushState({key:i,state:l},null,t),w)window.location.href=t;else{var u=L.indexOf(q.location.key),s=L.slice(0,u+1);s.push(a.key),L=s,T({action:r,location:a})}else window.location.href=t}}))},replace:function(e,t){var r="REPLACE",a=p(e,t,P(),q.location);_.confirmTransitionTo(a,r,S,(function(e){if(e){var t=N(a),i=a.key,l=a.state;if(o)if(n.replaceState({key:i,state:l},null,t),w)window.location.replace(t);else{var u=L.indexOf(q.location.key);-1!==u&&(L[u]=a.key),T({action:r,location:a})}else window.location.replace(t)}}))},go:I,goBack:function(){I(-1)},goForward:function(){I(1)},block:function(e){void 0===e&&(e=!1);var t=_.setPrompt(e);return z||(U(1),z=!0),function(){return z&&(z=!1,U(-1)),t()}},listen:function(e){var t=_.appendListener(e);return U(1),function(){U(-1),t()}}};return q}var E="hashchange",S={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+s(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:s,decodePath:u},slash:{encodePath:u,decodePath:u}};function x(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function k(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function O(e){window.location.replace(x(window.location.href)+"#"+e)}function F(e){void 0===e&&(e={}),y||(0,l.Z)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),o=n.getUserConfirmation,a=void 0===o?m:o,i=n.hashType,s=void 0===i?"slash":i,v=e.basename?f(u(e.basename)):"",g=S[s],b=g.encodePath,w=g.decodePath;function F(){var e=w(k());return v&&(e=c(e,v)),p(e)}var P=h();function _(e){(0,r.Z)(z,e),z.length=t.length,P.notifyListeners(z.location,z.action)}var T=!1,C=null;function j(){var e,t,n=k(),r=b(n);if(n!==r)O(r);else{var o=F(),i=z.location;if(!T&&(t=o,(e=i).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(C===d(o))return;C=null,function(e){if(T)T=!1,_();else{var t="POP";P.confirmTransitionTo(e,t,a,(function(n){n?_({action:t,location:e}):function(e){var t=z.location,n=L.lastIndexOf(d(t));-1===n&&(n=0);var r=L.lastIndexOf(d(e));-1===r&&(r=0);var o=n-r;o&&(T=!0,N(o))}(e)}))}}(o)}}var R=k(),D=b(R);R!==D&&O(D);var A=F(),L=[d(A)];function N(e){t.go(e)}var I=0;function M(e){1===(I+=e)&&1===e?window.addEventListener(E,j):0===I&&window.removeEventListener(E,j)}var U=!1;var z={length:t.length,action:"POP",location:A,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=x(window.location.href)),n+"#"+b(v+d(e))},push:function(e,t){var n="PUSH",r=p(e,void 0,void 0,z.location);P.confirmTransitionTo(r,n,a,(function(e){if(e){var t=d(r),o=b(v+t);if(k()!==o){C=t,function(e){window.location.hash=e}(o);var a=L.lastIndexOf(d(z.location)),i=L.slice(0,a+1);i.push(t),L=i,_({action:n,location:r})}else _()}}))},replace:function(e,t){var n="REPLACE",r=p(e,void 0,void 0,z.location);P.confirmTransitionTo(r,n,a,(function(e){if(e){var t=d(r),o=b(v+t);k()!==o&&(C=t,O(o));var a=L.indexOf(d(z.location));-1!==a&&(L[a]=t),_({action:n,location:r})}}))},go:N,goBack:function(){N(-1)},goForward:function(){N(1)},block:function(e){void 0===e&&(e=!1);var t=P.setPrompt(e);return U||(M(1),U=!0),function(){return U&&(U=!1,M(-1)),t()}},listen:function(e){var t=P.appendListener(e);return M(1),function(){M(-1),t()}}};return z}function P(e,t,n){return Math.min(Math.max(e,t),n)}function _(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,o=t.initialEntries,a=void 0===o?["/"]:o,i=t.initialIndex,l=void 0===i?0:i,u=t.keyLength,s=void 0===u?6:u,c=h();function f(e){(0,r.Z)(w,e),w.length=w.entries.length,c.notifyListeners(w.location,w.action)}function y(){return Math.random().toString(36).substr(2,s)}var m=P(l,0,a.length-1),v=a.map((function(e){return p(e,void 0,"string"==typeof e?y():e.key||y())})),g=d;function b(e){var t=P(w.index+e,0,w.entries.length-1),r=w.entries[t];c.confirmTransitionTo(r,"POP",n,(function(e){e?f({action:"POP",location:r,index:t}):f()}))}var w={length:v.length,action:"POP",location:v[m],index:m,entries:v,createHref:g,push:function(e,t){var r="PUSH",o=p(e,t,y(),w.location);c.confirmTransitionTo(o,r,n,(function(e){if(e){var t=w.index+1,n=w.entries.slice(0);n.length>t?n.splice(t,n.length-t,o):n.push(o),f({action:r,location:o,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",o=p(e,t,y(),w.location);c.confirmTransitionTo(o,r,n,(function(e){e&&(w.entries[w.index]=o,f({action:r,location:o}))}))},go:b,goBack:function(){b(-1)},goForward:function(){b(1)},canGo:function(e){var t=w.index+e;return t>=0&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),c.setPrompt(e)},listen:function(e){return c.appendListener(e)}};return w}},8679:(e,t,n)=>{"use strict";var r=n(9864),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function u(e){return r.isMemo(e)?i:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;var s=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var i=c(n);f&&(i=i.concat(f(n)));for(var l=u(t),y=u(n),m=0;m<i.length;++m){var v=i[m];if(!(a[v]||r&&r[v]||y&&y[v]||l&&l[v])){var g=d(n,v);try{s(t,v,g)}catch(e){}}}}return t}},7418:e=>{"use strict";
|
22 |
/*
|
23 |
object-assign
|
24 |
(c) Sindre Sorhus
|
pdf.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Gravity PDF
|
4 |
-
Version: 6.4.
|
5 |
Description: Automatically generate highly-customisable PDF documents using Gravity Forms.
|
6 |
Author: Blue Liquid Designs
|
7 |
Author URI: https://blueliquiddesigns.com.au
|
@@ -28,7 +28,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
28 |
/*
|
29 |
* Set base constants we'll use throughout the plugin
|
30 |
*/
|
31 |
-
define( 'PDF_EXTENDED_VERSION', '6.4.
|
32 |
define( 'PDF_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); /* plugin directory path */
|
33 |
define( 'PDF_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); /* plugin directory url */
|
34 |
define( 'PDF_PLUGIN_BASENAME', plugin_basename( __FILE__ ) ); /* the plugin basename */
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Gravity PDF
|
4 |
+
Version: 6.4.1
|
5 |
Description: Automatically generate highly-customisable PDF documents using Gravity Forms.
|
6 |
Author: Blue Liquid Designs
|
7 |
Author URI: https://blueliquiddesigns.com.au
|
28 |
/*
|
29 |
* Set base constants we'll use throughout the plugin
|
30 |
*/
|
31 |
+
define( 'PDF_EXTENDED_VERSION', '6.4.1' ); /* the current plugin version */
|
32 |
define( 'PDF_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); /* plugin directory path */
|
33 |
define( 'PDF_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); /* plugin directory url */
|
34 |
define( 'PDF_PLUGIN_BASENAME', plugin_basename( __FILE__ ) ); /* the plugin basename */
|
src/Controller/Controller_Save_Core_Fonts.php
CHANGED
@@ -185,7 +185,7 @@ class Controller_Save_Core_Fonts extends Helper_Abstract_Controller implements H
|
|
185 |
$this->log->error(
|
186 |
'Core Font Download Failed',
|
187 |
[
|
188 |
-
'name' => $
|
189 |
'WP_Error_Message' => $res->get_error_message(),
|
190 |
'WP_Error_Code' => $res->get_error_code(),
|
191 |
]
|
185 |
$this->log->error(
|
186 |
'Core Font Download Failed',
|
187 |
[
|
188 |
+
'name' => $matching_fonts[0],
|
189 |
'WP_Error_Message' => $res->get_error_message(),
|
190 |
'WP_Error_Code' => $res->get_error_code(),
|
191 |
]
|
src/Helper/Fields/Field_Poll.php
CHANGED
@@ -120,6 +120,10 @@ class Field_Poll extends Helper_Abstract_Fields {
|
|
120 |
* @since 4.0
|
121 |
*/
|
122 |
public function html( $value = '', $label = true ) {
|
|
|
|
|
|
|
|
|
123 |
return $this->fieldObject->html();
|
124 |
}
|
125 |
|
120 |
* @since 4.0
|
121 |
*/
|
122 |
public function html( $value = '', $label = true ) {
|
123 |
+
if ( $this->get_output() ) {
|
124 |
+
$this->fieldObject->enable_output();
|
125 |
+
}
|
126 |
+
|
127 |
return $this->fieldObject->html();
|
128 |
}
|
129 |
|
src/Helper/Fields/Field_Post_Category.php
CHANGED
@@ -136,6 +136,10 @@ class Field_Post_Category extends Helper_Abstract_Fields {
|
|
136 |
* @since 4.0
|
137 |
*/
|
138 |
public function html( $value = '', $label = true ) {
|
|
|
|
|
|
|
|
|
139 |
return $this->fieldObject->html();
|
140 |
}
|
141 |
|
136 |
* @since 4.0
|
137 |
*/
|
138 |
public function html( $value = '', $label = true ) {
|
139 |
+
if ( $this->get_output() ) {
|
140 |
+
$this->fieldObject->enable_output();
|
141 |
+
}
|
142 |
+
|
143 |
return $this->fieldObject->html();
|
144 |
}
|
145 |
|
src/Helper/Fields/Field_Post_Custom_Field.php
CHANGED
@@ -88,6 +88,10 @@ class Field_Post_Custom_Field extends Helper_Abstract_Fields {
|
|
88 |
* @since 4.0
|
89 |
*/
|
90 |
public function html( $value = '', $label = true ) {
|
|
|
|
|
|
|
|
|
91 |
return $this->fieldObject->html();
|
92 |
}
|
93 |
|
88 |
* @since 4.0
|
89 |
*/
|
90 |
public function html( $value = '', $label = true ) {
|
91 |
+
if ( $this->get_output() ) {
|
92 |
+
$this->fieldObject->enable_output();
|
93 |
+
}
|
94 |
+
|
95 |
return $this->fieldObject->html();
|
96 |
}
|
97 |
|
src/Helper/Fields/Field_Survey.php
CHANGED
@@ -178,6 +178,10 @@ class Field_Survey extends Helper_Abstract_Fields {
|
|
178 |
return parent::html( '' );
|
179 |
}
|
180 |
|
|
|
|
|
|
|
|
|
181 |
return $this->fieldObject->html();
|
182 |
}
|
183 |
|
178 |
return parent::html( '' );
|
179 |
}
|
180 |
|
181 |
+
if ( $this->get_output() ) {
|
182 |
+
$this->fieldObject->enable_output();
|
183 |
+
}
|
184 |
+
|
185 |
return $this->fieldObject->html();
|
186 |
}
|
187 |
|
src/Statics/Kses.php
CHANGED
@@ -61,6 +61,72 @@ class Kses {
|
|
61 |
public static function get_allowed_pdf_tags( $tags = null ): array {
|
62 |
$tags = is_array( $tags ) ? $tags : wp_kses_allowed_html( 'post' );
|
63 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
/* Add additional Table support */
|
65 |
$tags['table']['autosize'] = true;
|
66 |
$tags['table']['rotate'] = true;
|
@@ -107,17 +173,21 @@ class Kses {
|
|
107 |
|
108 |
/* Add <pagebreak /> support */
|
109 |
$tags['pagebreak'] = [
|
110 |
-
'orientation'
|
111 |
-
'type'
|
112 |
-
'resetpagenum'
|
113 |
-
'pagenumstyle'
|
114 |
-
'suppress'
|
115 |
-
'sheet-size'
|
116 |
-
'page-selector'
|
117 |
-
'margin-left'
|
118 |
-
'margin-right'
|
119 |
-
'margin-top'
|
120 |
-
'margin-bottom'
|
|
|
|
|
|
|
|
|
121 |
];
|
122 |
|
123 |
/* Add <barcode /> support */
|
@@ -133,6 +203,93 @@ class Kses {
|
|
133 |
'style' => true,
|
134 |
];
|
135 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
136 |
return $tags;
|
137 |
}
|
138 |
|
61 |
public static function get_allowed_pdf_tags( $tags = null ): array {
|
62 |
$tags = is_array( $tags ) ? $tags : wp_kses_allowed_html( 'post' );
|
63 |
|
64 |
+
/* Form fields */
|
65 |
+
$tags['form'] = [
|
66 |
+
'id' => true,
|
67 |
+
'class' => true,
|
68 |
+
'style' => true,
|
69 |
+
'dir' => true,
|
70 |
+
'action' => true,
|
71 |
+
'method' => true,
|
72 |
+
];
|
73 |
+
|
74 |
+
$tags['input'] = [
|
75 |
+
'id' => true,
|
76 |
+
'class' => true,
|
77 |
+
'style' => true,
|
78 |
+
'dir' => true,
|
79 |
+
'type' => true,
|
80 |
+
'title' => true,
|
81 |
+
'name' => true,
|
82 |
+
'disabled' => true,
|
83 |
+
'size' => true,
|
84 |
+
'value' => true,
|
85 |
+
'maxlength' => true,
|
86 |
+
'readonly' => true,
|
87 |
+
'required' => true,
|
88 |
+
'checked' => true,
|
89 |
+
'spellcheck' => true,
|
90 |
+
'alt' => true,
|
91 |
+
'src' => true,
|
92 |
+
'noprint' => true,
|
93 |
+
];
|
94 |
+
|
95 |
+
$tags['textarea'] = [
|
96 |
+
'id' => true,
|
97 |
+
'class' => true,
|
98 |
+
'style' => true,
|
99 |
+
'dir' => true,
|
100 |
+
'title' => true,
|
101 |
+
'name' => true,
|
102 |
+
'disabled' => true,
|
103 |
+
'cols' => true,
|
104 |
+
'rows' => true,
|
105 |
+
'readonly' => true,
|
106 |
+
'spellcheck' => true,
|
107 |
+
];
|
108 |
+
|
109 |
+
$tags['select'] = [
|
110 |
+
'id' => true,
|
111 |
+
'class' => true,
|
112 |
+
'style' => true,
|
113 |
+
'dir' => true,
|
114 |
+
'size' => true,
|
115 |
+
'multiple' => true,
|
116 |
+
'required' => true,
|
117 |
+
'spellcheck' => true,
|
118 |
+
'editable' => true,
|
119 |
+
];
|
120 |
+
|
121 |
+
$tags['option'] = [
|
122 |
+
'id' => true,
|
123 |
+
'class' => true,
|
124 |
+
'style' => true,
|
125 |
+
'dir' => true,
|
126 |
+
'selected' => true,
|
127 |
+
'value' => true,
|
128 |
+
];
|
129 |
+
|
130 |
/* Add additional Table support */
|
131 |
$tags['table']['autosize'] = true;
|
132 |
$tags['table']['rotate'] = true;
|
173 |
|
174 |
/* Add <pagebreak /> support */
|
175 |
$tags['pagebreak'] = [
|
176 |
+
'orientation' => true,
|
177 |
+
'type' => true,
|
178 |
+
'resetpagenum' => true,
|
179 |
+
'pagenumstyle' => true,
|
180 |
+
'suppress' => true,
|
181 |
+
'sheet-size' => true,
|
182 |
+
'page-selector' => true,
|
183 |
+
'margin-left' => true,
|
184 |
+
'margin-right' => true,
|
185 |
+
'margin-top' => true,
|
186 |
+
'margin-bottom' => true,
|
187 |
+
'odd-header-name' => true,
|
188 |
+
'odd-footer-name' => true,
|
189 |
+
'odd-header-value' => true,
|
190 |
+
'odd-footer-value' => true,
|
191 |
];
|
192 |
|
193 |
/* Add <barcode /> support */
|
203 |
'style' => true,
|
204 |
];
|
205 |
|
206 |
+
/* Annotation support */
|
207 |
+
$tags['annotation'] = [
|
208 |
+
'content' => true,
|
209 |
+
'pos-x' => true,
|
210 |
+
'pos-y' => true,
|
211 |
+
'icon' => true,
|
212 |
+
'author' => true,
|
213 |
+
'subject' => true,
|
214 |
+
'opacity' => true,
|
215 |
+
'color' => true,
|
216 |
+
'popup' => true,
|
217 |
+
];
|
218 |
+
|
219 |
+
/* Bookmark support */
|
220 |
+
$tags['bookmark'] = [
|
221 |
+
'content' => true,
|
222 |
+
'level' => true,
|
223 |
+
];
|
224 |
+
|
225 |
+
/* Columns support */
|
226 |
+
$tags['column'] = [
|
227 |
+
'column-count' => true,
|
228 |
+
'valign' => true,
|
229 |
+
'column-gap' => true,
|
230 |
+
];
|
231 |
+
|
232 |
+
$tags['columnbreak'] = [];
|
233 |
+
|
234 |
+
/* Header */
|
235 |
+
$tags['htmlpageheader'] = [
|
236 |
+
'name' => true,
|
237 |
+
];
|
238 |
+
|
239 |
+
$tags['sethtmlpageheader'] = [
|
240 |
+
'name' => true,
|
241 |
+
'page' => true,
|
242 |
+
'value' => true,
|
243 |
+
'show-this-page' => true,
|
244 |
+
];
|
245 |
+
|
246 |
+
/* Footer */
|
247 |
+
$tags['htmlpagefooter'] = [
|
248 |
+
'name' => true,
|
249 |
+
];
|
250 |
+
|
251 |
+
$tags['sethtmlpagefooter'] = [
|
252 |
+
'name' => true,
|
253 |
+
'page' => true,
|
254 |
+
'value' => true,
|
255 |
+
];
|
256 |
+
|
257 |
+
/* Index */
|
258 |
+
$tags['indexentry'] = [
|
259 |
+
'content' => true,
|
260 |
+
'xref' => true,
|
261 |
+
];
|
262 |
+
|
263 |
+
$tags['indexinsert'] = [
|
264 |
+
'links' => true,
|
265 |
+
'usedivletters' => true,
|
266 |
+
];
|
267 |
+
|
268 |
+
/* Table of Contents */
|
269 |
+
$tags['tocpagebreak'] = [
|
270 |
+
'paging' => true,
|
271 |
+
'links' => true,
|
272 |
+
'toc-odd-header-name' => true,
|
273 |
+
'toc-odd-footer-name' => true,
|
274 |
+
'toc-odd-header-value' => true,
|
275 |
+
'toc-odd-footer-value' => true,
|
276 |
+
'toc-prehtml' => true,
|
277 |
+
'toc-posthtml' => true,
|
278 |
+
'toc-bookmarktext' => true,
|
279 |
+
'name' => true,
|
280 |
+
'toc-page-selector' => true,
|
281 |
+
'toc-sheet-size' => true,
|
282 |
+
'toc-resetpagenum' => true,
|
283 |
+
'toc-resetpagestyle' => true,
|
284 |
+
'toc-suppress' => true,
|
285 |
+
];
|
286 |
+
|
287 |
+
$tags['tocentry'] = [
|
288 |
+
'content' => true,
|
289 |
+
'level' => true,
|
290 |
+
'name' => true,
|
291 |
+
];
|
292 |
+
|
293 |
return $tags;
|
294 |
}
|
295 |
|
src/assets/languages/gravity-forms-pdf-extended.pot
CHANGED
@@ -6,7 +6,7 @@ msgstr ""
|
|
6 |
"MIME-Version: 1.0\n"
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
-
"POT-Creation-Date: 2022-07-
|
10 |
"X-Poedit-Basepath: ..\n"
|
11 |
"X-Poedit-KeywordsList: __;_e;_ex:1,2c;_n:1,2;_n_noop:1,2;_nx:1,2,4c;_nx_noop:1,2,3c;_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
|
12 |
"X-Poedit-SearchPath-0: .\n"
|
6 |
"MIME-Version: 1.0\n"
|
7 |
"Content-Type: text/plain; charset=UTF-8\n"
|
8 |
"Content-Transfer-Encoding: 8bit\n"
|
9 |
+
"POT-Creation-Date: 2022-07-26 06:09+0000\n"
|
10 |
"X-Poedit-Basepath: ..\n"
|
11 |
"X-Poedit-KeywordsList: __;_e;_ex:1,2c;_n:1,2;_n_noop:1,2;_nx:1,2,4c;_nx_noop:1,2,3c;_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
|
12 |
"X-Poedit-SearchPath-0: .\n"
|
vendor/composer/autoload_classmap.php
CHANGED
@@ -271,6 +271,7 @@ return array(
|
|
271 |
'GFPDF_Vendor\\Monolog\\Formatter\\FluentdFormatter' => $baseDir . '/vendor_prefixed/monolog/src/Monolog/Formatter/FluentdFormatter.php',
|
272 |
'GFPDF_Vendor\\Monolog\\Formatter\\FormatterInterface' => $baseDir . '/vendor_prefixed/monolog/src/Monolog/Formatter/FormatterInterface.php',
|
273 |
'GFPDF_Vendor\\Monolog\\Formatter\\GelfMessageFormatter' => $baseDir . '/vendor_prefixed/monolog/src/Monolog/Formatter/GelfMessageFormatter.php',
|
|
|
274 |
'GFPDF_Vendor\\Monolog\\Formatter\\HtmlFormatter' => $baseDir . '/vendor_prefixed/monolog/src/Monolog/Formatter/HtmlFormatter.php',
|
275 |
'GFPDF_Vendor\\Monolog\\Formatter\\JsonFormatter' => $baseDir . '/vendor_prefixed/monolog/src/Monolog/Formatter/JsonFormatter.php',
|
276 |
'GFPDF_Vendor\\Monolog\\Formatter\\LineFormatter' => $baseDir . '/vendor_prefixed/monolog/src/Monolog/Formatter/LineFormatter.php',
|
271 |
'GFPDF_Vendor\\Monolog\\Formatter\\FluentdFormatter' => $baseDir . '/vendor_prefixed/monolog/src/Monolog/Formatter/FluentdFormatter.php',
|
272 |
'GFPDF_Vendor\\Monolog\\Formatter\\FormatterInterface' => $baseDir . '/vendor_prefixed/monolog/src/Monolog/Formatter/FormatterInterface.php',
|
273 |
'GFPDF_Vendor\\Monolog\\Formatter\\GelfMessageFormatter' => $baseDir . '/vendor_prefixed/monolog/src/Monolog/Formatter/GelfMessageFormatter.php',
|
274 |
+
'GFPDF_Vendor\\Monolog\\Formatter\\GoogleCloudLoggingFormatter' => $baseDir . '/vendor_prefixed/monolog/src/Monolog/Formatter/GoogleCloudLoggingFormatter.php',
|
275 |
'GFPDF_Vendor\\Monolog\\Formatter\\HtmlFormatter' => $baseDir . '/vendor_prefixed/monolog/src/Monolog/Formatter/HtmlFormatter.php',
|
276 |
'GFPDF_Vendor\\Monolog\\Formatter\\JsonFormatter' => $baseDir . '/vendor_prefixed/monolog/src/Monolog/Formatter/JsonFormatter.php',
|
277 |
'GFPDF_Vendor\\Monolog\\Formatter\\LineFormatter' => $baseDir . '/vendor_prefixed/monolog/src/Monolog/Formatter/LineFormatter.php',
|
vendor/composer/autoload_static.php
CHANGED
@@ -299,6 +299,7 @@ class ComposerStaticInitGravityPDFPlugin
|
|
299 |
'GFPDF_Vendor\\Monolog\\Formatter\\FluentdFormatter' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/src/Monolog/Formatter/FluentdFormatter.php',
|
300 |
'GFPDF_Vendor\\Monolog\\Formatter\\FormatterInterface' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/src/Monolog/Formatter/FormatterInterface.php',
|
301 |
'GFPDF_Vendor\\Monolog\\Formatter\\GelfMessageFormatter' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/src/Monolog/Formatter/GelfMessageFormatter.php',
|
|
|
302 |
'GFPDF_Vendor\\Monolog\\Formatter\\HtmlFormatter' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/src/Monolog/Formatter/HtmlFormatter.php',
|
303 |
'GFPDF_Vendor\\Monolog\\Formatter\\JsonFormatter' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/src/Monolog/Formatter/JsonFormatter.php',
|
304 |
'GFPDF_Vendor\\Monolog\\Formatter\\LineFormatter' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/src/Monolog/Formatter/LineFormatter.php',
|
299 |
'GFPDF_Vendor\\Monolog\\Formatter\\FluentdFormatter' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/src/Monolog/Formatter/FluentdFormatter.php',
|
300 |
'GFPDF_Vendor\\Monolog\\Formatter\\FormatterInterface' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/src/Monolog/Formatter/FormatterInterface.php',
|
301 |
'GFPDF_Vendor\\Monolog\\Formatter\\GelfMessageFormatter' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/src/Monolog/Formatter/GelfMessageFormatter.php',
|
302 |
+
'GFPDF_Vendor\\Monolog\\Formatter\\GoogleCloudLoggingFormatter' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/src/Monolog/Formatter/GoogleCloudLoggingFormatter.php',
|
303 |
'GFPDF_Vendor\\Monolog\\Formatter\\HtmlFormatter' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/src/Monolog/Formatter/HtmlFormatter.php',
|
304 |
'GFPDF_Vendor\\Monolog\\Formatter\\JsonFormatter' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/src/Monolog/Formatter/JsonFormatter.php',
|
305 |
'GFPDF_Vendor\\Monolog\\Formatter\\LineFormatter' => __DIR__ . '/../..' . '/vendor_prefixed/monolog/src/Monolog/Formatter/LineFormatter.php',
|
vendor/composer/installed.json
CHANGED
@@ -456,17 +456,17 @@
|
|
456 |
},
|
457 |
{
|
458 |
"name": "monolog/monolog",
|
459 |
-
"version": "2.
|
460 |
-
"version_normalized": "2.
|
461 |
"source": {
|
462 |
"type": "git",
|
463 |
"url": "https://github.com/Seldaek/monolog.git",
|
464 |
-
"reference": "
|
465 |
},
|
466 |
"dist": {
|
467 |
"type": "zip",
|
468 |
-
"url": "https://api.github.com/repos/Seldaek/monolog/zipball/
|
469 |
-
"reference": "
|
470 |
"shasum": ""
|
471 |
},
|
472 |
"require": {
|
@@ -486,11 +486,10 @@
|
|
486 |
"guzzlehttp/psr7": "^2.2",
|
487 |
"mongodb/mongodb": "^1.8",
|
488 |
"php-amqplib/php-amqplib": "~2.4 || ^3",
|
489 |
-
"php-console/php-console": "^3.1.3",
|
490 |
"phpspec/prophecy": "^1.15",
|
491 |
"phpstan/phpstan": "^0.12.91",
|
492 |
"phpunit/phpunit": "^8.5.14",
|
493 |
-
"predis/predis": "^1.1",
|
494 |
"rollbar/rollbar": "^1.3 || ^2 || ^3",
|
495 |
"ruflin/elastica": "^7",
|
496 |
"swiftmailer/swiftmailer": "^5.3|^6.0",
|
@@ -510,11 +509,10 @@
|
|
510 |
"graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server",
|
511 |
"mongodb/mongodb": "Allow sending log messages to a MongoDB server (via library)",
|
512 |
"php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib",
|
513 |
-
"php-console/php-console": "Allow sending log messages to Google Chrome",
|
514 |
"rollbar/rollbar": "Allow sending log messages to Rollbar",
|
515 |
"ruflin/elastica": "Allow sending log messages to an Elastic Search server"
|
516 |
},
|
517 |
-
"time": "2022-
|
518 |
"type": "library",
|
519 |
"extra": {
|
520 |
"branch-alias": {
|
@@ -547,7 +545,7 @@
|
|
547 |
],
|
548 |
"support": {
|
549 |
"issues": "https://github.com/Seldaek/monolog/issues",
|
550 |
-
"source": "https://github.com/Seldaek/monolog/tree/2.
|
551 |
},
|
552 |
"funding": [
|
553 |
{
|
456 |
},
|
457 |
{
|
458 |
"name": "monolog/monolog",
|
459 |
+
"version": "2.8.0",
|
460 |
+
"version_normalized": "2.8.0.0",
|
461 |
"source": {
|
462 |
"type": "git",
|
463 |
"url": "https://github.com/Seldaek/monolog.git",
|
464 |
+
"reference": "720488632c590286b88b80e62aa3d3d551ad4a50"
|
465 |
},
|
466 |
"dist": {
|
467 |
"type": "zip",
|
468 |
+
"url": "https://api.github.com/repos/Seldaek/monolog/zipball/720488632c590286b88b80e62aa3d3d551ad4a50",
|
469 |
+
"reference": "720488632c590286b88b80e62aa3d3d551ad4a50",
|
470 |
"shasum": ""
|
471 |
},
|
472 |
"require": {
|
486 |
"guzzlehttp/psr7": "^2.2",
|
487 |
"mongodb/mongodb": "^1.8",
|
488 |
"php-amqplib/php-amqplib": "~2.4 || ^3",
|
|
|
489 |
"phpspec/prophecy": "^1.15",
|
490 |
"phpstan/phpstan": "^0.12.91",
|
491 |
"phpunit/phpunit": "^8.5.14",
|
492 |
+
"predis/predis": "^1.1 || ^2.0",
|
493 |
"rollbar/rollbar": "^1.3 || ^2 || ^3",
|
494 |
"ruflin/elastica": "^7",
|
495 |
"swiftmailer/swiftmailer": "^5.3|^6.0",
|
509 |
"graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server",
|
510 |
"mongodb/mongodb": "Allow sending log messages to a MongoDB server (via library)",
|
511 |
"php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib",
|
|
|
512 |
"rollbar/rollbar": "Allow sending log messages to Rollbar",
|
513 |
"ruflin/elastica": "Allow sending log messages to an Elastic Search server"
|
514 |
},
|
515 |
+
"time": "2022-07-24T11:55:47+00:00",
|
516 |
"type": "library",
|
517 |
"extra": {
|
518 |
"branch-alias": {
|
545 |
],
|
546 |
"support": {
|
547 |
"issues": "https://github.com/Seldaek/monolog/issues",
|
548 |
+
"source": "https://github.com/Seldaek/monolog/tree/2.8.0"
|
549 |
},
|
550 |
"funding": [
|
551 |
{
|
vendor/composer/installed.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php return array(
|
2 |
'root' => array(
|
3 |
'name' => 'gravitypdf/gravitypdf',
|
4 |
-
'pretty_version' => '6.4.
|
5 |
-
'version' => '6.4.
|
6 |
-
'reference' => '
|
7 |
'type' => 'library',
|
8 |
'install_path' => __DIR__ . '/../../',
|
9 |
'aliases' => array(),
|
@@ -20,9 +20,9 @@
|
|
20 |
'dev_requirement' => false,
|
21 |
),
|
22 |
'gravitypdf/gravitypdf' => array(
|
23 |
-
'pretty_version' => '6.4.
|
24 |
-
'version' => '6.4.
|
25 |
-
'reference' => '
|
26 |
'type' => 'library',
|
27 |
'install_path' => __DIR__ . '/../../',
|
28 |
'aliases' => array(),
|
@@ -74,9 +74,9 @@
|
|
74 |
'dev_requirement' => false,
|
75 |
),
|
76 |
'monolog/monolog' => array(
|
77 |
-
'pretty_version' => '2.
|
78 |
-
'version' => '2.
|
79 |
-
'reference' => '
|
80 |
'type' => 'library',
|
81 |
'install_path' => __DIR__ . '/../monolog/monolog',
|
82 |
'aliases' => array(),
|
1 |
<?php return array(
|
2 |
'root' => array(
|
3 |
'name' => 'gravitypdf/gravitypdf',
|
4 |
+
'pretty_version' => '6.4.1',
|
5 |
+
'version' => '6.4.1.0',
|
6 |
+
'reference' => '8613cdc2b10353602af2d1197b647ed849983b32',
|
7 |
'type' => 'library',
|
8 |
'install_path' => __DIR__ . '/../../',
|
9 |
'aliases' => array(),
|
20 |
'dev_requirement' => false,
|
21 |
),
|
22 |
'gravitypdf/gravitypdf' => array(
|
23 |
+
'pretty_version' => '6.4.1',
|
24 |
+
'version' => '6.4.1.0',
|
25 |
+
'reference' => '8613cdc2b10353602af2d1197b647ed849983b32',
|
26 |
'type' => 'library',
|
27 |
'install_path' => __DIR__ . '/../../',
|
28 |
'aliases' => array(),
|
74 |
'dev_requirement' => false,
|
75 |
),
|
76 |
'monolog/monolog' => array(
|
77 |
+
'pretty_version' => '2.8.0',
|
78 |
+
'version' => '2.8.0.0',
|
79 |
+
'reference' => '720488632c590286b88b80e62aa3d3d551ad4a50',
|
80 |
'type' => 'library',
|
81 |
'install_path' => __DIR__ . '/../monolog/monolog',
|
82 |
'aliases' => array(),
|
vendor_prefixed/monolog/src/Monolog/Formatter/GoogleCloudLoggingFormatter.php
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
declare (strict_types=1);
|
4 |
+
/*
|
5 |
+
* This file is part of the Monolog package.
|
6 |
+
*
|
7 |
+
* (c) Jordi Boggiano <j.boggiano@seld.be>
|
8 |
+
*
|
9 |
+
* For the full copyright and license information, please view the LICENSE
|
10 |
+
* file that was distributed with this source code.
|
11 |
+
*/
|
12 |
+
namespace GFPDF_Vendor\Monolog\Formatter;
|
13 |
+
|
14 |
+
use DateTimeInterface;
|
15 |
+
use GFPDF_Vendor\Monolog\LogRecord;
|
16 |
+
/**
|
17 |
+
* Encodes message information into JSON in a format compatible with Cloud logging.
|
18 |
+
*
|
19 |
+
* @see https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry
|
20 |
+
*
|
21 |
+
* @author Luís Cobucci <lcobucci@gmail.com>
|
22 |
+
*/
|
23 |
+
final class GoogleCloudLoggingFormatter extends \GFPDF_Vendor\Monolog\Formatter\JsonFormatter
|
24 |
+
{
|
25 |
+
/** {@inheritdoc} **/
|
26 |
+
public function format(array $record) : string
|
27 |
+
{
|
28 |
+
// Re-key level for GCP logging
|
29 |
+
$record['severity'] = $record['level_name'];
|
30 |
+
$record['timestamp'] = $record['datetime']->format(\DateTimeInterface::RFC3339_EXTENDED);
|
31 |
+
// Remove keys that are not used by GCP
|
32 |
+
unset($record['level'], $record['level_name'], $record['datetime']);
|
33 |
+
return parent::format($record);
|
34 |
+
}
|
35 |
+
}
|
vendor_prefixed/monolog/src/Monolog/Formatter/JsonFormatter.php
CHANGED
@@ -155,11 +155,21 @@ class JsonFormatter extends \GFPDF_Vendor\Monolog\Formatter\NormalizerFormatter
|
|
155 |
}
|
156 |
return $normalized;
|
157 |
}
|
158 |
-
if ($data
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
163 |
}
|
164 |
if (\is_resource($data)) {
|
165 |
return parent::normalize($data);
|
155 |
}
|
156 |
return $normalized;
|
157 |
}
|
158 |
+
if (\is_object($data)) {
|
159 |
+
if ($data instanceof \DateTimeInterface) {
|
160 |
+
return $this->formatDate($data);
|
161 |
+
}
|
162 |
+
if ($data instanceof \Throwable) {
|
163 |
+
return $this->normalizeException($data, $depth);
|
164 |
+
}
|
165 |
+
// if the object has specific json serializability we want to make sure we skip the __toString treatment below
|
166 |
+
if ($data instanceof \JsonSerializable) {
|
167 |
+
return $data;
|
168 |
+
}
|
169 |
+
if (\method_exists($data, '__toString')) {
|
170 |
+
return $data->__toString();
|
171 |
+
}
|
172 |
+
return $data;
|
173 |
}
|
174 |
if (\is_resource($data)) {
|
175 |
return parent::normalize($data);
|
vendor_prefixed/monolog/src/Monolog/Formatter/LineFormatter.php
CHANGED
@@ -130,6 +130,11 @@ class LineFormatter extends \GFPDF_Vendor\Monolog\Formatter\NormalizerFormatter
|
|
130 |
$str = $this->formatException($e);
|
131 |
if ($previous = $e->getPrevious()) {
|
132 |
do {
|
|
|
|
|
|
|
|
|
|
|
133 |
$str .= "\n[previous exception] " . $this->formatException($previous);
|
134 |
} while ($previous = $previous->getPrevious());
|
135 |
}
|
@@ -152,7 +157,11 @@ class LineFormatter extends \GFPDF_Vendor\Monolog\Formatter\NormalizerFormatter
|
|
152 |
{
|
153 |
if ($this->allowInlineLineBreaks) {
|
154 |
if (0 === \strpos($str, '{')) {
|
155 |
-
|
|
|
|
|
|
|
|
|
156 |
}
|
157 |
return $str;
|
158 |
}
|
130 |
$str = $this->formatException($e);
|
131 |
if ($previous = $e->getPrevious()) {
|
132 |
do {
|
133 |
+
$depth++;
|
134 |
+
if ($depth > $this->maxNormalizeDepth) {
|
135 |
+
$str .= '\\n[previous exception] Over ' . $this->maxNormalizeDepth . ' levels deep, aborting normalization';
|
136 |
+
break;
|
137 |
+
}
|
138 |
$str .= "\n[previous exception] " . $this->formatException($previous);
|
139 |
} while ($previous = $previous->getPrevious());
|
140 |
}
|
157 |
{
|
158 |
if ($this->allowInlineLineBreaks) {
|
159 |
if (0 === \strpos($str, '{')) {
|
160 |
+
$str = \preg_replace('/(?<!\\\\)\\\\[rn]/', "\n", $str);
|
161 |
+
if (null === $str) {
|
162 |
+
$pcreErrorCode = \preg_last_error();
|
163 |
+
throw new \RuntimeException('Failed to run preg_replace: ' . $pcreErrorCode . ' / ' . \GFPDF_Vendor\Monolog\Utils::pcreLastErrorMessage($pcreErrorCode));
|
164 |
+
}
|
165 |
}
|
166 |
return $str;
|
167 |
}
|
vendor_prefixed/monolog/src/Monolog/Formatter/NormalizerFormatter.php
CHANGED
@@ -166,6 +166,9 @@ class NormalizerFormatter implements \GFPDF_Vendor\Monolog\Formatter\FormatterIn
|
|
166 |
*/
|
167 |
protected function normalizeException(\Throwable $e, int $depth = 0)
|
168 |
{
|
|
|
|
|
|
|
169 |
if ($e instanceof \JsonSerializable) {
|
170 |
return (array) $e->jsonSerialize();
|
171 |
}
|
166 |
*/
|
167 |
protected function normalizeException(\Throwable $e, int $depth = 0)
|
168 |
{
|
169 |
+
if ($depth > $this->maxNormalizeDepth) {
|
170 |
+
return ['Over ' . $this->maxNormalizeDepth . ' levels deep, aborting normalization'];
|
171 |
+
}
|
172 |
if ($e instanceof \JsonSerializable) {
|
173 |
return (array) $e->jsonSerialize();
|
174 |
}
|
vendor_prefixed/monolog/src/Monolog/Handler/AmqpHandler.php
CHANGED
@@ -26,6 +26,29 @@ class AmqpHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHandle
|
|
26 |
* @var AMQPExchange|AMQPChannel $exchange
|
27 |
*/
|
28 |
protected $exchange;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
/**
|
30 |
* @var string
|
31 |
*/
|
@@ -54,7 +77,11 @@ class AmqpHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHandle
|
|
54 |
$data = $record["formatted"];
|
55 |
$routingKey = $this->getRoutingKey($record);
|
56 |
if ($this->exchange instanceof \AMQPExchange) {
|
57 |
-
$
|
|
|
|
|
|
|
|
|
58 |
} else {
|
59 |
$this->exchange->basic_publish($this->createAmqpMessage($data), $this->exchangeName, $routingKey);
|
60 |
}
|
26 |
* @var AMQPExchange|AMQPChannel $exchange
|
27 |
*/
|
28 |
protected $exchange;
|
29 |
+
/** @var array<string, mixed> */
|
30 |
+
private $extraAttributes = [];
|
31 |
+
/**
|
32 |
+
* @return array<string, mixed>
|
33 |
+
*/
|
34 |
+
public function getExtraAttributes() : array
|
35 |
+
{
|
36 |
+
return $this->extraAttributes;
|
37 |
+
}
|
38 |
+
/**
|
39 |
+
* Configure extra attributes to pass to the AMQPExchange (if you are using the amqp extension)
|
40 |
+
*
|
41 |
+
* @param array<string, mixed> $extraAttributes One of content_type, content_encoding,
|
42 |
+
* message_id, user_id, app_id, delivery_mode,
|
43 |
+
* priority, timestamp, expiration, type
|
44 |
+
* or reply_to, headers.
|
45 |
+
* @return AmqpHandler
|
46 |
+
*/
|
47 |
+
public function setExtraAttributes(array $extraAttributes) : self
|
48 |
+
{
|
49 |
+
$this->extraAttributes = $extraAttributes;
|
50 |
+
return $this;
|
51 |
+
}
|
52 |
/**
|
53 |
* @var string
|
54 |
*/
|
77 |
$data = $record["formatted"];
|
78 |
$routingKey = $this->getRoutingKey($record);
|
79 |
if ($this->exchange instanceof \AMQPExchange) {
|
80 |
+
$attributes = ['delivery_mode' => 2, 'content_type' => 'application/json'];
|
81 |
+
if ($this->extraAttributes) {
|
82 |
+
$attributes = \array_merge($attributes, $this->extraAttributes);
|
83 |
+
}
|
84 |
+
$this->exchange->publish($data, $routingKey, 0, $attributes);
|
85 |
} else {
|
86 |
$this->exchange->basic_publish($this->createAmqpMessage($data), $this->exchangeName, $routingKey);
|
87 |
}
|
vendor_prefixed/monolog/src/Monolog/Handler/ChromePHPHandler.php
CHANGED
@@ -123,13 +123,13 @@ class ChromePHPHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingH
|
|
123 |
self::$json['request_uri'] = $_SERVER['REQUEST_URI'] ?? '';
|
124 |
}
|
125 |
$json = \GFPDF_Vendor\Monolog\Utils::jsonEncode(self::$json, \GFPDF_Vendor\Monolog\Utils::DEFAULT_JSON_FLAGS & ~\JSON_UNESCAPED_UNICODE, \true);
|
126 |
-
$data = \base64_encode(
|
127 |
if (\strlen($data) > 3 * 1024) {
|
128 |
self::$overflowed = \true;
|
129 |
$record = ['message' => 'Incomplete logs, chrome header size limit reached', 'context' => [], 'level' => \GFPDF_Vendor\Monolog\Logger::WARNING, 'level_name' => \GFPDF_Vendor\Monolog\Logger::getLevelName(\GFPDF_Vendor\Monolog\Logger::WARNING), 'channel' => 'monolog', 'datetime' => new \DateTimeImmutable(), 'extra' => []];
|
130 |
self::$json['rows'][\count(self::$json['rows']) - 1] = $this->getFormatter()->format($record);
|
131 |
-
$json = \GFPDF_Vendor\Monolog\Utils::jsonEncode(self::$json,
|
132 |
-
$data = \base64_encode(
|
133 |
}
|
134 |
if (\trim($data) !== '') {
|
135 |
$this->sendHeader(static::HEADER_NAME, $data);
|
123 |
self::$json['request_uri'] = $_SERVER['REQUEST_URI'] ?? '';
|
124 |
}
|
125 |
$json = \GFPDF_Vendor\Monolog\Utils::jsonEncode(self::$json, \GFPDF_Vendor\Monolog\Utils::DEFAULT_JSON_FLAGS & ~\JSON_UNESCAPED_UNICODE, \true);
|
126 |
+
$data = \base64_encode($json);
|
127 |
if (\strlen($data) > 3 * 1024) {
|
128 |
self::$overflowed = \true;
|
129 |
$record = ['message' => 'Incomplete logs, chrome header size limit reached', 'context' => [], 'level' => \GFPDF_Vendor\Monolog\Logger::WARNING, 'level_name' => \GFPDF_Vendor\Monolog\Logger::getLevelName(\GFPDF_Vendor\Monolog\Logger::WARNING), 'channel' => 'monolog', 'datetime' => new \DateTimeImmutable(), 'extra' => []];
|
130 |
self::$json['rows'][\count(self::$json['rows']) - 1] = $this->getFormatter()->format($record);
|
131 |
+
$json = \GFPDF_Vendor\Monolog\Utils::jsonEncode(self::$json, \GFPDF_Vendor\Monolog\Utils::DEFAULT_JSON_FLAGS & ~\JSON_UNESCAPED_UNICODE, \true);
|
132 |
+
$data = \base64_encode($json);
|
133 |
}
|
134 |
if (\trim($data) !== '') {
|
135 |
$this->sendHeader(static::HEADER_NAME, $data);
|
vendor_prefixed/monolog/src/Monolog/Handler/CubeHandler.php
CHANGED
@@ -16,8 +16,9 @@ use GFPDF_Vendor\Monolog\Utils;
|
|
16 |
/**
|
17 |
* Logs to Cube.
|
18 |
*
|
19 |
-
* @link
|
20 |
* @author Wan Chen <kami@kamisama.me>
|
|
|
21 |
*/
|
22 |
class CubeHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHandler
|
23 |
{
|
16 |
/**
|
17 |
* Logs to Cube.
|
18 |
*
|
19 |
+
* @link https://github.com/square/cube/wiki
|
20 |
* @author Wan Chen <kami@kamisama.me>
|
21 |
+
* @deprecated Since 2.8.0 and 3.2.0, Cube appears abandoned and thus we will drop this handler in Monolog 4
|
22 |
*/
|
23 |
class CubeHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHandler
|
24 |
{
|
vendor_prefixed/monolog/src/Monolog/Handler/Handler.php
CHANGED
@@ -44,6 +44,13 @@ abstract class Handler implements \GFPDF_Vendor\Monolog\Handler\HandlerInterface
|
|
44 |
public function __sleep()
|
45 |
{
|
46 |
$this->close();
|
47 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
}
|
49 |
}
|
44 |
public function __sleep()
|
45 |
{
|
46 |
$this->close();
|
47 |
+
$reflClass = new \ReflectionClass($this);
|
48 |
+
$keys = [];
|
49 |
+
foreach ($reflClass->getProperties() as $reflProp) {
|
50 |
+
if (!$reflProp->isStatic()) {
|
51 |
+
$keys[] = $reflProp->getName();
|
52 |
+
}
|
53 |
+
}
|
54 |
+
return $keys;
|
55 |
}
|
56 |
}
|
vendor_prefixed/monolog/src/Monolog/Handler/PHPConsoleHandler.php
CHANGED
@@ -24,7 +24,7 @@ use GFPDF_Vendor\PhpConsole\Helper;
|
|
24 |
* Display PHP error/debug log messages in Google Chrome console and notification popups, executes PHP code remotely
|
25 |
*
|
26 |
* Usage:
|
27 |
-
* 1. Install Google Chrome extension
|
28 |
* 2. See overview https://github.com/barbushin/php-console#overview
|
29 |
* 3. Install PHP Console library https://github.com/barbushin/php-console#installation
|
30 |
* 4. Example (result will looks like http://i.hizliresim.com/vg3Pz4.png)
|
@@ -38,6 +38,7 @@ use GFPDF_Vendor\PhpConsole\Helper;
|
|
38 |
* @author Sergey Barbushin https://www.linkedin.com/in/barbushin
|
39 |
*
|
40 |
* @phpstan-import-type Record from \Monolog\Logger
|
|
|
41 |
*/
|
42 |
class PHPConsoleHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHandler
|
43 |
{
|
24 |
* Display PHP error/debug log messages in Google Chrome console and notification popups, executes PHP code remotely
|
25 |
*
|
26 |
* Usage:
|
27 |
+
* 1. Install Google Chrome extension [now dead and removed from the chrome store]
|
28 |
* 2. See overview https://github.com/barbushin/php-console#overview
|
29 |
* 3. Install PHP Console library https://github.com/barbushin/php-console#installation
|
30 |
* 4. Example (result will looks like http://i.hizliresim.com/vg3Pz4.png)
|
38 |
* @author Sergey Barbushin https://www.linkedin.com/in/barbushin
|
39 |
*
|
40 |
* @phpstan-import-type Record from \Monolog\Logger
|
41 |
+
* @deprecated Since 2.8.0 and 3.2.0, PHPConsole is abandoned and thus we will drop this handler in Monolog 4
|
42 |
*/
|
43 |
class PHPConsoleHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHandler
|
44 |
{
|
vendor_prefixed/monolog/src/Monolog/Handler/RedisHandler.php
CHANGED
@@ -29,14 +29,14 @@ use GFPDF_Vendor\Monolog\Logger;
|
|
29 |
*/
|
30 |
class RedisHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHandler
|
31 |
{
|
32 |
-
/** @var \Predis\Client
|
33 |
private $redisClient;
|
34 |
/** @var string */
|
35 |
private $redisKey;
|
36 |
/** @var int */
|
37 |
protected $capSize;
|
38 |
/**
|
39 |
-
* @param \Predis\Client
|
40 |
* @param string $key The key name to push records to
|
41 |
* @param int $capSize Number of entries to limit list size to, 0 = unlimited
|
42 |
*/
|
29 |
*/
|
30 |
class RedisHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHandler
|
31 |
{
|
32 |
+
/** @var \Predis\Client<\Predis\Client>|\Redis */
|
33 |
private $redisClient;
|
34 |
/** @var string */
|
35 |
private $redisKey;
|
36 |
/** @var int */
|
37 |
protected $capSize;
|
38 |
/**
|
39 |
+
* @param \Predis\Client<\Predis\Client>|\Redis $redis The redis instance
|
40 |
* @param string $key The key name to push records to
|
41 |
* @param int $capSize Number of entries to limit list size to, 0 = unlimited
|
42 |
*/
|
vendor_prefixed/monolog/src/Monolog/Handler/RedisPubSubHandler.php
CHANGED
@@ -27,12 +27,12 @@ use GFPDF_Vendor\Monolog\Logger;
|
|
27 |
*/
|
28 |
class RedisPubSubHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHandler
|
29 |
{
|
30 |
-
/** @var \Predis\Client
|
31 |
private $redisClient;
|
32 |
/** @var string */
|
33 |
private $channelKey;
|
34 |
/**
|
35 |
-
* @param \Predis\Client
|
36 |
* @param string $key The channel key to publish records to
|
37 |
*/
|
38 |
public function __construct($redis, string $key, $level = \GFPDF_Vendor\Monolog\Logger::DEBUG, bool $bubble = \true)
|
27 |
*/
|
28 |
class RedisPubSubHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHandler
|
29 |
{
|
30 |
+
/** @var \Predis\Client<\Predis\Client>|\Redis */
|
31 |
private $redisClient;
|
32 |
/** @var string */
|
33 |
private $channelKey;
|
34 |
/**
|
35 |
+
* @param \Predis\Client<\Predis\Client>|\Redis $redis The redis instance
|
36 |
* @param string $key The channel key to publish records to
|
37 |
*/
|
38 |
public function __construct($redis, string $key, $level = \GFPDF_Vendor\Monolog\Logger::DEBUG, bool $bubble = \true)
|
vendor_prefixed/monolog/src/Monolog/Handler/StreamHandler.php
CHANGED
@@ -188,7 +188,7 @@ class StreamHandler extends \GFPDF_Vendor\Monolog\Handler\AbstractProcessingHand
|
|
188 |
\set_error_handler([$this, 'customErrorHandler']);
|
189 |
$status = \mkdir($dir, 0777, \true);
|
190 |
\restore_error_handler();
|
191 |
-
if (\false === $status && !\is_dir($dir)) {
|
192 |
throw new \UnexpectedValueException(\sprintf('There is no existing directory at "%s" and it could not be created: ' . $this->errorMessage, $dir));
|
193 |
}
|
194 |
}
|
188 |
\set_error_handler([$this, 'customErrorHandler']);
|
189 |
$status = \mkdir($dir, 0777, \true);
|
190 |
\restore_error_handler();
|
191 |
+
if (\false === $status && !\is_dir($dir) && \strpos((string) $this->errorMessage, 'File exists') === \false) {
|
192 |
throw new \UnexpectedValueException(\sprintf('There is no existing directory at "%s" and it could not be created: ' . $this->errorMessage, $dir));
|
193 |
}
|
194 |
}
|
vendor_prefixed/monolog/src/Monolog/Logger.php
CHANGED
@@ -91,6 +91,12 @@ class Logger implements \Psr\Log\LoggerInterface, \GFPDF_Vendor\Monolog\Resettab
|
|
91 |
* @phpstan-var array<Level, LevelName> $levels Logging levels with the levels as key
|
92 |
*/
|
93 |
protected static $levels = [self::DEBUG => 'DEBUG', self::INFO => 'INFO', self::NOTICE => 'NOTICE', self::WARNING => 'WARNING', self::ERROR => 'ERROR', self::CRITICAL => 'CRITICAL', self::ALERT => 'ALERT', self::EMERGENCY => 'EMERGENCY'];
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
/**
|
95 |
* @var string
|
96 |
*/
|
@@ -253,7 +259,7 @@ class Logger implements \Psr\Log\LoggerInterface, \GFPDF_Vendor\Monolog\Resettab
|
|
253 |
/**
|
254 |
* Adds a log record.
|
255 |
*
|
256 |
-
* @param int $level The logging level
|
257 |
* @param string $message The log message
|
258 |
* @param mixed[] $context The log context
|
259 |
* @param DateTimeImmutable $datetime Optional log date to log into the past or future
|
@@ -263,6 +269,9 @@ class Logger implements \Psr\Log\LoggerInterface, \GFPDF_Vendor\Monolog\Resettab
|
|
263 |
*/
|
264 |
public function addRecord(int $level, string $message, array $context = [], \GFPDF_Vendor\Monolog\DateTimeImmutable $datetime = null) : bool
|
265 |
{
|
|
|
|
|
|
|
266 |
if ($this->detectCycles) {
|
267 |
$this->logDepth += 1;
|
268 |
}
|
@@ -436,7 +445,7 @@ class Logger implements \Psr\Log\LoggerInterface, \GFPDF_Vendor\Monolog\Resettab
|
|
436 |
*
|
437 |
* This method allows for compatibility with common interfaces.
|
438 |
*
|
439 |
-
* @param mixed $level The log level
|
440 |
* @param string|Stringable $message The log message
|
441 |
* @param mixed[] $context The log context
|
442 |
*
|
@@ -447,6 +456,9 @@ class Logger implements \Psr\Log\LoggerInterface, \GFPDF_Vendor\Monolog\Resettab
|
|
447 |
if (!\is_int($level) && !\is_string($level)) {
|
448 |
throw new \InvalidArgumentException('$level is expected to be a string or int');
|
449 |
}
|
|
|
|
|
|
|
450 |
$level = static::toMonologLevel($level);
|
451 |
$this->addRecord($level, (string) $message, $context);
|
452 |
}
|
91 |
* @phpstan-var array<Level, LevelName> $levels Logging levels with the levels as key
|
92 |
*/
|
93 |
protected static $levels = [self::DEBUG => 'DEBUG', self::INFO => 'INFO', self::NOTICE => 'NOTICE', self::WARNING => 'WARNING', self::ERROR => 'ERROR', self::CRITICAL => 'CRITICAL', self::ALERT => 'ALERT', self::EMERGENCY => 'EMERGENCY'];
|
94 |
+
/**
|
95 |
+
* Mapping between levels numbers defined in RFC 5424 and Monolog ones
|
96 |
+
*
|
97 |
+
* @phpstan-var array<int, Level> $rfc_5424_levels
|
98 |
+
*/
|
99 |
+
private const RFC_5424_LEVELS = [7 => self::DEBUG, 6 => self::INFO, 5 => self::NOTICE, 4 => self::WARNING, 3 => self::ERROR, 2 => self::CRITICAL, 1 => self::ALERT, 0 => self::EMERGENCY];
|
100 |
/**
|
101 |
* @var string
|
102 |
*/
|
259 |
/**
|
260 |
* Adds a log record.
|
261 |
*
|
262 |
+
* @param int $level The logging level (a Monolog or RFC 5424 level)
|
263 |
* @param string $message The log message
|
264 |
* @param mixed[] $context The log context
|
265 |
* @param DateTimeImmutable $datetime Optional log date to log into the past or future
|
269 |
*/
|
270 |
public function addRecord(int $level, string $message, array $context = [], \GFPDF_Vendor\Monolog\DateTimeImmutable $datetime = null) : bool
|
271 |
{
|
272 |
+
if (isset(self::RFC_5424_LEVELS[$level])) {
|
273 |
+
$level = self::RFC_5424_LEVELS[$level];
|
274 |
+
}
|
275 |
if ($this->detectCycles) {
|
276 |
$this->logDepth += 1;
|
277 |
}
|
445 |
*
|
446 |
* This method allows for compatibility with common interfaces.
|
447 |
*
|
448 |
+
* @param mixed $level The log level (a Monolog, PSR-3 or RFC 5424 level)
|
449 |
* @param string|Stringable $message The log message
|
450 |
* @param mixed[] $context The log context
|
451 |
*
|
456 |
if (!\is_int($level) && !\is_string($level)) {
|
457 |
throw new \InvalidArgumentException('$level is expected to be a string or int');
|
458 |
}
|
459 |
+
if (isset(self::RFC_5424_LEVELS[$level])) {
|
460 |
+
$level = self::RFC_5424_LEVELS[$level];
|
461 |
+
}
|
462 |
$level = static::toMonologLevel($level);
|
463 |
$this->addRecord($level, (string) $message, $context);
|
464 |
}
|
vendor_prefixed/monolog/src/Monolog/Utils.php
CHANGED
@@ -180,7 +180,7 @@ final class Utils
|
|
180 |
{
|
181 |
if (\is_string($data) && !\preg_match('//u', $data)) {
|
182 |
$data = \preg_replace_callback('/[\\x80-\\xFF]+/', function ($m) {
|
183 |
-
return \utf8_encode($m[0]);
|
184 |
}, $data);
|
185 |
if (!\is_string($data)) {
|
186 |
$pcreErrorCode = \preg_last_error();
|
180 |
{
|
181 |
if (\is_string($data) && !\preg_match('//u', $data)) {
|
182 |
$data = \preg_replace_callback('/[\\x80-\\xFF]+/', function ($m) {
|
183 |
+
return \function_exists('mb_convert_encoding') ? \mb_convert_encoding($m[0], 'UTF-8', 'ISO-8859-1') : \utf8_encode($m[0]);
|
184 |
}, $data);
|
185 |
if (!\is_string($data)) {
|
186 |
$pcreErrorCode = \preg_last_error();
|