-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbundle.js
More file actions
1 lines (1 loc) · 46.1 KB
/
bundle.js
File metadata and controls
1 lines (1 loc) · 46.1 KB
1
!function t(e,r,n){function o(a,s){if(!r[a]){if(!e[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(i)return i(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var l=r[a]={exports:{}};e[a][0].call(l.exports,(function(t){return o(e[a][1][t]||t)}),l,l.exports,t,e,r,n)}return r[a].exports}for(var i="function"==typeof require&&require,a=0;a<n.length;a++)o(n[a]);return o}({1:[function(t,e,r){!function(){if(!document.getElementById("rhna-data-app"))return;const e=new(t("airtable"))({apiKey:"keyY6U9sItI9v3HG1"}).base("appRD2z3VXs78iq80"),r={};Vue.component("field",{props:["title","value"],template:'<div>\n {{ title }}:\n <slot v-if="value">{{ value }}</slot>\n <a href="https://airtable.com/shr9fipLLj1WTHKu7" target="_blank" v-else>Missing data, volunteer to help!</a>\n </div>'});const n={city:null,modalVisible:!1,modalData:null,chartRendered:!1};new Vue({el:"#rhna-data-app",data:n,computed:{progressColor:function(){return this.city.progress<50?"red":this.city.progress<90?"orange":"green"}},updated:function(){this.city&&(this.chartRendered||(!function(t){const e=document.getElementById("rhna-charts");e.innerHTML="";const r=document.createElement("canvas");r.height=200,r.width=400,e.appendChild(r);const n=r.getContext("2d");new Chart(n,{type:"pie",data:{labels:["Very Low Income","Low Income","Moderate Income","Above Moderate Income"],datasets:[{label:"6th Cycle RHNA",backgroundColor:["#1e697a","#7a0027","#db6400","#f8a62b"],data:[t.vli,t.li,t.mi,t.ami]}]},options:{legend:{display:!0},title:{display:!0,fontSize:16,fontColor:"#000",text:"6th Cycle RHNA Allocation: By Income"}}})}(this.city),this.chartRendered=!0),this.city.calendarIds&&Promise.all(this.city.calendarIds.map((t=>e("Calendar").find(t)))).then((t=>{this.city.calendars=t.map(s),delete this.city.calendarIds})))},methods:{openModal(t){this.modalData=t,this.modalVisible=!0},closeModal(){this.modalVisible=!1}},filters:{truncate:function(t){return t?(t=t.toString()).length>200?t.slice(0,197)+"...":t:""}}});function o(t){n.city=r[t],n.chartRendered=!1,document.getElementById("rhna-data-app").style.display="block",window.location.hash=t}function i(t){const e=document.getElementById("rhna-selector");let r=[];for(id in t)t[id].jurisdiction&&r.push([t[id].jurisdiction,id]);for([jurisdiction,id]of(r.sort(),r)){const t=document.createElement("option");t.innerText=jurisdiction,t.value=id,e.appendChild(t)}}function a(t){const e={ami:"AMI",council:"COG_display",countVolunteers:"# Volunteers",county:"County_display",density:"Density",dueDate:"Due Date",fifthElementDraftUrl:"5th Cycle Housing Element",HEWebpageUrl:"City HE Webpage",HESurveyUrl:"Housing Survey",HEStatus:"HE Compliance",jurisdiction:"Jurisdiction",li:"LI",mi:"MI",medianIncome:"Median Income",population:"Population (2020)",progress:"5th Cycle Progress %",rhna5:"5th Cycle RHNA (Total)",rhna6:"6th Cycle RHNA",sixthElementDraftUrl:"6th Cycle Draft",vli:"VLI",report:"MtgReport_display"};for(key in e){let r=t.fields[e[key]];Array.isArray(r)&&1==r.length&&(r=r[0]),e[key]=r}if(e.dueDate){const t=new Date,r=864e5;e.dueDate=new Date(e.dueDate),e.dueDaysLeft=Math.floor((e.dueDate.getTime()-t.getTime())/r)}switch(e.progress){case"":case"NaN":case"0":case"0%":case"0.0%":case void 0:e.progress=null;break;default:e.progress=Math.round(100*parseFloat(e.progress))}return e.calendarIds=t.fields.Calendar,e.calendars=[],e.id=t.id,e}function s(t){const e={date:"Date & Time",description:"Short Description",link:"Website"};for(key in e){let r=t.fields[e[key]];Array.isArray(r)&&1==r.length&&(r=r[0]),e[key]=r}return e.date=new Date(e.date),e.id=t.id,e}function u(){return new Promise(((t,n)=>{e("HCD Cities").select({view:"City Data"}).eachPage((function(t,e){t.forEach((t=>r[t.id]=a(t))),e()}),(function(e){e?(console.error(e),n(e)):t()}))}))}document.addEventListener("DOMContentLoaded",(()=>{if(document.getElementById("rhna-selector").addEventListener("change",(t=>{o(t.target.value)})),window.location.hash.length>1){const t=decodeURI(document.location.hash.substring(1));e("HCD Cities").find(t).then((e=>{r[e.id]=a(e),o(t),u().then((()=>{i(r),document.getElementById("rhna-selector").value=t}))}))}else u().then((()=>{i(r)}))}))}()},{airtable:5}],2:[function(t,e,r){document.addEventListener("DOMContentLoaded",(function(){if(!document.getElementsByClassName("list__table"))return;const e=new(t("airtable"))({apiKey:"keyY6U9sItI9v3HG1"}).base("appRD2z3VXs78iq80");function r(t){return new Promise(((r,n)=>{e("Volunteers").select({view:"Individual Leaderboard",maxRecords:5,sort:[{field:t,direction:"desc"}]}).firstPage((function(e,o){e?(console.error(e),n(e)):r(o.map((e=>({name:e.fields["Full Name"],location:e.fields.Hometown,score:e.fields[t]}))))}))}))}(function(){const t={total:"Total score",calendar:"# Calendar Entries",homework:"# Homework Entries",meeting:"# Meeting Reports"},e=[];for(const n in t)e.push(r(t[n]));return Promise.all(e).then((e=>{const r={};let n=0;for(const o in t)r[o]=e[n],n++;return r}))})().then((t=>{for(const e of document.getElementsByClassName("list__table"))new Vue({el:e,data:t})}))}))},{airtable:5}],3:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function i(t,e,r){return e&&o(t.prototype,e),r&&o(t,r),t}function a(t){return a=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},a(t)}function s(t,e){return s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},s(t,e)}function u(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=a(t);if(e){var o=a(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return function(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?u(t):e}(this,r)}}function l(t,e,r){return l="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=a(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}},l(t,e,r||t)}Object.defineProperty(r,"__esModule",{value:!0});var f=function(){function t(){n(this,t),Object.defineProperty(this,"listeners",{value:{},writable:!0,configurable:!0})}return i(t,[{key:"addEventListener",value:function(t,e,r){t in this.listeners||(this.listeners[t]=[]),this.listeners[t].push({callback:e,options:r})}},{key:"removeEventListener",value:function(t,e){if(t in this.listeners)for(var r=this.listeners[t],n=0,o=r.length;n<o;n++)if(r[n].callback===e)return void r.splice(n,1)}},{key:"dispatchEvent",value:function(t){if(t.type in this.listeners){for(var e=this.listeners[t.type].slice(),r=0,n=e.length;r<n;r++){var o=e[r];try{o.callback.call(this,t)}catch(t){Promise.resolve().then((function(){throw t}))}o.options&&o.options.once&&this.removeEventListener(t.type,o.callback)}return!t.defaultPrevented}}}]),t}(),d=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)}(r,t);var e=c(r);function r(){var t;return n(this,r),(t=e.call(this)).listeners||f.call(u(t)),Object.defineProperty(u(t),"aborted",{value:!1,writable:!0,configurable:!0}),Object.defineProperty(u(t),"onabort",{value:null,writable:!0,configurable:!0}),t}return i(r,[{key:"toString",value:function(){return"[object AbortSignal]"}},{key:"dispatchEvent",value:function(t){"abort"===t.type&&(this.aborted=!0,"function"==typeof this.onabort&&this.onabort.call(this,t)),l(a(r.prototype),"dispatchEvent",this).call(this,t)}}]),r}(f),p=function(){function t(){n(this,t),Object.defineProperty(this,"signal",{value:new d,writable:!0,configurable:!0})}return i(t,[{key:"abort",value:function(){var t;try{t=new Event("abort")}catch(e){"undefined"!=typeof document?document.createEvent?(t=document.createEvent("Event")).initEvent("abort",!1,!1):(t=document.createEventObject()).type="abort":t={type:"abort",bubbles:!1,cancelable:!1}}this.signal.dispatchEvent(t)}},{key:"toString",value:function(){return"[object AbortController]"}}]),t}();"undefined"!=typeof Symbol&&Symbol.toStringTag&&(p.prototype[Symbol.toStringTag]="AbortController",d.prototype[Symbol.toStringTag]="AbortSignal"),r.AbortController=p,r.AbortSignal=d,r.abortableFetch=function(t){"function"==typeof t&&(t={fetch:t});var e=t,r=e.fetch,n=e.Request,o=void 0===n?r.Request:n,i=e.AbortController,a=e.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL,s=void 0!==a&&a;if(!function(t){return t.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL?(console.log("__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL=true is set, will force install polyfill"),!0):"function"==typeof t.Request&&!t.Request.prototype.hasOwnProperty("signal")||!t.AbortController}({fetch:r,Request:o,AbortController:i,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:s}))return{fetch:r,Request:u};var u=o;(u&&!u.prototype.hasOwnProperty("signal")||s)&&((u=function(t,e){var r;e&&e.signal&&(r=e.signal,delete e.signal);var n=new o(t,e);return r&&Object.defineProperty(n,"signal",{writable:!1,enumerable:!1,configurable:!0,value:r}),n}).prototype=o.prototype);var c=r;return{fetch:function(t,e){var r=u&&u.prototype.isPrototypeOf(t)?t.signal:e?e.signal:void 0;if(r){var n;try{n=new DOMException("Aborted","AbortError")}catch(t){(n=new Error("Aborted")).name="AbortError"}if(r.aborted)return Promise.reject(n);var o=new Promise((function(t,e){r.addEventListener("abort",(function(){return e(n)}),{once:!0})}));return e&&e.signal&&delete e.signal,Promise.race([o,c(t,e)])}return c(t,e)},Request:u}}},{}],4:[function(t,e,r){"use strict";var n;if("undefined"==typeof window)n=t("abort-controller");else if("signal"in new Request(""))n=window.AbortController;else{n=t("abortcontroller-polyfill/dist/cjs-ponyfill").AbortController}e.exports=n},{"abort-controller":23,"abortcontroller-polyfill/dist/cjs-ponyfill":3}],5:[function(t,e,r){(function(r){(function(){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}},o=n(t("./base")),i=n(t("./record")),a=n(t("./table")),s=n(t("./airtable_error")),u=function(){function t(e){void 0===e&&(e={});var r=t.default_config(),n=e.apiVersion||t.apiVersion||r.apiVersion;if(Object.defineProperties(this,{_apiKey:{value:e.apiKey||t.apiKey||r.apiKey},_apiVersion:{value:n},_apiVersionMajor:{value:n.split(".")[0]},_customHeaders:{value:e.customHeaders||{}},_endpointUrl:{value:e.endpointUrl||t.endpointUrl||r.endpointUrl},_noRetryIfRateLimited:{value:e.noRetryIfRateLimited||t.noRetryIfRateLimited||r.noRetryIfRateLimited},_requestTimeout:{value:e.requestTimeout||t.requestTimeout||r.requestTimeout}}),!this._apiKey)throw new Error("An API key is required to connect to Airtable")}return t.prototype.base=function(t){return o.default.createFunctor(this,t)},t.default_config=function(){return{endpointUrl:r.env.AIRTABLE_ENDPOINT_URL||"https://api.airtable.com",apiVersion:"0.1.0",apiKey:r.env.AIRTABLE_API_KEY,noRetryIfRateLimited:!1,requestTimeout:3e5}},t.configure=function(e){var r=e.apiKey,n=e.endpointUrl,o=e.apiVersion,i=e.noRetryIfRateLimited,a=e.requestTimeout;t.apiKey=r,t.endpointUrl=n,t.apiVersion=o,t.noRetryIfRateLimited=i,t.requestTimeout=a},t.base=function(e){return(new t).base(e)},t.Base=o.default,t.Record=i.default,t.Table=a.default,t.Error=s.default,t}();e.exports=u}).call(this)}).call(this,t("_process"))},{"./airtable_error":6,"./base":7,"./record":19,"./table":21,_process:99}],6:[function(t,e,r){"use strict";var n=function(){function t(t,e,r){this.error=t,this.message=e,this.statusCode=r}return t.prototype.toString=function(){return[this.message,"(",this.error,")",this.statusCode?"[Http code "+this.statusCode+"]":""].join("")},t}();e.exports=n},{}],7:[function(t,e,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},n.apply(this,arguments)},o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}},i=o(t("lodash/get")),a=o(t("lodash/isPlainObject")),s=o(t("lodash/keys")),u=o(t("./fetch")),c=o(t("./abort-controller")),l=o(t("./object_to_query_param_string")),f=o(t("./airtable_error")),d=o(t("./table")),p=o(t("./http_headers")),h=o(t("./run_action")),_=o(t("./package_version")),y=o(t("./exponential_backoff_with_jitter")),b="Airtable.js/"+_.default,v=function(){function t(t,e){this._airtable=t,this._id=e}return t.prototype.table=function(t){return new d.default(this,null,t)},t.prototype.makeRequest=function(t){var e,r=this;void 0===t&&(t={});var o=i.default(t,"method","GET").toUpperCase(),a=this._airtable._endpointUrl+"/v"+this._airtable._apiVersionMajor+"/"+this._id+i.default(t,"path","/")+"?"+l.default(i.default(t,"qs",{})),s=new c.default,d={method:o,headers:this._getRequestHeaders(Object.assign({},this._airtable._customHeaders,null!==(e=t.headers)&&void 0!==e?e:{})),signal:s.signal};"body"in t&&function(t){return"GET"!==t&&"DELETE"!==t}(o)&&(d.body=JSON.stringify(t.body));var p=setTimeout((function(){s.abort()}),this._airtable._requestTimeout);return new Promise((function(e,o){u.default(a,d).then((function(a){if(clearTimeout(p),429!==a.status||r._airtable._noRetryIfRateLimited)a.json().then((function(t){var n=r._checkStatusForError(a.status,t)||g(a.status,t);n?o(n):e({statusCode:a.status,headers:a.headers,body:t})})).catch((function(){var t=g(a.status);o(t)}));else{var s=i.default(t,"_numAttempts",0),u=y.default(s);setTimeout((function(){var i=n(n({},t),{_numAttempts:s+1});r.makeRequest(i).then(e).catch(o)}),u)}})).catch((function(t){clearTimeout(p),t=new f.default("CONNECTION_ERROR",t.message,null),o(t)}))}))},t.prototype.runAction=function(t,e,r,n,o){h.default(this,t,e,r,n,o,0)},t.prototype._getRequestHeaders=function(t){var e=new p.default;e.set("Authorization","Bearer "+this._airtable._apiKey),e.set("User-Agent",b),e.set("Content-Type","application/json");for(var r=0,n=s.default(t);r<n.length;r++){var o=n[r];e.set(o,t[o])}return e.toJSON()},t.prototype._checkStatusForError=function(t,e){var r=(null!=e?e:{error:{}}).error,n=void 0===r?{}:r,o=n.type,i=n.message;return 401===t?new f.default("AUTHENTICATION_REQUIRED","You should provide valid api key to perform this operation",t):403===t?new f.default("NOT_AUTHORIZED","You are not authorized to perform this operation",t):404===t?new f.default("NOT_FOUND",null!=i?i:"Could not find what you are looking for",t):413===t?new f.default("REQUEST_TOO_LARGE","Request body is too large",t):422===t?new f.default(null!=o?o:"UNPROCESSABLE_ENTITY",null!=i?i:"The operation cannot be processed",t):429===t?new f.default("TOO_MANY_REQUESTS","You have made too many requests in a short period of time. Please retry your request later",t):500===t?new f.default("SERVER_ERROR","Try again. If the problem persists, contact support.",t):503===t?new f.default("SERVICE_UNAVAILABLE","The service is temporarily unavailable. Please retry shortly.",t):t>=400?new f.default(null!=o?o:"UNEXPECTED_ERROR",null!=i?i:"An unexpected error occurred",t):null},t.prototype.doCall=function(t){return this.table(t)},t.prototype.getId=function(){return this._id},t.createFunctor=function(e,r){var n=new t(e,r),o=function(t){return n.doCall(t)};return o._base=n,o.table=n.table.bind(n),o.makeRequest=n.makeRequest.bind(n),o.runAction=n.runAction.bind(n),o.getId=n.getId.bind(n),o},t}();function g(t,e){return a.default(e)?null:new f.default("UNEXPECTED_ERROR","The response from Airtable was invalid JSON. Please try again soon.",t)}e.exports=v},{"./abort-controller":4,"./airtable_error":6,"./exponential_backoff_with_jitter":10,"./fetch":11,"./http_headers":13,"./object_to_query_param_string":15,"./package_version":16,"./run_action":20,"./table":21,"lodash/get":80,"lodash/isPlainObject":91,"lodash/keys":95}],8:[function(t,e,r){"use strict";e.exports=function(t,e,r){return void 0===r&&(r=void 0),function(){for(var n,o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];if("function"!=typeof o[n=void 0===r?o.length>0?o.length-1:0:r]){for(var a=[],s=Math.max(o.length,n),u=0;u<s;u++)a.push(o[u]);return new Promise((function(r,n){a.push((function(t,e){t?n(t):r(e)})),t.apply(e,a)}))}t.apply(e,o)}}},{}],9:[function(t,e,r){"use strict";var n={};e.exports=function(t,e,r){return function(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];n[e]||(n[e]=!0,console.warn(r)),t.apply(this,o)}}},{}],10:[function(t,e,r){"use strict";var n=(this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}})(t("./internal_config.json"));e.exports=function(t){var e=n.default.INITIAL_RETRY_DELAY_IF_RATE_LIMITED*Math.pow(2,t),r=Math.min(n.default.MAX_RETRY_DELAY_IF_RATE_LIMITED,e);return Math.random()*r}},{"./internal_config.json":14}],11:[function(t,e,r){"use strict";var n=(this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}})(t("node-fetch"));e.exports="undefined"==typeof window?n.default:window.fetch.bind(window)},{"node-fetch":23}],12:[function(t,e,r){"use strict";e.exports=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}},{}],13:[function(t,e,r){"use strict";var n=(this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}})(t("lodash/keys")),o="undefined"!=typeof window,i=function(){function t(){this._headersByLowercasedKey={}}return t.prototype.set=function(t,e){var r=t.toLowerCase();"x-airtable-user-agent"===r&&(r="user-agent",t="User-Agent"),this._headersByLowercasedKey[r]={headerKey:t,headerValue:e}},t.prototype.toJSON=function(){for(var t={},e=0,r=n.default(this._headersByLowercasedKey);e<r.length;e++){var i=r[e],a=this._headersByLowercasedKey[i];t[o&&"user-agent"===i?"X-Airtable-User-Agent":a.headerKey]=a.headerValue}return t},t}();e.exports=i},{"lodash/keys":95}],14:[function(t,e,r){e.exports={INITIAL_RETRY_DELAY_IF_RATE_LIMITED:5e3,MAX_RETRY_DELAY_IF_RATE_LIMITED:6e5}},{}],15:[function(t,e,r){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}},o=n(t("lodash/isArray")),i=n(t("lodash/isNil")),a=n(t("lodash/keys"));function s(t,e,r){if(o.default(e))for(var n=0;n<e.length;n++){var i=e[n];/\[\]$/.test(t)?r(t,i):s(t+"["+("object"==typeof i&&null!==i?n:"")+"]",i,r)}else if("object"==typeof e)for(var u=0,c=a.default(e);u<c.length;u++){var l=c[u];s(t+"["+l+"]",i=e[l],r)}else r(t,e)}e.exports=function(t){for(var e=[],r=function(t,r){r=i.default(r)?"":r,e.push(encodeURIComponent(t)+"="+encodeURIComponent(r))},n=0,o=a.default(t);n<o.length;n++){var u=o[n];s(u,t[u],r)}return e.join("&").replace(/%20/g,"+")}},{"lodash/isArray":82,"lodash/isNil":87,"lodash/keys":95}],16:[function(t,e,r){(function(t){(function(){"use strict";e.exports=t.env.npm_package_version}).call(this)}).call(this,t("_process"))},{_process:99}],17:[function(t,e,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},n.apply(this,arguments)},o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}},i=o(t("lodash/isFunction")),a=o(t("lodash/keys")),s=o(t("./record")),u=o(t("./callback_to_promise")),c=o(t("./has")),l=t("./query_params"),f=function(){function t(t,e){this._table=t,this._params=e,this.firstPage=u.default(d,this),this.eachPage=u.default(p,this,1),this.all=u.default(h,this)}return t.validateParams=function(e){for(var r={},n=[],o=[],i=0,s=a.default(e);i<s.length;i++){var u=s[i],l=e[u];if(c.default(t.paramValidators,u)){var f=(0,t.paramValidators[u])(l);f.pass?r[u]=l:o.push(f.error)}else n.push(u)}return{validParams:r,ignoredKeys:n,errors:o}},t.paramValidators=l.paramValidators,t}();function d(t){if(!i.default(t))throw new Error("The first parameter to `firstPage` must be a function");this.eachPage((function(e){t(null,e)}),(function(e){t(e,null)}))}function p(t,e){var r=this;if(!i.default(t))throw new Error("The first parameter to `eachPage` must be a function");if(!i.default(e)&&void 0!==e)throw new Error("The second parameter to `eachPage` must be a function or undefined");var o="/"+this._table._urlEncodedNameOrId(),a=n({},this._params),u=function(){r._table._base.runAction("get",o,a,null,(function(n,o,i){if(n)e(n,null);else{var c=void 0;i.offset?(a.offset=i.offset,c=u):c=function(){e(null)};var l=i.records.map((function(t){return new s.default(r._table,null,t)}));t(l,c)}}))};u()}function h(t){if(!i.default(t))throw new Error("The first parameter to `all` must be a function");var e=[];this.eachPage((function(t,r){e.push.apply(e,t),r()}),(function(r){r?t(r,null):t(null,e)}))}e.exports=f},{"./callback_to_promise":8,"./has":12,"./query_params":18,"./record":19,"lodash/isFunction":85,"lodash/keys":95}],18:[function(t,e,r){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:!0}),r.paramValidators=void 0;var o=n(t("./typecheck")),i=n(t("lodash/isString")),a=n(t("lodash/isNumber")),s=n(t("lodash/isPlainObject"));r.paramValidators={fields:o.default(o.default.isArrayOf(i.default),"the value for `fields` should be an array of strings"),filterByFormula:o.default(i.default,"the value for `filterByFormula` should be a string"),maxRecords:o.default(a.default,"the value for `maxRecords` should be a number"),pageSize:o.default(a.default,"the value for `pageSize` should be a number"),offset:o.default(a.default,"the value for `offset` should be a number"),sort:o.default(o.default.isArrayOf((function(t){return s.default(t)&&i.default(t.field)&&(void 0===t.direction||["asc","desc"].includes(t.direction))})),'the value for `sort` should be an array of sort objects. Each sort object must have a string `field` value, and an optional `direction` value that is "asc" or "desc".'),view:o.default(i.default,"the value for `view` should be a string"),cellFormat:o.default((function(t){return i.default(t)&&["json","string"].includes(t)}),'the value for `cellFormat` should be "json" or "string"'),timeZone:o.default(i.default,"the value for `timeZone` should be a string"),userLocale:o.default(i.default,"the value for `userLocale` should be a string")}},{"./typecheck":22,"lodash/isNumber":88,"lodash/isPlainObject":91,"lodash/isString":92}],19:[function(t,e,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},n.apply(this,arguments)},o=(this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}})(t("./callback_to_promise")),i=function(){function t(t,e,r){this._table=t,this.id=e||r.id,this.setRawJson(r),this.save=o.default(a,this),this.patchUpdate=o.default(s,this),this.putUpdate=o.default(u,this),this.destroy=o.default(c,this),this.fetch=o.default(l,this),this.updateFields=this.patchUpdate,this.replaceFields=this.putUpdate}return t.prototype.getId=function(){return this.id},t.prototype.get=function(t){return this.fields[t]},t.prototype.set=function(t,e){this.fields[t]=e},t.prototype.setRawJson=function(t){this._rawJson=t,this.fields=this._rawJson&&this._rawJson.fields||{}},t}();function a(t){this.putUpdate(this.fields,t)}function s(t,e,r){var o=this;r||(r=e,e={});var i=n({fields:t},e);this._table._base.runAction("patch","/"+this._table._urlEncodedNameOrId()+"/"+this.id,{},i,(function(t,e,n){t?r(t):(o.setRawJson(n),r(null,o))}))}function u(t,e,r){var o=this;r||(r=e,e={});var i=n({fields:t},e);this._table._base.runAction("put","/"+this._table._urlEncodedNameOrId()+"/"+this.id,{},i,(function(t,e,n){t?r(t):(o.setRawJson(n),r(null,o))}))}function c(t){var e=this;this._table._base.runAction("delete","/"+this._table._urlEncodedNameOrId()+"/"+this.id,{},null,(function(r){r?t(r):t(null,e)}))}function l(t){var e=this;this._table._base.runAction("get","/"+this._table._urlEncodedNameOrId()+"/"+this.id,{},null,(function(r,n,o){r?t(r):(e.setRawJson(o),t(null,e))}))}e.exports=i},{"./callback_to_promise":8}],20:[function(t,e,r){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}},o=n(t("./exponential_backoff_with_jitter")),i=n(t("./object_to_query_param_string")),a=n(t("./package_version")),s=n(t("./fetch")),u=n(t("./abort-controller")),c="Airtable.js/"+a.default;e.exports=function t(e,r,n,a,l,f,d){var p=e._airtable._endpointUrl+"/v"+e._airtable._apiVersionMajor+"/"+e._id+n+"?"+i.default(a),h={authorization:"Bearer "+e._airtable._apiKey,"x-api-version":e._airtable._apiVersion,"x-airtable-application-id":e.getId(),"content-type":"application/json"};"undefined"!=typeof window?h["x-airtable-user-agent"]=c:h["User-Agent"]=c;var _=new u.default,y=r.toUpperCase(),b={method:y,headers:h,signal:_.signal};null!==l&&("GET"===y||"HEAD"===y?console.warn("body argument to runAction are ignored with GET or HEAD requests"):b.body=JSON.stringify(l));var v=setTimeout((function(){_.abort()}),e._airtable._requestTimeout);s.default(p,b).then((function(i){if(clearTimeout(v),429!==i.status||e._airtable._noRetryIfRateLimited)i.json().then((function(t){var r=e._checkStatusForError(i.status,t),n={};Object.keys(i).forEach((function(t){n[t]=i[t]})),n.body=t,n.statusCode=i.status,f(r,n,t)})).catch((function(){f(e._checkStatusForError(i.status))}));else{var s=o.default(d);setTimeout((function(){t(e,r,n,a,l,f,d+1)}),s)}})).catch((function(t){clearTimeout(v),f(t)}))}},{"./abort-controller":4,"./exponential_backoff_with_jitter":10,"./fetch":11,"./object_to_query_param_string":15,"./package_version":16}],21:[function(t,e,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},n.apply(this,arguments)},o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}},i=o(t("lodash/isPlainObject")),a=o(t("./deprecate")),s=o(t("./query")),u=o(t("./record")),c=o(t("./callback_to_promise")),l=function(){function t(t,e,r){if(!e&&!r)throw new Error("Table name or table ID is required");this._base=t,this.id=e,this.name=r,this.find=c.default(this._findRecordById,this),this.select=this._selectRecords.bind(this),this.create=c.default(this._createRecords,this),this.update=c.default(this._updateRecords.bind(this,!1),this),this.replace=c.default(this._updateRecords.bind(this,!0),this),this.destroy=c.default(this._destroyRecord,this),this.list=a.default(this._listRecords.bind(this),"table.list","Airtable: `list()` is deprecated. Use `select()` instead."),this.forEach=a.default(this._forEachRecord.bind(this),"table.forEach","Airtable: `forEach()` is deprecated. Use `select()` instead.")}return t.prototype._findRecordById=function(t,e){new u.default(this,t).fetch(e)},t.prototype._selectRecords=function(t){if(void 0===t&&(t={}),arguments.length>1&&console.warn("Airtable: `select` takes only one parameter, but it was given "+arguments.length+" parameters. Use `eachPage` or `firstPage` to fetch records."),i.default(t)){var e=s.default.validateParams(t);if(e.errors.length){var r=e.errors.map((function(t){return" * "+t}));throw new Error("Airtable: invalid parameters for `select`:\n"+r.join("\n"))}return e.ignoredKeys.length&&console.warn("Airtable: the following parameters to `select` will be ignored: "+e.ignoredKeys.join(", ")),new s.default(this,e.validParams)}throw new Error("Airtable: the parameter for `select` should be a plain object or undefined.")},t.prototype._urlEncodedNameOrId=function(){return this.id||encodeURIComponent(this.name)},t.prototype._createRecords=function(t,e,r){var o,i=this,a=Array.isArray(t);r||(r=e,e={}),o=n(a?{records:t}:{fields:t},e),this._base.runAction("post","/"+this._urlEncodedNameOrId()+"/",{},o,(function(t,e,n){var o;t?r(t):(o=a?n.records.map((function(t){return new u.default(i,t.id,t)})):new u.default(i,n.id,n),r(null,o))}))},t.prototype._updateRecords=function(t,e,r,o,a){var s,c=this;if(Array.isArray(e)){var l=e;s=i.default(r)?r:{},a=o||r;var f=t?"put":"patch",d=n({records:l},s);this._base.runAction(f,"/"+this._urlEncodedNameOrId()+"/",{},d,(function(t,e,r){if(t)a(t);else{var n=r.records.map((function(t){return new u.default(c,t.id,t)}));a(null,n)}}))}else{var p=e,h=r;s=i.default(o)?o:{},a=a||o;var _=new u.default(this,p);t?_.putUpdate(h,s,a):_.patchUpdate(h,s,a)}},t.prototype._destroyRecord=function(t,e){var r=this;if(Array.isArray(t)){var n={records:t};this._base.runAction("delete","/"+this._urlEncodedNameOrId(),n,null,(function(t,n,o){if(t)e(t);else{var i=o.records.map((function(t){var e=t.id;return new u.default(r,e,null)}));e(null,i)}}))}else{new u.default(this,t).destroy(e)}},t.prototype._listRecords=function(t,e,r,o){var i=this;o||(o=r,r={});var a=n({limit:t,offset:e},r);this._base.runAction("get","/"+this._urlEncodedNameOrId()+"/",a,null,(function(t,e,r){if(t)o(t);else{var n=r.records.map((function(t){return new u.default(i,null,t)}));o(null,n,r.offset)}}))},t.prototype._forEachRecord=function(e,r,n){var o=this;2===arguments.length&&(n=r,r=e,e={});var i=t.__recordsPerPageForIteration||100,a=null,s=function(){o._listRecords(i,a,e,(function(t,e,o){if(t)n(t);else{for(var i=0;i<e.length;i++)r(e[i]);o?(a=o,s()):n()}}))};s()},t}();e.exports=l},{"./callback_to_promise":8,"./deprecate":9,"./query":17,"./record":19,"lodash/isPlainObject":91}],22:[function(t,e,r){"use strict";function n(t,e){return function(r){return t(r)?{pass:!0}:{pass:!1,error:e}}}n.isOneOf=function(t){return t.includes.bind(t)},n.isArrayOf=function(t){return function(e){return Array.isArray(e)&&e.every(t)}},e.exports=n},{}],23:[function(t,e,r){},{}],24:[function(t,e,r){var n=t("./_hashClear"),o=t("./_hashDelete"),i=t("./_hashGet"),a=t("./_hashHas"),s=t("./_hashSet");function u(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=s,e.exports=u},{"./_hashClear":49,"./_hashDelete":50,"./_hashGet":51,"./_hashHas":52,"./_hashSet":53}],25:[function(t,e,r){var n=t("./_listCacheClear"),o=t("./_listCacheDelete"),i=t("./_listCacheGet"),a=t("./_listCacheHas"),s=t("./_listCacheSet");function u(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=s,e.exports=u},{"./_listCacheClear":59,"./_listCacheDelete":60,"./_listCacheGet":61,"./_listCacheHas":62,"./_listCacheSet":63}],26:[function(t,e,r){var n=t("./_getNative")(t("./_root"),"Map");e.exports=n},{"./_getNative":45,"./_root":75}],27:[function(t,e,r){var n=t("./_mapCacheClear"),o=t("./_mapCacheDelete"),i=t("./_mapCacheGet"),a=t("./_mapCacheHas"),s=t("./_mapCacheSet");function u(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=s,e.exports=u},{"./_mapCacheClear":64,"./_mapCacheDelete":65,"./_mapCacheGet":66,"./_mapCacheHas":67,"./_mapCacheSet":68}],28:[function(t,e,r){var n=t("./_root").Symbol;e.exports=n},{"./_root":75}],29:[function(t,e,r){var n=t("./_baseTimes"),o=t("./isArguments"),i=t("./isArray"),a=t("./isBuffer"),s=t("./_isIndex"),u=t("./isTypedArray"),c=Object.prototype.hasOwnProperty;e.exports=function(t,e){var r=i(t),l=!r&&o(t),f=!r&&!l&&a(t),d=!r&&!l&&!f&&u(t),p=r||l||f||d,h=p?n(t.length,String):[],_=h.length;for(var y in t)!e&&!c.call(t,y)||p&&("length"==y||f&&("offset"==y||"parent"==y)||d&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||s(y,_))||h.push(y);return h}},{"./_baseTimes":38,"./_isIndex":54,"./isArguments":81,"./isArray":82,"./isBuffer":84,"./isTypedArray":94}],30:[function(t,e,r){e.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o}},{}],31:[function(t,e,r){var n=t("./eq");e.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},{"./eq":79}],32:[function(t,e,r){var n=t("./_castPath"),o=t("./_toKey");e.exports=function(t,e){for(var r=0,i=(e=n(e,t)).length;null!=t&&r<i;)t=t[o(e[r++])];return r&&r==i?t:void 0}},{"./_castPath":41,"./_toKey":77}],33:[function(t,e,r){var n=t("./_Symbol"),o=t("./_getRawTag"),i=t("./_objectToString"),a="[object Null]",s="[object Undefined]",u=n?n.toStringTag:void 0;e.exports=function(t){return null==t?void 0===t?s:a:u&&u in Object(t)?o(t):i(t)}},{"./_Symbol":28,"./_getRawTag":47,"./_objectToString":73}],34:[function(t,e,r){var n=t("./_baseGetTag"),o=t("./isObjectLike"),i="[object Arguments]";e.exports=function(t){return o(t)&&n(t)==i}},{"./_baseGetTag":33,"./isObjectLike":90}],35:[function(t,e,r){var n=t("./isFunction"),o=t("./_isMasked"),i=t("./isObject"),a=t("./_toSource"),s=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,l=u.toString,f=c.hasOwnProperty,d=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(t){return!(!i(t)||o(t))&&(n(t)?d:s).test(a(t))}},{"./_isMasked":57,"./_toSource":78,"./isFunction":85,"./isObject":89}],36:[function(t,e,r){var n=t("./_baseGetTag"),o=t("./isLength"),i=t("./isObjectLike"),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(t){return i(t)&&o(t.length)&&!!a[n(t)]}},{"./_baseGetTag":33,"./isLength":86,"./isObjectLike":90}],37:[function(t,e,r){var n=t("./_isPrototype"),o=t("./_nativeKeys"),i=Object.prototype.hasOwnProperty;e.exports=function(t){if(!n(t))return o(t);var e=[];for(var r in Object(t))i.call(t,r)&&"constructor"!=r&&e.push(r);return e}},{"./_isPrototype":58,"./_nativeKeys":71}],38:[function(t,e,r){e.exports=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}},{}],39:[function(t,e,r){var n=t("./_Symbol"),o=t("./_arrayMap"),i=t("./isArray"),a=t("./isSymbol"),s=1/0,u=n?n.prototype:void 0,c=u?u.toString:void 0;e.exports=function t(e){if("string"==typeof e)return e;if(i(e))return o(e,t)+"";if(a(e))return c?c.call(e):"";var r=e+"";return"0"==r&&1/e==-s?"-0":r}},{"./_Symbol":28,"./_arrayMap":30,"./isArray":82,"./isSymbol":93}],40:[function(t,e,r){e.exports=function(t){return function(e){return t(e)}}},{}],41:[function(t,e,r){var n=t("./isArray"),o=t("./_isKey"),i=t("./_stringToPath"),a=t("./toString");e.exports=function(t,e){return n(t)?t:o(t,e)?[t]:i(a(t))}},{"./_isKey":55,"./_stringToPath":76,"./isArray":82,"./toString":98}],42:[function(t,e,r){var n=t("./_root")["__core-js_shared__"];e.exports=n},{"./_root":75}],43:[function(t,e,r){(function(t){(function(){var r="object"==typeof t&&t&&t.Object===Object&&t;e.exports=r}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],44:[function(t,e,r){var n=t("./_isKeyable");e.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},{"./_isKeyable":56}],45:[function(t,e,r){var n=t("./_baseIsNative"),o=t("./_getValue");e.exports=function(t,e){var r=o(t,e);return n(r)?r:void 0}},{"./_baseIsNative":35,"./_getValue":48}],46:[function(t,e,r){var n=t("./_overArg")(Object.getPrototypeOf,Object);e.exports=n},{"./_overArg":74}],47:[function(t,e,r){var n=t("./_Symbol"),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=n?n.toStringTag:void 0;e.exports=function(t){var e=i.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(t){}var o=a.call(t);return n&&(e?t[s]=r:delete t[s]),o}},{"./_Symbol":28}],48:[function(t,e,r){e.exports=function(t,e){return null==t?void 0:t[e]}},{}],49:[function(t,e,r){var n=t("./_nativeCreate");e.exports=function(){this.__data__=n?n(null):{},this.size=0}},{"./_nativeCreate":70}],50:[function(t,e,r){e.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},{}],51:[function(t,e,r){var n=t("./_nativeCreate"),o="__lodash_hash_undefined__",i=Object.prototype.hasOwnProperty;e.exports=function(t){var e=this.__data__;if(n){var r=e[t];return r===o?void 0:r}return i.call(e,t)?e[t]:void 0}},{"./_nativeCreate":70}],52:[function(t,e,r){var n=t("./_nativeCreate"),o=Object.prototype.hasOwnProperty;e.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:o.call(e,t)}},{"./_nativeCreate":70}],53:[function(t,e,r){var n=t("./_nativeCreate"),o="__lodash_hash_undefined__";e.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?o:e,this}},{"./_nativeCreate":70}],54:[function(t,e,r){var n=9007199254740991,o=/^(?:0|[1-9]\d*)$/;e.exports=function(t,e){var r=typeof t;return!!(e=null==e?n:e)&&("number"==r||"symbol"!=r&&o.test(t))&&t>-1&&t%1==0&&t<e}},{}],55:[function(t,e,r){var n=t("./isArray"),o=t("./isSymbol"),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(t,e){if(n(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!o(t))||(a.test(t)||!i.test(t)||null!=e&&t in Object(e))}},{"./isArray":82,"./isSymbol":93}],56:[function(t,e,r){e.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},{}],57:[function(t,e,r){var n,o=t("./_coreJsData"),i=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(t){return!!i&&i in t}},{"./_coreJsData":42}],58:[function(t,e,r){var n=Object.prototype;e.exports=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},{}],59:[function(t,e,r){e.exports=function(){this.__data__=[],this.size=0}},{}],60:[function(t,e,r){var n=t("./_assocIndexOf"),o=Array.prototype.splice;e.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)}},{"./_assocIndexOf":31}],61:[function(t,e,r){var n=t("./_assocIndexOf");e.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},{"./_assocIndexOf":31}],62:[function(t,e,r){var n=t("./_assocIndexOf");e.exports=function(t){return n(this.__data__,t)>-1}},{"./_assocIndexOf":31}],63:[function(t,e,r){var n=t("./_assocIndexOf");e.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},{"./_assocIndexOf":31}],64:[function(t,e,r){var n=t("./_Hash"),o=t("./_ListCache"),i=t("./_Map");e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},{"./_Hash":24,"./_ListCache":25,"./_Map":26}],65:[function(t,e,r){var n=t("./_getMapData");e.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},{"./_getMapData":44}],66:[function(t,e,r){var n=t("./_getMapData");e.exports=function(t){return n(this,t).get(t)}},{"./_getMapData":44}],67:[function(t,e,r){var n=t("./_getMapData");e.exports=function(t){return n(this,t).has(t)}},{"./_getMapData":44}],68:[function(t,e,r){var n=t("./_getMapData");e.exports=function(t,e){var r=n(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}},{"./_getMapData":44}],69:[function(t,e,r){var n=t("./memoize"),o=500;e.exports=function(t){var e=n(t,(function(t){return r.size===o&&r.clear(),t})),r=e.cache;return e}},{"./memoize":96}],70:[function(t,e,r){var n=t("./_getNative")(Object,"create");e.exports=n},{"./_getNative":45}],71:[function(t,e,r){var n=t("./_overArg")(Object.keys,Object);e.exports=n},{"./_overArg":74}],72:[function(t,e,r){var n=t("./_freeGlobal"),o="object"==typeof r&&r&&!r.nodeType&&r,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o&&n.process,s=function(){try{var t=i&&i.require&&i.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(t){}}();e.exports=s},{"./_freeGlobal":43}],73:[function(t,e,r){var n=Object.prototype.toString;e.exports=function(t){return n.call(t)}},{}],74:[function(t,e,r){e.exports=function(t,e){return function(r){return t(e(r))}}},{}],75:[function(t,e,r){var n=t("./_freeGlobal"),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();e.exports=i},{"./_freeGlobal":43}],76:[function(t,e,r){var n=t("./_memoizeCapped"),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=n((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,(function(t,r,n,o){e.push(n?o.replace(i,"$1"):r||t)})),e}));e.exports=a},{"./_memoizeCapped":69}],77:[function(t,e,r){var n=t("./isSymbol"),o=1/0;e.exports=function(t){if("string"==typeof t||n(t))return t;var e=t+"";return"0"==e&&1/t==-o?"-0":e}},{"./isSymbol":93}],78:[function(t,e,r){var n=Function.prototype.toString;e.exports=function(t){if(null!=t){try{return n.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},{}],79:[function(t,e,r){e.exports=function(t,e){return t===e||t!=t&&e!=e}},{}],80:[function(t,e,r){var n=t("./_baseGet");e.exports=function(t,e,r){var o=null==t?void 0:n(t,e);return void 0===o?r:o}},{"./_baseGet":32}],81:[function(t,e,r){var n=t("./_baseIsArguments"),o=t("./isObjectLike"),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,u=n(function(){return arguments}())?n:function(t){return o(t)&&a.call(t,"callee")&&!s.call(t,"callee")};e.exports=u},{"./_baseIsArguments":34,"./isObjectLike":90}],82:[function(t,e,r){var n=Array.isArray;e.exports=n},{}],83:[function(t,e,r){var n=t("./isFunction"),o=t("./isLength");e.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},{"./isFunction":85,"./isLength":86}],84:[function(t,e,r){var n=t("./_root"),o=t("./stubFalse"),i="object"==typeof r&&r&&!r.nodeType&&r,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===i?n.Buffer:void 0,u=(s?s.isBuffer:void 0)||o;e.exports=u},{"./_root":75,"./stubFalse":97}],85:[function(t,e,r){var n=t("./_baseGetTag"),o=t("./isObject"),i="[object AsyncFunction]",a="[object Function]",s="[object GeneratorFunction]",u="[object Proxy]";e.exports=function(t){if(!o(t))return!1;var e=n(t);return e==a||e==s||e==i||e==u}},{"./_baseGetTag":33,"./isObject":89}],86:[function(t,e,r){var n=9007199254740991;e.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=n}},{}],87:[function(t,e,r){e.exports=function(t){return null==t}},{}],88:[function(t,e,r){var n=t("./_baseGetTag"),o=t("./isObjectLike"),i="[object Number]";e.exports=function(t){return"number"==typeof t||o(t)&&n(t)==i}},{"./_baseGetTag":33,"./isObjectLike":90}],89:[function(t,e,r){e.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},{}],90:[function(t,e,r){e.exports=function(t){return null!=t&&"object"==typeof t}},{}],91:[function(t,e,r){var n=t("./_baseGetTag"),o=t("./_getPrototype"),i=t("./isObjectLike"),a="[object Object]",s=Function.prototype,u=Object.prototype,c=s.toString,l=u.hasOwnProperty,f=c.call(Object);e.exports=function(t){if(!i(t)||n(t)!=a)return!1;var e=o(t);if(null===e)return!0;var r=l.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&c.call(r)==f}},{"./_baseGetTag":33,"./_getPrototype":46,"./isObjectLike":90}],92:[function(t,e,r){var n=t("./_baseGetTag"),o=t("./isArray"),i=t("./isObjectLike"),a="[object String]";e.exports=function(t){return"string"==typeof t||!o(t)&&i(t)&&n(t)==a}},{"./_baseGetTag":33,"./isArray":82,"./isObjectLike":90}],93:[function(t,e,r){var n=t("./_baseGetTag"),o=t("./isObjectLike"),i="[object Symbol]";e.exports=function(t){return"symbol"==typeof t||o(t)&&n(t)==i}},{"./_baseGetTag":33,"./isObjectLike":90}],94:[function(t,e,r){var n=t("./_baseIsTypedArray"),o=t("./_baseUnary"),i=t("./_nodeUtil"),a=i&&i.isTypedArray,s=a?o(a):n;e.exports=s},{"./_baseIsTypedArray":36,"./_baseUnary":40,"./_nodeUtil":72}],95:[function(t,e,r){var n=t("./_arrayLikeKeys"),o=t("./_baseKeys"),i=t("./isArrayLike");e.exports=function(t){return i(t)?n(t):o(t)}},{"./_arrayLikeKeys":29,"./_baseKeys":37,"./isArrayLike":83}],96:[function(t,e,r){var n=t("./_MapCache"),o="Expected a function";function i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(o);var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=t.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(i.Cache||n),r}i.Cache=n,e.exports=i},{"./_MapCache":27}],97:[function(t,e,r){e.exports=function(){return!1}},{}],98:[function(t,e,r){var n=t("./_baseToString");e.exports=function(t){return null==t?"":n(t)}},{"./_baseToString":39}],99:[function(t,e,r){var n,o,i=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function u(t){if(n===setTimeout)return setTimeout(t,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(t){n=a}try{o="function"==typeof clearTimeout?clearTimeout:s}catch(t){o=s}}();var c,l=[],f=!1,d=-1;function p(){f&&c&&(f=!1,c.length?l=c.concat(l):d=-1,l.length&&h())}function h(){if(!f){var t=u(p);f=!0;for(var e=l.length;e;){for(c=l,l=[];++d<e;)c&&c[d].run();d=-1,e=l.length}c=null,f=!1,function(t){if(o===clearTimeout)return clearTimeout(t);if((o===s||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(t);try{return o(t)}catch(e){try{return o.call(null,t)}catch(e){return o.call(this,t)}}}(t)}}function _(t,e){this.fun=t,this.array=e}function y(){}i.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];l.push(new _(t,e)),1!==l.length||f||u(h)},_.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=y,i.addListener=y,i.once=y,i.off=y,i.removeListener=y,i.removeAllListeners=y,i.emit=y,i.prependListener=y,i.prependOnceListener=y,i.listeners=function(t){return[]},i.binding=function(t){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},{}]},{},[1,2]);