XML 18 R6.htm IDEA: XBRL DOCUMENT v3.8.0.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Dec. 30, 2017
Dec. 31, 2016
Cash flows from operating activities:    
Net income $ 45,226 $ 33,618
Adjustments to reconcile net income to net cash provided by operating activities:    
Amortization of deferred gain on sale-leaseback (391) (370)
Amortization (accretion) of premiums and discounts on short-term investments (403) 0
Amortization of debt discount and issuance costs in connection with convertible notes payable 0 102
Depreciation and amortization 13,845 10,168
Adjustment in deferred tax assets 6,712 0
Interest make-whole charge and induced conversion expense related to convertible notes 0 8,463
Stock-based compensation expense 7,138 5,032
Other non-cash adjustments 191 (112)
Changes in operating assets and liabilities:    
Accounts receivable, net 1,548 (17,067)
Inventories (813) (11,517)
Prepaid expenses and other current assets 7,072 (12,042)
Other non-current assets 646 (207)
Accounts payable (9,450) 16,665
Accrued expenses and other liabilities 124 8,585
Net cash provided by operating activities 71,445 41,318
Cash flows from investing activities:    
Purchases of property and equipment (36,240) (31,206)
Purchases of short-term investments (140,493) (19,953)
Maturities of short-term investments 45,500 0
Transfer from restricted cash 716 0
Net cash used in investing activities (130,517) (51,159)
Cash flows from financing activities:    
Proceeds from the exercise of stock options 632 2,587
Shares repurchased for tax withholdings on vesting of restricted stock units (2,427) (2,518)
Proceeds from the sale of common stock in connection with the public offering, net of expenses 0 135,153
Payments on capital lease obligations (590) (1,493)
Net cash provided by (used in) financing activities (2,385) 133,729
Effect of exchange rate on cash and cash equivalents (660) 2,979
Net increase (decrease) in cash and cash equivalents (62,117) 126,867
Cash and cash equivalents at beginning of period 219,270 95,929
Cash and cash equivalents at end of period 157,153 222,796
Supplemental disclosures of cash flow information:    
Cash paid for interest make-whole and induced conversion charges related to the exercise of convertible notes 0 4,700
Supplemental disclosures of non-cash transactions:    
Issuance of common stock in exchange for the net carrying value of the liability component of the convertible notes 0 62,125
Purchases of property and equipment funded by accounts payable 8,713 9,359
Capital lease obligations incurred for purchases of property and equipment $ 77 $ 0