diff --git a/.idea/dataSources.xml b/.idea/dataSources.xml index 1cbacfa..2227e89 100644 --- a/.idea/dataSources.xml +++ b/.idea/dataSources.xml @@ -1,11 +1,19 @@ - + sqlite.xerial true org.sqlite.JDBC jdbc:sqlite:$PROJECT_DIR$/skolehjem/database/laravel.sqlite + + + file://$APPLICATION_CONFIG_DIR$/jdbc-drivers/Xerial SQLiteJDBC/3.31.1/license.txt + + + file://$APPLICATION_CONFIG_DIR$/jdbc-drivers/Xerial SQLiteJDBC/3.31.1/sqlite-jdbc-3.31.1.jar + + \ No newline at end of file diff --git a/skolehjem/app/Event.php b/skolehjem/app/Event.php index 7ccc3ac..613ce5b 100644 --- a/skolehjem/app/Event.php +++ b/skolehjem/app/Event.php @@ -12,6 +12,6 @@ class Event extends Model * @var array */ protected $fillable = [ - "name", "description" + "name", "description", "date" ]; } diff --git a/skolehjem/app/Http/Controllers/EventController.php b/skolehjem/app/Http/Controllers/EventController.php index 60eb631..e5754f5 100644 --- a/skolehjem/app/Http/Controllers/EventController.php +++ b/skolehjem/app/Http/Controllers/EventController.php @@ -42,7 +42,8 @@ class EventController extends Controller { $requestBody = $request->validate([ "name" => "required|unique:events|max:255", - "description" => "required|max:255" + "description" => "required|max:255", + "date" => "required" ]); $event = new Event($requestBody); @@ -101,10 +102,10 @@ class EventController extends Controller * @return \Illuminate\Contracts\Foundation\Application|\Illuminate\Contracts\View\Factory|\Illuminate\View\View * @throws \Exception */ - public function destroy(Event $id) + public function destroy($id) { - $id->delete(); - - return Response::detect("events.destroy"); + $link = Event::find($id); + $link->delete(); + return redirect()->route("events.index"); } } diff --git a/skolehjem/database/migrations/2020_06_08_090004_create_events.php b/skolehjem/database/migrations/2020_06_29_091545_create_events.php similarity index 94% rename from skolehjem/database/migrations/2020_06_08_090004_create_events.php rename to skolehjem/database/migrations/2020_06_29_091545_create_events.php index 20f7676..443aba9 100644 --- a/skolehjem/database/migrations/2020_06_08_090004_create_events.php +++ b/skolehjem/database/migrations/2020_06_29_091545_create_events.php @@ -17,6 +17,7 @@ class CreateEvents extends Migration $table->id(); $table->string("name"); $table->string("description"); + $table->dateTime("date"); $table->timestamps(); }); } diff --git a/skolehjem/public/css/admin.css b/skolehjem/public/css/admin.css index 01da997..366494f 100644 --- a/skolehjem/public/css/admin.css +++ b/skolehjem/public/css/admin.css @@ -57,7 +57,8 @@ form { display: inline-flex; } -input { +input, +select { border: grey solid 2px; border-radius: 4px; background-color: transparent; diff --git a/skolehjem/public/css/webapp.css b/skolehjem/public/css/webapp.css index e9ec7da..9ce5e9d 100644 --- a/skolehjem/public/css/webapp.css +++ b/skolehjem/public/css/webapp.css @@ -57,7 +57,8 @@ form { display: inline-flex; } -input { +input, +select { border: grey solid 2px; border-radius: 4px; background-color: transparent; @@ -6752,7 +6753,7 @@ main { @media (min-width: 410px) { .calendar-table__header .calendar-table__col { - width: 54px; + width: 47.5px; } } diff --git a/skolehjem/resources/sass/app/forms/_forms.scss b/skolehjem/resources/sass/app/forms/_forms.scss index 0cc3185..15a89a7 100644 --- a/skolehjem/resources/sass/app/forms/_forms.scss +++ b/skolehjem/resources/sass/app/forms/_forms.scss @@ -37,7 +37,7 @@ form { display: inline-flex; } -input{ +input, select{ border: grey solid 2px; border-radius: 4px; background-color: transparent; diff --git a/skolehjem/resources/sass/webapp/_default.scss b/skolehjem/resources/sass/webapp/_default.scss index 02677db..dcde956 100644 --- a/skolehjem/resources/sass/webapp/_default.scss +++ b/skolehjem/resources/sass/webapp/_default.scss @@ -296,7 +296,7 @@ $primary-color: $blue; } @include mq(410) { - width: 54px; + width: 47.5px; } } } diff --git a/skolehjem/resources/views/admin/events/create.blade.php b/skolehjem/resources/views/admin/events/create.blade.php index e16decc..4aaf61f 100644 --- a/skolehjem/resources/views/admin/events/create.blade.php +++ b/skolehjem/resources/views/admin/events/create.blade.php @@ -2,19 +2,23 @@ @extends("admin.layout.header") @section("title") - Vaskemaskiner - Vis + Aktivitet - Vis @endsection @section("path") - Opret Vaskemaskine / + Opret Aktivitet / @endsection @section("content") -

Opret Bruger:

-
+

Opret Aktivitet:

+ @csrf - + + + + +
diff --git a/skolehjem/resources/views/admin/events/delete.blade.php b/skolehjem/resources/views/admin/events/delete.blade.php index 9342734..09730ac 100644 --- a/skolehjem/resources/views/admin/events/delete.blade.php +++ b/skolehjem/resources/views/admin/events/delete.blade.php @@ -2,30 +2,12 @@ @extends("admin.layout.header") @section("title") - Vaskemaskiner - Vis + Aktivitet - Fjern @endsection @section("path") - Vis Vaskemaskiner / + fjern aktivitet @endsection @section("content") - - - - - - - - - - - - - - - - - -
FornavnEfternavnEmailTlf nrUpdateDelete
{Fornavn}{Efternavn}{Email}{TLF}UpdateDelete
@endsection diff --git a/skolehjem/resources/views/admin/events/edit.blade.php b/skolehjem/resources/views/admin/events/edit.blade.php index df0fddd..91118bc 100644 --- a/skolehjem/resources/views/admin/events/edit.blade.php +++ b/skolehjem/resources/views/admin/events/edit.blade.php @@ -6,26 +6,18 @@ @endsection @section("path") - Vis Events / + Vis Events / @endsection @section("content") - - - - - - - - - - - - - - - - - -
FornavnEfternavnEmailTlf nrUpdateDelete
{Fornavn}{Efternavn}{Email}{TLF}UpdateDelete
+

Rediger Link:

+
$event])}}"> + @csrf + @method("PUT") + + + + + +
@endsection diff --git a/skolehjem/resources/views/admin/events/index.blade.php b/skolehjem/resources/views/admin/events/index.blade.php index 5eed072..f9a4753 100644 --- a/skolehjem/resources/views/admin/events/index.blade.php +++ b/skolehjem/resources/views/admin/events/index.blade.php @@ -14,6 +14,7 @@ Event Navn Event Beskrivelse + Event Dato Update Delete @@ -21,8 +22,14 @@ {{ $event->name }} {{ $event->description }} - Update - Delete + {{ $event->date }} + $event ]) }}">Update +
$event ]) }}" class="w-100"> + @csrf + @method("delete") + + +
@endforeach diff --git a/skolehjem/resources/views/admin/events/store.blade.php b/skolehjem/resources/views/admin/events/store.blade.php index 9342734..61baad8 100644 --- a/skolehjem/resources/views/admin/events/store.blade.php +++ b/skolehjem/resources/views/admin/events/store.blade.php @@ -6,26 +6,9 @@ @endsection @section("path") - Vis Vaskemaskiner / + Opret External Link / @endsection @section("content") - - - - - - - - - - - - - - - - - -
FornavnEfternavnEmailTlf nrUpdateDelete
{Fornavn}{Efternavn}{Email}{TLF}UpdateDelete
+ Link blev (ikke) oprettet. @endsection diff --git a/skolehjem/resources/views/admin/events/update.blade.php b/skolehjem/resources/views/admin/events/update.blade.php index 9342734..0030b15 100644 --- a/skolehjem/resources/views/admin/events/update.blade.php +++ b/skolehjem/resources/views/admin/events/update.blade.php @@ -6,26 +6,9 @@ @endsection @section("path") - Vis Vaskemaskiner / + $event]) }}" class="text-white">External link / @endsection @section("content") - - - - - - - - - - - - - - - - - -
FornavnEfternavnEmailTlf nrUpdateDelete
{Fornavn}{Efternavn}{Email}{TLF}UpdateDelete
+ Din link blev (ikke) redigeret. @endsection diff --git a/skolehjem/resources/views/admin/users/create.blade.php b/skolehjem/resources/views/admin/users/create.blade.php index 427d2cd..8ebac49 100644 --- a/skolehjem/resources/views/admin/users/create.blade.php +++ b/skolehjem/resources/views/admin/users/create.blade.php @@ -25,6 +25,12 @@ + + @endsection diff --git a/skolehjem/resources/views/admin/users/edit.blade.php b/skolehjem/resources/views/admin/users/edit.blade.php index 8cbe6ad..502e8cd 100644 --- a/skolehjem/resources/views/admin/users/edit.blade.php +++ b/skolehjem/resources/views/admin/users/edit.blade.php @@ -15,17 +15,23 @@ @csrf @method("put") - + - + - + - + - + - + + + @endsection diff --git a/skolehjem/resources/views/admin/users/index.blade.php b/skolehjem/resources/views/admin/users/index.blade.php index a6e15d1..7aae5c8 100644 --- a/skolehjem/resources/views/admin/users/index.blade.php +++ b/skolehjem/resources/views/admin/users/index.blade.php @@ -16,18 +16,20 @@ Efternavn Email Tlf nr + Rolle Update Delete @foreach($users as $user) - + {{ $user->name_first }} {{ $user->name_last }} {{ $user->email }} {{ $user->phone }} + {{ $user->roles }} $user->id ]) }}">Update $user ]) }}">Delete - + @endforeach diff --git a/skolehjem/resources/views/app/events/index.blade.php b/skolehjem/resources/views/app/events/index.blade.php index e148383..bbc3e7c 100644 --- a/skolehjem/resources/views/app/events/index.blade.php +++ b/skolehjem/resources/views/app/events/index.blade.php @@ -7,15 +7,11 @@ @section("content")

Aktiviteter

- -

{Aktivitet}

-

{Dato}

-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc sodales pulvinar congue aenean suspendisse.

- Tilmeld - -

{Aktivitet2}

-

{Dato}

-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc sodales pulvinar congue aenean suspendisse.

- Tilmeld + @foreach($events as $event) +

{{$event->name}}

+

{{$event->date}}

+

{{$event->description}}

+ Tilmeld + @endforeach
@endsection diff --git a/swagger/dist/swagger-editor.js b/swagger/dist/swagger-editor.js index 0381439..e1c97f8 100644 --- a/swagger/dist/swagger-editor.js +++ b/swagger/dist/swagger-editor.js @@ -1,2 +1,2 @@ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.SwaggerEditorBundle=e():t.SwaggerEditorBundle=e()}(window,(function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)r.d(n,i,function(e){return t[e]}.bind(null,i));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="/dist",r(r.s=242)}([function(t,e,r){var n=r(493),i=r(494),o=r(501);t.exports=function(t){return n(t)||i(t)||o()}},function(t,e,r){var n=r(37);t.exports=function(t,e,r){return e in t?n(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}},function(t,e){var r=Array.isArray;t.exports=r},function(t,e,r){var n=r(44),i=r(40),o=r(57),a=r(112),s=r(114),u=function(t,e,r){var c,l,p,f,h=t&u.F,d=t&u.G,m=t&u.S,v=t&u.P,g=t&u.B,y=d?n:m?n[e]||(n[e]={}):(n[e]||{}).prototype,_=d?i:i[e]||(i[e]={}),b=_.prototype||(_.prototype={});for(c in d&&(r=e),r)p=((l=!h&&y&&void 0!==y[c])?y:r)[c],f=g&&l?s(p,n):v&&"function"==typeof p?s(Function.call,p):p,y&&a(y,c,p,t&u.U),_[c]!=p&&o(_,c,f),v&&b[c]!=p&&(b[c]=p)};n.core=i,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},function(t,e){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}},function(t,e){var r=t.exports={version:"2.6.9"};"number"==typeof __e&&(__e=r)},function(t,e){t.exports=require("react")},function(t,e,r){t.exports=r(359)},function(t,e,r){var n=r(11),i=r(5),o=r(58),a=r(47),s=r(49),u=function(t,e,r){var c,l,p,f=t&u.F,h=t&u.G,d=t&u.S,m=t&u.P,v=t&u.B,g=t&u.W,y=h?i:i[e]||(i[e]={}),_=y.prototype,b=h?n:d?n[e]:(n[e]||{}).prototype;for(c in h&&(r=e),r)(l=!f&&b&&void 0!==b[c])&&s(y,c)||(p=l?b[c]:r[c],y[c]=h&&"function"!=typeof b[c]?r[c]:v&&l?o(p,n):g&&b[c]==p?function(t){var e=function(e,r,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,r)}return new t(e,r,n)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(p):m&&"function"==typeof p?o(Function.call,p):p,m&&((y.virtual||(y.virtual={}))[c]=p,t&u.R&&_&&!_[c]&&a(_,c,p)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},function(t,e,r){var n=r(327),i=r(334);function o(t){return(o="function"==typeof i&&"symbol"==typeof n?function(t){return typeof t}:function(t){return t&&"function"==typeof i&&t.constructor===i&&t!==i.prototype?"symbol":typeof t})(t)}function a(e){return"function"==typeof i&&"symbol"===o(n)?t.exports=a=function(t){return o(t)}:t.exports=a=function(t){return t&&"function"==typeof i&&t.constructor===i&&t!==i.prototype?"symbol":o(t)},a(e)}t.exports=a},function(t,e,r){t.exports=r(486)},function(t,e){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e,r){t.exports=r(475)},function(t,e,r){t.exports=r(471)},function(t,e,r){var n=r(125)("wks"),i=r(95),o=r(11).Symbol,a="function"==typeof o;(t.exports=function(t){return n[t]||(n[t]=a&&o[t]||(a?o:i)("Symbol."+t))}).store=n},function(t,e,r){var n=r(160)("wks"),i=r(113),o=r(44).Symbol,a="function"==typeof o;(t.exports=function(t){return n[t]||(n[t]=a&&o[t]||(a?o:i)("Symbol."+t))}).store=n},function(t,e,r){var n=r(3),i=r(26),o=r(41),a=/"/g,s=function(t,e,r,n){var i=String(o(t)),s="<"+e;return""!==r&&(s+=" "+r+'="'+String(n).replace(a,""")+'"'),s+">"+i+""};t.exports=function(t,e){var r={};r[t]=e(s),n(n.P+n.F*i((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3})),"String",r)}},function(t,e,r){var n=r(488),i=r(489),o=r(492);t.exports=function(t,e){return n(t)||i(t,e)||o()}},function(t,e){t.exports=require("immutable")},function(t,e,r){var n=r(70),i=Math.min;t.exports=function(t){return t>0?i(n(t),9007199254740991):0}},function(t,e,r){"use strict";var n=r(26);t.exports=function(t,e){return!!t&&n((function(){e?t.call(null,(function(){}),1):t.call(null)}))}},function(t,e,r){var n=r(34);t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},function(t,e,r){t.exports=!r(48)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,e,r){var n=r(186),i="object"==typeof self&&self&&self.Object===Object&&self,o=n||i||Function("return this")();t.exports=o},function(t,e,r){t.exports=r(358)},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e,r){var n=r(37);function i(t,e){for(var r=0;r=e||r<0||v&&t-d>=l}function w(){var t=i();if(b(t))return x(t);f=setTimeout(w,function(t){var r=e-(t-h);return v?s(r,l-(t-d)):r}(t))}function x(t){return f=void 0,g&&u?y(t):(u=c=void 0,p)}function k(){var t=i(),r=b(t);if(u=arguments,c=this,h=t,r){if(void 0===f)return _(h);if(v)return clearTimeout(f),f=setTimeout(w,e),y(h)}return void 0===f&&(f=setTimeout(w,e)),p}return e=o(e)||0,n(r)&&(m=!!r.leading,l=(v="maxWait"in r)?a(o(r.maxWait)||0,e):l,g="trailing"in r?!!r.trailing:g),k.cancel=function(){void 0!==f&&clearTimeout(f),d=0,u=h=c=f=void 0},k.flush=function(){return void 0===f?p:x(i())},k}},function(t,e,r){var n=r(22),i=r(173),o=r(121),a=Object.defineProperty;e.f=r(23)?Object.defineProperty:function(t,e,r){if(n(t),e=o(e,!0),n(r),i)try{return a(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[e]=r.value),t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,r){var n=r(175),i=r(94);t.exports=function(t){return n(i(t))}},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,e,r){t.exports=r(325)},function(t,e,r){t.exports=r(353)},function(t,e,r){t.exports=r(356)},function(t,e){var r=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=r)},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,r){var n=r(41);t.exports=function(t){return Object(n(t))}},function(t,e,r){t.exports=r(474)},function(t,e){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(t,e,r){var n=r(68),i=r(41);t.exports=function(t){return n(i(t))}},function(t,e,r){var n=r(114),i=r(68),o=r(42),a=r(20),s=r(300);t.exports=function(t,e){var r=1==t,u=2==t,c=3==t,l=4==t,p=6==t,f=5==t||p,h=e||s;return function(e,s,d){for(var m,v,g=o(e),y=i(g),_=n(s,d,3),b=a(y.length),w=0,x=r?h(e,b):u?h(e,0):void 0;b>w;w++)if((f||w in y)&&(v=_(m=y[w],w,g),t))if(r)x[w]=v;else if(v)switch(t){case 3:return!0;case 5:return m;case 6:return w;case 2:x.push(m)}else if(l)return!1;return p?-1:c||l?l:x}}},function(t,e,r){var n=r(33),i=r(73);t.exports=r(23)?function(t,e,r){return n.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},function(t,e,r){var n=r(51),i=r(362),o=r(363),a=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?i(t):o(t)}},function(t,e,r){var n=r(24).Symbol;t.exports=n},function(t,e,r){var n=r(364),i=r(367);t.exports=function(t,e){var r=i(t,e);return n(r)?r:void 0}},function(t,e,r){var n=r(191),i=r(377),o=r(62);t.exports=function(t){return o(t)?n(t):i(t)}},function(t,e,r){var n=r(146);t.exports=function(t,e,r){var i=null==t?void 0:n(t,e);return void 0===i?r:i}},function(t,e,r){t.exports=r(320)},function(t,e){t.exports=require("reselect")},function(t,e,r){var n=r(65),i=r(111);t.exports=r(67)?function(t,e,r){return n.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},function(t,e,r){var n=r(93);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,i){return t.call(e,r,n,i)}}return function(){return t.apply(e,arguments)}}},function(t,e,r){var n=r(174),i=r(126);t.exports=Object.keys||function(t){return n(t,i)}},function(t,e){t.exports={}},function(t,e,r){var n=r(94);t.exports=function(t){return Object(n(t))}},function(t,e,r){var n=r(108),i=r(135);t.exports=function(t){return null!=t&&i(t.length)&&!n(t)}},function(t,e,r){t.exports=r(351)},function(t,e){t.exports=require("js-yaml")},function(t,e,r){var n=r(89),i=r(246),o=r(247),a=Object.defineProperty;e.f=r(67)?Object.defineProperty:function(t,e,r){if(n(t),e=o(e,!0),n(r),i)try{return a(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[e]=r.value),t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,r){t.exports=!r(26)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,e,r){var n=r(69);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},function(t,e,r){var n=r(70),i=Math.max,o=Math.min;t.exports=function(t,e){return(t=n(t))<0?i(t+e,0):o(t,e)}},function(t,e,r){var n=r(16)("unscopables"),i=Array.prototype;null==i[n]&&r(57)(i,n,{}),t.exports=function(t){i[n][t]=!0}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,e){t.exports=!0},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,r){"use strict";var n=r(329)(!0);r(176)(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,r=this._i;return r>=e.length?{value:void 0,done:!0}:(t=n(e,r),this._i+=t.length,{value:t,done:!1})}))},function(t,e){t.exports=require("prop-types")},function(t,e,r){var n=r(380),i=r(418),o=r(204),a=r(2),s=r(426);t.exports=function(t){return"function"==typeof t?t:null==t?o:"object"==typeof t?a(t)?i(t[0],t[1]):n(t):s(t)}},function(t,e,r){var n=r(413),i=r(141),o=r(414),a=r(415),s=r(416),u=r(50),c=r(188),l=c(n),p=c(i),f=c(o),h=c(a),d=c(s),m=u;(n&&"[object DataView]"!=m(new n(new ArrayBuffer(1)))||i&&"[object Map]"!=m(new i)||o&&"[object Promise]"!=m(o.resolve())||a&&"[object Set]"!=m(new a)||s&&"[object WeakMap]"!=m(new s))&&(m=function(t){var e=u(t),r="[object Object]"==e?t.constructor:void 0,n=r?c(r):"";if(n)switch(n){case l:return"[object DataView]";case p:return"[object Map]";case f:return"[object Promise]";case h:return"[object Set]";case d:return"[object WeakMap]"}return e}),t.exports=m},function(t,e,r){var n=r(106);t.exports=function(t){if("string"==typeof t||n(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}},function(t,e,r){var n=r(205),i=r(100);t.exports=function(t,e,r,o){var a=!r;r||(r={});for(var s=-1,u=e.length;++s0?i(n(t),9007199254740991):0}},function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},function(t,e,r){var n=r(125)("keys"),i=r(95);t.exports=function(t){return n[t]||(n[t]=i(t))}},function(t,e,r){var n=r(5),i=r(11),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:n.version,mode:r(75)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,r){var n=r(22),i=r(178),o=r(126),a=r(124)("IE_PROTO"),s=function(){},u=function(){var t,e=r(120)("iframe"),n=o.length;for(e.style.display="none",r(179).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("