@livetiles/reach-components-react 0.4.0-preview.55 → 0.4.0-preview.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.esm2.js +318 -68
- package/index.umd.js +318 -68
- package/package.json +1 -1
- package/index.esm.css +0 -1103
- package/index.umd.css +0 -1103
package/index.umd.js
CHANGED
|
@@ -37999,7 +37999,7 @@
|
|
|
37999
37999
|
});
|
|
38000
38000
|
}
|
|
38001
38001
|
|
|
38002
|
-
var client = {};
|
|
38002
|
+
var client$2 = {};
|
|
38003
38003
|
|
|
38004
38004
|
/**
|
|
38005
38005
|
* Expose `Backoff`.
|
|
@@ -39869,8 +39869,8 @@
|
|
|
39869
39869
|
r[k] = a[j];
|
|
39870
39870
|
return r;
|
|
39871
39871
|
};
|
|
39872
|
-
Object.defineProperty(client, "__esModule", { value: true });
|
|
39873
|
-
var SubscriptionClient_1 = client.SubscriptionClient = void 0;
|
|
39872
|
+
Object.defineProperty(client$2, "__esModule", { value: true });
|
|
39873
|
+
var SubscriptionClient_1 = client$2.SubscriptionClient = void 0;
|
|
39874
39874
|
var _global = typeof commonjsGlobal$7 !== 'undefined' ? commonjsGlobal$7 : (typeof window !== 'undefined' ? window : {});
|
|
39875
39875
|
var NativeWebSocket = _global.WebSocket || _global.MozWebSocket;
|
|
39876
39876
|
var Backoff = backo2;
|
|
@@ -40372,7 +40372,7 @@
|
|
|
40372
40372
|
};
|
|
40373
40373
|
return SubscriptionClient;
|
|
40374
40374
|
}());
|
|
40375
|
-
SubscriptionClient_1 = client.SubscriptionClient = SubscriptionClient;
|
|
40375
|
+
SubscriptionClient_1 = client$2.SubscriptionClient = SubscriptionClient;
|
|
40376
40376
|
|
|
40377
40377
|
var WebSocketLink = (function (_super) {
|
|
40378
40378
|
__extends$6(WebSocketLink, _super);
|
|
@@ -47851,6 +47851,37 @@
|
|
|
47851
47851
|
}
|
|
47852
47852
|
});
|
|
47853
47853
|
|
|
47854
|
+
function styleInject(css, ref) {
|
|
47855
|
+
if ( ref === void 0 ) ref = {};
|
|
47856
|
+
var insertAt = ref.insertAt;
|
|
47857
|
+
|
|
47858
|
+
if (!css || typeof document === 'undefined') { return; }
|
|
47859
|
+
|
|
47860
|
+
var head = document.head || document.getElementsByTagName('head')[0];
|
|
47861
|
+
var style = document.createElement('style');
|
|
47862
|
+
style.type = 'text/css';
|
|
47863
|
+
|
|
47864
|
+
if (insertAt === 'top') {
|
|
47865
|
+
if (head.firstChild) {
|
|
47866
|
+
head.insertBefore(style, head.firstChild);
|
|
47867
|
+
} else {
|
|
47868
|
+
head.appendChild(style);
|
|
47869
|
+
}
|
|
47870
|
+
} else {
|
|
47871
|
+
head.appendChild(style);
|
|
47872
|
+
}
|
|
47873
|
+
|
|
47874
|
+
if (style.styleSheet) {
|
|
47875
|
+
style.styleSheet.cssText = css;
|
|
47876
|
+
} else {
|
|
47877
|
+
style.appendChild(document.createTextNode(css));
|
|
47878
|
+
}
|
|
47879
|
+
}
|
|
47880
|
+
|
|
47881
|
+
var css_248z$4 = ".Toastify__toast-container{z-index:9999;-webkit-transform:translateZ(9999px);position:fixed;padding:4px;width:320px;box-sizing:border-box;color:#fff}.Toastify__toast-container--top-left{top:1em;left:1em}.Toastify__toast-container--top-center{top:1em;left:50%;margin-left:-160px}.Toastify__toast-container--top-right{top:1em;right:1em}.Toastify__toast-container--bottom-left{bottom:1em;left:1em}.Toastify__toast-container--bottom-center{bottom:1em;left:50%;margin-left:-160px}.Toastify__toast-container--bottom-right{bottom:1em;right:1em}@media only screen and (max-width:480px){.Toastify__toast-container{width:100vw;padding:0;left:0;margin:0}.Toastify__toast-container--top-center,.Toastify__toast-container--top-left,.Toastify__toast-container--top-right{top:0}.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-right{bottom:0}.Toastify__toast-container--rtl{right:0;left:auto}}.Toastify__toast{position:relative;min-height:64px;box-sizing:border-box;margin-bottom:1rem;padding:8px;border-radius:1px;box-shadow:0 1px 10px 0 rgba(0,0,0,.1),0 2px 15px 0 rgba(0,0,0,.05);display:flex;justify-content:space-between;max-height:800px;overflow:hidden;font-family:sans-serif;cursor:pointer;direction:ltr}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--default{background:#fff;color:#aaa}.Toastify__toast--info{background:#3498db}.Toastify__toast--success{background:#07bc0c}.Toastify__toast--warning{background:#f1c40f}.Toastify__toast--error{background:#e74c3c}.Toastify__toast-body{margin:auto 0;flex:1}@media only screen and (max-width:480px){.Toastify__toast{margin-bottom:0}}.Toastify__close-button{color:#fff;font-weight:700;font-size:14px;background:transparent;outline:none;border:none;padding:0;cursor:pointer;opacity:.7;transition:.3s ease;align-self:flex-start}.Toastify__close-button--default{color:#000;opacity:.3}.Toastify__close-button:focus,.Toastify__close-button:hover{opacity:1}@-webkit-keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:5px;z-index:9999;opacity:.7;background-color:hsla(0,0%,100%,.7);transform-origin:left}.Toastify__progress-bar--animated{-webkit-animation:Toastify__trackProgress linear 1 forwards;animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{right:0;left:auto;transform-origin:right}.Toastify__progress-bar--default{background:linear-gradient(90deg,#4cd964,#5ac8fa,#007aff,#34aadc,#5856d6,#ff2d55)}@-webkit-keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@-webkit-keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}@-webkit-keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@-webkit-keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}@-webkit-keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@-webkit-keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@-webkit-keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@-webkit-keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--bottom-left,.Toastify__bounce-enter--top-left{-webkit-animation-name:Toastify__bounceInLeft;animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--bottom-right,.Toastify__bounce-enter--top-right{-webkit-animation-name:Toastify__bounceInRight;animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{-webkit-animation-name:Toastify__bounceInDown;animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{-webkit-animation-name:Toastify__bounceInUp;animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--bottom-left,.Toastify__bounce-exit--top-left{-webkit-animation-name:Toastify__bounceOutLeft;animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--bottom-right,.Toastify__bounce-exit--top-right{-webkit-animation-name:Toastify__bounceOutRight;animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{-webkit-animation-name:Toastify__bounceOutUp;animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{-webkit-animation-name:Toastify__bounceOutDown;animation-name:Toastify__bounceOutDown}@-webkit-keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@-webkit-keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{-webkit-animation-name:Toastify__zoomIn;animation-name:Toastify__zoomIn}.Toastify__zoom-exit{-webkit-animation-name:Toastify__zoomOut;animation-name:Toastify__zoomOut}@-webkit-keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@-webkit-keyframes Toastify__flipOut{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateX(-20deg);opacity:1}to{transform:perspective(400px) rotateX(90deg);opacity:0}}@keyframes Toastify__flipOut{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateX(-20deg);opacity:1}to{transform:perspective(400px) rotateX(90deg);opacity:0}}.Toastify__flip-enter{-webkit-animation-name:Toastify__flipIn;animation-name:Toastify__flipIn}.Toastify__flip-exit{-webkit-animation-name:Toastify__flipOut;animation-name:Toastify__flipOut}@-webkit-keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translateZ(0)}}@-webkit-keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translateZ(0)}}@-webkit-keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translateZ(0)}}@-webkit-keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translateZ(0)}}@-webkit-keyframes Toastify__slideOutRight{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(110%,0,0)}}@keyframes Toastify__slideOutRight{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(110%,0,0)}}@-webkit-keyframes Toastify__slideOutLeft{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(-110%,0,0)}}@keyframes Toastify__slideOutLeft{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(-110%,0,0)}}@-webkit-keyframes Toastify__slideOutDown{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@keyframes Toastify__slideOutDown{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@-webkit-keyframes Toastify__slideOutUp{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}@keyframes Toastify__slideOutUp{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}.Toastify__slide-enter--bottom-left,.Toastify__slide-enter--top-left{-webkit-animation-name:Toastify__slideInLeft;animation-name:Toastify__slideInLeft}.Toastify__slide-enter--bottom-right,.Toastify__slide-enter--top-right{-webkit-animation-name:Toastify__slideInRight;animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{-webkit-animation-name:Toastify__slideInDown;animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{-webkit-animation-name:Toastify__slideInUp;animation-name:Toastify__slideInUp}.Toastify__slide-exit--bottom-left,.Toastify__slide-exit--top-left{-webkit-animation-name:Toastify__slideOutLeft;animation-name:Toastify__slideOutLeft}.Toastify__slide-exit--bottom-right,.Toastify__slide-exit--top-right{-webkit-animation-name:Toastify__slideOutRight;animation-name:Toastify__slideOutRight}.Toastify__slide-exit--top-center{-webkit-animation-name:Toastify__slideOutUp;animation-name:Toastify__slideOutUp}.Toastify__slide-exit--bottom-center{-webkit-animation-name:Toastify__slideOutDown;animation-name:Toastify__slideOutDown}";
|
|
47882
|
+
var stylesheet=".Toastify__toast-container{z-index:9999;-webkit-transform:translateZ(9999px);position:fixed;padding:4px;width:320px;box-sizing:border-box;color:#fff}.Toastify__toast-container--top-left{top:1em;left:1em}.Toastify__toast-container--top-center{top:1em;left:50%;margin-left:-160px}.Toastify__toast-container--top-right{top:1em;right:1em}.Toastify__toast-container--bottom-left{bottom:1em;left:1em}.Toastify__toast-container--bottom-center{bottom:1em;left:50%;margin-left:-160px}.Toastify__toast-container--bottom-right{bottom:1em;right:1em}@media only screen and (max-width:480px){.Toastify__toast-container{width:100vw;padding:0;left:0;margin:0}.Toastify__toast-container--top-center,.Toastify__toast-container--top-left,.Toastify__toast-container--top-right{top:0}.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-right{bottom:0}.Toastify__toast-container--rtl{right:0;left:auto}}.Toastify__toast{position:relative;min-height:64px;box-sizing:border-box;margin-bottom:1rem;padding:8px;border-radius:1px;box-shadow:0 1px 10px 0 rgba(0,0,0,.1),0 2px 15px 0 rgba(0,0,0,.05);display:flex;justify-content:space-between;max-height:800px;overflow:hidden;font-family:sans-serif;cursor:pointer;direction:ltr}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--default{background:#fff;color:#aaa}.Toastify__toast--info{background:#3498db}.Toastify__toast--success{background:#07bc0c}.Toastify__toast--warning{background:#f1c40f}.Toastify__toast--error{background:#e74c3c}.Toastify__toast-body{margin:auto 0;flex:1}@media only screen and (max-width:480px){.Toastify__toast{margin-bottom:0}}.Toastify__close-button{color:#fff;font-weight:700;font-size:14px;background:transparent;outline:none;border:none;padding:0;cursor:pointer;opacity:.7;transition:.3s ease;align-self:flex-start}.Toastify__close-button--default{color:#000;opacity:.3}.Toastify__close-button:focus,.Toastify__close-button:hover{opacity:1}@-webkit-keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:5px;z-index:9999;opacity:.7;background-color:hsla(0,0%,100%,.7);transform-origin:left}.Toastify__progress-bar--animated{-webkit-animation:Toastify__trackProgress linear 1 forwards;animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{right:0;left:auto;transform-origin:right}.Toastify__progress-bar--default{background:linear-gradient(90deg,#4cd964,#5ac8fa,#007aff,#34aadc,#5856d6,#ff2d55)}@-webkit-keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@-webkit-keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}@-webkit-keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@-webkit-keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}@-webkit-keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@-webkit-keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@-webkit-keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@-webkit-keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--bottom-left,.Toastify__bounce-enter--top-left{-webkit-animation-name:Toastify__bounceInLeft;animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--bottom-right,.Toastify__bounce-enter--top-right{-webkit-animation-name:Toastify__bounceInRight;animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{-webkit-animation-name:Toastify__bounceInDown;animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{-webkit-animation-name:Toastify__bounceInUp;animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--bottom-left,.Toastify__bounce-exit--top-left{-webkit-animation-name:Toastify__bounceOutLeft;animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--bottom-right,.Toastify__bounce-exit--top-right{-webkit-animation-name:Toastify__bounceOutRight;animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{-webkit-animation-name:Toastify__bounceOutUp;animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{-webkit-animation-name:Toastify__bounceOutDown;animation-name:Toastify__bounceOutDown}@-webkit-keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@-webkit-keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{-webkit-animation-name:Toastify__zoomIn;animation-name:Toastify__zoomIn}.Toastify__zoom-exit{-webkit-animation-name:Toastify__zoomOut;animation-name:Toastify__zoomOut}@-webkit-keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@-webkit-keyframes Toastify__flipOut{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateX(-20deg);opacity:1}to{transform:perspective(400px) rotateX(90deg);opacity:0}}@keyframes Toastify__flipOut{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateX(-20deg);opacity:1}to{transform:perspective(400px) rotateX(90deg);opacity:0}}.Toastify__flip-enter{-webkit-animation-name:Toastify__flipIn;animation-name:Toastify__flipIn}.Toastify__flip-exit{-webkit-animation-name:Toastify__flipOut;animation-name:Toastify__flipOut}@-webkit-keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translateZ(0)}}@-webkit-keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translateZ(0)}}@-webkit-keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translateZ(0)}}@-webkit-keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translateZ(0)}}@-webkit-keyframes Toastify__slideOutRight{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(110%,0,0)}}@keyframes Toastify__slideOutRight{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(110%,0,0)}}@-webkit-keyframes Toastify__slideOutLeft{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(-110%,0,0)}}@keyframes Toastify__slideOutLeft{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(-110%,0,0)}}@-webkit-keyframes Toastify__slideOutDown{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@keyframes Toastify__slideOutDown{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@-webkit-keyframes Toastify__slideOutUp{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}@keyframes Toastify__slideOutUp{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}.Toastify__slide-enter--bottom-left,.Toastify__slide-enter--top-left{-webkit-animation-name:Toastify__slideInLeft;animation-name:Toastify__slideInLeft}.Toastify__slide-enter--bottom-right,.Toastify__slide-enter--top-right{-webkit-animation-name:Toastify__slideInRight;animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{-webkit-animation-name:Toastify__slideInDown;animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{-webkit-animation-name:Toastify__slideInUp;animation-name:Toastify__slideInUp}.Toastify__slide-exit--bottom-left,.Toastify__slide-exit--top-left{-webkit-animation-name:Toastify__slideOutLeft;animation-name:Toastify__slideOutLeft}.Toastify__slide-exit--bottom-right,.Toastify__slide-exit--top-right{-webkit-animation-name:Toastify__slideOutRight;animation-name:Toastify__slideOutRight}.Toastify__slide-exit--top-center{-webkit-animation-name:Toastify__slideOutUp;animation-name:Toastify__slideOutUp}.Toastify__slide-exit--bottom-center{-webkit-animation-name:Toastify__slideOutDown;animation-name:Toastify__slideOutDown}";
|
|
47883
|
+
styleInject(css_248z$4);
|
|
47884
|
+
|
|
47854
47885
|
/** PURE_IMPORTS_START tslib,_OuterSubscriber,_InnerSubscriber,_util_subscribeToResult PURE_IMPORTS_END */
|
|
47855
47886
|
function catchError(selector) {
|
|
47856
47887
|
return function catchErrorOperatorFunction(source) {
|
|
@@ -55152,7 +55183,7 @@
|
|
|
55152
55183
|
function useListener(type, listener, deps) {
|
|
55153
55184
|
React$d.useEffect(function () {
|
|
55154
55185
|
if (!type) {
|
|
55155
|
-
return
|
|
55186
|
+
return undefined;
|
|
55156
55187
|
}
|
|
55157
55188
|
|
|
55158
55189
|
if (!listeners[type]) {
|
|
@@ -55264,6 +55295,12 @@
|
|
|
55264
55295
|
}
|
|
55265
55296
|
}
|
|
55266
55297
|
|
|
55298
|
+
var css_248z$3 = "/*! PhotoSwipe main CSS by Dmitry Semenov | photoswipe.com | MIT license */\n/*\n\tStyles for basic PhotoSwipe functionality (sliding area, open/close transitions)\n*/\n/* pswp = photoswipe */\n.pswp {\n display: none;\n position: absolute;\n width: 100%;\n height: 100%;\n left: 0;\n top: 0;\n overflow: hidden;\n touch-action: none;\n z-index: 1500;\n -webkit-text-size-adjust: 100%;\n /* create separate layer, to avoid paint on window.onscroll in webkit/blink */\n -webkit-backface-visibility: hidden;\n outline: none; }\n .pswp * {\n box-sizing: border-box; }\n .pswp img {\n max-width: none; }\n\n/* style is added when JS option showHideOpacity is set to true */\n.pswp--animate_opacity {\n /* 0.001, because opacity:0 doesn't trigger Paint action, which causes lag at start of transition */\n opacity: 0.001;\n will-change: opacity;\n /* for open/close transition */\n transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); }\n\n.pswp--open {\n display: block; }\n\n.pswp--zoom-allowed .pswp__img {\n /* autoprefixer: off */\n cursor: -webkit-zoom-in;\n cursor: -moz-zoom-in;\n cursor: zoom-in; }\n\n.pswp--zoomed-in .pswp__img {\n /* autoprefixer: off */\n cursor: -webkit-grab;\n cursor: -moz-grab;\n cursor: grab; }\n\n.pswp--dragging .pswp__img {\n /* autoprefixer: off */\n cursor: -webkit-grabbing;\n cursor: -moz-grabbing;\n cursor: grabbing; }\n\n/*\n\tBackground is added as a separate element.\n\tAs animating opacity is much faster than animating rgba() background-color.\n*/\n.pswp__bg {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n background: #000;\n opacity: 0;\n transform: translateZ(0);\n -webkit-backface-visibility: hidden;\n will-change: opacity; }\n\n.pswp__scroll-wrap {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n overflow: hidden; }\n\n.pswp__container,\n.pswp__zoom-wrap {\n touch-action: none;\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0; }\n\n/* Prevent selection and tap highlights */\n.pswp__container,\n.pswp__img {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n -webkit-tap-highlight-color: transparent;\n -webkit-touch-callout: none; }\n\n.pswp__zoom-wrap {\n position: absolute;\n width: 100%;\n transform-origin: left top;\n /* for open/close transition */\n transition: transform 333ms cubic-bezier(0.4, 0, 0.22, 1); }\n\n.pswp__bg {\n will-change: opacity;\n /* for open/close transition */\n transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); }\n\n.pswp--animated-in .pswp__bg,\n.pswp--animated-in .pswp__zoom-wrap {\n transition: none; }\n\n.pswp__container,\n.pswp__zoom-wrap {\n -webkit-backface-visibility: hidden; }\n\n.pswp__item {\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n overflow: hidden; }\n\n.pswp__img {\n position: absolute;\n width: auto;\n height: auto;\n top: 0;\n left: 0; }\n\n/*\n\tstretched thumbnail or div placeholder element (see below)\n\tstyle is added to avoid flickering in webkit/blink when layers overlap\n*/\n.pswp__img--placeholder {\n -webkit-backface-visibility: hidden; }\n\n/*\n\tdiv element that matches size of large image\n\tlarge image loads on top of it\n*/\n.pswp__img--placeholder--blank {\n background: #222; }\n\n.pswp--ie .pswp__img {\n width: 100% !important;\n height: auto !important;\n left: 0;\n top: 0; }\n\n/*\n\tError message appears when image is not loaded\n\t(JS option errorMsg controls markup)\n*/\n.pswp__error-msg {\n position: absolute;\n left: 0;\n top: 50%;\n width: 100%;\n text-align: center;\n font-size: 14px;\n line-height: 16px;\n margin-top: -8px;\n color: #CCC; }\n\n.pswp__error-msg a {\n color: #CCC;\n text-decoration: underline; }\n";
|
|
55299
|
+
styleInject(css_248z$3);
|
|
55300
|
+
|
|
55301
|
+
var css_248z$2 = "/*! PhotoSwipe Default UI CSS by Dmitry Semenov | photoswipe.com | MIT license */\n/*\n\n\tContents:\n\n\t1. Buttons\n\t2. Share modal and links\n\t3. Index indicator (\"1 of X\" counter)\n\t4. Caption\n\t5. Loading indicator\n\t6. Additional styles (root element, top bar, idle state, hidden state, etc.)\n\n*/\n/*\n\t\n\t1. Buttons\n\n */\n/* <button> css reset */\n.pswp__button {\n width: 44px;\n height: 44px;\n position: relative;\n background: none;\n cursor: pointer;\n overflow: visible;\n -webkit-appearance: none;\n display: block;\n border: 0;\n padding: 0;\n margin: 0;\n float: right;\n opacity: 0.75;\n transition: opacity 0.2s;\n box-shadow: none; }\n .pswp__button:focus, .pswp__button:hover {\n opacity: 1; }\n .pswp__button:active {\n outline: none;\n opacity: 0.9; }\n .pswp__button::-moz-focus-inner {\n padding: 0;\n border: 0; }\n\n/* pswp__ui--over-close class it added when mouse is over element that should close gallery */\n.pswp__ui--over-close .pswp__button--close {\n opacity: 1; }\n\n.pswp__button,\n.pswp__button--arrow--left:before,\n.pswp__button--arrow--right:before {\n background: url(default-skin.png) 0 0 no-repeat;\n background-size: 264px 88px;\n width: 44px;\n height: 44px; }\n\n@media (-webkit-min-device-pixel-ratio: 1.1), (-webkit-min-device-pixel-ratio: 1.09375), (min-resolution: 105dpi), (min-resolution: 1.1dppx) {\n /* Serve SVG sprite if browser supports SVG and resolution is more than 105dpi */\n .pswp--svg .pswp__button,\n .pswp--svg .pswp__button--arrow--left:before,\n .pswp--svg .pswp__button--arrow--right:before {\n background-image: url(default-skin.svg); }\n .pswp--svg .pswp__button--arrow--left,\n .pswp--svg .pswp__button--arrow--right {\n background: none; } }\n\n.pswp__button--close {\n background-position: 0 -44px; }\n\n.pswp__button--share {\n background-position: -44px -44px; }\n\n.pswp__button--fs {\n display: none; }\n\n.pswp--supports-fs .pswp__button--fs {\n display: block; }\n\n.pswp--fs .pswp__button--fs {\n background-position: -44px 0; }\n\n.pswp__button--zoom {\n display: none;\n background-position: -88px 0; }\n\n.pswp--zoom-allowed .pswp__button--zoom {\n display: block; }\n\n.pswp--zoomed-in .pswp__button--zoom {\n background-position: -132px 0; }\n\n/* no arrows on touch screens */\n.pswp--touch .pswp__button--arrow--left,\n.pswp--touch .pswp__button--arrow--right {\n visibility: hidden; }\n\n/*\n\tArrow buttons hit area\n\t(icon is added to :before pseudo-element)\n*/\n.pswp__button--arrow--left,\n.pswp__button--arrow--right {\n background: none;\n top: 50%;\n margin-top: -50px;\n width: 70px;\n height: 100px;\n position: absolute; }\n\n.pswp__button--arrow--left {\n left: 0; }\n\n.pswp__button--arrow--right {\n right: 0; }\n\n.pswp__button--arrow--left:before,\n.pswp__button--arrow--right:before {\n content: '';\n top: 35px;\n background-color: rgba(0, 0, 0, 0.3);\n height: 30px;\n width: 32px;\n position: absolute; }\n\n.pswp__button--arrow--left:before {\n left: 6px;\n background-position: -138px -44px; }\n\n.pswp__button--arrow--right:before {\n right: 6px;\n background-position: -94px -44px; }\n\n/*\n\n\t2. Share modal/popup and links\n\n */\n.pswp__counter,\n.pswp__share-modal {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none; }\n\n.pswp__share-modal {\n display: block;\n background: rgba(0, 0, 0, 0.5);\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n padding: 10px;\n position: absolute;\n z-index: 1600;\n opacity: 0;\n transition: opacity 0.25s ease-out;\n -webkit-backface-visibility: hidden;\n will-change: opacity; }\n\n.pswp__share-modal--hidden {\n display: none; }\n\n.pswp__share-tooltip {\n z-index: 1620;\n position: absolute;\n background: #FFF;\n top: 56px;\n border-radius: 2px;\n display: block;\n width: auto;\n right: 44px;\n box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);\n transform: translateY(6px);\n transition: transform 0.25s;\n -webkit-backface-visibility: hidden;\n will-change: transform; }\n .pswp__share-tooltip a {\n display: block;\n padding: 8px 12px;\n color: #000;\n text-decoration: none;\n font-size: 14px;\n line-height: 18px; }\n .pswp__share-tooltip a:hover {\n text-decoration: none;\n color: #000; }\n .pswp__share-tooltip a:first-child {\n /* round corners on the first/last list item */\n border-radius: 2px 2px 0 0; }\n .pswp__share-tooltip a:last-child {\n border-radius: 0 0 2px 2px; }\n\n.pswp__share-modal--fade-in {\n opacity: 1; }\n .pswp__share-modal--fade-in .pswp__share-tooltip {\n transform: translateY(0); }\n\n/* increase size of share links on touch devices */\n.pswp--touch .pswp__share-tooltip a {\n padding: 16px 12px; }\n\na.pswp__share--facebook:before {\n content: '';\n display: block;\n width: 0;\n height: 0;\n position: absolute;\n top: -12px;\n right: 15px;\n border: 6px solid transparent;\n border-bottom-color: #FFF;\n -webkit-pointer-events: none;\n -moz-pointer-events: none;\n pointer-events: none; }\n\na.pswp__share--facebook:hover {\n background: #3E5C9A;\n color: #FFF; }\n a.pswp__share--facebook:hover:before {\n border-bottom-color: #3E5C9A; }\n\na.pswp__share--twitter:hover {\n background: #55ACEE;\n color: #FFF; }\n\na.pswp__share--pinterest:hover {\n background: #CCC;\n color: #CE272D; }\n\na.pswp__share--download:hover {\n background: #DDD; }\n\n/*\n\n\t3. Index indicator (\"1 of X\" counter)\n\n */\n.pswp__counter {\n position: absolute;\n left: 0;\n top: 0;\n height: 44px;\n font-size: 13px;\n line-height: 44px;\n color: #FFF;\n opacity: 0.75;\n padding: 0 10px; }\n\n/*\n\t\n\t4. Caption\n\n */\n.pswp__caption {\n position: absolute;\n left: 0;\n bottom: 0;\n width: 100%;\n min-height: 44px; }\n .pswp__caption small {\n font-size: 11px;\n color: #BBB; }\n\n.pswp__caption__center {\n text-align: left;\n max-width: 420px;\n margin: 0 auto;\n font-size: 13px;\n padding: 10px;\n line-height: 20px;\n color: #CCC; }\n\n.pswp__caption--empty {\n display: none; }\n\n/* Fake caption element, used to calculate height of next/prev image */\n.pswp__caption--fake {\n visibility: hidden; }\n\n/*\n\n\t5. Loading indicator (preloader)\n\n\tYou can play with it here - http://codepen.io/dimsemenov/pen/yyBWoR\n\n */\n.pswp__preloader {\n width: 44px;\n height: 44px;\n position: absolute;\n top: 0;\n left: 50%;\n margin-left: -22px;\n opacity: 0;\n transition: opacity 0.25s ease-out;\n will-change: opacity;\n direction: ltr; }\n\n.pswp__preloader__icn {\n width: 20px;\n height: 20px;\n margin: 12px; }\n\n.pswp__preloader--active {\n opacity: 1; }\n .pswp__preloader--active .pswp__preloader__icn {\n /* We use .gif in browsers that don't support CSS animation */\n background: url(preloader.gif) 0 0 no-repeat; }\n\n.pswp--css_animation .pswp__preloader--active {\n opacity: 1; }\n .pswp--css_animation .pswp__preloader--active .pswp__preloader__icn {\n -webkit-animation: clockwise 500ms linear infinite;\n animation: clockwise 500ms linear infinite; }\n .pswp--css_animation .pswp__preloader--active .pswp__preloader__donut {\n -webkit-animation: donut-rotate 1000ms cubic-bezier(0.4, 0, 0.22, 1) infinite;\n animation: donut-rotate 1000ms cubic-bezier(0.4, 0, 0.22, 1) infinite; }\n\n.pswp--css_animation .pswp__preloader__icn {\n background: none;\n opacity: 0.75;\n width: 14px;\n height: 14px;\n position: absolute;\n left: 15px;\n top: 15px;\n margin: 0; }\n\n.pswp--css_animation .pswp__preloader__cut {\n /* \n\t\t\tThe idea of animating inner circle is based on Polymer (\"material\") loading indicator \n\t\t\t by Keanu Lee https://blog.keanulee.com/2014/10/20/the-tale-of-three-spinners.html\n\t\t*/\n position: relative;\n width: 7px;\n height: 14px;\n overflow: hidden; }\n\n.pswp--css_animation .pswp__preloader__donut {\n box-sizing: border-box;\n width: 14px;\n height: 14px;\n border: 2px solid #FFF;\n border-radius: 50%;\n border-left-color: transparent;\n border-bottom-color: transparent;\n position: absolute;\n top: 0;\n left: 0;\n background: none;\n margin: 0; }\n\n@media screen and (max-width: 1024px) {\n .pswp__preloader {\n position: relative;\n left: auto;\n top: auto;\n margin: 0;\n float: right; } }\n\n@-webkit-keyframes clockwise {\n 0% {\n transform: rotate(0deg); }\n 100% {\n transform: rotate(360deg); } }\n\n@keyframes clockwise {\n 0% {\n transform: rotate(0deg); }\n 100% {\n transform: rotate(360deg); } }\n\n@-webkit-keyframes donut-rotate {\n 0% {\n transform: rotate(0); }\n 50% {\n transform: rotate(-140deg); }\n 100% {\n transform: rotate(0); } }\n\n@keyframes donut-rotate {\n 0% {\n transform: rotate(0); }\n 50% {\n transform: rotate(-140deg); }\n 100% {\n transform: rotate(0); } }\n\n/*\n\t\n\t6. Additional styles\n\n */\n/* root element of UI */\n.pswp__ui {\n -webkit-font-smoothing: auto;\n visibility: visible;\n opacity: 1;\n z-index: 1550; }\n\n/* top black bar with buttons and \"1 of X\" indicator */\n.pswp__top-bar {\n position: absolute;\n left: 0;\n top: 0;\n height: 44px;\n width: 100%; }\n\n.pswp__caption,\n.pswp__top-bar,\n.pswp--has_mouse .pswp__button--arrow--left,\n.pswp--has_mouse .pswp__button--arrow--right {\n -webkit-backface-visibility: hidden;\n will-change: opacity;\n transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); }\n\n/* pswp--has_mouse class is added only when two subsequent mousemove events occur */\n.pswp--has_mouse .pswp__button--arrow--left,\n.pswp--has_mouse .pswp__button--arrow--right {\n visibility: visible; }\n\n.pswp__top-bar,\n.pswp__caption {\n background-color: rgba(0, 0, 0, 0.5); }\n\n/* pswp__ui--fit class is added when main image \"fits\" between top bar and bottom bar (caption) */\n.pswp__ui--fit .pswp__top-bar,\n.pswp__ui--fit .pswp__caption {\n background-color: rgba(0, 0, 0, 0.3); }\n\n/* pswp__ui--idle class is added when mouse isn't moving for several seconds (JS option timeToIdle) */\n.pswp__ui--idle .pswp__top-bar {\n opacity: 0; }\n\n.pswp__ui--idle .pswp__button--arrow--left,\n.pswp__ui--idle .pswp__button--arrow--right {\n opacity: 0; }\n\n/*\n\tpswp__ui--hidden class is added when controls are hidden\n\te.g. when user taps to toggle visibility of controls\n*/\n.pswp__ui--hidden .pswp__top-bar,\n.pswp__ui--hidden .pswp__caption,\n.pswp__ui--hidden .pswp__button--arrow--left,\n.pswp__ui--hidden .pswp__button--arrow--right {\n /* Force paint & create composition layer for controls. */\n opacity: 0.001; }\n\n/* pswp__ui--one-slide class is added when there is just one item in gallery */\n.pswp__ui--one-slide .pswp__button--arrow--left,\n.pswp__ui--one-slide .pswp__button--arrow--right,\n.pswp__ui--one-slide .pswp__counter {\n display: none; }\n\n.pswp__element--disabled {\n display: none !important; }\n\n.pswp--minimal--dark .pswp__top-bar {\n background: none; }\n";
|
|
55302
|
+
styleInject(css_248z$2);
|
|
55303
|
+
|
|
55267
55304
|
var photoswipe = {exports: {}};
|
|
55268
55305
|
|
|
55269
55306
|
/*! PhotoSwipe - v4.1.3 - 2019-01-08
|
|
@@ -60894,6 +60931,9 @@
|
|
|
60894
60931
|
|
|
60895
60932
|
var reactAddonsCssTransitionGroup = CSSTransitionGroup.exports;
|
|
60896
60933
|
|
|
60934
|
+
var css_248z$1 = ".emoji-mart,\n.emoji-mart * {\n box-sizing: border-box;\n line-height: 1.15;\n}\n\n.emoji-mart {\n font-family: -apple-system, BlinkMacSystemFont, \"Helvetica Neue\", sans-serif;\n font-size: 16px;\n display: inline-block;\n color: #222427;\n border: 1px solid #d9d9d9;\n border-radius: 5px;\n background: #fff;\n}\n\n.emoji-mart .emoji-mart-emoji {\n padding: 6px;\n}\n\n.emoji-mart-bar {\n border: 0 solid #d9d9d9;\n}\n.emoji-mart-bar:first-child {\n border-bottom-width: 1px;\n border-top-left-radius: 5px;\n border-top-right-radius: 5px;\n}\n.emoji-mart-bar:last-child {\n border-top-width: 1px;\n border-bottom-left-radius: 5px;\n border-bottom-right-radius: 5px;\n}\n\n.emoji-mart-anchors {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n padding: 0 6px;\n line-height: 0;\n}\n\n.emoji-mart-anchor {\n position: relative;\n display: block;\n flex: 1 1 auto;\n color: #858585;\n text-align: center;\n padding: 12px 4px;\n overflow: hidden;\n transition: color .1s ease-out;\n margin: 0;\n box-shadow: none;\n background: none;\n border: none;\n}\n.emoji-mart-anchor:focus { outline: 0 }\n.emoji-mart-anchor:hover,\n.emoji-mart-anchor:focus,\n.emoji-mart-anchor-selected {\n color: #464646;\n}\n\n.emoji-mart-anchor-selected .emoji-mart-anchor-bar {\n bottom: 0;\n}\n\n.emoji-mart-anchor-bar {\n position: absolute;\n bottom: -3px; left: 0;\n width: 100%; height: 3px;\n background-color: #464646;\n}\n\n.emoji-mart-anchors i {\n display: inline-block;\n width: 100%;\n max-width: 22px;\n}\n\n.emoji-mart-anchors svg,\n.emoji-mart-anchors img {\n fill: currentColor;\n height: 18px;\n width: 18px;\n}\n\n.emoji-mart-scroll {\n overflow-y: scroll;\n overflow-x: hidden;\n height: 270px;\n padding: 0 6px 6px 6px;\n will-change: transform; /* avoids \"repaints on scroll\" in mobile Chrome */\n}\n\n.emoji-mart-search {\n margin-top: 6px;\n padding: 0 6px;\n position: relative;\n}\n\n.emoji-mart-search input {\n font-size: 16px;\n display: block;\n width: 100%;\n padding: 5px 25px 6px 10px;\n border-radius: 5px;\n border: 1px solid #d9d9d9;\n outline: 0;\n}\n\n.emoji-mart-search input,\n.emoji-mart-search input::-webkit-search-decoration,\n.emoji-mart-search input::-webkit-search-cancel-button,\n.emoji-mart-search input::-webkit-search-results-button,\n.emoji-mart-search input::-webkit-search-results-decoration {\n /* remove webkit/blink styles for <input type=\"search\">\n * via https://stackoverflow.com/a/9422689 */\n -webkit-appearance: none;\n}\n\n.emoji-mart-search-icon {\n position: absolute;\n top: 7px;\n right: 11px;\n z-index: 2;\n padding: 2px 5px 1px;\n border: none;\n background: none;\n}\n\n.emoji-mart-category .emoji-mart-emoji span {\n z-index: 1;\n position: relative;\n text-align: center;\n cursor: default;\n}\n\n.emoji-mart-category .emoji-mart-emoji:hover:before {\n z-index: 0;\n content: \"\";\n position: absolute;\n top: 0; left: 0;\n width: 100%; height: 100%;\n background-color: #f4f4f4;\n border-radius: 100%;\n}\n\n.emoji-mart-category-label {\n z-index: 2;\n position: relative;\n position: -webkit-sticky;\n position: sticky;\n top: 0;\n}\n\n.emoji-mart-category-label span {\n display: block;\n width: 100%;\n font-weight: 500;\n padding: 5px 6px;\n background-color: #fff;\n background-color: rgba(255, 255, 255, .95);\n}\n\n.emoji-mart-category-list {\n margin: 0;\n padding: 0;\n}\n\n.emoji-mart-category-list li {\n list-style: none;\n margin: 0;\n padding: 0;\n display: inline-block;\n}\n\n.emoji-mart-emoji {\n position: relative;\n display: inline-block;\n font-size: 0;\n margin: 0;\n padding: 0;\n border: none;\n background: none;\n box-shadow: none;\n}\n\n.emoji-mart-emoji-native {\n font-family: \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Segoe UI\", \"Apple Color Emoji\", \"Twemoji Mozilla\", \"Noto Color Emoji\", \"Android Emoji\";\n}\n\n.emoji-mart-no-results {\n font-size: 14px;\n text-align: center;\n padding-top: 70px;\n color: #858585;\n}\n.emoji-mart-no-results-img {\n display: block;\n margin-left: auto;\n margin-right: auto;\n width: 50%;\n}\n.emoji-mart-no-results .emoji-mart-category-label {\n display: none;\n}\n.emoji-mart-no-results .emoji-mart-no-results-label {\n margin-top: .2em;\n}\n.emoji-mart-no-results .emoji-mart-emoji:hover:before {\n content: none;\n}\n\n.emoji-mart-preview {\n position: relative;\n height: 70px;\n}\n\n.emoji-mart-preview-emoji,\n.emoji-mart-preview-data,\n.emoji-mart-preview-skins {\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n}\n\n.emoji-mart-preview-emoji {\n left: 12px;\n}\n\n.emoji-mart-preview-data {\n left: 68px; right: 12px;\n word-break: break-all;\n}\n\n.emoji-mart-preview-skins {\n right: 30px;\n text-align: right;\n}\n\n.emoji-mart-preview-skins.custom {\n right: 10px;\n text-align: right;\n}\n\n.emoji-mart-preview-name {\n font-size: 14px;\n}\n\n.emoji-mart-preview-shortname {\n font-size: 12px;\n color: #888;\n}\n.emoji-mart-preview-shortname + .emoji-mart-preview-shortname,\n.emoji-mart-preview-shortname + .emoji-mart-preview-emoticon,\n.emoji-mart-preview-emoticon + .emoji-mart-preview-emoticon {\n margin-left: .5em;\n}\n\n.emoji-mart-preview-emoticon {\n font-size: 11px;\n color: #bbb;\n}\n\n.emoji-mart-title span {\n display: inline-block;\n vertical-align: middle;\n}\n\n.emoji-mart-title .emoji-mart-emoji {\n padding: 0;\n}\n\n.emoji-mart-title-label {\n color: #999A9C;\n font-size: 26px;\n font-weight: 300;\n}\n\n.emoji-mart-skin-swatches {\n font-size: 0;\n padding: 2px 0;\n border: 1px solid #d9d9d9;\n border-radius: 12px;\n background-color: #fff;\n}\n\n.emoji-mart-skin-swatches.custom {\n font-size: 0;\n border: none;\n background-color: #fff;\n}\n\n.emoji-mart-skin-swatches.opened .emoji-mart-skin-swatch {\n width: 16px;\n padding: 0 2px;\n}\n\n.emoji-mart-skin-swatches.opened .emoji-mart-skin-swatch.selected:after {\n opacity: .75;\n}\n\n.emoji-mart-skin-swatch {\n display: inline-block;\n width: 0;\n vertical-align: middle;\n transition-property: width, padding;\n transition-duration: .125s;\n transition-timing-function: ease-out;\n}\n\n.emoji-mart-skin-swatch:nth-child(1) { transition-delay: 0s }\n.emoji-mart-skin-swatch:nth-child(2) { transition-delay: .03s }\n.emoji-mart-skin-swatch:nth-child(3) { transition-delay: .06s }\n.emoji-mart-skin-swatch:nth-child(4) { transition-delay: .09s }\n.emoji-mart-skin-swatch:nth-child(5) { transition-delay: .12s }\n.emoji-mart-skin-swatch:nth-child(6) { transition-delay: .15s }\n\n.emoji-mart-skin-swatch.selected {\n position: relative;\n width: 16px;\n padding: 0 2px;\n}\n\n.emoji-mart-skin-swatch.selected:after {\n content: \"\";\n position: absolute;\n top: 50%; left: 50%;\n width: 4px; height: 4px;\n margin: -2px 0 0 -2px;\n background-color: #fff;\n border-radius: 100%;\n pointer-events: none;\n opacity: 0;\n transition: opacity .2s ease-out;\n}\n\n.emoji-mart-skin-swatch.custom {\n display: inline-block;\n width: 0;\n height: 38px;\n overflow: hidden;\n vertical-align: middle;\n transition-property: width, height;\n transition-duration: .125s;\n transition-timing-function: ease-out;\n cursor: default;\n}\n\n.emoji-mart-skin-swatch.custom.selected {\n position: relative;\n width: 36px;\n height: 38px;\n padding: 0 2px 0 0;\n}\n\n.emoji-mart-skin-swatch.custom.selected:after {\n content: \"\";\n width: 0;\n height: 0;\n}\n\n.emoji-mart-skin-swatches.custom .emoji-mart-skin-swatch.custom:hover {\n background-color: #f4f4f4;\n border-radius: 10%;\n}\n\n.emoji-mart-skin-swatches.custom.opened .emoji-mart-skin-swatch.custom {\n width: 36px;\n height: 38px;\n padding: 0 2px 0 0;\n}\n\n.emoji-mart-skin-swatches.custom.opened .emoji-mart-skin-swatch.custom.selected:after {\n opacity: .75;\n}\n\n.emoji-mart-skin-text.opened {\n display: inline-block;\n vertical-align: middle;\n text-align: left;\n color: #888;\n font-size: 11px;\n padding: 5px 2px;\n width: 95px;\n height: 40px;\n border-radius: 10%;\n background-color: #fff;\n}\n\n.emoji-mart-skin {\n display: inline-block;\n width: 100%;\n padding-top: 100%;\n max-width: 12px;\n border-radius: 100%;\n}\n\n.emoji-mart-skin-tone-1 { background-color: #ffc93a }\n.emoji-mart-skin-tone-2 { background-color: #fadcbc }\n.emoji-mart-skin-tone-3 { background-color: #e0bb95 }\n.emoji-mart-skin-tone-4 { background-color: #bf8f68 }\n.emoji-mart-skin-tone-5 { background-color: #9b643d }\n.emoji-mart-skin-tone-6 { background-color: #594539 }\n\n/* For screenreaders only, via https://stackoverflow.com/a/19758620 */\n.emoji-mart-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n border: 0;\n}\n\n/*\n * Dark mode styles\n */\n\n.emoji-mart-dark {\n color: #fff;\n border-color: #555453;\n background-color: #222;\n}\n\n.emoji-mart-dark .emoji-mart-bar {\n border-color: #555453;\n}\n\n.emoji-mart-dark .emoji-mart-search input {\n color: #fff;\n border-color: #555453;\n background-color: #2f2f2f;\n}\n\n.emoji-mart-dark .emoji-mart-search-icon svg {\n fill: #fff;\n}\n\n.emoji-mart-dark .emoji-mart-category .emoji-mart-emoji:hover:before {\n background-color: #444;\n}\n\n.emoji-mart-dark .emoji-mart-category-label span {\n background-color: #222;\n color: #fff;\n}\n\n.emoji-mart-dark .emoji-mart-skin-swatches {\n border-color: #555453;\n background-color: #222;\n}\n\n.emoji-mart-dark .emoji-mart-anchor:hover,\n.emoji-mart-dark .emoji-mart-anchor:focus,\n.emoji-mart-dark .emoji-mart-anchor-selected {\n color: #bfbfbf;\n}\n";
|
|
60935
|
+
styleInject(css_248z$1);
|
|
60936
|
+
|
|
60897
60937
|
var dist$4 = {};
|
|
60898
60938
|
|
|
60899
60939
|
var dist$3 = {};
|
|
@@ -81009,7 +81049,7 @@
|
|
|
81009
81049
|
|
|
81010
81050
|
React$d.useEffect(function () {
|
|
81011
81051
|
if (!props.delay == null) {
|
|
81012
|
-
return
|
|
81052
|
+
return undefined;
|
|
81013
81053
|
}
|
|
81014
81054
|
|
|
81015
81055
|
var timeoutHandle = setTimeout(function () {
|
|
@@ -82028,7 +82068,7 @@
|
|
|
82028
82068
|
var initializeGalleryHandle = React$d.useRef();
|
|
82029
82069
|
React$d.useEffect(function () {
|
|
82030
82070
|
if (hidden) {
|
|
82031
|
-
return
|
|
82071
|
+
return undefined;
|
|
82032
82072
|
} // we have to initialize the gallery with a delay
|
|
82033
82073
|
// because if the gallery is initialized to quickly after it had been closed
|
|
82034
82074
|
// because for example a dependency changed (selectedIndex) than the whole page gets unusable
|
|
@@ -87191,9 +87231,9 @@
|
|
|
87191
87231
|
}), void 0);
|
|
87192
87232
|
};
|
|
87193
87233
|
|
|
87194
|
-
var version$1 = "0.
|
|
87195
|
-
var buildId = "
|
|
87196
|
-
var commitId = "
|
|
87234
|
+
var version$1 = "0.4.0-preview.59";
|
|
87235
|
+
var buildId = "95665";
|
|
87236
|
+
var commitId = "1c13c0934726a46f0dca7aac62c4ff26f60e5ead";
|
|
87197
87237
|
var isCustomerBuild = false;
|
|
87198
87238
|
var buildInfo = {
|
|
87199
87239
|
version: version$1,
|
|
@@ -87253,12 +87293,219 @@
|
|
|
87253
87293
|
}
|
|
87254
87294
|
});
|
|
87255
87295
|
|
|
87296
|
+
var client$1 = {
|
|
87297
|
+
configType: "local",
|
|
87298
|
+
authentication: {
|
|
87299
|
+
azuread: {
|
|
87300
|
+
clientId: "781a9147-6ddc-43fb-9cce-e01d7838ffe6",
|
|
87301
|
+
apiScope: "api://781a9147-6ddc-43fb-9cce-e01d7838ffe6/access_as_user",
|
|
87302
|
+
extraScopes: [
|
|
87303
|
+
"https://graph.microsoft.com/User.Read",
|
|
87304
|
+
"https://graph.microsoft.com/User.ReadBasic.All"
|
|
87305
|
+
],
|
|
87306
|
+
basePolicyUrl: "https://login.microsoftonline.com/",
|
|
87307
|
+
signInPolicy: "common"
|
|
87308
|
+
},
|
|
87309
|
+
b2c: {
|
|
87310
|
+
postLogoutRedirectUri: "https://livetilesglobal.com/products/livetiles-reach",
|
|
87311
|
+
clientId: "b13f12ba-c1c5-41da-8e22-1252b5fed0e4",
|
|
87312
|
+
basePolicyUrl: "https://condenseappexternaldev.b2clogin.com/condenseappexternaldev.onmicrosoft.com/",
|
|
87313
|
+
signInPolicy: "B2C_1_SignInSignUpPolicy",
|
|
87314
|
+
forgotPasswordPolicy: "B2C_1_ResetPasswordPolicy",
|
|
87315
|
+
apiScope: "https://condenseappexternaldev.onmicrosoft.com/web/access_as_user"
|
|
87316
|
+
},
|
|
87317
|
+
teams: {
|
|
87318
|
+
clientId: "c17acfe6-6106-47e6-b9ac-12c6a9e78db6",
|
|
87319
|
+
scopes: [
|
|
87320
|
+
"email",
|
|
87321
|
+
"openid",
|
|
87322
|
+
"profile",
|
|
87323
|
+
"offline_access"
|
|
87324
|
+
],
|
|
87325
|
+
extraScopes: [
|
|
87326
|
+
"https://graph.microsoft.com/User.Read",
|
|
87327
|
+
"https://graph.microsoft.com/User.ReadBasic.All"
|
|
87328
|
+
],
|
|
87329
|
+
basePolicyUrl: "https://login.microsoftonline.com/"
|
|
87330
|
+
}
|
|
87331
|
+
},
|
|
87332
|
+
apiEndpoint: "http://localhost:5000/api/v1",
|
|
87333
|
+
api2Endpoint: "http://localhost:5000/api/v2",
|
|
87334
|
+
api3Endpoint: "http://localhost:5000/api/v3",
|
|
87335
|
+
webSocketsEndpoint: "ws://localhost:5000/api/v2",
|
|
87336
|
+
productWebsite: "https://reach.livetilesglobal.com/",
|
|
87337
|
+
supportUrl: "https://support.livetilesglobal.com/",
|
|
87338
|
+
privacyUrl: "https://livetilesglobal.com/livetiles-privacy-policy",
|
|
87339
|
+
eulaUrl: "https://livetilesglobal.com/livetiles-privacy-policy",
|
|
87340
|
+
unsplash: {
|
|
87341
|
+
appName: "Condense",
|
|
87342
|
+
apiKey: "N/A",
|
|
87343
|
+
clientId: "8b17ad8ed176954881976b7e08a2a6305d01b9b708455c14bbd43780ff6b62ba"
|
|
87344
|
+
},
|
|
87345
|
+
canva: {
|
|
87346
|
+
apiKey: "6vvsr2srHeve85SXxMX1k1LD"
|
|
87347
|
+
},
|
|
87348
|
+
zendeskMessaging: {
|
|
87349
|
+
enable: true,
|
|
87350
|
+
apiKey: "816bfec7-3beb-457a-a4a1-f462c9cb403f"
|
|
87351
|
+
},
|
|
87352
|
+
webAppUrl: "http://localhost:3000",
|
|
87353
|
+
hyperfish: {
|
|
87354
|
+
regionJumperUrl: "https://antrearegionjumper.azurewebsites.net/api/antrearegionjumper",
|
|
87355
|
+
regionJumperKey: "T1YDqmyQX/bXhFapRLdaPBenzRLMCCNafSVwzmwI7fYnkwj6wLL0Hg=="
|
|
87356
|
+
},
|
|
87357
|
+
maxFileSizeInMb: 100,
|
|
87358
|
+
giphy: {
|
|
87359
|
+
apiKey: "idBrSgzpBdNCqLmXPRaoHz9DFGKK79wU"
|
|
87360
|
+
},
|
|
87361
|
+
userflow: {
|
|
87362
|
+
userflowToken: "ct_gjkrqpboc5edlg6vduhnxfti3e"
|
|
87363
|
+
},
|
|
87364
|
+
oneSignal: {
|
|
87365
|
+
appId: "dd89af4f-325e-447e-a030-654043cfbc6a"
|
|
87366
|
+
}
|
|
87367
|
+
};
|
|
87256
87368
|
var baseAppSettings = {
|
|
87257
|
-
|
|
87369
|
+
client: client$1
|
|
87370
|
+
};
|
|
87371
|
+
|
|
87372
|
+
var client = {
|
|
87373
|
+
configType: "production",
|
|
87374
|
+
authentication: {
|
|
87375
|
+
azuread: {
|
|
87376
|
+
clientId: "d492530a-8cff-481c-90da-9c3c3f1be7da",
|
|
87377
|
+
apiScope: "api://d492530a-8cff-481c-90da-9c3c3f1be7da/access_as_user",
|
|
87378
|
+
extraScopes: [
|
|
87379
|
+
"https://graph.microsoft.com/User.Read",
|
|
87380
|
+
"https://graph.microsoft.com/User.ReadBasic.All"
|
|
87381
|
+
]
|
|
87382
|
+
},
|
|
87383
|
+
b2c: {
|
|
87384
|
+
clientId: "cc9987a7-c666-4be1-a81c-f80dba7ef2e9",
|
|
87385
|
+
basePolicyUrl: "https://condenseappexternal.b2clogin.com/condenseappexternal.onmicrosoft.com/",
|
|
87386
|
+
signInPolicy: "B2C_1_SignInSignUpPolicy",
|
|
87387
|
+
forgotPasswordPolicy: "B2C_1_ResetPasswordPolicy",
|
|
87388
|
+
apiScope: "https://condenseappexternal.onmicrosoft.com/web/access_as_user"
|
|
87389
|
+
},
|
|
87390
|
+
teams: {
|
|
87391
|
+
clientId: "a7c1920d-3ac0-42db-9757-078a2b321fd8"
|
|
87392
|
+
},
|
|
87393
|
+
teamsAustralia: {
|
|
87394
|
+
clientId: "29942469-c421-4026-92ef-9bf24a6fc08c"
|
|
87395
|
+
}
|
|
87396
|
+
},
|
|
87397
|
+
apiEndpoint: "https://api.reach.livetiles.io/api/v1",
|
|
87398
|
+
api2Endpoint: "https://api.reach.livetiles.io/api/v2",
|
|
87399
|
+
api3Endpoint: "https://api.reach.livetiles.io/api/v3",
|
|
87400
|
+
webSocketsEndpoint: "wss://ws.reach.livetiles.io/api/v2",
|
|
87401
|
+
webAppUrl: "https://reach.livetiles.io",
|
|
87402
|
+
additionalWebAppUrls: [
|
|
87403
|
+
"https://app.reach.livetiles.io",
|
|
87404
|
+
"https://app.condense.ch"
|
|
87405
|
+
],
|
|
87406
|
+
appInsightsKey: "c4758fee-1409-47a9-a508-03efd775256c",
|
|
87407
|
+
canva: {
|
|
87408
|
+
apiKey: "mYnapNU5aDqD-1xEMFZkpdzT"
|
|
87409
|
+
},
|
|
87410
|
+
giphy: {
|
|
87411
|
+
apiKey: "jqAFrpqGDwOFqeu8Rn6YfjRGkKhlxZyn"
|
|
87412
|
+
},
|
|
87413
|
+
userflow: {
|
|
87414
|
+
userflowToken: "ct_3um627fkk5cxvnkwawnaf2b4gy"
|
|
87415
|
+
},
|
|
87416
|
+
oneSignal: {
|
|
87417
|
+
appId: "47a684a5-e9e0-4aaf-84b8-9f3e6585b292"
|
|
87418
|
+
}
|
|
87258
87419
|
};
|
|
87259
|
-
|
|
87420
|
+
var appleAppSiteAssociation = {
|
|
87421
|
+
applinks: {
|
|
87422
|
+
apps: [
|
|
87423
|
+
],
|
|
87424
|
+
details: [
|
|
87425
|
+
{
|
|
87426
|
+
appID: "38H4H9G62J.ch.itsystems.condense.appstore",
|
|
87427
|
+
paths: [
|
|
87428
|
+
"NOT /login-complete",
|
|
87429
|
+
"NOT /login/msal/v2/complete",
|
|
87430
|
+
"*"
|
|
87431
|
+
]
|
|
87432
|
+
},
|
|
87433
|
+
{
|
|
87434
|
+
appID: "488UAW88ZW.ch.cycl.virtualcorp",
|
|
87435
|
+
paths: [
|
|
87436
|
+
"NOT /login-complete",
|
|
87437
|
+
"NOT /login/msal/v2/complete",
|
|
87438
|
+
"*"
|
|
87439
|
+
]
|
|
87440
|
+
},
|
|
87441
|
+
{
|
|
87442
|
+
appID: "38H4H9G62J.ch.brettspielerei.reach",
|
|
87443
|
+
paths: [
|
|
87444
|
+
"NOT /login-complete",
|
|
87445
|
+
"NOT /login/msal/v2/complete",
|
|
87446
|
+
"*"
|
|
87447
|
+
]
|
|
87448
|
+
},
|
|
87449
|
+
{
|
|
87450
|
+
appID: "38H4H9G62J.ch.cycl.swissgrid.reach.sgalert",
|
|
87451
|
+
paths: [
|
|
87452
|
+
"NOT /login-complete",
|
|
87453
|
+
"NOT /login/msal/v2/complete",
|
|
87454
|
+
"*"
|
|
87455
|
+
]
|
|
87456
|
+
},
|
|
87457
|
+
{
|
|
87458
|
+
appID: "56EHQBHJ3J.com.clariant.livetiles.reach.clarinet",
|
|
87459
|
+
paths: [
|
|
87460
|
+
"NOT /login-complete",
|
|
87461
|
+
"NOT /login/msal/v2/complete",
|
|
87462
|
+
"*"
|
|
87463
|
+
]
|
|
87464
|
+
},
|
|
87465
|
+
{
|
|
87466
|
+
appID: "ABW92QGFZ7.ch.srgssr.mediareleases",
|
|
87467
|
+
paths: [
|
|
87468
|
+
"NOT /login-complete",
|
|
87469
|
+
"NOT /login/msal/v2/complete",
|
|
87470
|
+
"*"
|
|
87471
|
+
]
|
|
87472
|
+
},
|
|
87473
|
+
{
|
|
87474
|
+
appID: "BSDKD93QN7.uk.nhs.walsallhealthcare.reach",
|
|
87475
|
+
paths: [
|
|
87476
|
+
"NOT /login-complete",
|
|
87477
|
+
"NOT /login/msal/v2/complete",
|
|
87478
|
+
"*"
|
|
87479
|
+
]
|
|
87480
|
+
},
|
|
87481
|
+
{
|
|
87482
|
+
appID: "UR7996XGFD.com.footlocker.livetiles.mylockerroom",
|
|
87483
|
+
paths: [
|
|
87484
|
+
"NOT /login-complete",
|
|
87485
|
+
"NOT /login/msal/v2/complete",
|
|
87486
|
+
"*"
|
|
87487
|
+
]
|
|
87488
|
+
},
|
|
87489
|
+
{
|
|
87490
|
+
appID: "AV7MUKSPS2.app.mynetzero.service",
|
|
87491
|
+
paths: [
|
|
87492
|
+
"NOT /login-complete",
|
|
87493
|
+
"NOT /login/msal/v2/complete",
|
|
87494
|
+
"*"
|
|
87495
|
+
]
|
|
87496
|
+
}
|
|
87497
|
+
]
|
|
87498
|
+
}
|
|
87499
|
+
};
|
|
87500
|
+
var microsoftAssociatedApplications = [
|
|
87501
|
+
{
|
|
87502
|
+
applicationId: "29942469-c421-4026-92ef-9bf24a6fc08c"
|
|
87503
|
+
}
|
|
87504
|
+
];
|
|
87260
87505
|
var prodAppSettings = {
|
|
87261
|
-
|
|
87506
|
+
client: client,
|
|
87507
|
+
appleAppSiteAssociation: appleAppSiteAssociation,
|
|
87508
|
+
microsoftAssociatedApplications: microsoftAssociatedApplications
|
|
87262
87509
|
};
|
|
87263
87510
|
|
|
87264
87511
|
var nonProdEndPoints = ['//localhost', '//api:5000', '//api.dev.reach.livetiles.io', '//api.test.reach.livetiles.io', '//api.staging.reach.livetiles.io', '//api-dev.condense.ch', '//api-test.condense.ch', '//api-staging.condense.ch'];
|
|
@@ -87677,52 +87924,52 @@
|
|
|
87677
87924
|
}, void 0);
|
|
87678
87925
|
}
|
|
87679
87926
|
|
|
87680
|
-
return jsxRuntime.jsx(
|
|
87681
|
-
|
|
87927
|
+
return jsxRuntime.jsx("div", __assign$g({
|
|
87928
|
+
className: reachClassNames
|
|
87682
87929
|
}, {
|
|
87683
|
-
children: jsxRuntime.jsx(
|
|
87684
|
-
|
|
87685
|
-
|
|
87686
|
-
|
|
87687
|
-
children: jsxRuntime.jsx(
|
|
87688
|
-
|
|
87689
|
-
|
|
87690
|
-
|
|
87691
|
-
children: jsxRuntime.jsx(
|
|
87692
|
-
|
|
87930
|
+
children: jsxRuntime.jsx(EnvironmentContext.Provider, __assign$g({
|
|
87931
|
+
value: envContextValue
|
|
87932
|
+
}, {
|
|
87933
|
+
children: jsxRuntime.jsx(ReactRouterDom.MemoryRouter, {
|
|
87934
|
+
children: jsxRuntime.jsx(StorageContext.Provider, __assign$g({
|
|
87935
|
+
value: memoryStorageInstance
|
|
87936
|
+
}, {
|
|
87937
|
+
children: jsxRuntime.jsx(LibraryClientConfigProvider, {
|
|
87938
|
+
children: jsxRuntime.jsx(ResourceContextProvider, __assign$g({
|
|
87939
|
+
language: props.language
|
|
87693
87940
|
}, {
|
|
87694
|
-
children: jsxRuntime.jsx(
|
|
87695
|
-
|
|
87696
|
-
|
|
87697
|
-
|
|
87698
|
-
|
|
87699
|
-
|
|
87941
|
+
children: jsxRuntime.jsx(ThemeContextProvider, __assign$g({
|
|
87942
|
+
disableUiFabricThemeOverwrite: props.disableUiFabricThemeOverwrite
|
|
87943
|
+
}, {
|
|
87944
|
+
children: jsxRuntime.jsx(ReachErrorContextProvider, {
|
|
87945
|
+
children: jsxRuntime.jsx(AuthenticationContextProvider, __assign$g({
|
|
87946
|
+
onRequestToken: props.onRequestToken,
|
|
87700
87947
|
subscriptionId: props.subscriptionId
|
|
87701
87948
|
}, {
|
|
87702
|
-
children: jsxRuntime.jsx(
|
|
87703
|
-
subscriptionId: props.subscriptionId
|
|
87704
|
-
shouldUsePublicAccess: !props.onRequestToken
|
|
87949
|
+
children: jsxRuntime.jsx(SubscriptionIdContextProvider, __assign$g({
|
|
87950
|
+
subscriptionId: props.subscriptionId
|
|
87705
87951
|
}, {
|
|
87706
|
-
children: jsxRuntime.jsx(
|
|
87707
|
-
|
|
87708
|
-
|
|
87709
|
-
|
|
87710
|
-
|
|
87711
|
-
|
|
87712
|
-
|
|
87713
|
-
|
|
87714
|
-
|
|
87715
|
-
|
|
87716
|
-
|
|
87717
|
-
|
|
87718
|
-
|
|
87719
|
-
|
|
87720
|
-
|
|
87721
|
-
|
|
87722
|
-
|
|
87723
|
-
|
|
87724
|
-
|
|
87725
|
-
|
|
87952
|
+
children: jsxRuntime.jsx(PublicAccessHandler, __assign$g({
|
|
87953
|
+
subscriptionId: props.subscriptionId,
|
|
87954
|
+
shouldUsePublicAccess: !props.onRequestToken
|
|
87955
|
+
}, {
|
|
87956
|
+
children: jsxRuntime.jsx(ReachLinkContextProvider, {
|
|
87957
|
+
children: jsxRuntime.jsx(ChromeSettingsContext.Provider, __assign$g({
|
|
87958
|
+
value: {
|
|
87959
|
+
hideChrome: false
|
|
87960
|
+
}
|
|
87961
|
+
}, {
|
|
87962
|
+
children: jsxRuntime.jsx(CurrentUserContextProvider, {
|
|
87963
|
+
children: jsxRuntime.jsx(GraphQlClientProvider, __assign$g({
|
|
87964
|
+
gqlClientConfig: {
|
|
87965
|
+
endPoint: envContextValue.appConfig.api3Endpoint,
|
|
87966
|
+
webSocketsEndpoint: envContextValue.appConfig.webSocketsEndpoint
|
|
87967
|
+
}
|
|
87968
|
+
}, {
|
|
87969
|
+
children: jsxRuntime.jsx(CurrentUserDetailContextProvider, {
|
|
87970
|
+
children: jsxRuntime.jsx(LazySubscriptionContextProvider, {
|
|
87971
|
+
children: jsxRuntime.jsxs(NotificationContextProvider, {
|
|
87972
|
+
children: [jsxRuntime.jsx(ToastNotificationHost, {}, void 0), jsxRuntime.jsx(NotificationBar, {}, void 0), jsxRuntime.jsx(Styles, {}, void 0), jsxRuntime.jsxs(ReactRouterDom.Switch, {
|
|
87726
87973
|
children: [jsxRuntime.jsx(ReactRouterDom.Route, {
|
|
87727
87974
|
path: "/:subscriptionHandleOrId",
|
|
87728
87975
|
render: function () {
|
|
@@ -87733,24 +87980,24 @@
|
|
|
87733
87980
|
return props.children;
|
|
87734
87981
|
}
|
|
87735
87982
|
}, void 0)]
|
|
87736
|
-
}, void 0)
|
|
87737
|
-
}
|
|
87983
|
+
}, void 0)]
|
|
87984
|
+
}, void 0)
|
|
87738
87985
|
}, void 0)
|
|
87739
87986
|
}, void 0)
|
|
87740
|
-
}, void 0)
|
|
87741
|
-
}
|
|
87742
|
-
}, void 0)
|
|
87743
|
-
}
|
|
87744
|
-
}, void 0)
|
|
87987
|
+
}), void 0)
|
|
87988
|
+
}, void 0)
|
|
87989
|
+
}), void 0)
|
|
87990
|
+
}, void 0)
|
|
87991
|
+
}), void 0)
|
|
87745
87992
|
}), void 0)
|
|
87746
87993
|
}), void 0)
|
|
87747
|
-
}
|
|
87748
|
-
}, void 0)
|
|
87994
|
+
}, void 0)
|
|
87995
|
+
}), void 0)
|
|
87749
87996
|
}), void 0)
|
|
87750
|
-
}
|
|
87751
|
-
}, void 0)
|
|
87752
|
-
}
|
|
87753
|
-
}, void 0)
|
|
87997
|
+
}, void 0)
|
|
87998
|
+
}), void 0)
|
|
87999
|
+
}, void 0)
|
|
88000
|
+
}), void 0)
|
|
87754
88001
|
}), void 0);
|
|
87755
88002
|
|
|
87756
88003
|
function getEnvValue() {
|
|
@@ -119541,6 +119788,9 @@
|
|
|
119541
119788
|
return convertFromHTML.apply(void 0, arguments);
|
|
119542
119789
|
});
|
|
119543
119790
|
|
|
119791
|
+
var css_248z = "/**\n * Draft v0.11.6\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n.DraftEditor-editorContainer,.DraftEditor-root,.public-DraftEditor-content{height:inherit;text-align:initial}.public-DraftEditor-content[contenteditable=true]{-webkit-user-modify:read-write-plaintext-only}.DraftEditor-root{position:relative}.DraftEditor-editorContainer{background-color:rgba(255,255,255,0);border-left:.1px solid transparent;position:relative;z-index:1}.public-DraftEditor-block{position:relative}.DraftEditor-alignLeft .public-DraftStyleDefault-block{text-align:left}.DraftEditor-alignLeft .public-DraftEditorPlaceholder-root{left:0;text-align:left}.DraftEditor-alignCenter .public-DraftStyleDefault-block{text-align:center}.DraftEditor-alignCenter .public-DraftEditorPlaceholder-root{margin:0 auto;text-align:center;width:100%}.DraftEditor-alignRight .public-DraftStyleDefault-block{text-align:right}.DraftEditor-alignRight .public-DraftEditorPlaceholder-root{right:0;text-align:right}.public-DraftEditorPlaceholder-root{color:#9197a3;position:absolute;width:100%;z-index:1}.public-DraftEditorPlaceholder-hasFocus{color:#bdc1c9}.DraftEditorPlaceholder-hidden{display:none}.public-DraftStyleDefault-block{position:relative;white-space:pre-wrap}.public-DraftStyleDefault-ltr{direction:ltr;text-align:left}.public-DraftStyleDefault-rtl{direction:rtl;text-align:right}.public-DraftStyleDefault-listLTR{direction:ltr}.public-DraftStyleDefault-listRTL{direction:rtl}.public-DraftStyleDefault-ol,.public-DraftStyleDefault-ul{margin:16px 0;padding:0}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listLTR{margin-left:1.5em}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listRTL{margin-right:1.5em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listLTR{margin-left:3em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listRTL{margin-right:3em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listLTR{margin-left:4.5em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listRTL{margin-right:4.5em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listLTR{margin-left:6em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listRTL{margin-right:6em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listLTR{margin-left:7.5em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listRTL{margin-right:7.5em}.public-DraftStyleDefault-unorderedListItem{list-style-type:square;position:relative}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth0{list-style-type:disc}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth1{list-style-type:circle}.public-DraftStyleDefault-orderedListItem{list-style-type:none;position:relative}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listLTR:before{left:-36px;position:absolute;text-align:right;width:30px}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listRTL:before{position:absolute;right:-36px;text-align:left;width:30px}.public-DraftStyleDefault-orderedListItem:before{content:counter(ol0) \". \";counter-increment:ol0}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth1:before{content:counter(ol1,lower-alpha) \". \";counter-increment:ol1}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth2:before{content:counter(ol2,lower-roman) \". \";counter-increment:ol2}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth3:before{content:counter(ol3) \". \";counter-increment:ol3}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth4:before{content:counter(ol4,lower-alpha) \". \";counter-increment:ol4}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-reset{counter-reset:ol0}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-reset{counter-reset:ol1}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-reset{counter-reset:ol2}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-reset{counter-reset:ol3}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-reset{counter-reset:ol4}";
|
|
119792
|
+
styleInject(css_248z);
|
|
119793
|
+
|
|
119544
119794
|
var exenv = {exports: {}};
|
|
119545
119795
|
|
|
119546
119796
|
/*!
|
|
@@ -125957,7 +126207,7 @@
|
|
|
125957
126207
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
125958
126208
|
},[commentIdsString]);var showSpinner=!preventLoading&&isLoading;var showLoadMore=!preventLoading&&hasNextPage&&!isLoading;var showComments=!preventLoading&&(comments===null||comments===void 0?void 0:comments.length)>0;return jsxRuntime.jsxs("div",__assign({className:className},{children:[jsxRuntime.jsxs(TitleAndSpinner,{children:[title,showSpinner&&jsxRuntime.jsx(StyledSpinner$1,{},void 0)]},void 0),showLoadMore&&jsxRuntime.jsx(LoadMoreContainer,__assign({"data-load-more-comments-container":true,"data-show-highlight":hasMoreUnreadComments,highlight:hasMoreUnreadComments},{children:jsxRuntime.jsx(LoadMore,{text:formatMessage({id:type===ItemResourceTypes.Posts||threadId!=null?'Post.comments.loadMore':'Comment.loadMore'}),onClick:function(){return loadNextPage();},iconProps:{iconName:'ScrollUpDown'},"data-load-more-comments":true},void 0)}),void 0),showComments&&jsxRuntime.jsx(CommentList,{scope:ConversationScope.Public,items:comments,groupIds:groupIds,isLoading:isLoading,onCommentDeleted:handleCommentDeleted,mentionSearchHandler:mentionSearchHandler,type:type,baseAttachmentPath:baseAttachmentPath,noItemsYetStringResourceKey:noItemsYetStringResourceKey,getHashtagFilterRoute:getHashtagFilterRoute,onReply:handleOnReply,readOnly:readOnly},void 0),!showNewComment&&jsxRuntime.jsx(ReplyButton,{iconProps:{iconName:'Reply'},text:formatMessage({id:'Post.comments.addReply'}),onClick:showNewCommentInput,"data-add-comment":true},void 0),showNewComment&&jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(NewComment// the key is required to autofocus the reply field when replying to comments
|
|
125959
126209
|
,{readOnly:readOnly,onPost:handleCommentCreated,mentionSearchHandler:mentionSearchHandler,autoFocus:autoFocusNewCommentInput,focusAfterPost:!env.isNativeMobileApp,baseAttachmentPath:baseAttachmentPath,placeHolderStringResourceKey:placeHolderStringResourceKey,placeHolderStringResourceValues:placeHolderStringResourceValues,content:getContent(),allowSaveWithoutContent:true,saveOnCtrlEnter:true},commentToReplyTo===null||commentToReplyTo===void 0?void 0:commentToReplyTo.commentId),!readOnly&&buttons]},void 0)]}),void 0);function getContent(){var _a;return ((_a=commentToReplyTo===null||commentToReplyTo===void 0?void 0:commentToReplyTo.commentSender)===null||_a===void 0?void 0:_a.id)&&commentToReplyTo.commentSender.id!==user.id?constructUserMention(commentToReplyTo.commentSender):null;}function handleOnReply(commentId,commentSender){if(features.replyToComments){history.replace(__assign(__assign({},location),{state:{parentCommentId:"Comment-"+commentId}}));onThreadReply===null||onThreadReply===void 0?void 0:onThreadReply(commentId);setCommentToReplyTo({commentId:commentId,commentSender:commentSender});return;}showNewCommentInput();setCommentToReplyTo({commentId:commentId,commentSender:commentSender});setAutoFocusNewCommentInput(true);}function showNewCommentInput(){if(user.isPublicUser){triggerEvent(PromptPublicUserLoginAction.create());return;}setShowNewComment(true);}function handleCommentDeleted(comment){return __awaiter(this,void 0,void 0,function(){var _a;return __generator(this,function(_b){switch(_b.label){case 0:setComments(function(stateComments){return stateComments.filter(function(c){return c.id!==comment.id;});});onCommentDeleted===null||onCommentDeleted===void 0?void 0:onCommentDeleted(comment);_a=!threadId;if(!_a)return [3/*break*/,2];return [4/*yield*/,refreshStatistics(itemId,{commentCount:-1})];case 1:_a=_b.sent();_b.label=2;case 2:return [2/*return*/];}});});}function handleCommentCreated(commentDelta,attachmentContainerId,attachments){return __awaiter(this,void 0,void 0,function(){var newComment,comment_1,_a,error_1;return __generator(this,function(_b){switch(_b.label){case 0:newComment={id:null,parentItemId:itemId,content:commentDelta.content,conversationScope:scope,sender:user,receivedDateTime:moment.utc().toISOString(),attachmentContainerId:attachmentContainerId,attachments:attachments,threadId:threadId,isUnread:false};setComments(function(stateComments){return __spreadArray(__spreadArray([],stateComments),[newComment]);});onCommentAdded===null||onCommentAdded===void 0?void 0:onCommentAdded();_b.label=1;case 1:_b.trys.push([1,5,6,7]);return [4/*yield*/,createComment(type,scope,itemId,__assign(__assign({},commentDelta),{attachmentContainerId:attachmentContainerId,attachments:attachments,threadId:threadId}))];case 2:comment_1=_b.sent();_a=!threadId;if(!_a)return [3/*break*/,4];return [4/*yield*/,refreshStatistics(itemId,{commentCount:1})];case 3:_a=_b.sent();_b.label=4;case 4:setComments(function(stateComments){var _a;return update$1(stateComments,(_a={},_a[stateComments.length-1]={$merge:{id:comment_1.id,fileAccessToken:comment_1.fileAccessToken}},_a));});return [3/*break*/,7];case 5:error_1=_b.sent();logger.error(error_1);showError('Comment.errorMessage');return [3/*break*/,7];case 6:setAutoFocusNewCommentInput(false);setCommentToReplyTo(null);return [7/*endfinally*/];case 7:return [2/*return*/];}});});}};var TitleAndSpinner=_styled__default["default"].div.withConfig({displayName:"PagedCommentsSection__TitleAndSpinner",componentId:"sc-1f3hft1-0"})(templateObject_1$13||(templateObject_1$13=__makeTemplateObject(["\n display: flex;\n"],["\n display: flex;\n"])));var ReplyButton=_styled__default["default"](ActionButton).withConfig({displayName:"PagedCommentsSection__ReplyButton",componentId:"sc-1f3hft1-1"})(templateObject_2$D||(templateObject_2$D=__makeTemplateObject(["\n && {\n padding: 0;\n height: auto;\n min-height: 20px;\n border: none;\n color: ",";\n align-self: flex-start;\n }\n"],["\n && {\n padding: 0;\n height: auto;\n min-height: 20px;\n border: none;\n color: ",";\n align-self: flex-start;\n }\n"])),function(p){return p.theme.palette.accent;});var NewComment=_styled__default["default"](CreateCommentWithAttachments).withConfig({displayName:"PagedCommentsSection__NewComment",componentId:"sc-1f3hft1-2"})(templateObject_3$s||(templateObject_3$s=__makeTemplateObject(["\n margin: 10px 0;\n position: relative;\n\n .comment-input__host {\n border: none;\n }\n"],["\n margin: 10px 0;\n position: relative;\n\n .comment-input__host {\n border: none;\n }\n"])));var LoadMoreContainer=_styled__default["default"].div.withConfig({displayName:"PagedCommentsSection__LoadMoreContainer",componentId:"sc-1f3hft1-3"})(templateObject_5$h||(templateObject_5$h=__makeTemplateObject(["\n & ~ .comment-list {\n margin-top: 15px;\n }\n\n ","\n"],["\n & ~ .comment-list {\n margin-top: 15px;\n }\n\n ","\n"])),function(p){return p.highlight&&_styled.css(templateObject_4$i||(templateObject_4$i=__makeTemplateObject(["\n position: relative;\n\n &::after {\n content: '';\n position: absolute;\n top: -","px;\n bottom: 0;\n right: -","px;\n width: ","px;\n display: block;\n background-color: ",";\n }\n "],["\n position: relative;\n\n &::after {\n content: '';\n position: absolute;\n top: -","px;\n bottom: 0;\n right: -","px;\n width: ","px;\n display: block;\n background-color: ",";\n }\n "])),postsSectionPadding,postsSectionPadding,spacingXs,function(p){return p.theme.palette.accent;});});var LoadMore=_styled__default["default"](ActionButton).withConfig({displayName:"PagedCommentsSection__LoadMore",componentId:"sc-1f3hft1-4"})(templateObject_6$9||(templateObject_6$9=__makeTemplateObject(["\n && {\n text-align: left;\n }\n"],["\n && {\n text-align: left;\n }\n"])));var StyledSpinner$1=_styled__default["default"](Spinner).withConfig({displayName:"PagedCommentsSection__StyledSpinner",componentId:"sc-1f3hft1-5"})(templateObject_7$6||(templateObject_7$6=__makeTemplateObject(["\n margin: 0 auto;\n padding: 15px 0;\n"],["\n margin: 0 auto;\n padding: 15px 0;\n"])));function usePageLoader(type,scope,itemId,pageSize,initialPageSize,initialComments,preventLoading,threadId){var _a=React$d.useState(function(){return __spreadArray([],(initialComments===null||initialComments===void 0?void 0:initialComments.items)||[]).reverse();}),comments=_a[0],setComments=_a[1];var _b=React$d.useState({token:initialComments===null||initialComments===void 0?void 0:initialComments.paginationToken,hasMoreUnreadComments:initialComments===null||initialComments===void 0?void 0:initialComments.hasMoreUnreadComments}),nextPageInfos=_b[0],setNextPageInfos=_b[1];var _c=React$d.useState(!initialComments),isLoading=_c[0],setIsLoading=_c[1];var pullToRefreshContext=React$d.useContext(PullToRefreshContext);var _d=useCommentApi(),listComments=_d.listComments,getCommentReplies=_d.getCommentReplies;// the context can be null, in case we are in the editor
|
|
125960
|
-
var refreshToken=pullToRefreshContext===null||pullToRefreshContext===void 0?void 0:pullToRefreshContext.refreshToken;var refreshUserDetails=useRefreshUserDetails();var isValid=true;React$d.useEffect(function(){if(!isValid||preventLoading){return
|
|
126210
|
+
var refreshToken=pullToRefreshContext===null||pullToRefreshContext===void 0?void 0:pullToRefreshContext.refreshToken;var refreshUserDetails=useRefreshUserDetails();var isValid=true;React$d.useEffect(function(){if(!isValid||preventLoading){return undefined;}if(!initialComments||refreshToken){// pass the pageToken explicitly since it's possible that the nextPageTokenState has not been updated yet
|
|
125961
126211
|
loadNextPage(null,initialPageSize,!!initialComments).then(function(){return null;},logger.error);}// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
125962
126212
|
return function(){isValid=false;};// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
125963
126213
|
},[initialComments,itemId,refreshToken]);return [comments,isLoading,!!(nextPageInfos===null||nextPageInfos===void 0?void 0:nextPageInfos.token),loadNextPage,setComments,nextPageInfos.hasMoreUnreadComments];function loadNextPage(nextPageTokenOverride,pageSizeOverride,doNotSetIsLoading){return __awaiter(this,void 0,void 0,function(){var token,nextPage,_a;return __generator(this,function(_b){switch(_b.label){case 0:if(!isValid){return [2/*return*/];}if(!doNotSetIsLoading){setIsLoading(true);}token=nextPageTokenOverride!==undefined?nextPageTokenOverride:nextPageInfos===null||nextPageInfos===void 0?void 0:nextPageInfos.token;if(!(threadId!=null))return [3/*break*/,2];return [4/*yield*/,getCommentReplies(type,scope,itemId,threadId,{sortOrder:SortOrder.Desc,pageSize:pageSizeOverride!==null&&pageSizeOverride!==void 0?pageSizeOverride:pageSize,token:token})];case 1:_a=_b.sent();return [3/*break*/,4];case 2:return [4/*yield*/,listComments(type,scope,itemId,{sortOrder:SortOrder.Desc,pageSize:pageSizeOverride!==null&&pageSizeOverride!==void 0?pageSizeOverride:pageSize,token:token})];case 3:_a=_b.sent();_b.label=4;case 4:nextPage=_a;if(isValid){setIsLoading(false);setComments(function(stateComments){return token!=null?__spreadArray(__spreadArray([],__spreadArray([],nextPage.items).reverse()),stateComments):nextPage.items.reverse();});// refresh the unread count every time we load a new page of comments
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@livetiles/reach-components-react",
|
|
3
3
|
"description": "Provides React components to consume LiveTiles Reach data",
|
|
4
|
-
"version": "0.4.0-preview.
|
|
4
|
+
"version": "0.4.0-preview.59",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"react": "^16.13.1 || ^17",
|
|
7
7
|
"react-dom": "^16.13.1 || ^17",
|