varREADTHEDOCS_DATA=window.READTHEDOCS_DATA||{};functionrecordEvent(a,b,c){vard="localhost"===window.location.hostname,e="RateTheDocs";"function"==typeofgtag?gtag("event",a,{send_to:READTHEDOCS_DATA.user_analytics_code,event_category:e,event_label:b,value:c,dimension1:READTHEDOCS_DATA.project,dimension2:READTHEDOCS_DATA.version}):"function"==typeofga?ga("user.send","event",e,a,b,c,{dimension1:READTHEDOCS_DATA.project,dimension2:READTHEDOCS_DATA.version}):d?console.log("recordEvent",e,a,b,c):alert("Unable to register your docs feedback: Google Analytics not loaded");}varrecording={init:functioninit(){vara=window.navigator||{},b="1"===a.doNotTrack||"1"===a.msDoNotTrack||"yes"===a.doNotTrack||"1"===window.doNotTrack;return!b},recordUpVote:functionrecordUpVote(){recordEvent("Helpful Vote","Yes",1);},recordDownVote:functionrecordDownVote(){recordEvent("Helpful Vote","No",0);},recordSuggestion:functionrecordSuggestion(a){recordEvent("Suggestion",a);}};
varwidgetHtml="<div class='rate-the-docs ratd-widget ratd-state-loading' role='dialog' aria-labelledby='ratd_title'><h2 id='ratd_title' class='sr-only'><em>Rate</em> the Docs</h2><div class='ratd-panels'><form class='ratd-panel ratd-panel-rating'>Is this page helpful? <button class='btn btn-neutral ratd-rating-vote' data-rating='1'><i class='fa fa-thumbs-o-up' aria-hidden='true'></i> 👍 Yes</button> <button class='btn btn-neutral ratd-rating-vote' data-rating='0'><i class='fa fa-thumbs-o-down' aria-hidden='true'></i> 👎 No</button></form><form class='ratd-panel ratd-panel-suggestion'><label for='ratd_suggestion_text'>Sorry… how could we improve this page?</label> <textarea id='ratd_suggestion_text' name='suggestion' rows='5'></textarea> <small class='ratd-suggestion-length' title='Characters'>0/500</small> <button class='btn btn-info' type='submit'>Submit</button> <small class='ratd-suggestion-tip'>Feedback is anonymous. Please don’t include personal info. If you need a reply, <a href='https://github.com/ray-project/ray/issues/new/choose'>contact us</a> instead.</small></form><div class='ratd-panel ratd-panel-thanks'>Thanks! We’ve noted your feedback.</div></div><button class='ratd-toggle ratd-toggle-close btn btn-link' aria-label='Close ratings widget' disabled><i class='fa fa-times' aria-hidden='true' title='Close'></i></button> <button class='ratd-toggle ratd-toggle-collapse btn btn-link' aria-label='Hide ratings widget'><i class='fa fa-chevron-right' aria-hidden='true' title='Hide'></i></button> <button class='ratd-toggle ratd-toggle-expand btn btn-link' aria-label='Show ratings widget' disabled><i class='fa fa-book' aria-hidden='true' title='Rate the Docs'><i>?</i></i></button></div>";