-
Notifications
You must be signed in to change notification settings - Fork 0
/
artist_Drake.html
10763 lines (9643 loc) · 650 KB
/
artist_Drake.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0068)https://www.ticketmaster.com/artist/1319371?tm_link=tm_header_search -->
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml" lang="en" xml:lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><script type="text/javascript" src="./artist_Drake_files/get"></script><script type="text/javascript" src="./artist_Drake_files/optout_check"></script><script async="" src="./artist_Drake_files/beacon.js"></script><script async="" src="./artist_Drake_files/controltag.js.c3e8e6311e44dfc4f051e4a261784fa1"></script><style type="text/css" id="monetatecss">#site-nav .tag {
background: transparent !important;
color:#d0006f !important
}
#site-nav .tag:hover {
text-decoration: underline !important;
}
#site-nav .tag:after {
display: none !important;
}
</style><script src="./artist_Drake_files/1477.js" async="" type="text/javascript"></script><script type="text/javascript" async="" src="./artist_Drake_files/controltag"></script><script type="text/javascript" src="./artist_Drake_files/ms2.js" async=""></script><script type="text/javascript" async="" src="./artist_Drake_files/bv-analytics.js"></script><script src="./artist_Drake_files/osd.js"></script><script type="text/javascript" async="" src="./artist_Drake_files/analytics.js"></script><script type="text/javascript" async="" src="./artist_Drake_files/divolte.js"></script><script src="./artist_Drake_files/331346373656762" async=""></script><script async="" src="./artist_Drake_files/fbevents.js"></script><script type="text/javascript" src="./artist_Drake_files/fanbuilder.js"></script>
<!-- This PageInfo -->
<title>Drake Tickets | Drake Concert Tickets & Tour Dates | Ticketmaster.com</title>
<meta name="description" content="Buy Drake tickets from the official Ticketmaster.com site. Find Drake tour schedule, concert details, reviews and photos.">
<link rel="canonical" href="https://www.ticketmaster.com/Drake-tickets/artist/1319371">
<meta name="rating" content="general">
<meta name="copyright" content="2017, Ticketmaster">
<meta name="expires" content="never">
<meta name="distribution" content="global">
<meta name="robots" content="index">
<meta name="robots" content="NOODP">
<meta name="fragment" content="!">
<link rel="alternate" media="only screen and (max-width: 640px)" href="https://m.ticketmaster.com/Drake-tickets/artist/1319371">
<!-- Browser icons -->
<link rel="shortcut icon" href="https://s1.ticketm.net/tm/en-us/img/static/favicon-rb.ico" type="image/x-icon">
<!-- Verification Info -->
<meta property="og:title" content="Drake">
<meta property="og:type" content="musician">
<meta property="og:url" content="https://www.ticketmaster.com/Drake-tickets/artist/1319371">
<meta property="og:image" content="https://s1.ticketm.net/dam/a/97c/c1856101-6967-489b-9a8a-9ed4144ee97c_118131_EVENT_DETAIL_PAGE_16_9.jpg">
<meta property="og:description" content="Buy Drake tickets from the official Ticketmaster.com site. Find Drake tour schedule, concert details, reviews and photos.">
<meta property="og:site_name" content="Ticketmaster">
<meta property="fb:app_id" content="140669015975185">
<!-- App Page Info -->
<link rel="alternate" href="android-app://com.ticketmaster.mobile.android.na/ticketmaster/artist/1319371">
<meta name="apple-itunes-app" content="app-id=500003565">
<meta property="al:ios:url" content="ticketmaster:///artist/1319371">
<meta property="al:ios:app_store_id" content="500003565">
<meta property="al:ios:app_name" content="Ticketmaster">
<meta property="al:android:url" content="android-app://com.ticketmaster.mobile.android.na/ticketmaster/artist/1319371">
<meta property="al:android:app_name" content="Ticketmaster">
<meta property="al:android:package" content="com.ticketmaster.mobile.android.na">
<meta property="al:web:url" content="https://www.ticketmaster.com/Drake-tickets/artist/1319371">
<!-- Twitter cards -->
<meta name="twitter:card" content="app">
<meta name="twitter:site" content="@Ticketmaster">
<meta name="twitter:description" content="Buy Drake tickets from the official Ticketmaster.com site. Find Drake tour schedule, concert details, reviews and photos.">
<meta name="twitter:app:country" content="US">
<meta name="twitter:app:name:iphone" content="Ticketmaster">
<meta name="twitter:app:id:iphone" content="500003565">
<meta name="twitter:app:url:iphone" content="ticketmaster:///artist/1319371">
<meta name="twitter:app:name:ipad" content="Ticketmaster">
<meta name="twitter:app:id:ipad" content="500003565">
<meta name="twitter:app:url:ipad" content="ticketmaster://artist/1319371">
<meta name="twitter:app:name:googleplay" content="Ticketmaster">
<meta name="twitter:app:id:googleplay" content="com.ticketmaster.mobile.android.na">
<meta name="twitter:app:url:googleplay" content="android-app://com.ticketmaster.mobile.android.na/ticketmaster/artist/1319371">
<!-- ClickStream MetaTags -->
<!-- ClickStream MetaTags - End -->
<meta name="keywords" content="Drake tickets, concert dates, tour dates, live show tickets, music tickets, Music tickets, Rap and Hip-Hop tickets, hot tickets, buy tickets">
<link rel="alternate" hreflang="en-us" href="https://www.ticketmaster.com/Drake-tickets/artist/1319371">
<link rel="dns-prefetch" href="https://af.monetate.net/"><link rel="dns-prefetch" href="https://sb.monetate.net/"><script async="" src="./artist_Drake_files/gtm.js"></script><script type="text/javascript" async="" src="./artist_Drake_files/analytics.js"></script><script src="./artist_Drake_files/pubads_impl_rendering_moa_e_20171107.js"></script><script src="./artist_Drake_files/ads"></script><script async="" src="./artist_Drake_files/gtm(1).js"></script><script async="" type="text/javascript" src="./artist_Drake_files/gpt.js"></script><script type="text/javascript" src="./artist_Drake_files/custom.js" charset="utf-8" async=""></script><script>
var isSuperNav = 0;
</script>
<script type="text/javascript">
window.js_cookie_domain = "ticketmaster.com";
var disableResaleBaAutoExpand = 0;
var disableVFS = 0;
var rebranding_mvp = false;
var rebranding = true; var force_use_disco = 0; var measuresearch_debug = false; var search_suggest_by_market_a_b = 0; var qanda_on = 0;
var secure_server_migration = {
configuration: {"browse":1,"search":1,"global":1,"venueartist":1,"section":1,"event":1,"artist":1,"resale":1,"venue":1,"home":1,"exchange":1},
replaceProtocol : function (url, page){
return (this.configuration[page]) ? url.replace('http:','https:'): url;
}
};
</script> <!-- Begin Monetate ExpressTag Sync v8.1 Place at start of document head. DO NOT ALTER. -->
<script type="text/javascript"> var monetateT = new Date().getTime();</script>
<script type="text/javascript" src="./artist_Drake_files/entry.js"></script>
<!-- End Monetate tag. -->
<script type="text/javascript">window.monetateQ = window.monetateQ || [];</script> <script type="text/javascript"> var googletag = googletag || {};
googletag.cmd = googletag.cmd || [];
(function() {
var gptFlag = false;
var gads = document.createElement('script');
gads.async = true;
gads.type = 'text/javascript';
var useSSL = 'https:' == document.location.protocol;
gads.src = (useSSL ? 'https:' : 'http:') + '//www.googletagservices.com/tag/js/gpt.js';
var node = document.getElementsByTagName('script')[0];
node.parentNode.insertBefore(gads, node); })(); </script>
<script type="text/javascript" src="./artist_Drake_files/tmjs.js"></script>
<script src="./artist_Drake_files/polyfill.min.js"></script><link rel="preload" href="./artist_Drake_files/integrator.js" as="script"><script type="text/javascript" src="./artist_Drake_files/integrator.js"></script><script src="./artist_Drake_files/pubads_impl_moa_e_20171107.js" async=""></script>
<script src="./artist_Drake_files/sdk.js"></script>
<script type="text/javascript" src="./artist_Drake_files/prototype.js"></script>
<script type="text/javascript" src="./artist_Drake_files/jquery.min.js"></script>
<script type="text/javascript" src="./artist_Drake_files/jquery-ui.min.js"></script>
<script src="./artist_Drake_files/jquery.xml2json.min.js"></script>
<script src="./artist_Drake_files/jquery.scrollto.min.js"></script>
<script src="./artist_Drake_files/jquery.tm.priceslider.js"></script>
<script type="text/javascript" src="./artist_Drake_files/jquery.bgiframe-2.1.2.js"></script>
<script type="text/javascript" src="./artist_Drake_files/tm.js"></script>
<script type="text/javascript" src="./artist_Drake_files/element.write.js"></script>
<script type="text/javascript" src="./artist_Drake_files/writeCapture.js"></script>
<script type="text/javascript">
var price_section_match = false;
var vip_update = false;
var suppress_service_fee_resale = false;
</script>
<script type="text/javascript">
//<![CDATA[
jQuery.noConflict();
jQuery(document).ready(function($) {
$("#googleIcon").omnitureExternalOnce({
omnitureValue: "Onclick_Googleplus_Badge_Footer"
});
});
//]]>
</script>
<script type="text/javascript" src="./artist_Drake_files/TmPopup.js"></script>
<script type="text/javascript">
var tm_omn_account="tm-USprod,tm-combinedUSprod";
var isReviews = "";
var omn_domain_owner = "TM_US:";
var tm_omni_temp = $H();
var modules_avail_per_page = $A();
var market_id = GetCookie('MARKET_ID') ? GetCookie('MARKET_ID') : '54';
tm_omni_temp.set('is_s_doPlugins_fired', false);
tm_omni_temp.set('omnVID','');
tm_omni_temp.set('omnAID','1319371');
tm_omni_temp.set('omnEID','');
tm_omni_temp.set('omnMID','TM_US: ' + market_id);
var omniCustomClick = Class.create({
initialize: function(initialData) {
this.data = Object.extend({}, initialData);
},
handleClick: function(event) {
$H(this.data).each(function(d){
tm_omn[d.key] = d.value;
});
switch(newPage){
case true:
tm_omn.t();
tm_omn.getPreviousValue(tm_omn.pageName,'gpv','');
break;
case false:
tm_omn.tl(true,'o',clickLink);
break;
}
if(tm_omni_temp.get('location_path')){
if(newWindow == true){
window.open(tm_omni_temp.get('location_path'),'_blank');
}else{
self.location.replace(tm_omni_temp.get('location_path'));
}
tm_omni_temp.unset('location_path');
return false;
}
return true;
},
module_link: function(clickmod,inclusiveLink,tracking_vars, disable_eVar13){
this.data = Object.extend({},{
linkTrackVars: 'events,eVar13,prop14,eVar14',
linkTrackEvents: 'event13',
events: 'event13',
prop14: 'TM_US: ' + clickmod,
eVar14: 'TM_US: ' + clickmod,
eVar13: 'TM_US: ' + clickmod
},
clickLink = clickmod,
newPage = false
);
if (disable_eVar13) {
this.data.linkTrackVars = 'events,prop14,eVar14';
delete this.data['eVar13'];
}
if(inclusiveLink){
this.data.prop14 = "";
this.data.linkTrackVars = this.data.linkTrackVars.gsub(/,prop14,eVar14/,"");
}
tracking_vars = tracking_vars || {};
for ( var tv in tracking_vars ) {
this.data[tv] = tracking_vars[tv];
this.data.linkTrackVars += ',' + tv;
}
this.handleClick();
},
navigation_link2: function( clicklink, options ){
options = Object.extend( {
np: false,
newWin: false,
tracking_vars: {}
}, options );
this.data = Object.extend({},{
linkTrackVars: 'prop14,eVar14',
linkTrackEvents: 'event27',
prop14: 'TM_US: ' + clicklink,
eVar14: 'TM_US: ' + clicklink
},
clickLink = clicklink,
newPage = options.np,
newWindow = options.newWin
);
for ( var tv in options.tracking_vars ) {
this.data[tv] = options.tracking_vars[tv];
this.data.linkTrackVars += ',' + tv;
}
tm_omni_temp.set('location_path',options.nav_url);
this.handleClick();
},
navigation_link: function(clicklink,np,nav_url,newWin){
if(!np){np= false;}
if(newWin != false){newWin = true;}
this.data = Object.extend({},{
linkTrackVars: 'prop14,eVar14',
linkTrackEvents: 'event27',
prop14: 'TM_US: ' + clicklink,
eVar14: 'TM_US: ' + clicklink
},
clickLink = clicklink,
newPage = np,
newWindow = newWin
);
tm_omni_temp.set('location_path',nav_url);
this.handleClick();
},
trackomni_favoriteshare: function(lTV,lTE,clicklink){
count = 0;
$A(lTV).each(function(d){
tm_omn[d] = (d=='products' ? ';' : '' ) + lTE[count];
count++
});
this.data = Object.extend({},{
linkTrackVars: 'prop14,eVar14,' + lTV.join(','),
linkTrackEvents: lTE.join(','),
prop14: 'TM_US: ' + clicklink,
eVar14: 'TM_US: ' + clicklink
},
clickLink = clicklink,
newPage = false
);
if(!tm_omni_temp.get('shareclickSet')){
this.handleClick();
tm_omni_temp.set('shareclickSet','1');
setTimeout("tm_omni_temp.unset('shareclickSet')",1500);
}
},
track_page_load: function(tracking_vars){
tracking_vars = tracking_vars || {};
for ( var tv in tracking_vars ) {
tm_omn[tv] = 'TM_US: ' + tracking_vars[tv];
tm_omn.linkTrackVars += ',' + tv;
}
tm_omn.t();
}
});
var omniTracking = new omniCustomClick();
TMDebug = {
gen_tlog: function() {
return function(){};
}
};
</script>
<!-- TM_CUSTOM_SCRIPT -->
<script type="text/javascript" src="./artist_Drake_files/builder.js"></script>
<script type="text/javascript" src="./artist_Drake_files/effects.js"></script>
<script type="text/javascript" src="./artist_Drake_files/dragdrop.js"></script>
<script type="text/javascript" src="./artist_Drake_files/controls.js"></script>
<script type="text/javascript" src="./artist_Drake_files/slider.js"></script>
<script type="text/javascript" src="./artist_Drake_files/carousel.js"></script>
<script type="text/javascript" src="./artist_Drake_files/popup.js"></script>
<script type="text/javascript" src="./artist_Drake_files/global.js"></script>
<script type="text/javascript">
createNamespace('TM.MetricsCollection');
TM.MetricsCollection.timings = {
facade: function(){},
initializeMetrics: function(){}
}
</script><script src="./artist_Drake_files/tm_metricscollection.js"></script>
<script type="text/javascript">
TM.MetricsCollection.timings.initializeMetrics(
{
APP: {
percent: 25,
require: {
origin: '8F5r9LpxOIupStMQhtHGBHo3iSOAFzpYmMKv6i4X48AguiIhYr0RQapfgYDNYNL5I_NorIkYHYlLF8VVQwS2',
page: 'artist.default',
inventory_type: 'both'
}
},
url: "https://www.ticketmaster.com",
disabledMetrics: {"web.page.cs_ext_resource_load.counter":[{"web_resource":"rec_api"},{"web_resource":"rec_api_x"},{"web_resource":"rec_api_generated"},{"web_resource":"rec_api_generated_x"}],"web.page.cs_xhr_response.timer.millis":[{"page":"checkout.confirmation","web_resource":"rec_ds_request"},{"page":"unidentified","web_resource":"rec_ds_request"}],"web.page.cs_function_execution.timer.millis":[{"function":"rec_modules_ds"},{"function":"rec_modules"},{"function":"rec_integration_ds"},{"function":"rec_integration_success"},{"function":"rec_integration_empty"},{"function":"rec_integration_fail"},{"function":"rec_integration_fail_x"}]} || {}, allowedMetricRequests: 50 }
);
</script>
<script type="text/javascript" src="./artist_Drake_files/internal_core.js"></script>
<script type="text/javascript" src="./artist_Drake_files/internal_core_ui.js"></script><style type="text/css">
/* scroll controls */
.recommendations-nav-left, .recommendations-nav-right {
border: 0;
background-color: transparent;
width: 49px;
height: 108px;
background-image: url("https://s1.ticketm.net/tm/en-us/img/sys/alpha/common/nav-arrows-sprite.svg");
background-repeat: no-repeat;
cursor: pointer;
position: absolute;
top: 0;
z-index: 10;
}
.recommendations-nav-left {
left: -8px;
background-position: 0 0;
}
.recommendations-nav-left:hover {
left: -8px;
background-position: 0 -108px;
}
.recommendations-nav-right {
right: -8px;
background-position: 0 -215px;
}
.recommendations-nav-right:hover {
right: -8px;
background-position: 0 -323px;
}
/* general recommendations styling */
.recs-module {
padding-bottom: 20px;
}
.recs-header {
margin-bottom: 10px;
font-weight: normal;
color: #414141;
}
.recs-container{
position: relative;
}
.rec-artist-img{
width: 122px;
height: 90px;
margin-bottom: 4px;
}
.rec-text {
display: block;
margin-bottom: 4px;
}
.rec-title {
font-weight: bold;
}
.rec-rating {
margin-left:-2px;
margin-bottom: 8px;
margin-right: 0.5em;
background : url('https://s1.ticketm.net/tm/en-us/img/sys/1000/stars.png') repeat-x 1px -13px;
height : 13px;
display : block;
width :74px;
}
.rec-rating span {
background : url('https://s1.ticketm.net/tm/en-us/img/sys/1000/stars.png') repeat-x 1px 0px;
height : 13px;
display : block;
overflow:hidden;
text-indent: -9999px;
}
/* scrolling modules */
.recs-scrolling {
position: relative;
overflow: hidden;
}
.recs-scrolling .recs-list {
width: 4000px; /* used as default, but will be modified by js */
}
.recs-scrolling .rec-item {
float: left;
width: 122px;
}
.recs-scrolling .rec-item + .rec-item {
margin-left: 15px;
}
.recs-module.centered .recs-scrolling {
text-align: center;
}
.recs-module.centered .recs-scrolling .recs-list{
width: auto !important;
text-align: left;
}
.recs-module.centered .recs-scrolling .recs-list .rec-item + .rec-item {
margin-left: 30px;
}
.recs-fader {
width: 35px;
background: url('https://s1.ticketm.net/tm/en-us/img/sys/rr/fader.png') repeat-y right top;
display: block;
position: absolute;
right: 0;
top: 0;
height: 100%;
z-index:1;
}
/* side module */
#sidePlacement-wrapper {
height: 0px;
text-align: right;
}
#sidePlacement {
text-align: left;
margin-right: -120px;
margin-top: 10px;
width: 115px;
background: #fff;
z-index: 101;
}
.recs-module.side {
padding: 10px;
}
.recs-module.side .recs-header {
font-size: 14px;
margin-bottom: 8px;
}
.recs-module.side .rec-item {
width: 95px;
}
.recs-module.side .rec-artist-img {
width: 80px;
height: 45px;
}
.recs-module.side .rec-item + .rec-item {
border-top: 1px solid #e0e0e0;
margin-top: 5px;
padding-top: 10px;
}
/* for positioning the recs in particular contexts */
.top-selling .recs-header {
padding-top: 20px;
margin-left: 15px;
}
.top-selling .rec-item:first-child {
margin-left: 15px;
}
/* favorites controls */
.recommendations-favorites-control {
width: 17px;
height: 14px;
background: url("https://s1.ticketm.net/tm/en-us/img/sys/alpha/common/hearts-sprite.svg") no-repeat 0 0px;
border: 0;
cursor: pointer;
overflow: hidden;
text-indent: -9999px;
}
.recommendations-favorites-control:hover {
background-position: 0 -14px;
}
.recommendations-favorites-control.added { background-position: 0 -14px;}
/* particular modules */
#artistPlacement .rec-title {
width: 100px;
}
#artistPlacement .rec-artist-img{
width: 100px;
height: 55px;
}
#artistPlacement .recs-header {
font-size: 16px;
margin: 0;
}
#artistPlacement .recs-scrolling {
margin: 0 43px 0 47px;
}
#artistPlacement .recs-container {
background: white;
padding:10px 0;
}
#artistPlacement .recommendations-nav-left, #artistPlacement .recommendations-nav-right {
top: calc(50% - 54px);
}
#bottomPlacement.top-selling {
background: #efefef;
}
</style>
<!--[if lte IE 8]>
<style type="text/css">
.recommendations-nav-left, .recommendations-nav-right {
background-image: url("https://s1.ticketm.net/tm/en-us/img/sys/alpha/common/nav-arrows-sprite.png");
}
</style>
<![endif]-->
<script type="text/javascript">
var __RECOMMENDATIONS = {};
__RECOMMENDATIONS.SETTINGS = {
CURRENT_LANGUAGE: "en-us",
ITEM_LABEL_LINE_LIMIT: 2,
ITEM_VENUE_LABEL_LINE_LIMIT: 1,
CAROUSEL_SCROLL_SPEED: 600,
WALLPAPER_ADVERTISEMENT_TIMEOUT: 1000,
TEXT_UNITS: {
MORE_INFO_ABOUT: "More Info About",
REMOVE_THIS_FROM_YOUR_FAVORITES: "Remove this from your Favorites",
ADD_THIS_TO_YOUR_FAVOURITES: "Add this to your Favorites",
ARTIST_BOX_OUT_OF_5_STARS: "out of 5 stars",
PREVIOUS: "Previous",
NEXT: "Next",
AN_ERROR_OCCURRED_PLEASE_TRY_AGAIN_LATER: "An error occurred, please try again later.",
ARTIST_ADD_TO_FAVORITES_OPENS_A_SIMULATED_DIALOG: "Add to Favorites[_1] - Opens a simulated dialog.[_2]",
ARTIST_MY_FAVORITE: "My Favorite - Opens a simulated dialog."
},
DEFAULT_IMAGES: {
venue: {
"205x115": "https://s1.ticketm.net/tm/en-us/tmimages/TM_GenVenueImg_BW.jpg",
"305x225": "https://s1.ticketm.net/tm/en-us/tmimages/305x225_venue.jpg"
}
},
omniture_pagename: "tm_artist"
};
__RECOMMENDATIONS.SETTINGS.modules = {
top: {
enabled: true,
container_id: 'artistPlacement',
items_visible: 4,
omniture_name: 'rc',
imageSize: '205x115',
heading_maxLength: 120,
items_minLimit: 4 },
bottom: {
enabled: false,
container_id: 'bottomPlacement',
items_visible: 7,
omniture_name: 'rv3',
imageSize: '305x225',
heading_maxLength: 30,
items_minLimit: 7 },
right: {
enabled: false,
container_id: 'sidePlacement',
items_visible: 5,
omniture_name: 'rv2_viewed',
imageSize: '205x115',
heading_maxLength: 40,
items_minLimit: 1 }
};
__RECOMMENDATIONS.API = {};
__RECOMMENDATIONS.API.UTILS = {};
(function () {
__RECOMMENDATIONS.API.UTILS.extractImageURL= function (source, size) {
var image_url;
if (typeof source == 'string') {
image_url = source;
} else if (typeof source === 'object' && typeof size !== 'undefined') {
image_url = source[size];
}
if (typeof image_url === 'string') {
if (window.location.protocol === 'https:') {
image_url = image_url.replace(/^http:/i, 'https:');
}
} else {
image_url = undefined;
}
return image_url;
};
})();
(function () {
/**
* default private static params;
* all possible params should be declared here.
*/
var _defaultParams = {
container: undefined,
imageSize: '305x225',
omniture_name: undefined,
index: undefined
};
var iterator = 1;
__RECOMMENDATIONS.API.buildRecommendationItem = function (dataItem, params) {
/* params validation */
var validParams,
property;
validParams = {};
for (property in _defaultParams) {
validParams[property] = params && (property in params) ? params[property] : _defaultParams[property];
}
var container;
if (validParams.container) {
container = validParams.container;
} else {
container = document.createElement('li');
container.className = 'rec-item';
}
/* omniture data */
var item_index,
item_omniture_name,
specific_omniture_values,
omniture_valid;
item_index = validParams.index;
item_omniture_name = validParams.omniture_name;
specific_omniture_values = {
image: '',
label: '',
rating: '',
venue: '',
addFavorites: '',
removeFavorites: ''
};
if ( /viewed/i.test(item_omniture_name) ) {
specific_omniture_values.image = __RECOMMENDATIONS.SETTINGS.omniture_pagename + "_" + item_omniture_name + item_index + "_image";
specific_omniture_values.label = __RECOMMENDATIONS.SETTINGS.omniture_pagename + "_" + item_omniture_name + item_index + "_name";
specific_omniture_values.rating = __RECOMMENDATIONS.SETTINGS.omniture_pagename + "_" + item_omniture_name + item_index + "_rating";
specific_omniture_values.venue = __RECOMMENDATIONS.SETTINGS.omniture_pagename + "_" + item_omniture_name + item_index + "_venue";
specific_omniture_values.addFavorites = __RECOMMENDATIONS.SETTINGS.omniture_pagename + "_" + item_omniture_name + item_index + "_add_fav";
specific_omniture_values.removeFavorites = __RECOMMENDATIONS.SETTINGS.omniture_pagename + "_" + item_omniture_name + item_index + "_remove_fav";
} else {
specific_omniture_values.image = __RECOMMENDATIONS.SETTINGS.omniture_pagename + "_" + item_omniture_name + "_image" + item_index;
specific_omniture_values.label = __RECOMMENDATIONS.SETTINGS.omniture_pagename + "_" + item_omniture_name + "_name" + item_index;
specific_omniture_values.rating = __RECOMMENDATIONS.SETTINGS.omniture_pagename + "_" + item_omniture_name + "_rating" + item_index;
specific_omniture_values.venue = __RECOMMENDATIONS.SETTINGS.omniture_pagename + "_" + item_omniture_name + "_venue" + item_index;
specific_omniture_values.addFavorites = __RECOMMENDATIONS.SETTINGS.omniture_pagename + "_" + item_omniture_name + "_add_fav" + item_index;
specific_omniture_values.removeFavorites = __RECOMMENDATIONS.SETTINGS.omniture_pagename + "_" + item_omniture_name + "_remove_fav" + item_index;
}
omniture_valid = item_index !== undefined && item_omniture_name !== undefined;
/* gen redirectURL_values */
var linkURL,
parsed_linkURL,
parsed_linkURL_query,
redirectURL_values;
redirectURL_values = {
image: '',
label: '',
rating: '',
venue: ''
};
if (omniture_valid) {
linkURL = dataItem.linkURL;
parsed_linkURL = __GLOBALS.util.parseURI( linkURL );
parsed_linkURL_query = __GLOBALS.util.parseAndDecodeURIQuery( parsed_linkURL.query );
if (!parsed_linkURL_query) {
parsed_linkURL_query = {};
}
parsed_linkURL_query.tm_link = specific_omniture_values.image;
parsed_linkURL.query = __GLOBALS.util.encodeAndBuildURIQuery( parsed_linkURL_query );
redirectURL_values.image = __GLOBALS.util.buildURI( parsed_linkURL );
parsed_linkURL_query.tm_link = specific_omniture_values.label;
parsed_linkURL.query = __GLOBALS.util.encodeAndBuildURIQuery( parsed_linkURL_query );
redirectURL_values.label = __GLOBALS.util.buildURI( parsed_linkURL );
parsed_linkURL_query.tm_link = specific_omniture_values.rating;
parsed_linkURL.query = __GLOBALS.util.encodeAndBuildURIQuery( parsed_linkURL_query );
redirectURL_values.rating = __GLOBALS.util.buildURI( parsed_linkURL );
parsed_linkURL_query.tm_link = specific_omniture_values.venue;
parsed_linkURL.query = __GLOBALS.util.encodeAndBuildURIQuery( parsed_linkURL_query );
redirectURL_values.venue = __GLOBALS.util.buildURI( parsed_linkURL );
}
var i,
itemLink,
image,
titleSpan,
ratingScale,
favsSpan,
favsButton,
favsButtonSpan;
itemLink = document.createElement('a');
itemLink.className = 'recommendations_click_handle block';
itemLink.href = redirectURL_values.label ? redirectURL_values.label : dataItem.linkURL;
itemLink.setAttribute('data-redirectURL', redirectURL_values.label);
var imageURL = __RECOMMENDATIONS.API.UTILS.extractImageURL(dataItem.imageURL, validParams.imageSize);
if (imageURL === undefined) {
if ( /^venue_.+/.test(dataItem.id) && __RECOMMENDATIONS.SETTINGS.DEFAULT_IMAGES.venue ) {
imageURL = __RECOMMENDATIONS.API.UTILS.extractImageURL(__RECOMMENDATIONS.SETTINGS.DEFAULT_IMAGES.venue, validParams.imageSize);
}
}
image = document.createElement('img');
image.src = imageURL;
image.alt = '';
image.title = __RECOMMENDATIONS.SETTINGS.TEXT_UNITS.MORE_INFO_ABOUT + ' ' + dataItem.name;
image.className = 'recommendations_click_handle rec-artist-img';
image.setAttribute('data-redirectURL', redirectURL_values.image);
itemLink.appendChild(image);
titleSpan = document.createElement('span');
titleSpan.className = 'recommendations_click_handle rec-text rec-title';
titleSpan.setAttribute('data-redirectURL', redirectURL_values.label);
titleSpan.id = 'recommendation_title_' + iterator;
var textContainer = new INTERNAL_CORE.UI.PlainTextContainer(titleSpan);
textContainer.setLinesLimit( __RECOMMENDATIONS.SETTINGS.ITEM_LABEL_LINE_LIMIT );
textContainer.setText(dataItem.name);
itemLink.appendChild(titleSpan);
container.appendChild(itemLink);
var ratingValue = +dataItem.rating; // max is 5
if (!isNaN(ratingValue) && ratingValue !== 0) {
var ratingElement = document.createElement('span');
ratingElement.setAttribute('data-redirectURL', redirectURL_values.rating);
ratingElement.className = 'recommendations_click_handle rec-text rec-rating';
ratingElement.title = ratingValue + ' ' + __RECOMMENDATIONS.SETTINGS.TEXT_UNITS.ARTIST_BOX_OUT_OF_5_STARS;
var maxRatingWidth = 74; // px
var starsElement = document.createElement('span');
starsElement.style.width = (maxRatingWidth * ratingValue / 5) + 'px';
starsElement.innerHTML = ' ' + ratingValue + ' ' + __RECOMMENDATIONS.SETTINGS.TEXT_UNITS.ARTIST_BOX_OUT_OF_5_STARS + ' ';
ratingElement.appendChild(starsElement);
itemLink.appendChild(ratingElement);
} else if ( /^event_.+/.test(dataItem.id) ) {
/* this is an event recommendation; display a venue-link istead of rating */
var venueLink = document.createElement('a');
venueLink.className = 'block mgBot8';
venueLink.style.fontWeight = 'normal';
venueLink.title = dataItem.venueName;
venueLink.href = redirectURL_values.venue ? redirectURL_values.venue : dataItem.venueURL;
var venueLinkContainer = new INTERNAL_CORE.UI.PlainTextContainer(venueLink);
venueLinkContainer.setLinesLimit( __RECOMMENDATIONS.SETTINGS.ITEM_VENUE_LABEL_LINE_LIMIT );
venueLinkContainer.setText(dataItem.venueName);
container.appendChild(venueLink);
}
if (typeof _MEMBER_DATA !== 'undefined' && _MEMBER_DATA) {
var item_id,
added,
type_id,
num_id,
item_id_parse;
added = false;
if ( /^event_.+/.test(dataItem.id) ) {
/* this is an event recommendation; using artistId for add-to-faves */
item_id = dataItem.artistId;
} else {
item_id = dataItem.id;
}
if ( item_id && /_/i.test(item_id) ) {
item_id_parse = item_id.split('_');
type_id = item_id_parse[0];
num_id = item_id_parse[1];
}
if (type_id && num_id) {
if (type_id === 'venue') {
if (_MEMBER_DATA['venues'] && !added) {
for (i in _MEMBER_DATA['venues']) {
if (_MEMBER_DATA['venues'][i] && _MEMBER_DATA['venues'][i].id && _MEMBER_DATA['venues'][i].id == num_id) {
added = true; // set flag if venue found
break;
}
}
}
} else {
/* expected type_id is 'artist' here */
if (_MEMBER_DATA['artists'] && !added) {
for (i in _MEMBER_DATA['artists']) {
if (_MEMBER_DATA['artists'][i] && _MEMBER_DATA['artists'][i].id && _MEMBER_DATA['artists'][i].id == num_id) {
added = true; // set flag if artist found
break;
}
}
}
if (_MEMBER_DATA['teams'] && !added) {
for (i in _MEMBER_DATA['teams']) {
if (_MEMBER_DATA['teams'][i] && _MEMBER_DATA['teams'][i].id == num_id) {
added = true; // set flag if team found
type_id = 'team';
break;
}
}
}
}
favsSpan = document.createElement('span');
favsSpan.className = 'block add-to-faves';
favsButton = document.createElement('button');
favsButton.className = added ? 'recommendations_favorites_handle recommendations-favorites-control block added' : 'recommendations_favorites_handle recommendations-favorites-control block';
favsButton.setAttribute('data-id', type_id + '_' + num_id);
favsButton.setAttribute('role', 'button');
favsButton.setAttribute('aria-describedby', titleSpan.id);
if (omniture_valid) {
favsButton.setAttribute('data-omniture-addFavorites', specific_omniture_values.addFavorites);
favsButton.setAttribute('data-omniture-removeFavorites', specific_omniture_values.removeFavorites);
}
favsButtonSpan = document.createElement('span');
favsButtonSpan.innerHTML = added ? __RECOMMENDATIONS.SETTINGS.TEXT_UNITS.REMOVE_THIS_FROM_YOUR_FAVORITES : __RECOMMENDATIONS.SETTINGS.TEXT_UNITS.ADD_THIS_TO_YOUR_FAVOURITES;
favsButton.appendChild(favsButtonSpan);
favsSpan.appendChild(favsButton);
container.appendChild(favsSpan);
}
}
iterator ++;
return container;
};
})();
(function () {
var EMPHASIS_OPEN_PLACEHOLDER = '||',
EMPHASIS_CLOSE_PLACEHOLDER = '||',
EMPHASIS_TAG = 'strong',
TRUNCATION_CAP = '...';
__RECOMMENDATIONS.API.UTILS.truncateAndEmphasize = function (sourceString, maxLength, considerEmphasis) {
if (typeof maxLength === 'undefined') {
maxLength = Number.POSITIVE_INFINITY;
} else if (typeof maxLength !== 'number') {
throw new TypeError('"maxLength" type is not number');
} else if (isNaN(maxLength)) {
throw new TypeError('NaN "maxLength" passed');
}
var tempString = sourceString;
if (considerEmphasis) {
var emphasis_start,
emphasis_finish,
fromIndex,
brackets_indices,
lengthProcessed,
clippingProcessed,
needToClipProcessed,
counter,
i, j;
fromIndex = 0;
lengthProcessed = 0;
brackets_indices = [];
do {
emphasis_start = emphasis_finish = -1;
emphasis_start = tempString.indexOf(EMPHASIS_OPEN_PLACEHOLDER, fromIndex);
if (emphasis_start != -1) {
emphasis_finish = tempString.indexOf(EMPHASIS_CLOSE_PLACEHOLDER, emphasis_start + EMPHASIS_OPEN_PLACEHOLDER.length);
}
if (emphasis_start != -1 && emphasis_finish != -1) {
brackets_indices.push(emphasis_start);
lengthProcessed += emphasis_finish - fromIndex - EMPHASIS_OPEN_PLACEHOLDER.length;
tempString = tempString.substring(0, emphasis_start) + '<' + EMPHASIS_TAG + '>' + tempString.substring(+emphasis_start + EMPHASIS_OPEN_PLACEHOLDER.length);
emphasis_finish += +EMPHASIS_TAG.length + 2 - EMPHASIS_OPEN_PLACEHOLDER.length;
brackets_indices.push(emphasis_finish);
tempString = tempString.substring(0, emphasis_finish) + '</' + EMPHASIS_TAG + '>' + tempString.substring(+emphasis_finish + EMPHASIS_CLOSE_PLACEHOLDER.length);
fromIndex = +emphasis_finish + EMPHASIS_TAG.length + 3;
} else {
/**
* Nothing to emphasise more.
*/
lengthProcessed += tempString.length - fromIndex;
fromIndex = tempString.length;
}
/**
* Check truncation need for this step.
*/
if (lengthProcessed > maxLength) {
/**
* Do regression.
*/
clippingProcessed = (emphasis_start != -1 && emphasis_finish != -1) ? 0 : tempString.length - (brackets_indices.length == 0 ? 0 : brackets_indices[brackets_indices.length - 1] + EMPHASIS_TAG.length + 3);
needToClipProcessed = lengthProcessed - (maxLength > TRUNCATION_CAP.length ? maxLength - TRUNCATION_CAP.length : 0);
i = brackets_indices.length - 1;
while (clippingProcessed <= needToClipProcessed && i > -1) {
i--;
clippingProcessed += brackets_indices[i + 1] - (i > -1 ? brackets_indices[i] + EMPHASIS_TAG.length + (i % 2 == 0 ? 2 : 3) : 0);
}
if (clippingProcessed > needToClipProcessed) {
if (i % 2 == 0) {
/**
* Do emphasise cap.
*/
tempString = tempString.substring(0, brackets_indices[i] + EMPHASIS_TAG.length + 2 + clippingProcessed - needToClipProcessed) + TRUNCATION_CAP + '</' + EMPHASIS_TAG + '>';
} else {
/**
* Do NOT emphasise cap.
*/
tempString = tempString.substring(0, (i > -1 ? brackets_indices[i] + EMPHASIS_TAG.length + 3 : 0) + clippingProcessed - needToClipProcessed) + TRUNCATION_CAP;
}
} else {
j = 0;
counter = brackets_indices.length == 0 ? 0 : brackets_indices[0];