-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·2508 lines (2447 loc) · 105 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<html ng-app="InVision" ng-controller="AppController" inv-key-combos lang="en">
<head>
<meta charset="utf-8" />
<title ng-bind="windowTitle">
InVision
</title>
<!-- Custom webfonts -->
<style>
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 300;
src: local('Open Sans Light'), local('OpenSans-Light'), url(assets/fonts/open_sans/OpenSans-light.woff) format('woff');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
src: local('Open Sans'), local('OpenSans'), url(assets/fonts/open_sans/OpenSans.woff) format('woff');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 600;
src: local('Open Sans Semibold'), local('OpenSans-Semibold'), url(assets/fonts/open_sans/OpenSans-semibold.woff) format('woff');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
src: local('Open Sans Bold'), local('OpenSans-Bold'), url(assets/fonts/open_sans/OpenSans-bold.woff) format('woff');
}
</style>
<!-- Interface styles -->
<link type="text/css" rel="stylesheet" href="assets/jquery-ui-1.9.2.custom/css/no-theme/jquery-ui-1.9.2.custom.min.css">
<link type="text/css" rel="stylesheet" href="assets/apps/share/css-static/uniform.default.css">
<link type="text/css" rel="stylesheet" href="assets/apps/share/css-static/bootstrap.css">
<link type="text/css" rel="stylesheet" href="assets/apps/share/css-static/intlTelInput.css">
<link type="text/css" rel="stylesheet" href="assets/apps/share/css/share-offline.css">
</head>
<body
class="branding-invision"
ng-class="bodyClass"
ng-style="bodyStyle">
<!--
This is the initial loading sequence. We need to be able to display this BEFORE the AngularJS
framework loads in order to give the user some sence of activity. But, when the framework kicks
in, it will be able to use the bound ng-controller.
-->
<!-- BEGIN: Loading Sequence. -->
<div ng-if="isLoadingOpen" ng-controller="loading.LoadingController" inv-loading-sequence class="m-loading">
<!-- BEGIN: Loading Indicator. -->
<div class="loading-backdrop">
<div class="loading-container">
<div class="status-container">
<div class="status"></div>
<div class="logo"></div>
</div> <!-- status-container -->
<h2>Loading Experience</h2>
<p>
Powered by <a href="http://www.InVisionApp.com/" target="_blank">InVision</a>
, the best way to share and collaborate on design.
</p>
</div> <!-- loading-container -->
<div class="loading-footer">
<div class="logo"></div>
<h3><a href="http://www.InVisionApp.com/" target="_blank">Powered by InVision</a></h3>
<p><em>Prototyping, Collaboration & Workflow for Designers</em></p>
</div> <!-- loading-footer -->
</div> <!-- loading-backdrop -->
<!-- END: Loading Indicator. -->
</div>
<!-- END: Loading Sequence. -->
<div ng-include=" '/assets/apps/share/views/partials/preload.htm' "></div>
<div ng-include=" '/assets/apps/share/views/layouts/modal.htm' "></div>
<div ng-include=" '/assets/apps/share/views/toolbar/toolbar.htm' "></div>
<div ng-include=" '/assets/apps/share/views/powered-by/powered-by.htm' "></div>
<div
ng-if="isBrowseOpen"
ng-include=" '/assets/apps/share/views/browse/browse.htm' "></div>
<!-- In order to be able to disable horizontal scrolling for some screens, we need to wrap the view in order to be able to maintain screen alignment -->
<div class="desktop-wrapper">
<!-- Tour Points -->
<div
ng-if=" subview == 'preview' "
ng-include=" '/assets/apps/share/views/preview/preview-tour-comments.htm' "></div>
<div
ng-if="subview == 'comments'"
ng-include=" '/assets/apps/share/views/comments/comments.htm' "></div>
<div
ng-if="subview == 'preview'"
is-share-loaded="{{!isLoadingOpen}}"
inv-preview-auto-redirect-listener
ng-include=" '/assets/apps/share/views/preview/preview.htm' "></div>
<!-- Screens for comment mode -->
<div
ng-show="subview == 'comments'"
ng-include=" '/assets/apps/share/views/screens/screens.htm' "c></div>
</div>
<div
ng-if="browserCompatibility.isNotCompatible"
class="m-browser-compatibility ng-cloak"></div>
<script type="text/javascript" src="assets/scripts.js"></script>
<script type="text/javascript">
(function( ng, app ){
"use strict";
app.value(
"config",
{
user: { // RAIN-1419 - anonymize the exported user data
id: 0,
name: "export",
email: "export@generic-user.com",
avatarID: "00000000-0000-0000-0000000000000001",
isAccountAuthenticated: true, // flagged as authenticated to avoid prompts to login and other nonsense
isAnonymous: false,
hasSeenCommentToolTip: true
},
shouldShowPoweredBy: false,
share: {"isLoadAllScreens":true,"showToolbarIntroduction":false,"hasClosedShareIntro":true,"screenID":0,"isNavigateAllowed":true},
project: {"defaultbackgroundautostretch":"0","defaultZoomScrollBehavior":1,"isArchived":false,"homeScreenID":403200232,"createdAt":1580489779000,"mobileStatusbarFontColor":"white","isProcessed":true,"sortTypeID":1,"name":"NHL [Proposal Phase II]","platform":"any","defaultbackgroundimageposition":"","isMobile":false,"defaultBackgroundImageID":"","isSample":false,"deviceType":"desktop","userID":23909653,"mobileDeviceID":0,"mobileStatusbarBackgroundColor":"#000000","isOverQuota":false,"defaultBackgroundColor":"","isInGracePeriod":false,"defaultAlignment":"center","updatedAt":1580489840000,"companyID":0,"id":19308585,"isSnap":false,"lastAccessedAt":1580489779000,"mobileStatusbarIsOpaque":false,"defaultbackgroundframe":"0","mobileDeviceWidth":0,"isAdvanced":false,"orientation":"any","mobileStatusbarIsVisible":true},
screens: [{"thumbnailUrl":"assets/thumb_01 NHL - Fan ID@2x.png","extended":{},"isArchived":false,"screenTypeID":1,"backgroundImageWidth":"","createdAt":1580489825000,"zoomScrollBehavior":1,"updatedByUserName":"Kike","backgroundImageUrl":"","backgroundImageHeight":"","clientFilename":"01 NHL - Fan ID@2x.png","backgroundFrame":false,"backgroundImagePosition":"tile-horizontally","isProcessed":true,"screenGroupId":0,"width":2880,"unreadCommentCount":0,"name":"01 NHL - Fan ID","screenUploadState":3,"backgroundColor":"FFFFFF","fixedHeaderHeight":0,"imageUrl":"assets/01 NHL - Fan ID@2x.png","height":1800,"backgroundAutostretch":false,"userID":259208317,"backgroundimageserverfilename":"","serverFileName":"403200232.png","sort":1,"fixedFooterHeight":0,"alignment":"center","commentCount":0,"updatedAt":1580489832000,"id":403200232,"backgroundimageversion":"1","isPlaceholder":false,"projectID":19308585,"backgroundImageID":0,"imageVersion":1,"backgroundImageClientFilename":""},{"thumbnailUrl":"assets/thumb_02 NHL - Spending Streams@2x.png","extended":{},"isArchived":false,"screenTypeID":1,"backgroundImageWidth":"","createdAt":1580489825000,"zoomScrollBehavior":1,"updatedByUserName":"Kike","backgroundImageUrl":"","backgroundImageHeight":"","clientFilename":"02 NHL - Spending Streams@2x.png","backgroundFrame":false,"backgroundImagePosition":"tile-horizontally","isProcessed":true,"screenGroupId":0,"width":2880,"unreadCommentCount":0,"name":"02 NHL - Spending Streams","screenUploadState":2,"backgroundColor":"F2F6F9","fixedHeaderHeight":0,"imageUrl":"assets/02 NHL - Spending Streams@2x.png","height":1800,"backgroundAutostretch":false,"userID":259208317,"backgroundimageserverfilename":"","serverFileName":"403200231.png","sort":2,"fixedFooterHeight":0,"alignment":"center","commentCount":0,"updatedAt":1580490292000,"id":403200231,"backgroundimageversion":"1","isPlaceholder":false,"projectID":19308585,"backgroundImageID":0,"imageVersion":3,"backgroundImageClientFilename":""},{"thumbnailUrl":"assets/thumb_03 NHL - Arena Analysis@2x.png","extended":{},"isArchived":false,"screenTypeID":1,"backgroundImageWidth":"","createdAt":1580489825000,"zoomScrollBehavior":1,"updatedByUserName":"Kike","backgroundImageUrl":"","backgroundImageHeight":"","clientFilename":"03 NHL - Arena Analysis@2x.png","backgroundFrame":false,"backgroundImagePosition":"tile-horizontally","isProcessed":true,"screenGroupId":0,"width":2880,"unreadCommentCount":0,"name":"03 NHL - Arena Analysis","screenUploadState":2,"backgroundColor":"FFFFFF","fixedHeaderHeight":0,"imageUrl":"assets/03 NHL - Arena Analysis@2x.png","height":1800,"backgroundAutostretch":false,"userID":259208317,"backgroundimageserverfilename":"","serverFileName":"403200230.png","sort":3,"fixedFooterHeight":0,"alignment":"center","commentCount":0,"updatedAt":1580490345000,"id":403200230,"backgroundimageversion":"1","isPlaceholder":false,"projectID":19308585,"backgroundImageID":0,"imageVersion":4,"backgroundImageClientFilename":""}],
dividers: [{"position":0,"sort":0,"type":"divider","projectID":19308585,"label":"","dividerID":0,"expanded":true}],
metaScreens: {"icon":{"imageUrl":"","sameOriginImageUrl":"","relation":"apple-touch-icon-precomposed"},"splash":{"imageUrl":"","sameOriginImageUrl":"","relation":"apple-touch-startup-image","backgroundColor":""}},
hotspots: [],
branding: {
stub: "invision",
url: "http://www.InVisionApp.com/"
},
mobileDevices: [{"iconResolution":"","deviceWidth":0,"mobileSkinFilename":"","mobileDeviceID":0,"deviceHeight":0,"loadScreenResolution":"","mobileSkin":"any","viewportHeight":"0","isDefaultDeviceType":true,"platform":"any","mobileSkinColor":"","className":"desktop","viewportWidth":"0","orientation":"any","description":"desktop","deviceType":"desktop"},{"iconResolution":"120 x 120","deviceWidth":374,"mobileSkinFilename":"iphone-portrait.png","mobileDeviceID":1,"deviceHeight":778,"loadScreenResolution":"640 x 1096","mobileSkin":"iPhone","viewportHeight":"568","isDefaultDeviceType":false,"platform":"iOS","mobileSkinColor":"black","className":"iphone-portrait","viewportWidth":"320","orientation":"portrait","description":"iPhone 5 (Black)","deviceType":"phone"},{"iconResolution":"120 x 120","deviceWidth":778,"mobileSkinFilename":"iphone-landscape.png","mobileDeviceID":2,"deviceHeight":374,"loadScreenResolution":"640 x 1096","mobileSkin":"iPhone","viewportHeight":"320","isDefaultDeviceType":false,"platform":"iOS","mobileSkinColor":"black","className":"iphone-landscape","viewportWidth":"568","orientation":"landscape","description":"iPhone 5 (Black)","deviceType":"phone"},{"iconResolution":"152 x 152","deviceWidth":640,"mobileSkinFilename":"ipad-portrait.png","mobileDeviceID":3,"deviceHeight":950,"loadScreenResolution":"1536 x 2048","mobileSkin":"iPad","viewportHeight":"768","isDefaultDeviceType":true,"platform":"iOS","mobileSkinColor":"black","className":"ipad-portrait","viewportWidth":"576","orientation":"portrait","description":"iPad - Black","deviceType":"tablet"},{"iconResolution":"152 x 152","deviceWidth":950,"mobileSkinFilename":"ipad-landscape.png","mobileDeviceID":4,"deviceHeight":640,"loadScreenResolution":"2048 x 1496","mobileSkin":"iPad","viewportHeight":"576","isDefaultDeviceType":true,"platform":"iOS","mobileSkinColor":"black","className":"ipad-landscape","viewportWidth":"768","orientation":"landscape","description":"iPad - Black","deviceType":"tablet"},{"iconResolution":"120 x 120","deviceWidth":374,"mobileSkinFilename":"iphone4-portrait.png","mobileDeviceID":5,"deviceHeight":690,"loadScreenResolution":"640 x 920","mobileSkin":"iPhone","viewportHeight":"480","isDefaultDeviceType":false,"platform":"iOS","mobileSkinColor":"black","className":"iphone4-portrait","viewportWidth":"320","orientation":"portrait","description":"iPhone 4 (Black)","deviceType":"phone"},{"iconResolution":"120 x 120","deviceWidth":690,"mobileSkinFilename":"iphone4-landscape.png","mobileDeviceID":6,"deviceHeight":374,"loadScreenResolution":"640 x 920","mobileSkin":"iPhone","viewportHeight":"320","isDefaultDeviceType":false,"platform":"iOS","mobileSkinColor":"black","className":"iphone4-landscape","viewportWidth":"480","orientation":"landscape","description":"iPhone 4 (Black)","deviceType":"phone"},{"iconResolution":"192 x 192","deviceWidth":402,"mobileSkinFilename":"htcOne-portrait.png","mobileDeviceID":7,"deviceHeight":836,"loadScreenResolution":"1080 x 1920","mobileSkin":"HTC One","viewportHeight":"640","isDefaultDeviceType":true,"platform":"Android","mobileSkinColor":"black","className":"htcOne-portrait","viewportWidth":"360","orientation":"portrait","description":"HTC One - Black","deviceType":"phone"},{"iconResolution":"192 x 192","deviceWidth":836,"mobileSkinFilename":"htcOne-landscape.png","mobileDeviceID":8,"deviceHeight":402,"loadScreenResolution":"1920 x 1080","mobileSkin":"HTC One","viewportHeight":"360","isDefaultDeviceType":true,"platform":"Android","mobileSkinColor":"black","className":"htcOne-landscape","viewportWidth":"640","orientation":"landscape","description":"HTC One - Black","deviceType":"phone"},{"iconResolution":"192 x 192","deviceWidth":406,"mobileSkinFilename":"samsungS4-portrait.png","mobileDeviceID":9,"deviceHeight":786,"loadScreenResolution":"1080 x 1920","mobileSkin":"Samsung Galaxy S4","viewportHeight":"640","isDefaultDeviceType":false,"platform":"Android","mobileSkinColor":"black","className":"samsungS4-portrait","viewportWidth":"360","orientation":"portrait","description":"Samsung Galaxy S4 - Black","deviceType":"phone"},{"iconResolution":"192 x 192","deviceWidth":786,"mobileSkinFilename":"samsungS4-landscape.png","mobileDeviceID":10,"deviceHeight":406,"loadScreenResolution":"1920 x 1080","mobileSkin":"Samsung Galaxy S4","viewportHeight":"360","isDefaultDeviceType":false,"platform":"Android","mobileSkinColor":"black","className":"samsungS4-landscape","viewportWidth":"640","orientation":"landscape","description":"Samsung Galaxy S4 - Black","deviceType":"phone"},{"iconResolution":"120 x 120","deviceWidth":374,"mobileSkinFilename":"iphone-portrait-white.png","mobileDeviceID":11,"deviceHeight":778,"loadScreenResolution":"640 x 1096","mobileSkin":"iPhone","viewportHeight":"568","isDefaultDeviceType":false,"platform":"iOS","mobileSkinColor":"white","className":"iphone-portrait","viewportWidth":"320","orientation":"portrait","description":"iPhone 5 (White)","deviceType":"phone"},{"iconResolution":"120 x 120","deviceWidth":778,"mobileSkinFilename":"iphone-landscape-white.png","mobileDeviceID":12,"deviceHeight":374,"loadScreenResolution":"640 x 1096","mobileSkin":"iPhone","viewportHeight":"320","isDefaultDeviceType":false,"platform":"iOS","mobileSkinColor":"white","className":"iphone-landscape","viewportWidth":"568","orientation":"landscape","description":"iPhone 5 (White)","deviceType":"phone"},{"iconResolution":"152 x 152","deviceWidth":640,"mobileSkinFilename":"ipad-portrait-white.png","mobileDeviceID":13,"deviceHeight":950,"loadScreenResolution":"1536 x 2048","mobileSkin":"iPad","viewportHeight":"768","isDefaultDeviceType":false,"platform":"iOS","mobileSkinColor":"white","className":"ipad-portrait","viewportWidth":"576","orientation":"portrait","description":"iPad - White","deviceType":"tablet"},{"iconResolution":"152 x 152","deviceWidth":950,"mobileSkinFilename":"ipad-landscape-white.png","mobileDeviceID":14,"deviceHeight":640,"loadScreenResolution":"2048 x 1496","mobileSkin":"iPad","viewportHeight":"576","isDefaultDeviceType":false,"platform":"iOS","mobileSkinColor":"white","className":"ipad-landscape","viewportWidth":"768","orientation":"landscape","description":"iPad - White","deviceType":"tablet"},{"iconResolution":"120 x 120","deviceWidth":374,"mobileSkinFilename":"iphone4-portrait-white.png","mobileDeviceID":15,"deviceHeight":690,"loadScreenResolution":"640 x 920","mobileSkin":"iPhone","viewportHeight":"480","isDefaultDeviceType":false,"platform":"iOS","mobileSkinColor":"white","className":"iphone4-portrait","viewportWidth":"320","orientation":"portrait","description":"iPhone 4 (White)","deviceType":"phone"},{"iconResolution":"120 x 120","deviceWidth":690,"mobileSkinFilename":"iphone4-landscape-white.png","mobileDeviceID":16,"deviceHeight":374,"loadScreenResolution":"640 x 920","mobileSkin":"iPhone","viewportHeight":"320","isDefaultDeviceType":false,"platform":"iOS","mobileSkinColor":"white","className":"iphone4-landscape","viewportWidth":"480","orientation":"landscape","description":"iPhone 4 (White)","deviceType":"phone"},{"iconResolution":"192 x 192","deviceWidth":402,"mobileSkinFilename":"htcOne-portrait-white.png","mobileDeviceID":17,"deviceHeight":836,"loadScreenResolution":"1080 x 1920","mobileSkin":"HTC One","viewportHeight":"640","isDefaultDeviceType":false,"platform":"Android","mobileSkinColor":"white","className":"htcOne-portrait","viewportWidth":"360","orientation":"portrait","description":"HTC One - White","deviceType":"phone"},{"iconResolution":"192 x 192","deviceWidth":836,"mobileSkinFilename":"htcOne-landscape-white.png","mobileDeviceID":18,"deviceHeight":402,"loadScreenResolution":"1920 x 1080","mobileSkin":"HTC One","viewportHeight":"360","isDefaultDeviceType":false,"platform":"Android","mobileSkinColor":"white","className":"htcOne-landscape","viewportWidth":"640","orientation":"landscape","description":"HTC One - White","deviceType":"phone"},{"iconResolution":"192 x 192","deviceWidth":406,"mobileSkinFilename":"samsungS4-portrait-white.png","mobileDeviceID":19,"deviceHeight":786,"loadScreenResolution":"1080 x 1920","mobileSkin":"Samsung Galaxy S4","viewportHeight":"640","isDefaultDeviceType":false,"platform":"Android","mobileSkinColor":"white","className":"samsungS4-portrait","viewportWidth":"360","orientation":"portrait","description":"Samsung Galaxy S4 - White","deviceType":"phone"},{"iconResolution":"192 x 192","deviceWidth":786,"mobileSkinFilename":"samsungS4-landscape-white.png","mobileDeviceID":20,"deviceHeight":406,"loadScreenResolution":"1920 x 1080","mobileSkin":"Samsung Galaxy S4","viewportHeight":"360","isDefaultDeviceType":false,"platform":"Android","mobileSkinColor":"white","className":"samsungS4-landscape","viewportWidth":"640","orientation":"landscape","description":"Samsung Galaxy S4 - White","deviceType":"phone"},{"iconResolution":"192 x 192","deviceWidth":532,"mobileSkinFilename":"nexus7-portrait.png","mobileDeviceID":21,"deviceHeight":870,"loadScreenResolution":"1080 x 1920","mobileSkin":"Nexus 7","viewportHeight":"685","isDefaultDeviceType":true,"platform":"Android","mobileSkinColor":"black","className":"nexus7-portrait","viewportWidth":"450","orientation":"portrait","description":"Nexus 7","deviceType":"tablet"},{"iconResolution":"192 x 192","deviceWidth":870,"mobileSkinFilename":"nexus7-landscape.png","mobileDeviceID":22,"deviceHeight":532,"loadScreenResolution":"1920 x 1080","mobileSkin":"Nexus 7","viewportHeight":"415","isDefaultDeviceType":true,"platform":"Android","mobileSkinColor":"black","className":"nexus7-landscape","viewportWidth":"720","orientation":"landscape","description":"Nexus 7","deviceType":"tablet"},{"iconResolution":"192 x 192","deviceWidth":776,"mobileSkinFilename":"nexus10-portrait.png","mobileDeviceID":23,"deviceHeight":1112,"loadScreenResolution":"1080 x 1920","mobileSkin":"Nexus 10","viewportHeight":"925","isDefaultDeviceType":false,"platform":"Android","mobileSkinColor":"black","className":"nexus10-portrait","viewportWidth":"600","orientation":"portrait","description":"Nexus 10","deviceType":"tablet"},{"iconResolution":"192 x 192","deviceWidth":1112,"mobileSkinFilename":"nexus10-landscape.png","mobileDeviceID":24,"deviceHeight":776,"loadScreenResolution":"1920 x 1080","mobileSkin":"Nexus 10","viewportHeight":"565","isDefaultDeviceType":false,"platform":"Android","mobileSkinColor":"black","className":"nexus10-landscape","viewportWidth":"960","orientation":"landscape","description":"Nexus 10","deviceType":"tablet"},{"iconResolution":"120 x 120","deviceWidth":416,"mobileSkinFilename":"iphone6-portrait.png","mobileDeviceID":25,"deviceHeight":850,"loadScreenResolution":"750 x 1294","mobileSkin":"iPhone","viewportHeight":"667","isDefaultDeviceType":true,"platform":"iOS","mobileSkinColor":"black","className":"iphone6-portrait","viewportWidth":"375","orientation":"portrait","description":"iPhone 6-8 (Black)","deviceType":"phone"},{"iconResolution":"120 x 120","deviceWidth":850,"mobileSkinFilename":"iphone6-landscape.png","mobileDeviceID":26,"deviceHeight":416,"loadScreenResolution":"750 x 1294","mobileSkin":"iPhone","viewportHeight":"375","isDefaultDeviceType":true,"platform":"iOS","mobileSkinColor":"black","className":"iphone6-landscape","viewportWidth":"667","orientation":"landscape","description":"iPhone 6-8 (Black)","deviceType":"phone"},{"iconResolution":"120 x 120","deviceWidth":416,"mobileSkinFilename":"iphone6-portrait-white.png","mobileDeviceID":27,"deviceHeight":850,"loadScreenResolution":"750 x 1294","mobileSkin":"iPhone","viewportHeight":"667","isDefaultDeviceType":false,"platform":"iOS","mobileSkinColor":"white","className":"iphone6-portrait","viewportWidth":"375","orientation":"portrait","description":"iPhone 6-8 (White)","deviceType":"phone"},{"iconResolution":"120 x 120","deviceWidth":850,"mobileSkinFilename":"iphone6-landscape-white.png","mobileDeviceID":28,"deviceHeight":416,"loadScreenResolution":"750 x 1294","mobileSkin":"iPhone","viewportHeight":"375","isDefaultDeviceType":false,"platform":"iOS","mobileSkinColor":"white","className":"iphone6-landscape","viewportWidth":"667","orientation":"landscape","description":"iPhone 6-8 (White)","deviceType":"phone"},{"iconResolution":"180 x 180","deviceWidth":454,"mobileSkinFilename":"iphone6plus-portrait.png","mobileDeviceID":29,"deviceHeight":920,"loadScreenResolution":"1242 x 2148","mobileSkin":"iPhone","viewportHeight":"734","isDefaultDeviceType":false,"platform":"iOS","mobileSkinColor":"black","className":"iphone6plus-portrait","viewportWidth":"412","orientation":"portrait","description":"iPhone 6-8 Plus (Black)","deviceType":"phone"},{"iconResolution":"180 x 180","deviceWidth":920,"mobileSkinFilename":"iphone6plus-landscape.png","mobileDeviceID":30,"deviceHeight":454,"loadScreenResolution":"1242 x 2148","mobileSkin":"iPhone","viewportHeight":"412","isDefaultDeviceType":false,"platform":"iOS","mobileSkinColor":"black","className":"iphone6plus-landscape","viewportWidth":"734","orientation":"landscape","description":"iPhone 6-8 Plus (Black)","deviceType":"phone"},{"iconResolution":"180 x 180","deviceWidth":454,"mobileSkinFilename":"iphone6plus-portrait-white.png","mobileDeviceID":31,"deviceHeight":920,"loadScreenResolution":"1242 x 2148","mobileSkin":"iPhone","viewportHeight":"734","isDefaultDeviceType":false,"platform":"iOS","mobileSkinColor":"white","className":"iphone6plus-portrait","viewportWidth":"412","orientation":"portrait","description":"iPhone 6-8 Plus (White)","deviceType":"phone"},{"iconResolution":"180 x 180","deviceWidth":920,"mobileSkinFilename":"iphone6plus-portrait-white.png","mobileDeviceID":32,"deviceHeight":454,"loadScreenResolution":"1242 x 2148","mobileSkin":"iPhone","viewportHeight":"412","isDefaultDeviceType":false,"platform":"iOS","mobileSkinColor":"white","className":"iphone6plus-landscape","viewportWidth":"734","orientation":"landscape","description":"iPhone 6-8 Plus (White)","deviceType":"phone"},{"iconResolution":"144 x 144","deviceWidth":209,"mobileSkinFilename":"apple-watch-38mm-roseGold.png","mobileDeviceID":33,"deviceHeight":378,"loadScreenResolution":"272px x 340px","mobileSkin":"apple-watch","viewportHeight":"170","isDefaultDeviceType":false,"platform":"iOS","mobileSkinColor":"roseGold","className":"apple-watch-38mm-roseGold","viewportWidth":"136","orientation":"portrait","description":"38mm - Rose Gold","deviceType":"watch"},{"iconResolution":"144 x 144","deviceWidth":209,"mobileSkinFilename":"apple-watch-38mm-silverAluminum.png","mobileDeviceID":34,"deviceHeight":378,"loadScreenResolution":"272px x 340px","mobileSkin":"apple-watch","viewportHeight":"170","isDefaultDeviceType":false,"platform":"iOS","mobileSkinColor":"silverAluminum","className":"apple-watch-38mm-silverAluminum","viewportWidth":"136","orientation":"portrait","description":"38mm - Silver Aluminum","deviceType":"watch"},{"iconResolution":"144 x 144","deviceWidth":209,"mobileSkinFilename":"apple-watch-38mm-spaceBlackStainlessSteel.png","mobileDeviceID":35,"deviceHeight":378,"loadScreenResolution":"272px x 340px","mobileSkin":"apple-watch","viewportHeight":"170","isDefaultDeviceType":false,"platform":"iOS","mobileSkinColor":"spaceBlackStainlessSteel","className":"apple-watch-38mm-spaceBlackStainlessSteel","viewportWidth":"136","orientation":"portrait","description":"38mm - Space Black Stainless Steel","deviceType":"watch"},{"iconResolution":"144 x 144","deviceWidth":209,"mobileSkinFilename":"apple-watch-38mm-spaceGrayAluminum.png","mobileDeviceID":36,"deviceHeight":378,"loadScreenResolution":"272px x 340px","mobileSkin":"apple-watch","viewportHeight":"170","isDefaultDeviceType":false,"platform":"iOS","mobileSkinColor":"spaceGrayAluminum","className":"apple-watch-38mm-spaceGrayAluminum","viewportWidth":"136","orientation":"portrait","description":"38mm - Space Gray Aluminum","deviceType":"watch"},{"iconResolution":"144 x 144","deviceWidth":209,"mobileSkinFilename":"apple-watch-38mm-stainlessSteel.png","mobileDeviceID":37,"deviceHeight":378,"loadScreenResolution":"272px x 340px","mobileSkin":"apple-watch","viewportHeight":"170","isDefaultDeviceType":false,"platform":"iOS","mobileSkinColor":"stainlessSteel","className":"apple-watch-38mm-stainlessSteel","viewportWidth":"136","orientation":"portrait","description":"38mm - Stainless Steel","deviceType":"watch"},{"iconResolution":"144 x 144","deviceWidth":209,"mobileSkinFilename":"apple-watch-38mm-yellowGold.png","mobileDeviceID":38,"deviceHeight":378,"loadScreenResolution":"272px x 340px","mobileSkin":"apple-watch","viewportHeight":"170","isDefaultDeviceType":false,"platform":"iOS","mobileSkinColor":"yellowGold","className":"apple-watch-38mm-yellowGold","viewportWidth":"136","orientation":"portrait","description":"38mm - Yellow Gold","deviceType":"watch"},{"iconResolution":"144 x 144","deviceWidth":240,"mobileSkinFilename":"apple-watch-42mm-roseGold.png","mobileDeviceID":39,"deviceHeight":438,"loadScreenResolution":"312px x 390px","mobileSkin":"apple-watch","viewportHeight":"195","isDefaultDeviceType":false,"platform":"iOS","mobileSkinColor":"roseGold","className":"apple-watch-42mm-roseGold","viewportWidth":"156","orientation":"portrait","description":"42mm - Rose Gold","deviceType":"watch"},{"iconResolution":"144 x 144","deviceWidth":240,"mobileSkinFilename":"apple-watch-42mm-silverAluminum.png","mobileDeviceID":40,"deviceHeight":438,"loadScreenResolution":"312px x 390px","mobileSkin":"apple-watch","viewportHeight":"195","isDefaultDeviceType":false,"platform":"iOS","mobileSkinColor":"silverAluminum","className":"apple-watch-42mm-silverAluminum","viewportWidth":"156","orientation":"portrait","description":"42mm - Silver Aluminum","deviceType":"watch"},{"iconResolution":"144 x 144","deviceWidth":240,"mobileSkinFilename":"apple-watch-42mm-spaceBlackStainlessSteel.png","mobileDeviceID":41,"deviceHeight":438,"loadScreenResolution":"312px x 390px","mobileSkin":"apple-watch","viewportHeight":"195","isDefaultDeviceType":false,"platform":"iOS","mobileSkinColor":"spaceBlackStainlessSteel","className":"apple-watch-42mm-spaceBlackStainlessSteel","viewportWidth":"156","orientation":"portrait","description":"42mm - Space Black Stainless Steel","deviceType":"watch"},{"iconResolution":"144 x 144","deviceWidth":240,"mobileSkinFilename":"apple-watch-42mm-spaceGrayAluminum.png","mobileDeviceID":42,"deviceHeight":438,"loadScreenResolution":"312px x 390px","mobileSkin":"apple-watch","viewportHeight":"195","isDefaultDeviceType":true,"platform":"iOS","mobileSkinColor":"spaceGrayAluminum","className":"apple-watch-42mm-spaceGrayAluminum","viewportWidth":"156","orientation":"portrait","description":"42mm - Space Gray Aluminum","deviceType":"watch"},{"iconResolution":"144 x 144","deviceWidth":240,"mobileSkinFilename":"apple-watch-42mm-stainlessSteel.png","mobileDeviceID":43,"deviceHeight":438,"loadScreenResolution":"312px x 390px","mobileSkin":"apple-watch","viewportHeight":"195","isDefaultDeviceType":false,"platform":"iOS","mobileSkinColor":"stainlessSteel","className":"apple-watch-42mm-stainlessSteel","viewportWidth":"156","orientation":"portrait","description":"42mm - Stainless Steel","deviceType":"watch"},{"iconResolution":"144 x 144","deviceWidth":240,"mobileSkinFilename":"apple-watch-42mm-yellowGold.png","mobileDeviceID":44,"deviceHeight":438,"loadScreenResolution":"312px x 390px","mobileSkin":"apple-watch","viewportHeight":"195","isDefaultDeviceType":false,"platform":"iOS","mobileSkinColor":"yellowGold","className":"apple-watch-42mm-yellowGold","viewportWidth":"156","orientation":"portrait","description":"42mm - Yellow Gold","deviceType":"watch"},{"iconResolution":"144 x 144","deviceWidth":185,"mobileSkinFilename":"android-round-dark.png","mobileDeviceID":45,"deviceHeight":310,"loadScreenResolution":"320px x 320px","mobileSkin":"android-watch","viewportHeight":"160","isDefaultDeviceType":false,"platform":"android","mobileSkinColor":"round-dark","className":"android-round-dark","viewportWidth":"160","orientation":"portrait","description":"Round - Dark","deviceType":"watch"},{"iconResolution":"144 x 144","deviceWidth":185,"mobileSkinFilename":"android-round-light.png","mobileDeviceID":46,"deviceHeight":310,"loadScreenResolution":"320px x 320px","mobileSkin":"android-watch","viewportHeight":"160","isDefaultDeviceType":false,"platform":"android","mobileSkinColor":"round-light","className":"android-round-light","viewportWidth":"160","orientation":"portrait","description":"Round - Light","deviceType":"watch"},{"iconResolution":"144 x 144","deviceWidth":223,"mobileSkinFilename":"android-square-dark.png","mobileDeviceID":47,"deviceHeight":377,"loadScreenResolution":"320px x 320px","mobileSkin":"android-watch","viewportHeight":"160","isDefaultDeviceType":true,"platform":"android","mobileSkinColor":"square-dark","className":"android-square-dark","viewportWidth":"160","orientation":"portrait","description":"Square - Dark","deviceType":"watch"},{"iconResolution":"144 x 144","deviceWidth":223,"mobileSkinFilename":"android-square-light.png","mobileDeviceID":48,"deviceHeight":377,"loadScreenResolution":"320px x 320px","mobileSkin":"android-watch","viewportHeight":"160","isDefaultDeviceType":false,"platform":"android","mobileSkinColor":"square-light","className":"android-square-light","viewportWidth":"160","orientation":"portrait","description":"Square - Light","deviceType":"watch"},{"iconResolution":"180 x 180","deviceWidth":420,"mobileSkinFilename":"iphoneX-portrait.png","mobileDeviceID":49,"deviceHeight":855,"loadScreenResolution":"1242 x 2148","mobileSkin":"iPhoneX","viewportHeight":"812","isDefaultDeviceType":true,"platform":"iOS","mobileSkinColor":"black","className":"iphoneX-portrait","viewportWidth":"375","orientation":"portrait","description":"iPhone X","deviceType":"phone"},{"iconResolution":"180 x 180","deviceWidth":856,"mobileSkinFilename":"iphoneX-landscape.png","mobileDeviceID":50,"deviceHeight":421,"loadScreenResolution":"2148 x 1242","mobileSkin":"iPhoneX","viewportHeight":"375","isDefaultDeviceType":true,"platform":"iOS","mobileSkinColor":"black","className":"iphoneX-landscape","viewportWidth":"812","orientation":"landscape","description":"iPhone X","deviceType":"phone"}]
}
);
})( angular, InVision );
</script>
<script type="text/ng-template" id="/assets/apps/share/views/layouts/modal.htm"><div ng-controller="layouts.ModalController" class="l-modal">
<div ng-if="subview == 'error'" ng-include=" '/assets/apps/share/views/modal/error.htm' "></div>
<div ng-if="subview == 'shareTour'" ng-include=" '/assets/apps/share/views/modal/share-tour.htm' "></div>
<div ng-if="subview == 'auth'" ng-include=" '/assets/apps/share/views/modal/auth.htm' "></div>
<div ng-if="subview == 'welcomeUser'" ng-include=" '/assets/apps/share/views/modal/welcome-user.htm' "></div>
</div>
</script><script type="text/ng-template" id="/assets/apps/share/views/comments/form.htm"><form
ng-controller="comments.FormController"
inv-comments-form
class="conversation comment-thread-container mentions emoji-root"
ng-class="{ teaser: ( isShowingTeaser && !tempSketches.length ) }"
ng-style="{
left: ( conversation.x * screen.displayScale + 'px' ),
top: ( ( conversation.y * screen.displayScale ) + 9 + 'px' )
}"
ng-keydown="$event.which === 13 && handleKeyDown($event)"
>
<div class="emoji-placeholder"></div>
<div
ng-class="{
'comment-thread': true,
'comment': ! conversation.isForDevelopment && ! conversation.isTourPoint && ! conversation.isPrivate,
'dev-note': conversation.isForDevelopment,
'tour-point': conversation.isTourPoint,
'private-comment': conversation.isPrivate,
'signup-required': (isIdentifying || isAuthenticating) && signupRequiredForComment,
'authenticating': isAuthenticating,
'is-identifying': (isIdentifying || isAuthenticating) && !signupRequiredForComment,
'is-logging-in': isLoggingIn,
'lazy-signup': lazyPasswordToSignUpFlow && isSignup,
'lazy-signup-thanks': thanksForLazyPassword
}"
>
<header>
<span ng-hide=" conversation.id == 0 ">
<input
id="conversationIsComplete"
type="checkbox"
ng-model="conversation.isComplete"
ng-change="updateConversationStatus( conversation )"
ng-disabled="( conversation.id == 0 )"
inv-uniform
/>
<label
ng-show="! marker.isComplete"
for="commentIsComplete"
class="mark-label"
ng-class="{ disabled: marker.isSaved == false }"
>
Mark as resolved
</label>
<label
ng-show="marker.isComplete"
for="commentIsComplete"
class="complete mark-label"
ng-class="{ disabled: marker.isSaved == false }"
>
Marked resolved
</label>
</span>
<!-- conversationIsComplete -->
<div
class="dropdown type-dropdown"
ng-class="{ saved: !! conversation.id }"
ng-show="showInternalOptions">
<a data-toggle="dropdown" class="dropdown-toggle" ng-hide="!! conversation.id">
<span class="text comment" ng-show="!conversation.isForDevelopment && !conversation.isPrivate && !conversation.isTourPoint">
<span class="dot"></span>
<span>Leave a Comment</span>
</span>
<span class="text private-comment" ng-show="!conversation.isForDevelopment && conversation.isPrivate">
<span class="dot"></span>
<span>Private Comment</span>
</span>
<span class="text dev-note" ng-show="conversation.isForDevelopment">
<span class="dot"></span>
<span>Note</span>
</span>
<span class="text tour-point" ng-show="conversation.isTourPoint">
<span class="dot"></span>
<span>Tour Point</span>
</span>
<span class="drop" ng-hide=" !! conversation.id "></span>
</a>
<a data-toggle="dropdown" class="dropdown-toggle dots" ng-hide="! conversation.id">
<span class="small-dot"></span>
<span class="small-dot"></span>
<span class="small-dot"></span>
</a>
<ul class="dropdown-menu">
<li>
<a ng-click="setTypeAsComment()" class="comment">
<span class="dot"></span> Comment
</a>
</li>
<li ng-hide="!user.canViewPrivateComments">
<a ng-click="setTypeAsPrivateComment()" class="private-comment">
<span class="dot"></span> Private Comment
</a>
</li>
<li ng-hide="!user.canViewPrivateComments">
<a ng-click="setTypeAsDevNote()" class="dev-note">
<span class="dot"></span> Note
</a>
</li>
<li>
<a ng-click="setTypeAsTourPoint()" class="tour-point">
<span class="dot"></span> Tour Point
</a>
</li>
</ul>
</div>
<span
class="non-collaborator-label"
ng-show=" !showInternalOptions"
ng-class="{ saved: !! conversation.id }"
>
<span class="dot"></span> Leave a Comment
</span>
<button
class="close"
type="button"
ng-click="closeConversation()"
ng-hide="!! conversation.id ">
×
</button>
</header>
<section class="comment-content">
<!-- BEGIN: Comments. -->
<div
ng-repeat="comment in comments"
ng-init=" showDeleteCommentConfirmation = false ; "
class="comment-item comment"
ng-class="{
first: $first,
unread: comment.isUnread,
collapsed: comment.isCollapsed,
'first-collapsed': comment.isFirstCollapsed,
last: $last
}"
inv-fade-show="!comment.isCollapsed || ( comment.isCollapsed && comment.isFirstCollapsed )">
<!-- Special section for collapsed area -->
<div ng-if=" comment.isCollapsed " class="collapsed-comments">
<span ng-click="expandComments( )">View Previous Replies</span>
</div>
<!-- show new comment indicator -->
<div
ng-if=" $first && conversation.isTourPoint && comments.length > 1 "
class="new-hrule">
<span
ng-pluralize
count=" comments.length - 1 "
when="{
'0': '0 Replies',
'one': '1 Reply',
'other': '{} Replies'
}">
</span>
</div>
<div class="m-avatar" ng-class="{ 'system-avatar': comment.userHasSystemAvatar }">
<span class="rendering">{{ comment.userInitials }}</span>
<img ng-src="/avatars/{{ comment.userAvatarID }}" class="rendering" />
</div>
<div class="post-content post-emojis">
<h2 ng-hide="$first && conversation.isTourPoint">
<span class="name">{{ comment.userName }}</span>
<span class="created-at">{{ comment.dateLabel }}</span>
</h2>
<h2 ng-show="$first && conversation.isTourPoint && comment.isEditing">
<!-- we need to keep the spacing consistent for editing mode -->
</h2>
<div class="comment-item-options"
ng-show=" !comment.isEditing "
ng-if=" !comment.isPlaceholder "
ng-class="{'is-collapsed': comment.isCollapsed}">
<ul class="comment-item-options__tools">
<li class="view-history hidden">
<a
inv-history-overlay
overlay-image="{{comment.imageUrl}}"
overlay-marker-pos="{{getMarkerPos(conversation, screen.displayScale)}}"
overlay-screen-data="{{getScreenDisplayData(screen)}}"
ng-if="( ! comment.isEditing && ( comment.screenImageVersion != screen.imageVersion ) && comment.imageUrl )">
View History
</a>
</li>
<li
class="edit-comment hidden"
ng-show="canEdit && ( comment.isOwnedByUser || project.isOwnedByUser )"
>
<a ng-click="editComment( comment )">
Edit
</a>
</li>
<li
class="delete-comment hidden"
ng-show="canEdit && ( comment.isOwnedByUser || project.isOwnedByUser )"
>
<a ng-click="showDeleteConfirmation( comment, $first )">
Delete
</a>
</li>
</ul>
<a class="comment-item-options__thumbs-up"
ng-if=" !comment.isPlaceholder "
ng-show=" canLike "
ng-hide=" $first && conversation.isTourPoint "
ng-class="{ 'liked': comment.numberOfLikes, 'by-user': comment.hasUserLiked }"
ng-click="toggleLike( comment )"
inv-tooltip="{{ comment.likedByList }}">
<i class="icon thumbs up"></i>
{{comment.numberOfLikes}}
</a>
</div> <!-- post-options -->
<div class="post-comment"
ng-show="! comment.isEditing"
ng-class="{'is-owner': comment.isOwnedByUser || project.isOwnedByUser}"
ng-bind-html="comment.html"
>
</div>
<div ng-if="comment.isEditing" class="editing-mode">
<div
inv-comment
inv-cmd-enter="saveComment(comment)"
comment="comment.comment"
name="post-comment"
screen-id="screen.id"
class-string="{{ getClassesString('existing') }}"
tab-index="101"
has-emojis="true"
has-mentions="hasInitialMentions"
has-mention-shortcut="true"
has-who-is-notified="false"
></div>
</div>
<div
class="sketchList"
ng-show="comment.sketches.length > 0 && ( ! $first || ! conversation.isTourPoint )">
<div
ng-repeat="sketch in comment.sketches"
class="sketch">
<a
class="text"
ng-click=" startSketchViewer( sketch , false, conversation ) "
ng-class="{
editing: comment.isEditing
}">
<strong>{{ comment.userFirstName }}’s attached a sketch.</strong> View?
<span inv-tooltip="delete" class="delete" ng-show="comment.isEditing" ng-click=" deleteSketch( sketch.id )">x</span>
</a>
</div> <!-- sketch -->
</div> <!-- sketchList -->
<div class="post-buttons" ng-show="( comment.isEditing )">
<button
type="button"
class="save"
ng-show="comment.isEditing"
tabindex="102"
ng-click="saveComment(comment)">
Save
</button>
<button
type="button"
class="cancel"
ng-show="comment.isEditing"
tabindex="103"
ng-click="stopEditingComments( comment )">
Cancel
</button>
</div>
</div> <!-- post-content -->
<!-- Delete confirmation for single comment. -->
<div inv-fade-show="comment.isDeleting" class="delete-confirmation">
<p>Delete this comment?</p>
<div class="action">
<a ng-click="deleteComment( comment )" class="confirm">Yes, Delete</a>
<a ng-click="hideDeleteConfirmation( comment )" class="cancel">Cancel</a>
</div>
</div>
</div>
<!-- END: Comments. -->
</section>
<div class="comment-item post-new-comment">
<div
inv-comment-teaser
ng-show="isShowingTeaser"
is-shown="isShowingTeaser"
has-initial-mentions="hasInitialMentions"
ng-click="showNewCommentForm()"
screen-id="screen.id"
conversation="comments"
>
</div>
<div
ng-if="! isShowingTeaser"
class="post post-emojis"
>
<div
class="post-comment"
ng-class="{
'has-sketch': tempSketches.length > 0 && !sketchesDisabled
}"
>
<div
inv-comment
inv-cmd-enter="submitForm({ comment: newComment, sketches: tempSketches })"
ng-hide="hideCommentInput"
comment="newComment"
name="post-comment"
screen-id="screen.id"
class-string="{{ getClassesString('existing') }}"
placeholder="Leave a comment..."
tab-index="201"
on-focus-callback="showCommentInput()"
has-emojis="true"
has-who-is-notified="true"
has-mentions="hasInitialMentions"
has-mention-shortcut="true"
></div>
<div class="error-message" ng-show="hasUnauthorizedEmail">
<p>The administrator of the {{ enterpriseConfig.name }} InVision account has disabled sharing to users outside of the account.</p>
</div>
<span
class="footer actions"
ng-class="{
'new-tour-point': !conversation.id && conversation.isTourPoint,
'no-teaser': !hasInitialMentions
}"
>
<button
class="button submitComment"
type="button"
tabindex="202"
delay="1400"
ng-if="signupRequiredForComment"
ng-click="submitForm({ comment: newComment, sketches: tempSketches })"
inv-success-button
after-success="closeCommentFormOnSave(conversation.id)"
>
Post
</button>
<button
class="button submitComment"
type="button"
tabindex="202"
delay="1400"
ng-if="!signupRequiredForComment"
ng-click="submitForm({ comment: newComment, sketches: tempSketches })"
inv-success-button
after-success="closeCommentFormOnSave(conversation.id)"
>
Send
</button>
</span> <!-- footer -->
<div
class="sketchList"
ng-if="!sketchesDisabled"
ng-show="tempSketches.length > 0">
<div ng-repeat="sketch in tempSketches" class="sketch new-sketch">
<a ng-click=" startSketchViewer( sketch , true, conversation ) ">
<strong>Your sketch is attached.</strong> View?
<span class="delete" inv-tooltip="delete" ng-click=" deleteTempSketch(sketch.tempID) ">
×
</span>
</a>
</div> <!-- sketch -->
</div> <!-- sketchList -->
<div
ng-hide="hideCommentInput"
ng-if="!sketchesDisabled"
class="add-sketch"
ng-show="tempSketches.length == 0 && ( ! conversation.isTourPoint || ! comments.length == 0 )">
<a ng-click=" startSketchBuilder() "></a>
</div>
</div> <!-- post-comment -->
</div> <!-- post -->
</div>
<!-- Delete confirmation for entire conversation. -->
<div inv-fade-show="isDeleting" class="delete-confirmation delete-conversation">
<p>Delete this <strong>entire</strong> conversation?</p>
<div class="action">
<a ng-click="deleteConversation( conversation )" class="btn btn-small flat dkgray">Yes, Delete</a>
<a ng-click="hideDeleteConfirmation()" class="cancel">Cancel</a>
</div>
</div>
<!-- Identification Form -->
<div
inv-fade-show="isIdentifying"
class="overlay identification"
ng-class="{ 'signup-required': signupRequiredForComment }"
>
<div class="form">
<div ng-if="!signupRequiredForComment">
<h2>Let us know who you are</h2>
<h3>In order to leave a comment, we need to know who you are.</h3>
</div>
<div ng-if="signupRequiredForComment">
<h2>Sign Up and Post Your Comment</h2>
<h3>To send your comment, create a free InVision account.</h3>
</div>
<div class="field" ng-class="{ 'defined': identity.name.length }">
<input
type="text"
id="identity.name"
ng-disabled="isSigningUp"
ng-model="identity.name"
inv-autofocus
tabindex="301"
/>
<label for="identity.name">
Your name
</label>
</div>
<div class="field" ng-class="{ 'defined': identity.email.length }">
<input
type="text"
id="identity.email"
ng-disabled="isSigningUp"
ng-model="identity.email"
tabindex="302"
/>
<label for="identity.email">Email address</label>
</div>
<div
ng-if="signupRequiredForComment"
class="field"
ng-class="{ 'defined': identity.password.length }"
>
<input
type="password"
id="identity.password"
ng-disabled="isSigningUp"
ng-model="identity.password"
tabindex="303"
/>
<label for="identity.password">Password</label>
</div>
<div ng-show="errorMessage" class="alert alert-error">
{{ errorMessage }}
</div>
<div class="actions">
<button
class="close"
type="button"
ng-click="closeIdentifyForm()"
>
Cancel
</button>
<!-- only one of the two buttons below will be shown; they have the same tab index -->
<button
class="button"
type="button"
ng-if="!signupRequiredForComment"
ng-click="submitForm({ comment: newComment, sketches: tempSketches })"
tabindex="304"
>
Submit
</button>
<button
class="button"
type="button"
ng-disabled="isSigningUp"
ng-if="signupRequiredForComment"
ng-click="submitFormSignup({ comment: newComment, sketches: tempSketches })"
tabindex="304"
>
{{ isSigningUp ? "Signing Up" : "Sign Up" }}
</button>
</div>
</div> <!-- form -->
<div class="terms" ng-if="signupRequiredForComment">
By creating an account I agree to InVision's<br>
<a href="http://www.invisionapp.com/terms_of_service" target="_blank">Terms of Service</a> and
<a href="https://www.invisionapp.com/privacy" target="_blank">Privacy Policy</a>.
</div>
<div ng-if="signupRequiredForComment" class="login-prompt">
Already have an account? <a ng-click="openLoginForm()">Sign in</a>
</div>
</div> <!-- identification -->
<!-- Signup Form -->
<div inv-fade-show="isSignup && ! thanksForLazyPassword" class="overlay signup cta">
<div class="form">
<h2>Get a free InVision account</h2>
<h4>Collaborate, extract assets, and create clickable prototypes and boards - all in one place</h4>
<div
ng-if="lazyPasswordToSignUpFlow"
class="field"
ng-class="{ 'defined': identity.password.length }"
>
<input
type="password"
id="identity.password"
ng-disabled="isSigningUp"
ng-model="identity.password"
tabindex="303"
/>
<label for="identity.password">Password</label>
</div>
<div ng-show="errorMessage" class="alert alert-error">
{{ errorMessage }}
</div>
<div class="actions">
<button
class="button"
type="button"
ng-disabled="isSigningUp"
ng-click="submitLazyPasswordToSignup()"
tabindex="304"
>
{{ isSigningUp ? "Signing Up" : "Sign Up For Free" }}
</button>
<button class="cancel"
ng-disabled="isSigningUp"
ng-click="!isSigningUp && closeLazyPasswordToSignup()">
No thanks, continue as guest
</button>
</div>
</div>
<div class="signup-terms" ng-if="lazyPasswordToSignUpFlow">
By clicking 'Sign up free' I agree to InVision's <a href="http://www.invisionapp.com/terms_of_service" target="_blank">Terms of Service</a>.
</div>
</div>
<div inv-fade-show="thanksForLazyPassword" class="overlay signup cta cta-thanks">
<div class="form">
<h2>Thanks for signing up! </h2>
<h4>A confirmation email will be sent shortly</h4>
</div>
</div>
<div inv-fade-show="isLoggingIn" class="overlay login">
<div class="form">
<h2 class="login-header">Sign in and post your comment</h2>
<h3>To send your comment, sign in to InVision</h3>
<div class="field" ng-class="{ 'defined': identity.email.length }">
<input
type="text"
inv-autofocus
id="identity.login-email"
ng-model="identity.email"
tabindex="302"
/>
<label for="identity.login-email">Email address</label>
</div>
<div
class="field"
ng-class="{ 'defined': identity.password.length }"
>
<input
type="password"
id="identity.login-password"
ng-model="identity.password"
tabindex="303"
/>
<label for="identity.login-password">Password</label>
<a href="/d/password/requestReset" class="forgot-password">Forgot password?</a>
</div>
<div
ng-show="errorMessage"
class="alert alert-error"
ng-bind-html="errorMessage"
>
</div>
<button
class="button big-login"
type="button"
ng-click="submitLoginForm()"
>
Sign In
</button>
</div>
<div class="login-prompt">
Don't have an account? <a ng-click="closeLoginForm()">Sign up</a>
</div>
</div>
<div inv-fade-show="isAuthenticating" class="overlay authentication">
<div class="form">
<div class="m-avatar" ng-class="{ 'system-avatar': user.hasSystemAvatar }">
<span class="rendering">{{ user.tempInitials }}</span>
<img class="rendering" ng-src="/avatars/{{ user.tempAvatar }}" />
</div>
<h2>We've recognized that account, what's the password?</h2>
<h3>Enter your password to leave a comment</h3>
<div class="field" ng-class="{ 'defined': identity.name.length }">
<input
type="password"
id="identity.password"
ng-model="identity.password"
inv-autofocus
tabindex="301"
/>
<label for="identity.name">
Password
</label>
</div>
<div
ng-show="errorMessage"
class="alert alert-error"
ng-bind-html="errorMessage"
>
</div>
<div class="actions">
<button
class="close"
type="button"
ng-click="closeIdentifyForm()"
>
Cancel
</button>
<button
class="button"
type="button"
ng-click="submitFormPassword()"
tabindex="302"
>
Post Comment
</button>
</div>
</div> <!-- form -->
</div> <!-- authentication -->
<div class="comment-thread__footer">
<!-- placeholder to avoid that the bottom toolbar overlaps the comment-content -->
</div>
</div> <!-- comment-thread -->
</form>
</script><script type="text/ng-template" id="/assets/apps/share/views/comments/comments.htm"><div
ng-controller="comments.CommentsController"
inv-comments-key-combos
class="m-comments"
ng-class="{ mobile: project.isMobile }">
<!-- Context. -->
<div ng-include=" '/assets/apps/share/views/comments/context.htm' "></div>
<!-- Catchup Toolbar. -->
<div ng-include=" '/assets/apps/share/views/comments/catchup-toolbar.htm' "></div>
<!-- Markers. -->
<div ng-include=" '/assets/apps/share/views/comments/markers.htm' "></div>
<!-- View controlled by switch to overlay everything -->
<div inv-share-sketch-builder
ng-if=" isShowingSketchBuilder " >
</div>
<!-- Sketch viewer modal-->
<div inv-share-sketch-viewer
ng-if=" isShowingSketchViewer ">
</div>
<div id="cursor-tooltip"
inv-comments-cursor-tooltip
ng-show="isHoveringViewport && !( isHoveringHotspot || isShowingConversationMenu)"
>
Click to leave a comment
</div>
</div></script><script type="text/ng-template" id="/assets/apps/share/views/comments/catchup-toolbar.htm"><div ng-controller="comments.CatchupToolbarController" inv-comments-catchup-toolbar-helper class="comments-catchup-toolbar" ng-hide="$parent.isV2">
<div class="markers-container" class="{ unread-comments: unreadConversations.length, no-unread-comments: !unreadConversations.length }">
<p ng-show="unreadConversations.length">
{{ unreadConversations.length }} unread
<span ng-pluralize count="unreadConversations.length" when="{ one: 'conversation', other: 'conversations' }"></span>:
</p>
<p ng-hide="unreadConversations.length">No unread comments on this page...</p>
<!-- unread markers -->
<div class="markers" ng-show="unreadConversations.length">
<a
ng-repeat="conversation in visibleUnreadConversations"
href="#/screens/{{ screenID }}/comments/{{ conversation.id }}"
class="marker"
ng-click="markCommentsAsRead( conversation )"
ng-class="{
complete: conversation.isComplete,
comment: ! conversation.isForDevelopment && ! conversation.isTourPoint && ! conversation.isPrivate,
'dev-note': conversation.isForDevelopment,
'tour-point': conversation.isTourPoint,
'private-comment': conversation.isPrivate && ! conversation.isForDevelopment,
read: ! conversation.isUnread
}">
<span ng-if="conversation.label != '' && conversation.label > 0">{{ conversation.label }}</span>
</a>
</div>
<div ng-show="hiddenUnreadConversations.length" class="overflow-count">
+ {{ hiddenUnreadConversations.length }} more
</div>
</div> <!-- markers-container -->
<!-- BEGIN: Filters. -->
<div class="filters">
<p>View:</p>
<div class="type-filter">
<div class="dropdown">
<a href="#" data-toggle="dropdown" class="dropdown-toggle">
<span class="text">{{ filters.type.label }} ({{ filters.type.count }})</span>
<span class="drop"></span>
</a>
<ul class="dropdown-menu">
<li ng-repeat="option in typeFilterOptions" ng-hide="option.isPrivate && !user.canViewPrivateComments">
<a ng-click="changeTypeFilter( option )">{{ option.label }} ({{ option.count }})</a>
</li>
</ul>
</div>
</div>
<div class="status-filter">
<label for="filterShowCompleted">
<input type="checkbox" id="filterShowCompleted" ng-model="filters.showCompleted.value" ng-change="changeShowCompletedFilter()" inv-uniform />
Show Resolved ({{ filters.showCompleted.count }})
</label>
</div>
</div>
<!-- END: Filters. -->
</div></script><script type="text/ng-template" id="/assets/apps/share/views/comments/markers.htm"><div
ng-controller="comments.MarkersController"
inv-comments-markers
class="markers" >
<div
ng-class="{ mobile: project.isMobile }"
class="viewport {{ viewport.alignment }}"
ng-style="{
width: ( viewport.width + 'px' ),
height: ( viewport.height + 'px' )
}"
ng-mouseenter=" setIsHoveringViewport(true) "
ng-mouseleave=" setIsHoveringViewport(false) ">
<!-- Output the conversation markers. -->
<a
ng-repeat="conversation in conversations track by conversation.id"
ng-href="#/screens/{{ screenID }}/comments/{{ conversation.id }}"
class="marker"
ng-class="{
complete: conversation.isComplete,
active: ( conversation == selectedConversation ),
comment: ! conversation.isForDevelopment && ! conversation.isTourPoint && ! conversation.isPrivate,
'dev-note': conversation.isForDevelopment,
'tour-point': conversation.isTourPoint,
'private-comment': conversation.isPrivate && ! conversation.isForDevelopment,
read: ! conversation.isUnread && userAuthenticated,
'move-disabled': !isUserACollaborator,
'no-label': conversation.label == ''
}"
ng-style="{
left: ( conversation.x * screen.displayScale + 'px' ),
top: ( conversation.y * screen.displayScale + 'px' )
}"
unselectable="on"
ng-mouseenter=" setIsHoveringHotspot(true) "
ng-mouseleave=" setIsHoveringHotspot(false) "
ng-show=" conversation.isShown || (conversation.id == selectedConversation.id )">
{{ conversation.label }}
<span ng-if=" conversation.isComplete " class="complete-icon"></span>
</a>
<!-- Show the new conversation marker, if necessary. -->
<a
ng-show="newConversation"
ng-href="#/screens/{{ screenID }}/comments"
class="marker new-marker active"
ng-class="{
comment: ! newConversation.isForDevelopment && ! newConversation.isTourPoint && ! newConversation.isPrivate,
'dev-note': newConversation.isForDevelopment,
'tour-point': newConversation.isTourPoint,
'private-comment': newConversation.isPrivate && ! newConversation.isForDevelopment,
'no-label': newConversation.label == ''
}"
ng-style="{
left: ( newConversation.x * screen.displayScale + 'px' ),
top: ( newConversation.y * screen.displayScale + 'px' )
}"
unselectable="on"
ng-mouseenter=" setIsHoveringHotspot(true) "
ng-mouseleave=" setIsHoveringHotspot(false) ">
{{ newConversation.label }}
</a>
<!-- Only include the form if a conversation has been selected. -->
<div
class="comments-mentions"
ng-if="selectedConversation || newConversation || isSignup"
ng-include=" '/assets/apps/share/views/comments/form.htm' "></div>
</div>
</div>
</script><script type="text/ng-template" id="/assets/apps/share/views/comments/context.htm"><div class="clickToCommentCTA"
ng-show="clickToCommentCTAActive"
ng-click="dismissClickToCommentCTA($event)"
ng-class=" clickToCommentCTAActive ? 'animateInclickToCommentCTA':'' ">
<div class="clickToCommentCTAOverlay">
<div class="clickToCommentCTAClose"></div>
<div class="clickToCommentCTAButton unselectable" ng-class="clickToCommentCTAVariant" ng-style="{ 'margin-top': ( clickToCommentCTAMargin + 'px' )}">
Click anywhere to leave a comment on this screen
</div>
</div>
</div>
<!-- BEGIN: Context. -->
<div class="context">
<a ng-class="{ active: $parent.commentControl.isBorderExpanded }" ng-click="closeCommentMode($event)">
<span ng-hide="$parent.isV2">Comment Mode</span>
<span ng-show="$parent.isV2">x</span>
</a>
<!-- Borders. -->
<div ng-class="{ active: $parent.commentControl.isBorderExpanded }" class="border n"></div>
<div ng-class="{ active: $parent.commentControl.isBorderExpanded }" class="border e"></div>
<div ng-class="{ active: $parent.commentControl.isBorderExpanded }" class="border s"></div>
<div ng-class="{ active: $parent.commentControl.isBorderExpanded }" class="border w"></div>
</div>
<!-- END: Context. --></script><script type="text/ng-template" id="/assets/apps/share/views/screens/screens.htm">
<!-- desktop projects -->
<div
ng-if=" !project.isMobile || subview == 'comments' "
ng-controller="screens.ScreensController"
inv-screens
inv-add-padding-on-scroll
class="m-screens desktop"
ng-class="{ isScaledCommentMode: project.isMobile }">
<div
ng-repeat="screen in screens track by screen.id"
data-distance="{{ screen.distanceFromStartScreen }}"
class="screen {{ screen.alignment }}"
ng-class="{ visible: (screen.id == selectedScreen.id) }"
ng-style="{
width: ( Math.round(screen.width * screen.displayScale) + 'px' ),