Initial commit
This commit is contained in:
commit
fb968659f8
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.idea/
|
||||
35683
Fortune 500 Fortune.htm
Normal file
35683
Fortune 500 Fortune.htm
Normal file
File diff suppressed because it is too large
Load Diff
2
data/8756-81abb2db07a4d89f.js
Normal file
2
data/8756-81abb2db07a4d89f.js
Normal file
File diff suppressed because one or more lines are too long
2
data/9521-6c83c06b8b0c7da6.js
Normal file
2
data/9521-6c83c06b8b0c7da6.js
Normal file
File diff suppressed because one or more lines are too long
12
data/_app-abe49c91fe70e6f9.js
Normal file
12
data/_app-abe49c91fe70e6f9.js
Normal file
File diff suppressed because one or more lines are too long
1
data/_buildManifest.js
Normal file
1
data/_buildManifest.js
Normal file
File diff suppressed because one or more lines are too long
1
data/_ssgManifest.js
Normal file
1
data/_ssgManifest.js
Normal file
@ -0,0 +1 @@
|
||||
self.__SSG_MANIFEST=new Set(["\u002F","\u002F404","\u002F500","\u002F[param]","\u002F[param]\u002F[month]\u002F[day]\u002F[slug]","\u002Fadvanced-search","\u002Fasia","\u002Fasia\u002F[param]\u002F[month]\u002F[day]\u002F[slug]","\u002Fauthor\u002F[name]","\u002Fcompany-old\u002F[slug]","\u002Fcompany-old\u002F[slug]\u002F[franchise]","\u002Fcompany\u002F[slug]","\u002Fcrypto","\u002Fcrypto\u002F[param]\u002F[month]\u002F[day]\u002F[slug]","\u002Fcrypto\u002Fcrash-course","\u002Fcrypto\u002Fcrash-course\u002F[slug]","\u002Fcrypto\u002Fsection\u002F[name]","\u002Fdatastore","\u002Feducation\u002F[section]","\u002Feducation\u002F[section]\u002F[slug]","\u002Feurope","\u002Feurope\u002F[param]\u002F[month]\u002F[day]\u002F[slug]","\u002Feurope\u002Franking\u002F[franchiseSlug]","\u002Feurope\u002Franking\u002F[franchiseSlug]\u002F[year]","\u002Feurope\u002Franking\u002F[franchiseSlug]\u002F[year]\u002F[id]","\u002Feurope\u002Franking\u002F[franchiseSlug]\u002F[year]\u002Fsearch","\u002Feurope\u002Franking\u002F[franchiseSlug]\u002Fsearch","\u002Ffortune-daily","\u002Ffranchise-list-page\u002F[slug]","\u002Fgreat-place-to-work-rankings","\u002Flongform\u002F[slug]","\u002Fmagazine","\u002Fmy-account","\u002Fpackages\u002F[slug]","\u002Fpeople\u002F[slug]","\u002Franking","\u002Franking\u002F[franchiseSlug]","\u002Franking\u002F[franchiseSlug]\u002F[year]","\u002Franking\u002F[franchiseSlug]\u002F[year]\u002F[personSlug]","\u002Franking\u002F[franchiseSlug]\u002F[year]\u002Fsearch","\u002Franking\u002F[franchiseSlug]\u002Fsearch","\u002Frecommends","\u002Frecommends\u002F[section]","\u002Frecommends\u002F[section]\u002F[slug]","\u002Fsection\u002F[slug]","\u002Fsitemap","\u002Fsitemap\u002F[param]","\u002Fsitemap\u002F[param]\u002F[month]","\u002Fsitemap\u002F[param]\u002F[month]\u002F[day]","\u002Ftag\u002F[slug]","\u002Fthe-latest","\u002Ftopic\u002F[name]","\u002Fwell\u002F[region]","\u002Fwell\u002F[region]\u002F[param]\u002F[month]\u002F[day]\u002F[slug]","\u002Fwell\u002F[region]\u002Ffranchise-list-page\u002F[slug]","\u002Fwell\u002F[region]\u002Franking\u002F[slug]","\u002Fwell\u002F[region]\u002Franking\u002F[slug]\u002F[year]","\u002Fwell\u002F[region]\u002Franking\u002F[slug]\u002F[year]\u002F[id]","\u002Fwell\u002F[region]\u002Fsection\u002F[name]"]);self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB()
|
||||
192
data/a.htm
Normal file
192
data/a.htm
Normal file
@ -0,0 +1,192 @@
|
||||
<html data-darkreader-mode="dynamic" data-darkreader-scheme="dark"><head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8"><style class="darkreader darkreader--fallback" media="screen"></style><style class="darkreader darkreader--text" media="screen"></style><style class="darkreader darkreader--invert" media="screen">.jfk-bubble.gtx-bubble, .captcheck_answer_label > input + img, span#closed_text > img[src^="https://www.gstatic.com/images/branding/googlelogo"], span[data-href^="https://www.hcaptcha.com/"] > #icon, #bit-notification-bar-iframe, ::-webkit-calendar-picker-indicator, img.Wirisformula {
|
||||
filter: invert(100%) hue-rotate(180deg) contrast(90%) !important;
|
||||
}</style><style class="darkreader darkreader--inline" media="screen">[data-darkreader-inline-bgcolor] {
|
||||
background-color: var(--darkreader-inline-bgcolor) !important;
|
||||
}
|
||||
[data-darkreader-inline-bgimage] {
|
||||
background-image: var(--darkreader-inline-bgimage) !important;
|
||||
}
|
||||
[data-darkreader-inline-border] {
|
||||
border-color: var(--darkreader-inline-border) !important;
|
||||
}
|
||||
[data-darkreader-inline-border-bottom] {
|
||||
border-bottom-color: var(--darkreader-inline-border-bottom) !important;
|
||||
}
|
||||
[data-darkreader-inline-border-left] {
|
||||
border-left-color: var(--darkreader-inline-border-left) !important;
|
||||
}
|
||||
[data-darkreader-inline-border-right] {
|
||||
border-right-color: var(--darkreader-inline-border-right) !important;
|
||||
}
|
||||
[data-darkreader-inline-border-top] {
|
||||
border-top-color: var(--darkreader-inline-border-top) !important;
|
||||
}
|
||||
[data-darkreader-inline-boxshadow] {
|
||||
box-shadow: var(--darkreader-inline-boxshadow) !important;
|
||||
}
|
||||
[data-darkreader-inline-color] {
|
||||
color: var(--darkreader-inline-color) !important;
|
||||
}
|
||||
[data-darkreader-inline-fill] {
|
||||
fill: var(--darkreader-inline-fill) !important;
|
||||
}
|
||||
[data-darkreader-inline-stroke] {
|
||||
stroke: var(--darkreader-inline-stroke) !important;
|
||||
}
|
||||
[data-darkreader-inline-outline] {
|
||||
outline-color: var(--darkreader-inline-outline) !important;
|
||||
}
|
||||
[data-darkreader-inline-stopcolor] {
|
||||
stop-color: var(--darkreader-inline-stopcolor) !important;
|
||||
}
|
||||
[data-darkreader-inline-bg] {
|
||||
background: var(--darkreader-inline-bg) !important;
|
||||
}</style><style class="darkreader darkreader--variables" media="screen">:root {
|
||||
--darkreader-neutral-background: #131516;
|
||||
--darkreader-neutral-text: #d8d4cf;
|
||||
--darkreader-selection-background: #004daa;
|
||||
--darkreader-selection-text: #e8e6e3;
|
||||
}</style><style class="darkreader darkreader--root-vars" media="screen"></style><style class="darkreader darkreader--user-agent" media="screen">html {
|
||||
color-scheme: dark !important;
|
||||
}
|
||||
html, body {
|
||||
border-color: #736b5e;
|
||||
color: #e8e6e3;
|
||||
}
|
||||
a {
|
||||
color: #3391ff;
|
||||
}
|
||||
table {
|
||||
border-color: #545b5e;
|
||||
}
|
||||
::placeholder {
|
||||
color: #b2aba1;
|
||||
}
|
||||
input:-webkit-autofill,
|
||||
textarea:-webkit-autofill,
|
||||
select:-webkit-autofill {
|
||||
background-color: #404400 !important;
|
||||
color: #e8e6e3 !important;
|
||||
}
|
||||
::-webkit-scrollbar {
|
||||
background-color: #202324;
|
||||
color: #aba499;
|
||||
}
|
||||
::-webkit-scrollbar-thumb {
|
||||
background-color: #454a4d;
|
||||
}
|
||||
::-webkit-scrollbar-thumb:hover {
|
||||
background-color: #575e62;
|
||||
}
|
||||
::-webkit-scrollbar-thumb:active {
|
||||
background-color: #484e51;
|
||||
}
|
||||
::-webkit-scrollbar-corner {
|
||||
background-color: #181a1b;
|
||||
}
|
||||
* {
|
||||
scrollbar-color: #454a4d #202324;
|
||||
}
|
||||
::selection {
|
||||
background-color: #004daa !important;
|
||||
color: #e8e6e3 !important;
|
||||
}
|
||||
::-moz-selection {
|
||||
background-color: #004daa !important;
|
||||
color: #e8e6e3 !important;
|
||||
}</style><meta name="darkreader" content="1d051b93aaf64f2bae6d4eedb7c44694"><style class="darkreader darkreader--override" media="screen">.vimvixen-hint {
|
||||
background-color: #7b5300 !important;
|
||||
border-color: #d8b013 !important;
|
||||
color: #f3e8c8 !important;
|
||||
}
|
||||
#vimvixen-console-frame {
|
||||
color-scheme: light !important
|
||||
}
|
||||
::placeholder {
|
||||
opacity: 0.5 !important;
|
||||
}
|
||||
#edge-translate-panel-body,
|
||||
.MuiTypography-body1,
|
||||
.nfe-quote-text {
|
||||
color: var(--darkreader-neutral-text) !important;
|
||||
}
|
||||
gr-main-header {
|
||||
background-color: #0f3a48 !important;
|
||||
}
|
||||
.tou-z65h9k,
|
||||
.tou-mignzq,
|
||||
.tou-1b6i2ox,
|
||||
.tou-lnqlqk {
|
||||
background-color: var(--darkreader-neutral-background) !important;
|
||||
}
|
||||
.tou-75mvi {
|
||||
background-color: #032029 !important;
|
||||
}
|
||||
.tou-ta9e87,
|
||||
.tou-1w3fhi0,
|
||||
.tou-1b8t2us,
|
||||
.tou-py7lfi,
|
||||
.tou-1lpmd9d,
|
||||
.tou-1frrtv8,
|
||||
.tou-17ezmgn {
|
||||
background-color: #0a0a0a !important;
|
||||
}
|
||||
.tou-uknfeu {
|
||||
background-color: #231603 !important;
|
||||
}
|
||||
.tou-6i3zyv {
|
||||
background-color: #19576c !important;
|
||||
}
|
||||
div.mermaid-viewer-control-panel .btn {
|
||||
fill: var(--darkreader-neutral-text);
|
||||
background-color: var(--darkreader-neutral-background);
|
||||
}
|
||||
svg g rect.er {
|
||||
fill: var(--darkreader-neutral-background) !important;
|
||||
}
|
||||
svg g rect.er.entityBox {
|
||||
fill: var(--darkreader-neutral-background) !important;
|
||||
}
|
||||
svg g rect.er.attributeBoxOdd {
|
||||
fill: var(--darkreader-neutral-background) !important;
|
||||
}
|
||||
svg g rect.er.attributeBoxEven {
|
||||
fill-opacity: 0.8 !important;
|
||||
fill: var(--darkreader-selection-background);
|
||||
}
|
||||
svg rect.er.relationshipLabelBox {
|
||||
fill: var(--darkreader-neutral-background) !important;
|
||||
}
|
||||
svg g g.nodes rect, svg g g.nodes polygon {
|
||||
fill: var(--darkreader-neutral-background) !important;
|
||||
}
|
||||
svg g rect.task {
|
||||
fill: var(--darkreader-selection-background) !important;
|
||||
}
|
||||
svg line.messageLine0, svg line.messageLine1 {
|
||||
stroke: var(--darkreader-neutral-text) !important;
|
||||
}
|
||||
div.mermaid .actor {
|
||||
fill: var(--darkreader-neutral-background) !important;
|
||||
}
|
||||
.google-material-icons {
|
||||
font-family: 'Google Material Icons' !important;
|
||||
}
|
||||
.google-symbols {
|
||||
font-family: 'Google Symbols' !important;
|
||||
}
|
||||
.material-icons-extended {
|
||||
font-family: 'Material Icons Extended' !important;
|
||||
}
|
||||
mitid-authenticators-code-app > .code-app-container {
|
||||
padding-top: 1rem;
|
||||
background-color: white !important;
|
||||
}
|
||||
iframe#unpaywall[src$="unpaywall.html"] {
|
||||
color-scheme: light !important;
|
||||
}
|
||||
.ms-Icon {
|
||||
font-family: 'FabricMDL2Icons' !important;
|
||||
}
|
||||
embed[type="application/pdf"] { filter: invert(100%) contrast(90%); }</style></head><body></body></html>
|
||||
23
data/client.js
Normal file
23
data/client.js
Normal file
File diff suppressed because one or more lines are too long
2
data/e6f15caff6d47bc7.css
Normal file
2
data/e6f15caff6d47bc7.css
Normal file
@ -0,0 +1,2 @@
|
||||
@charset "UTF-8";.slick-slider{box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-touch-callout:none;-khtml-user-select:none;touch-action:pan-y;-webkit-tap-highlight-color:transparent}.slick-list,.slick-slider{position:relative;display:block}.slick-list{overflow:hidden;margin:0;padding:0}.slick-list:focus{outline:none}.slick-list.dragging{cursor:pointer;cursor:hand}.slick-slider .slick-list,.slick-slider .slick-track{transform:translateZ(0)}.slick-track{position:relative;top:0;left:0;display:block;margin-left:auto;margin-right:auto}.slick-track:after,.slick-track:before{display:table;content:""}.slick-track:after{clear:both}.slick-loading .slick-track{visibility:hidden}.slick-slide{display:none;float:left;height:100%;min-height:1px}[dir=rtl] .slick-slide{float:right}.slick-slide img{display:block}.slick-slide.slick-loading img{display:none}.slick-slide.dragging img{pointer-events:none}.slick-initialized .slick-slide{display:block}.slick-loading .slick-slide{visibility:hidden}.slick-vertical .slick-slide{display:block;height:auto;border:1px solid transparent}.slick-arrow.slick-hidden{display:none}.slick-loading .slick-list{background:#fff url(/_next/static/media/ajax-loader.0b80f665.gif) 50% no-repeat}@font-face{font-family:slick;font-weight:400;font-style:normal;src:url(/_next/static/media/slick.25572f22.eot);src:url(/_next/static/media/slick.25572f22.eot?#iefix) format("embedded-opentype"),url(/_next/static/media/slick.653a4cbb.woff) format("woff"),url(/_next/static/media/slick.6aa1ee46.ttf) format("truetype"),url(/_next/static/media/slick.f895cfdf.svg#slick) format("svg")}.slick-next,.slick-prev{font-size:0;line-height:0;position:absolute;top:50%;display:block;width:20px;height:20px;padding:0;transform:translateY(-50%);cursor:pointer;border:none}.slick-next,.slick-next:focus,.slick-next:hover,.slick-prev,.slick-prev:focus,.slick-prev:hover{color:transparent;outline:none;background:transparent}.slick-next:focus:before,.slick-next:hover:before,.slick-prev:focus:before,.slick-prev:hover:before{opacity:1}.slick-next.slick-disabled:before,.slick-prev.slick-disabled:before{opacity:.25}.slick-next:before,.slick-prev:before{font-family:slick;font-size:20px;line-height:1;opacity:.75;color:#fff;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.slick-prev{left:-25px}[dir=rtl] .slick-prev{right:-25px;left:auto}.slick-prev:before{content:"←"}[dir=rtl] .slick-prev:before{content:"→"}.slick-next{right:-25px}[dir=rtl] .slick-next{right:auto;left:-25px}.slick-next:before{content:"→"}[dir=rtl] .slick-next:before{content:"←"}.slick-dotted.slick-slider{margin-bottom:30px}.slick-dots{position:absolute;bottom:-25px;display:block;width:100%;padding:0;margin:0;list-style:none;text-align:center}.slick-dots li{position:relative;display:inline-block;margin:0 5px;padding:0}.slick-dots li,.slick-dots li button{width:20px;height:20px;cursor:pointer}.slick-dots li button{font-size:0;line-height:0;display:block;padding:5px;color:transparent;border:0;outline:none;background:transparent}.slick-dots li button:focus,.slick-dots li button:hover{outline:none}.slick-dots li button:focus:before,.slick-dots li button:hover:before{opacity:1}.slick-dots li button:before{font-family:slick;font-size:6px;line-height:20px;position:absolute;top:0;left:0;width:20px;height:20px;content:"•";text-align:center;opacity:.25;color:#000;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.slick-dots li.slick-active button:before{opacity:.75;color:#000}#teconsent{display:flex;justify-content:center;margin:20px 0}@media screen and (max-width:768px){#teconsent{padding-bottom:70px}}button{color:#111}ul[class^=nativo-well-]{list-style:none;display:block!important};div.nativo-rail div.ntv-rail ul{row-gap:13px!important;column-gap:13px!important}div.ntv-rail ul{list-style:none!important;flex-flow:row!important;column-gap:10px!important;row-gap:10px!important}@media screen and (max-width:1024px){div.ntv-rail ul{flex-flow:row wrap!important}}div.ntv-rail ul li:not(:last-of-type){margin-right:0!important}div.ntv-rail ul li:last-of-type{margin-right:25px!important}div.nativo-rail{grid-column:span 3}div.nativo-rail ul{list-style:none!important}@media screen and (max-width:1152px){div.nativo-right-tout{display:none}}
|
||||
/*# sourceMappingURL=e6f15caff6d47bc7.css.map*/
|
||||
34
data/framework-9141d38b73bd366d.js
Normal file
34
data/framework-9141d38b73bd366d.js
Normal file
File diff suppressed because one or more lines are too long
9
data/json.json
Normal file
9
data/json.json
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
try{
|
||||
if (queryly.QuerylyRelatedCallback != undefined){
|
||||
queryly.QuerylyRelatedCallback();
|
||||
|
||||
}
|
||||
}
|
||||
catch(e){}
|
||||
|
||||
2
data/main-29a75a729d34829b.js
Normal file
2
data/main-29a75a729d34829b.js
Normal file
File diff suppressed because one or more lines are too long
3
data/noop.js
Normal file
3
data/noop.js
Normal file
@ -0,0 +1,3 @@
|
||||
(function() {
|
||||
'use strict';
|
||||
})();
|
||||
17574
data/page-script.js
Normal file
17574
data/page-script.js
Normal file
File diff suppressed because it is too large
Load Diff
1
data/polyfills-c67a75d1b6f99dc8.js
Normal file
1
data/polyfills-c67a75d1b6f99dc8.js
Normal file
File diff suppressed because one or more lines are too long
1
data/queryly.v4.min.js
vendored
Normal file
1
data/queryly.v4.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
2
data/search-58e6234516179ac4.js
Normal file
2
data/search-58e6234516179ac4.js
Normal file
@ -0,0 +1,2 @@
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1776],{31828:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/ranking/[franchiseSlug]/[year]/search",function(){return n(13938)}])},13938:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return c}});var a=n(85893),r=n(98756),i=n(11163),u=n(67294);let s=e=>{let{franchiseList:t,years:n,initialYear:s}=e,c=(0,i.useRouter)(),[f,l]=(0,u.useState)(""),[_,h]=(0,u.useState)({});return(0,u.useEffect)(()=>{let e=new URLSearchParams(c.asPath.split("?")[1]||"");l(e.get("Name")||""),e.delete("Name");let t={};e.forEach((e,n)=>{"true"===e||"false"===e?t[n]="true"===e:t[n]=e}),h(t)},[t]),(0,a.jsx)(r.Z,{franchiseList:t,years:n,initialFilters:_,initialYear:s,initialSearch:f})};var c=!0;t.default=s}},function(e){e.O(0,[9521,8756,9774,2888,179],function(){return e(e.s=31828)}),_N_E=e.O()}]);
|
||||
//# sourceMappingURL=search-58e6234516179ac4.js.map
|
||||
138
data/search.htm
Normal file
138
data/search.htm
Normal file
@ -0,0 +1,138 @@
|
||||
|
||||
(function(){
|
||||
|
||||
try{
|
||||
template = document.createElement('div');
|
||||
template.innerHTML = '<script type="text/html" id="queryly_related_template"> <li> <div class="articleSidebar__eyebrowWrapper--2uZCY"> <a class="articleSidebar__eyebrowLink--3ICd5" href="https://fortune.com/section/<%=queryly.relateddata.section%>/?queryly=related_article" section="<%=queryly.relateddata.section%>" data-label="category click : <%=queryly.relateddata.title%>"><%=queryly.relateddata.section%></a> </div> <div class="articleSidebar__wrapper--H2n_O"> <div class="articleSidebar__bottom--31Ro-"> <a class="articleSidebar__link--3Wqxo" href="<%=queryly.relateddata.link%>?queryly=related_article" section="<%=queryly.relateddata.section%>" data-label="title click : <%=queryly.relateddata.title%>"> <div style="margin-bottom:10px"><%=queryly.relateddata.title%></div> </a> </div> <div class="articleSidebar__top--2Cgkm"> <a href="<%=queryly.relateddata.link%>?queryly=related_article" section="<%=queryly.relateddata.section%>" data-label="banner click : <%=queryly.relateddata.title%>"> <figure> <span class="image__wrapper--i55tn image__apsectRatio--BncNO image__lazyload--1CqFg image__loaded--2E5R8" style="padding-bottom: 66.6667%;"> <img class="image__img--3bauF" src="<%=queryly.relateddata.image%>" sizes="100px" width="100%" height="100%" style="max-width:130px;" alt="<%=queryly.relateddata.title%>"/> </span> </figure> </a> </div> </div> <div> <div style="color:#999;font-size: 14px;font-weight: normal;"><%=queryly.relateddata.pubdate%></div> <div class="contentListItem__bylineWrapper--1Eqny" style="display: inline-flex; flex-wrap: wrap;"> <%if (queryly.relateddata.creatorhtml != \'\') {%> <span style="color: rgb(112, 105, 107);">By </span><%=queryly.relateddata.creatorhtml%> <%}%> </div> </div> </li></script>';
|
||||
document.head.appendChild(template);
|
||||
|
||||
//var anchor = '#article-popular';
|
||||
var anchor = '#article-related';
|
||||
var related_template = 'queryly_related_template';
|
||||
queryly.related.batchSize = 5;
|
||||
queryly.related.decay =5;
|
||||
queryly.extendedDataFields = "creator,section";
|
||||
|
||||
queryly.callback.relatedClicked = function (link) {
|
||||
var section = link.getAttribute("section");
|
||||
var label = link.getAttribute("data-label");
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
window.dataLayer.push({
|
||||
"event" : "eventTracker",
|
||||
"eventAction" : section,
|
||||
"eventLabel" : label,
|
||||
"eventCategory" : "Navigation",
|
||||
"contentPlacementCD" : 'related articles'
|
||||
});
|
||||
}
|
||||
|
||||
queryly.QuerylyRelatedCallback = function (related) {
|
||||
|
||||
if (related == null || related.items == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
var templatename = 'queryly_related_template';
|
||||
var existingarticles = [];
|
||||
|
||||
if (document.querySelector(anchor) != null) {
|
||||
|
||||
var relateditemhtml = '';
|
||||
var counter = 0;
|
||||
|
||||
for (var relateditemcount = 0; relateditemcount < related.items.length; relateditemcount++) {
|
||||
try {
|
||||
queryly.relateddata = related.items[relateditemcount];
|
||||
queryly.relateddata.title = queryly.relateddata.title.replace(/(([^\s]+\s\s*){18})(.*)/, "$1...");
|
||||
if (existingarticles.indexOf(queryly.relateddata.title) >= 0){continue;}
|
||||
|
||||
existingarticles.push(queryly.relateddata.title);
|
||||
var recommendsArticle = queryly.relateddata.link.match(/recommends/g);
|
||||
if (recommendsArticle) {
|
||||
queryly.relateddata.pubdate = '';
|
||||
} else {
|
||||
queryly.relateddata.pubdate = (new Date(queryly.relateddata.pubdate)).toLocaleDateString('en-US',{ year: 'numeric', month: 'long', day: 'numeric' });
|
||||
}
|
||||
|
||||
if (queryly.relateddata.image.indexOf('resize=1200,600') > 0){
|
||||
queryly.relateddata.image = queryly.relateddata.image.replace('resize=1200,600','resize=130,86');
|
||||
}
|
||||
else if (queryly.relateddata.image.indexOf('?') < 0){
|
||||
queryly.relateddata.image = queryly.relateddata.image + '?resize=130,86';
|
||||
}
|
||||
else{
|
||||
queryly.relateddata.image = queryly.relateddata.image + '&resize=130,86';
|
||||
}
|
||||
|
||||
var creators = queryly.relateddata.creator.split(',');
|
||||
var creatorhtml = '';
|
||||
for (var i=0;i < creators.length; i++){
|
||||
if (creators[i].trim() == "The Associated Press"){
|
||||
creators[i] ="Associated Press";
|
||||
}
|
||||
if (creators[i] == '') {continue;}
|
||||
|
||||
creatorhtml = creatorhtml + '<a href="https://fortune.com/author/' + creators[i].trim().replaceAll(" ","-") + '/?queryly=related_article" section="' + queryly.relateddata.section + '" data-label="author name : ' + creators[i] + '" style="text-decoration: none;color: #000;font-weight: 600;">' + creators[i] + '</a>';
|
||||
if (i == 0){
|
||||
if (creators.length ==2){
|
||||
creatorhtml = creatorhtml + " and ";
|
||||
}
|
||||
else if (creators.length > 2){
|
||||
creatorhtml = creatorhtml + ", ";
|
||||
}
|
||||
}
|
||||
else if (i == 1 && creators.length > 2){
|
||||
creatorhtml = creatorhtml + "<span style='color:#000;font-weight:600;'> and Others</span>";
|
||||
break;
|
||||
}
|
||||
}
|
||||
queryly.relateddata.creatorhtml = creatorhtml;
|
||||
relateditemhtml = relateditemhtml + queryly.util.tmpl(related_template, queryly.relateddata);
|
||||
counter = counter + 1;
|
||||
}
|
||||
catch (e) {}
|
||||
}
|
||||
|
||||
if (relateditemhtml != '') {
|
||||
htmlcontent ="<div class='articleRelated__heading--2lPt-'>Related Articles</div><ul class='articleRelated__list--1L7vK'>" + relateditemhtml + "</ul>";
|
||||
document.querySelector(anchor).innerHTML = htmlcontent;
|
||||
|
||||
queryly.related.hookRelatedEvent('#article-related a');
|
||||
}
|
||||
}
|
||||
else {
|
||||
setTimeout(queryly.QuerylyRelatedCallback(related), 1000);
|
||||
}
|
||||
};
|
||||
|
||||
var relatedurl = '//related.queryly.com/json.aspx?queryly_key=' + queryly.QuerylyKey + '&callback=queryly.QuerylyRelatedCallback' + '&pageurl=' + encodeURIComponent('https://fortune.com/ranking/fortune500/2023/search/') + '&batchsize=' + queryly.related.batchSize + '&decay=' + queryly.related.decay + "&extendedDataFields=" + encodeURIComponent(queryly.extendedDataFields);
|
||||
if (typeof queryly.related.title != 'undefined' && queryly.related.title != ''){
|
||||
var relatedurl = '//related.queryly.com/json.aspx?queryly_key=' + queryly.QuerylyKey + '&callback=queryly.QuerylyRelatedCallback' + '&batchsize=' + queryly.related.batchSize + '&decay=' + queryly.related.decay + "&extendedDataFields=" + encodeURIComponent(queryly.extendedDataFields) + '&title=' + encodeURIComponent(queryly.related.title);
|
||||
if (typeof queryly.related.text != 'undefined' && queryly.related.text != ''){
|
||||
if (queryly.related.text.length < 512){
|
||||
relatedurl = relatedurl + '&text=' + encodeURIComponent(queryly.related.text);
|
||||
}
|
||||
else{
|
||||
relatedurl = relatedurl + '&text=' + encodeURIComponent(queryly.related.text.substring(0,512));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (queryly.related.feednames != ''){
|
||||
relatedurl = relatedurl + '&feednames=' + encodeURIComponent(queryly.related.feednames)
|
||||
}
|
||||
|
||||
if (typeof queryly.related.facetedkey != 'undefined' && typeof queryly.related.facetedvalue != 'undefined'){
|
||||
relatedurl = relatedurl + '&facetedkey=' + encodeURIComponent(queryly.related.facetedkey) + "&facetedvalue=" + encodeURIComponent(queryly.related.facetedvalue);
|
||||
}
|
||||
|
||||
|
||||
|
||||
queryly.util.loadScript(relatedurl, function () {
|
||||
});
|
||||
}
|
||||
catch(e){}
|
||||
|
||||
new Image().src = "//data.queryly.com/ping.aspx?type=pv&queryly_key=" + queryly.QuerylyKey + "&visitorid=" + queryly.visitorid + "&httpurl=" + encodeURIComponent(document.URL.replace(/&/g, "&")) + "&httpreferer=" + encodeURIComponent(document.referrer.replace(/&/g, "&"));
|
||||
|
||||
})();
|
||||
2
data/ta.c34341.js
Normal file
2
data/ta.c34341.js
Normal file
File diff suppressed because one or more lines are too long
1
data/ta.js
Normal file
1
data/ta.js
Normal file
@ -0,0 +1 @@
|
||||
(()=>{var e={726:e=>{e.exports={URL_ROOT:"//b.trueanthem.com",PAGE_SOCIAL_SDK_ROOT:"//static.trueanthem.com/scripts"}}},t={};function n(r){var a=t[r];if(void 0!==a)return a.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.h=()=>"c3434175d2100fcf147d",(()=>{"use strict";const e=n.h().substring(0,6);var t=n(726).PAGE_SOCIAL_SDK_ROOT;!function(n,r){var a=r.getElementsByTagName("script")[0],o=r.createElement("script");o.src=t+"/ta.".concat(e,".js"),a.parentNode.insertBefore(o,a);var c=function(){window.TRUE_ANTHEM.configure()};o.addEventListener?o.addEventListener("load",c,!1):o.onreadystatechange=function(){o.readyState in{loaded:1,complete:1}&&(o.onreadystatechange=null,c())}}(window,document)})()})();
|
||||
1
data/tinypass.min.js
vendored
Normal file
1
data/tinypass.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
7
data/verify
Normal file
7
data/verify
Normal file
@ -0,0 +1,7 @@
|
||||
jsonp5216({
|
||||
"error" : "access_denied",
|
||||
"site_cookie_domain" : ".fortune.com",
|
||||
"email_confirmation_required" : null,
|
||||
"extend_expired_access_enabled" : false,
|
||||
"authorized_by_sso" : false
|
||||
})
|
||||
7
data/verify_002
Normal file
7
data/verify_002
Normal file
@ -0,0 +1,7 @@
|
||||
jsonp5215({
|
||||
"error" : "access_denied",
|
||||
"site_cookie_domain" : ".fortune.com",
|
||||
"email_confirmation_required" : null,
|
||||
"extend_expired_access_enabled" : false,
|
||||
"authorized_by_sso" : false
|
||||
})
|
||||
2
data/webpack-140ac56c6300dcb3.js
Normal file
2
data/webpack-140ac56c6300dcb3.js
Normal file
@ -0,0 +1,2 @@
|
||||
!function(){"use strict";var e,n,r,t,o={},i={};function u(e){var n=i[e];if(void 0!==n)return n.exports;var r=i[e]={id:e,loaded:!1,exports:{}},t=!0;try{o[e].call(r.exports,r,r.exports,u),t=!1}finally{t&&delete i[e]}return r.loaded=!0,r.exports}u.m=o,e=[],u.O=function(n,r,t,o){if(r){o=o||0;for(var i=e.length;i>0&&e[i-1][2]>o;i--)e[i]=e[i-1];e[i]=[r,t,o];return}for(var f=1/0,i=0;i<e.length;i++){for(var r=e[i][0],t=e[i][1],o=e[i][2],l=!0,c=0;c<r.length;c++)f>=o&&Object.keys(u.O).every(function(e){return u.O[e](r[c])})?r.splice(c--,1):(l=!1,o<f&&(f=o));if(l){e.splice(i--,1);var a=t();void 0!==a&&(n=a)}}return n},u.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(n,{a:n}),n},u.d=function(e,n){for(var r in n)u.o(n,r)&&!u.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},u.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),u.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},u.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},u.p="/_next/",n={2272:0},u.O.j=function(e){return 0===n[e]},r=function(e,r){var t,o,i=r[0],f=r[1],l=r[2],c=0;if(i.some(function(e){return 0!==n[e]})){for(t in f)u.o(f,t)&&(u.m[t]=f[t]);if(l)var a=l(u)}for(e&&e(r);c<i.length;c++)o=i[c],u.o(n,o)&&n[o]&&n[o][0](),n[o]=0;return u.O(a)},(t=self.webpackChunk_N_E=self.webpackChunk_N_E||[]).forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t)),u.nc=void 0}();
|
||||
//# sourceMappingURL=webpack-140ac56c6300dcb3.js.map
|
||||
BIN
data/whitecloseicon.png
Normal file
BIN
data/whitecloseicon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 816 B |
Loading…
Reference in New Issue
Block a user